[Samba] adding users to group with net rpc

Leandro Tracchia ltracchia at gmail.com
Mon May 19 19:30:31 GMT 2008


section 13.3.2 of the HOWTO shows that i can add a user to a group with the
following command:

root# net rpc group addmem "MIDEARTH\Engineers" ajt -Uroot

when i execute this command (replaced with my server specific values, of
course), i get a NT_STATUS_NO_SUCH_USER error.

i can verify that my user DOES exist and that he belongs to the posix group
account. i can also verify that the posix group account is mapped to the
windows group account.

is the syntax for this command correct? (the net manpage shows no 'addmem'
option), or am i doing something wrong??

when i run the following i get an empty list:

root# net rpc group members "Domain Users" -Uroot


More information about the samba mailing list