w2k joined samba 2.2.0 domain

Manea Mirko mami at arena.sci.univr.it
Tue Nov 7 17:49:59 GMT 2000


Hi,

I succeeded in joining a w2k pro (build 2195 + SP1) to a samba 2.2.0 domain. 
I grabbed a cvs snapshot (7-Nov-00) and applied the patch from Richard Sharpe 
<sharpe at ns.aus.com> posted on this list (editing srv_lsa.c, not using patch 
command).

I use the following steps:

# /usr/local/samba-cvs/bin/smbpasswd -a root
[...]
# /usr/sbin/adduser -g machines -c NTMachine -d /dev/null -s /bin/false -n w2k$
# /usr/local/samba-cvs/bin/smbpasswd -a -m w2k$

where w2k is the name of the windows 2000 machine.

Join the domain through the windows applet and reboot. Domain logons
do work well!

I am using Linux Red Hat 7.0 with the latest updates. I compiled samba
with egcs-2.91.66 (ie kgcc in rh7), because gcc 2.96 is broken, with
the following:

# CC=kgcc ./configure --prefix=/usr/local/samba-cvs --with-pam --with-utmp --with-quotas

I attach my smb.conf.

I hope this helps. I also would like to thank the samba team for their 
great work !

Mirko


-------------- next part --------------
[global]  
security = user 
status = yes 
workgroup = VLSI05_DOM
wins server = 157.27.xxx.yyy
encrypt passwords = yes 
domain logons = yes 
logon script = scripts\%U.bat 
domain admin users = root
guest account = ftp 
share modes=no 
os level=65 

; sync samba with unix password
;unix password sync = Yes
;passwd program = /usr/bin/passwd %u
;passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*

; to add a nt/w2k machine to the domain
;add user script = /usr/sbin/adduser -g machines -c NTMachine -d /dev/null -s /bin/false -n '%m$'

; delete user
;delete user script = /usr/sbin/userdel %m$

[homes] 
guest ok = no 
read only = no 
create mask = 0700 
directory mask = 0700 
oplocks = false 
level 2 oplocks = false
locking = no 

[netlogon] 
path = /usr/local/samba/netlogon 
writeable = no 
guest ok = no


More information about the samba-ntdom mailing list