smbpasswd
Esh, Andrew
AEsh at tricord.com
Wed Dec 5 07:56:04 GMT 2001
I think the problem I have having with the latest SAMBA_2_2 smbpasswd is
that it is trying to load the key "SECRETS/SID/DOMAIN" at
"passdb/secrets.c", line 108, in the function "secrets_fetch_domain_sid".
The only key in the /usr/local/samba/private/secrets.tdb database is
"SECRETS/$MACHINE.ACC/DOMAIN", with 20 bytes of data.
Where is that key supposed to come from? I started this test by deleting
/usr/local/samba/*, and then putting an smb.conf in place. I made sure all
the daemons were stopped. I deleted the trust account on the PDC, and
created a fresh one. Then I ran "smbpasswd -D 10 -j domain -r gc52", where
my domain is "domain", the PDC is "gc52", and the IP of gc52 is associated
with the name in lmhosts.
If I do this same test with the smbpasswd from release-2-2-2, it works every
time.
I'll start comparing the code.
---
Andrew C. Esh mail:Andrew.Esh at tricord.com
Tricord Systems, Inc.
2905 Northwest Blvd., Suite 20 763-557-9005 (main)
Plymouth, MN 55441-2644 USA 763-551-6418 (direct)
http://www.tricord.com - Tricord Home Page
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the samba-technical
mailing list