[Samba] How to know if a SID is a User or Group

Henrik Zagerholm henke at mac.se
Wed Jun 14 06:28:46 GMT 2006


13 jun 2006 kl. 14:50 skrev Gerald (Jerry) Carter:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Beast wrote:
>> Henrik Zagerholm wrote:
>>> Hi list and sorry if this is not a specific Samba issue.
>>>
>>> I just wonder if it is possible to determine if a SID belongs to a
>>> User or a Group?
>>>
>> No you can't. Its same as uid vs gid number.
>
> You can't by looking but the "rpcclient lookupsids" command
> will give you the sid type (in integer form).

Smart thinking.  :-)

Thanks a lot!

//Henrik
>
>
>
>
>
> cheers, jerry
> =====================================================================
> Samba                                    ------- http://www.samba.org
> Centeris                         -----------  http://www.centeris.com
> "What man is a man who does not make the world better?"      --Balian
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (GNU/Linux)
> Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
>
> iD8DBQFEjrStIR7qMdg1EfYRAsVMAKCiTTvObstF2GD76RMWGM12Rhk14wCfalGN
> pmSK1NVMW8u5nk4WVlvzezI=
> =vOlP
> -----END PGP SIGNATURE-----
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba



More information about the samba mailing list