> Remember 'add machine script' is seperate, do you have an example on
> that too?


Shh, this is for #349049...:-)

Actually we have one in the smb.conf man page patch we have for
Debian:

              Example  for  Debian:  add  machine  script  =  /usr/sbin/useradd 
 -g  machines  -c  Machine   -d
              /var/lib/samba -s /bin/false %u


I now need to find a good "add group script".....as well.

add group script = /usr/sbin/addgroup --force-badname %g

Which would give us something like:



# This allows machine accounts to be created on the domain controller via the 
# SAMR RPC pipe.  
# The following assumes a "machines" group exists on the system
; add machine script  = /usr/sbin/useradd -g machines -c "%u machine account" 
-d /var/lib/samba -s /bin/false %u

# This allows Unix groups to be created on the domain controller via the SAMR
# RPC pipe.  
; add group script = /usr/sbin/addgroup --force-badname %g





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to