Samba PDC with a Windows 2000 client
Rich Alimi
richard at ralimi.hypermart.net
Fri Apr 28 02:26:55 GMT 2000
I have set up a Samba PDC using the pre-3.0 version of samba. (I last
updated my source via cvs and recompiled samba this afternoon - Apr 27,
2000.) I have been having problems getting a Windows 2000 Professional
client to join the domain. When I change the settings to join the domain,
Windows asks me for a username and password with permission to join the
domain. I have not seen any mention of this username/password prompt in
documentation that I have found on the internet on both linuxworld.com and
samba.org. When I create a user on the PDC and add the user to the
smbpasswd file and try to enter that username/password combination in the
dialog above, Windows returns a "procedure number out of range" error
message. I have created the machine trust accounts using the following
procedure ('ralimi', 'palimi', and 'laptop' are the computernames of the 3
windows 2000 clients):
groupadd -g 800 nttrust
useradd -u 801 -g nttrust -d /dev/null -s /bin/false ralimi$
useradd -u 802 -g nttrust -d /dev/null -s /bin/false palimi$
useradd -u 803 -g nttrust -d /dev/null -s /bin/false laptop$
smbpasswd -a -m ralimi
smbpasswd -a -m palimi
smbpasswd -a -m laptop
I then rebooted the Linux machine, and once booted, I made sure that both
smbd and nmbd were running. Then, on one of the Windows 2000 machines, I
opened the System properties, then on the Network Identification page, I
pressed Properties. I selected the Domain option, typed 'DOMAIN' in the
edit box, then pressed OK. Then, I received the prompt for a username and
password with permission to join the domain.
I have also included the contents of my smb.conf file at the end of this
message.
Does anyone have any ideas as to what I am doing wrong?
Thank you for your help,
Rich Alimi
richard at ralimi.hypermart.net
AOL IM: RichAA31 ICQ#: 17843183
-------------------------------------
smb.conf
-------------------------------------
[global]
workgroup = DOMAIN
server string = Domain Controller
hosts allow = 192.168.1. 127.
log file = /var/log/sambalog.%m
max log size = 50
security = user
encrypt passwords = yes
smb passwd file = /etc/smbpasswd
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*
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = yes
os level = 65
domain master = yes
preferred master = yes
domain logons = yes
logon path = \\%L\Profiles\%U
logon drive = z:
logon home = \\%L\Profiles\%U
load printers = no
[Profiles]
path = /home/profiles
browseable = yes
writeable = yes
public = no
available = yes
guest ok = no
[netlogon]
comment = NETLOGON service
path = /home/netlogon
public = no
writeable = no
browseable = yes
locking = no
force create mode = 0644
force directory mode = 0755
writelist = rich paul
available = yes
[homes]
writeable = yes
-------------------------------------------
More information about the samba-ntdom
mailing list