AFP548

Finding Active Directory group GIDs

Is there a way to find Active Directory GIDs, as they will be seen in Mac OS X (and used in the filesystem) from a client -- either bound or unbound? Preferably, I'd like a way to get them all or specific ones via a search, not just 16.

I'm presuming that they are translated into a number from an alphanumeric field in the directory itself.

I've tried muddling around with dscl, and that doesn't seem to do it -- or I'm doing it wrong. Advice and examples would be appreciated if it is possible.

I know I can see the GIDs in Workgroup Manager, but I'd much prefer a way that can be scripted.

I need to see the GIDs as Mac OS X interprets them, not as they are listed in the directory. If I can find a translation between the directory and Directory Services representation of each, or a way to convert the AD group ID to what Mac OS X will use, then that would also be helpful.

Thanks!
Exit mobile version