[Samba] Group mapping is not showing correct value

Harry Jede walk2sun at arcor.de
Tue Jan 12 03:23:13 MST 2010


On Dienstag, 12. Januar 2010 wrote Brajesh Shrivastava:
> Brajesh Shrivastava wrote:
> > Hi All
> >
> > I have created a group 'test' which has the following users:
> >
> > brajesh_01:/var/log/samba # getent group |grep test
> > test:!:13159:brajesh,yatish,usr1
> > brajesh_01:/var/log/samba #
> >
> >
> > I mapped this user to ntgroup user, 'Web Master':
> >
> > brajesh_01:/var/log/samba # net  groupmap add ntgroup="We Master"
> > unixgroup=test
> > No rid or sid specified, choosing a RID
> > Got RID 27319
> > Successfully added group We Master to the mapping db as a domain
> > group brajesh_01:/var/log/samba #
> >
> > Output of 'net groupmap list' command shows the correct output:
> >
> > brajesh_01:/var/log/samba # net groupmap list
> > We Master (S-1-5-21-3348154469-3767538395-1505805052-27319) -> test
> > brajesh_01:/var/log/samba #
> >
> > But when I try to see the output of 'net rpc group members'
> > command, it is giving an error message. Please see here:
> >
> > brajesh_01:/var/log/samba # net rpc group members "Web Master"  -U
> > administrator -d 1
> > Enter administrator's password:
> > Couldn't find group Web Master
> > [2010/01/11 10:35:33,  1] utils/net_rpc.c:run_rpc_command(181)
> >  rpc command function failed! (NT_STATUS_NONE_MAPPED)
> > brajesh_01:/var/log/samba #
> >
> > I am new for group mapping feature. Please let me know where I am
> > doing wrong.
> >
> > Thanks in advance!!!
>
> Please help me in resolving the above problem, in case if you know
> the solution.
use the same "group name" :-)

"Web Master" and "We Master"

are totally different ;-) 



-- 

Gruss
	Harry Jede


More information about the samba mailing list