[Samba] XP Problems adding machines "on the fly"

Tom Skeren tms3 at fskklaw.com
Tue Aug 31 21:56:22 GMT 2004


Having trouble with the add machine script.  Followed the chapter 6 
how-to, but, it fails.  Checking log file for the machine after 
error-RPC call failed on XP box, I find a 101MB log file filled with 
-error must provide name- something to that effect.  Any help would be 
appreciated. smb.conf follows.

[global]

   workgroup = FSK
   netbios name = Camarillo
   server string = Camarillo
   hosts allow = 
passdb backend = tdbsam
#  guest account = pcguest

   log file = /usr/log/samba/%m.log

   max log size = 50

   security = user
   encrypt passwords = yes

   write raw = yes
   strict allocate = No

   getwd cache = yes
   write cache size = 262144

   interfaces = 
   local master = yes
   enhanced browsing = yes
   os level = 33
   preferred master = yes
   domain master = yes

   preferred master = yes

   domain logons = yes
   obey pam restrictions = yes
   add machine script = /usr/sbin/adduser -d /dev/null -g 100 \
    -s /bin/false -M %u
   idmap uid = 10000-20000
   idmap gid = 10000-20000
  logon path = \\camarillo\Profiles\%U

   wins support = yes
   lm announce = auto
   lm interval = 5
   dns proxy = yes





More information about the samba mailing list