[Samba] Problem with 'net rpc group delmem' command
Bob Hope
savagephp at gmail.com
Sat Mar 18 18:34:43 GMT 2006
What distro are you running? My groupmod doesn't have a '-A' or a '-R'
switch to it.
Thanks for pointing out my missing 'delete user from group script' issue.
Volker Lendecke wrote:
> 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
More information about the samba
mailing list