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

2006-06-14 Thread Henrik Zagerholm

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


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


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

2006-06-13 Thread Henrik Zagerholm

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?


Regards,
Henrik

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


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

2006-06-13 Thread Beast

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.

--
--beast

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


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

2006-06-13 Thread 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).





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