On Monday 19 May 2008 02:46:34 pm Leandro Tracchia wrote:
> executing the following command for all users will show their correct
> group:
>
> root# net rpc user info billybob
>
> but, like i said the following command shows nothing:
>
> root# net rpc group members "Domain Users" -Uroot
>
> and i still can't get this command to work:

OK.  What is the output of?:

        pdbedit -Lw root

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

I just validated that this command works on Samba-3.0.28.

> however, i'm wondering i do i even need this last command... all my users
> seem to be already mapped...

What do you mean by this?  How did you do this?

- John T.

> On Mon, May 19, 2008 at 3:30 PM, Leandro Tracchia <[EMAIL PROTECTED]>
>
> 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



-- 
John H Terpstra
Samba-Team Member
Phone: +1 (512) 970-0256

Author:
The Official Samba-3 HOWTO & Reference Guide, 2 Ed., ISBN: 0131882228
Samba-3 by Example, 2 Ed., ISBN: 0131882221X
Hardening Linux, ISBN: 0072254971
Other books in production.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to