Win2K & Samba & PDC
philipp at hug.cx
Thu Mar 1 00:25:52 GMT 2001
The following worked for me:
-> remove the computer-name from your smbpasswd-file (don't delete it in
your passwd file!)
-> try to join from your win2k ws now
----- Original Message -----
From: "Jouni Kylä-Nikkilä" <jouni.kyla-nikkila at cybersoft.fi>
To: <samba-ntdom at us5.samba.org>
Sent: Tuesday, February 27, 2001 8:00 AM
Subject: (Archive Copy) Win2K & Samba & PDC
> I have a problemn with Win2K and joining in domain.
> I have Redhat 7.0 (guinness) installed it runs my samba(2.2.0 alpha
> Everything worked fine with worgroup otions on but when I chagned
> my samba-server to be my master domain server Win2K did not could log in.
> I have added my username & password to smbpasswd -file + mine computer
> dollar sign.
> My computer sees domain. When windows ask for password & username for
> joining to domain it takes few seconds and after that comes error
> 'the procedure number is out of range'
> 'the remote procedure call failed'.
> When i looked my smb.log file it says:
> [2001/02/27 08:55:19, 0] passdb/smbpass.c:startsmbfilepwent_internal(87)
> startsmbfilepwent_internal: unable to open file
> /usr/local/samba/private/smbpasswd. Error was Permission denied
> [2001/02/27 08:55:19, 0] passdb/passdb.c:iterate_getsam21pwrid(325)
> unable to open sam password database.
> Why? I have set all permission to my smbpasswd file. It has 'a+wrx'.
> I noticed that after windows asked me for password somehow smbpasswd
> went back to 'u+rx'. What changes this ? Does samba do it itself?
> Windows version is Windows 2000 professional, 5.0.2195 build 2195.
> Does anyone know what could help me ?
> ---- my smb.conf ----
> domain logons = Yes
> domain master = Yes
> workgroup = WORK
> log level = 1
> security = user
> socket options = TCP_NODELAY
> netbios name = MINE
> status = Yes
> os level = 65
> encrypt passwords = Yes
> preferred master = Yes
> interfaces = eth0
> share modes = Yes
> name resolve order = bcast host lmhost wins
> nt smb support = Yes
> nt pipe support = Yes
> nt acl support = Yes
> announce as = NT
> announce version = 4.2
> lm announce = True
> lm interval = 60
> keepalive = 300
> log file = /usr/local/samba/smb.log
> comment = Home dirs
> browseable = No
> read only = No
> write only = No
> comment = Server
> path = /files
> public = Yes
> read only = no
> path = /etc/samba/netlogons
> writable = no
> guest ok = no
> Thanks in advance
More information about the samba-ntdom