[Samba] Re: Adding XP to a samba domain

Jamrock news_jamrock at yahoo.com
Sun Jan 4 02:37:09 GMT 2004

"John H Terpstra" <jht at samba.org> wrote in message
news:Pine.LNX.4.50.0312292223120.7658-100000 at dp.samba.org...

>         add user script = /usr/sbin/useradd -m %u
>         delete user script = /usr/sbin/userdel -r %u
>         add group script = /usr/sbin/groupadd %g
>         delete group script = /usr/sbin/groupdel %g
>         add user to group script = /usr/sbin/usermod -G %g %u
>         add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null

This is useful info. Let us see now...

The add machine script does the creation of the Linux machine account when
adding the Windows client to the domain. (/etc/passwd)

The add/delete user scripts do the addition/deletion of the Linux user
account when using a tool like usrmgr.exe or smbpasswd. (/etc/passwd)

How would I use the add/delete group scripts?  How do they tie in with
mapping Samba groups to Linux groups using the "net groupmap" command?


More information about the samba mailing list