Displaying 1 result from an estimated 1 matches for "deluserfromgroup".
2015 Jan 21
6
Samba4.2rc4 with winbindd in config cannot start samba process
...add group script = /usr/sbin/groupadd %g
add user to group script = /usr/sbin/usermod -G %g %u
add machine script = /usr/sbin/useradd -n -g machines -c Machines -d
/dev/null -s /bin/false %u
delete user script = /usr/sbin/userdel %u
delete user from group script = /usr/local/sbin/delUserfromGroup %u %g
delete group script = /usr/sbin/groupdel %g
set primary group script = /usr/sbin/usermod -g %g %u
# Modified for LDAP
#add user script = /usr/sbin/smbldap-useradd -m "%u" ldap delete dn = Yes
#add group script = /usr/sbin/smbldap-groupadd -p "%g"...