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
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" -UrootWhat version of Samba are you running? - John T.
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: root# net rpc group addmem "MIDEARTH\Engineers" ajt -Uroot however, i'm wondering i do i even need this last command... all my users seem to be already mapped... On Mon, May 19, 2008 at 3:30 PM, Leandro Tracchia <ltracchia@gmail.com> 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?I don't even know how to check that ashamed to say...> What do you mean by this? How did you do this?well, i gather this because of the following 3 reasons: 1) the following command shows the correct Windows groups mapped to their corresponding posix group accounts. root# net rpc groupmap list 2) the Windows Domain Users group is mapped to the posix users group which is shown with the above command. all my user accounts belong to the users group. 3) the following commands shows the correct Windows group (Domain Users) for each particular user (as i already stated). root# net rpc user info billybob 4) posix user accounts all correspond to their smbpasswd accounts.> OK. What is the output of?:> pdbedit -Lw rooti'll answer this tomorrow when i'm back at work thanks for you help and please bear with me, i'm new at this
John, here is the information you requested.... hopes this helps you help me.> OK. What is the output of?:> pdbedit -Lw rootroot:0:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:FD11C5234188D996BAF50904399221E6:[U ]:LCT-4832C5D3:> What version of Samba are you running?Version 3.0.28a