[Samba] Problem with 'net rpc group delmem' command
Volker Lendecke
Volker.Lendecke at SerNet.DE
Sat Mar 18 16:37:35 GMT 2006
On Sat, Mar 18, 2006 at 08:43:37AM -0500, Bob Hope wrote:
> I get NT_STATUS_ACCESS_DENIED. Debug level 5 output is pasted below. Any
> help would be greatly appreciated.
From the debug output you seem to have set the 'add user to
group script', but the 'delete user from group script' seems
to be missing.
And /usr/sbin/usermod -G '%g' '%u' seems not to be the best
choice. I'd rather use
/usr/sbin/groupmod -A '%u' '%g'
and
/usr/sbin/groupmod -R '%u' '%g'
Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20060318/bb29555a/attachment.bin
More information about the samba
mailing list