[TriLUG] Samba-3 + PDC+LDAP Question

mark at thefowles.com mark at thefowles.com
Mon Sep 13 09:19:13 EDT 2004


Matt -

I recreate the tdb's (secret for ldap  (smbpasswd -w) and then add root again so that it creates the passdb.tdb for the backend.

I think one of my problems is having the ldap and smb server on two different machines.

Thanks,
Mark

------------------------------------------------
On Mon, 13 Sep 2004 09:12:51 -0400 (EDT), "Matt Pusateri" <mpusateri at wickedtrails.com> wrote:

> > I have three servers, one email, one ldap (plus DNS, dhcp...) and the
> > 3rd Samba ---   LDAP authenticates fine against the linux side, plus when
> > I connect to a share from the XP mahcine,  username and password
> > (including root) are accepted (which means that it's reading the ldap
> > (ldbm) and for the root password (vi tdbsam) -- but when I try to join
> > the XP machine to the domain, it fails - the logs say it can't
> > authenitcate the user. I think it's because it is trying to read the
> > smbpasswd file. I have added root to LDAP and the passdb.tdb file -- but
> > I get the same results.
> >
> > I had this all working, then they decided last minute to change the
> > domain names an the hostnames of all the machines --- (this means I
> > broke something) :-(
> 
> Mark,
> 
> Have you recreated any of the TDB files since the domain rename?  If I am
> not mistaken your ldap user has a password entry in either passdb.tdb or
> in secrets.tdb  Any how the password files are domain specific.  You
> should be able to search the samba archives and find the solution.   look
> under migrating NT 4 domain to samba.  If I get time later I will look
> into it more, but I know I have seen the same problem as yours due to
> domain name change.
> 
> Matt
> -- 
> TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ  : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc
> 



More information about the TriLUG mailing list