[Samba] Problems with Samba as a PDC for Win2K

Jason Plew jason at mil.ufl.edu
Fri Jul 19 13:52:02 GMT 2002

I am having difficulties running Samba as a PDC for WIN2K Clients. I'm
running version 2.2.5 on a RH7.3 box. Win98 is able to access shares
just fine, as is win2k if it is just a member of a workgroup, and not
a domain. I have tried both the automated process of setting up a
machine account, and the manual method. In the automated case, the
machine account is automatically created, but the smbpasswd file has
something like XXXXNOPASSWORDXXX in the password field. It appears to
be normal when I create the account manually. In both cases I have
Win2K try and join the domain, and enter root and root's smbpasswd
when prompted. After a few minutes, it finishes and gives me a message
welcoming me to the domain, and has me reboot. Once that's complete, I
try logging into the domaian, but all I ever get is a message stating
that the machine account either does not exist , or the password is
incorrect. Any help would be appreciated. Thanks.

Jason Plew

#======================= Global Settings

   workgroup = MILDOMAIN
   netbios name = MOE

   server string = MIL everything server
   hosts allow = 128.227. 

   printcap name = /etc/printcap
   load printers = yes
   printing = lprng

   log file = /var/log/samba/%m.log
   max log size = 0

   security = user

   encrypt passwords = yes
   smb passwd file = /etc/samba/smbpasswd

   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

   local master = yes
   os level = 64

   domain master = yes 
   preferred master = yes
   domain logons = yes

   dns proxy = no 

;add user script = /usr/sbin/adduser -n -g machines -c Machine -d
/dev/null -s /bin/false %m$

   domain admin group = root @adm
   log level = 1
#============================ Share Definitions
   comment = Home Directories
   browseable = no
   writable = yes
   valid users = %S
   create mode = 0664
   directory mode = 0775
# If you want users samba doesn't recognize to be mapped to a guest
; map to guest = bad user

# NOTE: If you have a BSD-style print system there is no need to 
# specifically define each individual printer
   comment = All Printers
   path = /var/spool/samba
   browseable = no
# Set public = yes to allow user 'guest account' to print
   guest ok = no
   writable = no
   printable = yes

	comment = Network Logon Service
	path = /home/netlogon
	guest ok = Yes
	browseable = No

	path = /home/NTprofiles/%U
	read only = No
	browseable = No

More information about the samba mailing list