J Xu
2007-May-15 01:56 UTC
Solved: [Samba] ldapsam backend for standalone server - is it possible?
Hi, List, Now this works, as expected. Top-posted here for a simple confirmation. Once I rebooted the samba+ldap server, everything started working. So maybe it was just cached ldap indexes together with the cached samba info that blocked the authentication. Thanks, J --- J Xu <janix2000@yahoo.co.uk> wrote:> > --- Volker Lendecke <Volker.Lendecke@SerNet.DE> > wrote: > > > On Thu, May 10, 2007 at 08:58:44PM +1000, Andrew > > Bartlett wrote: > > > > 1) I know how to set up a standalone server > with > > > > tdbsam backend and I can setup a ldapsam > based > > domain > > > > controller. Just that I could't get a > standalone > > > > server with ldapsam backend. > > > > > > I always hoped this kind of thing would work, > but > > I don't > > > think anybody ever tests it... > > > > Wait a second -- LDAP has nothing to do with DC or > > not. I > > would be very suprised if this did not work. > > That is what I had thought. But I just could not get > it work - always got login failure: no matter how I > set sambaSID/sambaPrimaryGroupSID values according > to > different sambaDomain values; no matter if I deleted > and recreated secrets.tdb and/or other cached samba > TDBs in /var/lib/samba directory. > > I am running Debian Etch with samba v3.0.24 by the > way. I also tried with CentOS v4.4 with samba > v3.0.10 > to the same error.___________________________________________________________ Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html