This page (revision-1) was last changed on 29-Nov-2024 16:16 by jeem

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 1 added 82 lines
[{TableOfContents}]
!!! Overview
[{$pagename}] is used to represent many different subjects. Here are some of the more common:
* [LDAP Query Examples] - Seems like most people are looking for [LDAP Search Filters Examples]
* Command line utility - Most [LDAP Server Implementations] include a Command line utility.
* [LDAP SearchFilters] - Some details on how to construct [LDAP SearchFilters]
* [SearchRequest] - Some details on the [SearchRequest]
!! Command line utility
LDAPSEARCH is a [command-line] utility that is usually supplied with most [LDAP Servers|LDAP Server Implementations] implementations and LDAP SDKs.
Often it is a good idea to utilize the provided utility when troubleshooting issues with [LDAP searches|SearchRequest] as the server vendor will know how to reproduce the issue.
!![Which LDAPSEARCH]
We have noticed that some servers may provide more than one ldapsearch utility we show are utilizing in most of our examples is Novell's ldapsearch. For some further information on [Which LDAPSEARCH].
!! LDAP search Active Directory
Microsoft does not provide a [{$pagename}] utility, but does provide some ways you can [perform an LDAP Search|http://technet.microsoft.com/en-us/library/cc961564.aspx|target='_blank']
!! [Example] [{$pagename}]
Here we show [How To] do a [{$pagename}].
Be careful, you may get more info back than you believe you asked for!
{{{
ldapsearch -b "uid=isACTIVE,o=test,dc=com" -s base -D cn=admin,ou=administration,dc=willeke,dc=com -w novell "(objectclass=*)" + *
version: 2
#
# filter: (objectclass=*)
# requesting: + *
#
# isACTIVE,test,com
dn: uid=isACTIVE,o=test,dc=com
modifiersName: cn=Admin,ou=administration,dc=willeke,dc=com
creatorsName: cn=Admin,ou=administration,dc=willeke,dc=com
uid: isACTIVE
GUID:: xrWNAD8xWUqRE2JQYBjLSw==
givenName: IS
revision: 4
sn: ACTIVE
publicKey:: AQAAAAQAAAAcAFwAAADSABwAQAB2AAAAAABPAD0AdABlAHMAdAAuAGQAYwA9AGMAbw
BtAAAAdQBuAGkAcQB1AGUASQBEAD0AaQBzAEEAQwBUAEkAVgBFAC4ATwA9AHQAZQBzAHQALgBkAGM
APQBjAG8AbQAAAAEAAAADAAEAbABCVgQAMS4wAEJDAQADQkEBADBCTAIApAFOTjUA5dhHgUtH8B0T
t3BehIjXLy4Wt+0npFS7awwBWKEnl4IoxR07Gr1MUY290r1gz6z9Rms5oAlFTgMAAQABTUEIAKst9
iLvc842ZABQVVJTQUY=
objectClass: Top
objectClass: Person
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: ndsLoginProperties
cn: isACTIVE
ACL: 2#subtree#uid=isACTIVE,o=test,dc=com#[All Attributes Rights]
ACL: 6#entry#uid=isACTIVE,o=test,dc=com#loginScript
ACL: 2#entry#[Public]#messageServer
ACL: 2#entry#[Root]#groupMembership
ACL: 6#entry#uid=isACTIVE,o=test,dc=com#printJobConfiguration
ACL: 2#entry#[Root]#networkAddress
subschemaSubentry: cn=schema
federationBoundary: t=WILLEKETREE
structuralObjectClass: inetOrgPerson
createTimestamp: 20080114140147Z
modifyTimestamp: 20080114140148Z
subordinateCount: 0
entryFlags: 0
localEntryID: 33003
# search result
search: 2
result: 0 Success
# numResponses: 2
# numEntries: 1
}}}
!! More Information
There might be more information for this subject on one of the following:
[{ReferringPagesPlugin before='*' after='\n' }]