[Samba] adding users to group with net rpc

John H Terpstra jht at samba.org
Mon May 19 19:40:31 GMT 2008


On Monday 19 May 2008 02:30:31 pm Leandro Tracchia wrote:
> 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

What version of Samba are you running?

- John T.


More information about the samba mailing list