[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: ldapsearch filter question



I searched in the ARS and found that "group" is the object class, besides "top", and my search got result.

-----Original Message-----
From: Brian Reichert [mailto:reichert@numachi.com] 
Sent: Tuesday, January 03, 2017 2:45 PM
To: Zhang,Jun
Cc: openldap-technical@openldap.org
Subject: Re: ldapsearch filter question

On Tue, Jan 03, 2017 at 08:57:59PM +0000, Zhang,Jun wrote:
> ldapsearch -x -b dc=myinstitute,dc=edu uid=user1 gidnumber gives me 
> gidnumber=1234 I then tried, ldapsearch -x -b dc=myinstitute,dc=edu 
> "(&(objectclass=groupofnames)(gidnumber=1234))"
> intending to find out the name of the group, but I got nothing.

Did the DN in your first search have a 'groupofnames' objectclass?

> 
> Thanks
> Jun
-- 
Brian Reichert				<reichert@numachi.com>
BSD admin/developer at large	
The information contained in this e-mail message may be privileged, confidential, and/or protected from disclosure. This e-mail message may contain protected health information (PHI); dissemination of PHI should comply with applicable federal and state laws. If you are not the intended recipient, or an authorized representative of the intended recipient, any further review, disclosure, use, dissemination, distribution, or copying of this message or any attachment (or the information contained therein) is strictly prohibited. If you think that you have received this e-mail message in error, please notify the sender by return e-mail and delete all references to it and its contents from your systems.