Fwd: Re: [Samba] Problem in fetching usernames of a group

Chin Teongli glowfriend at gmail.com
Tue May 24 12:08:21 GMT 2005


Thanks Sir,
just inquisitive, because in a similar PDC configured on NT, I can have
groupnames similar to usernames. Also because this is done through a script
from web I was getting problems... however now I know it shouldnt be done so
I will have to validate that, but a similar validation or some error string
displayed from the command itself would be usefull..

regards

On Wednesday 25 May 2005 13:18, John H Terpstra wrote:
> On Tuesday 24 May 2005 02:43, Chin Teongli wrote:
> > Hello,
> > I have configured a Samba PDC on FC3... The Samba version is 3.0.10
> > The group members are fetched with the following commnd
> > #> net rpc MEMBERS 'groupname' -U administrator%secret...
> > When I have a user called 'aaa' and a group called 'aaa' and user 'aaa'
> > belongs to group 'aaa', then fetching of users through the above command
> > returns 1 which means ther is an error. There is no such error displayed
> > however.
>
> Do NOT have user names and group names with the same name, this will not
> work.
>
> > only when the username and groupname are same I have this problem..
> > any suggestions would help
>
> Do NOT do this. The name space in Windows network must be unambiguous.
>
> - John T.
> --
> John H Terpstra
> Samba-Team Member
> Phone: +1 (650) 580-8668
>
> Author:
> The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556
> Samba-3 by Example, ISBN: 0131472216
> Hardening Linux, ISBN: 0072254971
> Other books in production.

--
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBCkH+iEekFYuah5+kRAio0AKCTGwwn0EJlXpdYskwMlq5MPk99QACdFjJ0
pMbdfioal1LqrS3sEEBXPWQ=
=71Pa
-----END PGP SIGNATURE-----

-------------------------------------------------------

-- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBCkH+iEekFYuah5+kRAio0AKCTGwwn0EJlXpdYskwMlq5MPk99QACdFjJ0
pMbdfioal1LqrS3sEEBXPWQ=
=71Pa
-----END PGP SIGNATURE-----


More information about the samba mailing list