[Samba] Samba Add Machine Script

Adrian Hicks Adrian.H at auston.edu.sg
Mon Nov 1 04:36:06 GMT 2004


Over here I'm using:

add machine script = /usr/sbin/useradd -c Machine -d /dev/null  \
-g machines -s /bin/false %u

It works for me, though currently still using local UNIX & Samba databases.  
Don't know why you have to use %u seeing as %m is the NetBIOS machine name 
but it works.


Adrian Hicks

On 30 October 2004 am 01:07, Corral, Randy wrote:
> All,
>
> Currently we are running Samba 3.0.7 on Solaris 8 and we are
> experiencing a problem that the user system are not being added
> automatically with the add machine script:
>
> /usr/sbin/useradd -g machines -d /dev/null -s /bin/false %m
>
> If we run it manually it works.
>
> Any ideas?
>
> Thanks,
>
> Randy Corral
> Information Systems
> Brooks Automation
> Phoenix, Arizona
> 602-861-9395 ext. 228
> Fax: 602-861-1442


More information about the samba mailing list