[Samba] Help with user/domain Management fm Windows side

Jim C. jcllings at javahop.com
Wed Apr 13 20:32:10 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Back-end is LDAP.

What are some good techniques for Domain management from the windows
side? I've got usermgr.exe and svrmgr.exe but:

1. I don't know what functions these tools are or are not supposed to be
able to perform on a Samba domain as yet.
2. I can delete users but I cannot seem to add them or modify them.

~From smb.conf:
add user script = /usr/share/samba/scripts/smbldap-useradd.pl -a -m '%u'

delete user script = /usr/share/samba/scripts/smbldap-userdel.pl '%u'

add group script = /usr/share/samba/scripts/smbldap-groupadd.pl -p '%g'

delete group script = /usr/share/samba/scripts/smbldap-groupdel.pl '%g'

add user to group script = /usr/share/samba/scripts/smbldap-groupmod.pl
- -m '%u' '%g'

delete user from group script =
/usr/share/samba/scripts/smbldap-groupmod.pl -x '%u' '%g'

set primary group script = /usr/share/samba/scripts/smbldap-usermod.pl
- -g '%g' '%u'

add machine script = /usr/share/samba/scripts/smbldap-useradd.pl -w '%u'

Any help I could get would sure be appreciated.  I've got a big project
coming up that will require this.

Jim C.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCXYHJ57L0B7uXm9oRAnMsAJ4+4kBm3BzY0MWjxA0+c8htMYhy1gCfVS5p
8StJ19PwSEg1i7QdYEXPDrc=
=E2XF
-----END PGP SIGNATURE-----



More information about the samba mailing list