One old, one new (rather long)
Lonnie J. Borntreger
lonnie at borntreger.com
Fri Jul 16 14:54:57 GMT 1999
Woohoo! It works! That's two for two!
The strange thing is that the debug message at
passdb/passdb.c:pwdb_smb_map_names(288) still shows the nt id as 87996.
Don't quite understand that.
My hope that these two problems were the culprit for Win95 user/server
manager not working was unfounded, however. They still "can't find the
PDC", and still think the Samba server is the BDC.
Oh well. "Baby steps...."
> -----Original Message-----
> From: java at bitserv.vpnet.at [mailto:java at bitserv.vpnet.at]On Behalf Of
> Sent: Friday, July 16, 1999 8:14 AM
> To: lonnie at borntreger.com; samba-ntdom at samba.org
> Subject: Re: One old, one new (rather long)
> "Lonnie J. Borntreger" wrote:
> > ==========================NEW==============================
> > Now for the New: I can no longer authenticate. I now see
> things like:
> > [1999/07/15 01:32:19, 10] passdb/passdb.c:pwdb_smb_map_names(288)
> > pwdb_smb_map_names: unix 67goat nt 67goat unix 21749 nt87996
> > [1999/07/15 01:32:19, 3] smbd/password.c:pass_check_smb(515)
> > Error : UNIX and SMB uids in password files do not match !
> > Seems funny since the uid in smbpasswd is also shown as
> 21749. Actually,
> > every single nt uid comes back incorrect. I noticed that
> some of the
> > password and passdb stuff changed in the last snapshot.
> (It seems - from
> > extra debugging statements - to get set incorrectly between
> lines 343 and
> > 364 of passdb.c - during the first pass - and then fails
> the second time
> > through - due to iterate_getsmbpwnam).
> > Anybody got any clues as to what is causing these errors?
> They are outside
> > of my scope of samba/smb/nt knowledge.
> there's a function called copy_passwd_struct wich copies a
> passwd struct in a static struct. smbd/password.c uses this
> struct, calls a function which calls copy_passwd_struct
> again and...
> the patch should fix the problem, but all this passwd stuff
> should really be cleaned up, imho.
More information about the samba-ntdom