The trouble is, as I stated, I have no control on the schema or the data policy of the directories my software has to use. I won't even know how the directory would look like. We are an ISV and our customers, not us, decide what the directory is structured and what it contains. Thanks, Jing > ---------- > From: David E. Storey > Sent: Tuesday, May 04, 1999 10:52 AM > To: 'openldap-general@OpenLDAP.org'; Fu, Jing > Subject: Re: Finding all user groups without knowing how groups are > defined > > Fu, Jing posed: > > > Is there a way for a generic software to enumerate all the user groups > in a > > directory, without knowing how the groups are defined and how the > directory > > is structured? I read from somewhere that there are at least 4 > different > > schemes of defining user groups (or whatever groups): > > .... > > > > Another question is, how can I tell, efficiently, if a group is for > users or > > for something else like printers or other resources? > > This sounds like it would be best handled using objectclasses. You could > create an object class called 'usergroup' and then associate your user > groups > with this class. A search would be as simple as filtering on the > objectclass: > > ldapsearch -b dc=my,dc=domain objectclass=usergroup > > d! >
<<application/ms-tnef>>