I discovered this, which may give somebody else an idea.
Symptom is
Domain password server not available.
Can't setup password database vectors.
If you put
password server=<workgroupname>
The symptom changes and the program hangs. Basically,
get_trusted_serverlist(const char *domain) returns a null pointer to
get_any_dc_name(const char *domain, char *srv_name), which returns false to
domain_client_validate(), which returns false to check_domain_security(),
which returns false to check_domain_security() which returns false to
reply_sesssetup_and_X(), which is used as a callback function in
smb_messages[], the the SMBsesssetupX record.
OK, I have to get back to work, but maybe someone else can pick up from
here :-)
Thanks
Steve Litt
At 03:18 AM 12/07/1999 +1100, you wrote:>I'm having the exact same symptom with a completely different smb.conf.
I'm
>using samba-2.1-19991203.tar.gz.
>
>You can find some more instances of this on www.deja.com, but I haven't
>seen anyone come up with an answer yet.
>
>I've tried tracing thru the source, but haven't yet had the time to
really
>give it the old college try. I have a suspicion it's simply a missing
file,
>but I haven't been able to verify or disprove that yet.
>
>Steve Litt
>
>
>
>At 02:38 AM 12/06/1999 +1100, you wrote:
>>I am having problems adding users with smbpasswd. I have downloaded the
>>latest cvs sources, today. I am using RedHat 6.1, kernel 2.2.12. I am
>>trying to use the PDC support in Samba for a small NT domain with
Windows
>>2000, build 2128 workstations.
>>
>>The error I get when executing smbpasswd -a <username>, is:
>>
>>Domain password server not available.
>>Can't setup password database vectors.
>>
>>The following is my smb.conf file:
>>
>>[global]
>> workgroup = CHEESE
>> server string = Cheese Samba Server
>>; hosts allow = 192.168.1. 192.168.2. 127.
>> printcap name = /etc/printcap
>> load printers = yes
>>; printing = bsd
>>; guest account = pcguest
>> log file = /usr/local/samba/var/log.%m
>> max log size = 50
>> security = user
>>; password server = <NT-Server-Name>
>> password level = 0
>> encrypt passwords = yes
>> smb passwd file = /usr/local/samba/private/smbpasswd
>> unix password sync = yes
>> passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password*
%n\n
>>*passwd:*all*authentication*tokens*updated*successfully*
>>; username map = /etc/smbusers
>>; include = /etc/smb.conf.%m
>> socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
>>; interfaces = 192.168.12.2/24 192.168.13.2/24
>>; remote browse sync = 192.168.3.25 192.168.5.255
>>; remote announce = 192.168.1.255 192.168.2.44
>>; local master = no
>> os level = 30
>> domain master = yes
>> preferred master = no
>>; domain controller = <NT-Domain-Controller-SMBName>
>> domain logons = yes
>> logon script = login.bat
>> logon path = \\%L\Profiles\%U
>>; name resolve order = wins lmhosts bcast
>> wins support = yes
>>; wins server = w.x.y.z
>>; wins proxy = yes
>> dns proxy = no
>> map to guest = never
>> null passwords = no
>> dead time = 0
>>; preserve case = no
>>; short preserve case = no
>>; default case = lower
>>; case sensitive = no
>>
>>[homes]
>> comment = Home Directories
>> browseable = no
>> writable = yes
>> public = no
>> only user = no
>>
>># Un-comment the following and create the netlogon directory for Domain
>>Logons
>>[netlogon]
>> comment = Network Logon Service
>> path = /home/netlogon
>> guest ok = yes
>> writable = no
>> share modes = no
>>
>># Un-comment the following to provide a specific roving profile share
>># the default is to use the user's home directory
>>[Profiles]
>> path = /home/profiles
>> browseable = no
>> public = yes
>> guest only = no
>> writable = no
>> only user = no
>> create mode = 744
>> directory mode = 755
>>
>># NOTE: If you have a BSD-style print system there is no need to
>># specifically define each individual printer
>>[printers]
>> comment = All Printers
>> path = /var/spool/samba
>> browseable = no
>># Set public = yes to allow user 'guest account' to print
>> public = no
>> writable = no
>> printable = yes
>>
>>This smb.conf file works perfectly well with Samba 2.0.6, in which I am
able
>>to add users with smbpasswd. Any help would be appreciated.
>>
>>Dan
>>
>>
>>
>
>