Blogs

  • Browse Blogs
  • My Blog
  • My Updates

Tags Help

  • View as cloud  | list

Similar Entries

photo

Couple tips on how t...

Blog:  Sanity Check
Roland Reddekop
Updated 
No Ratings 0     No Comments 0
photo

Makn a bettr Quickr

Blog:  Sanity Check
Roland Reddekop
Updated 
No Ratings 0     Comments 1
photo

Quirkr Monitor

Blog:  Quickr Assist...
Ernest Gilmore
Updated 
No Ratings 0     No Comments 0
photo

How Begin the Specia...

Blog:  Developing in...
Pedro Fernandes
Updated 
No Ratings 0     No Comments 0
photo

Creating Room in Qui...

Blog:  Developing in...
Pedro Fernandes
Updated 
Ratings 1     No Comments 0

Dogear Bookmarks

Archive

A Lotus Admin Tale

Blog Authors:  Jeremiah Benjamin  

Previous |  Main

LDAPSEARCH command string for AD

Jeremiah Benjamin  |    |  Tags:  quickr activedirectory ldap  |  Comments (0)

First, because I know nothing about LDAP (let alone why AD is so different than a "real" LDAP directory), I had to get the LDIFDE app and extract a record (my own) from our AD.  There are directions on LDIFDE all over the Internet and it was relatively easy to figure out, even for LDAP-challenged admins like me.

 

Using the info from the resultant LDIF file, I got the DN (i.e., "CN=Firstname Lastname,OU=Users,OU=Department,OU=Location,DC=Company,DC=com") that I needed to use in order to pass credentials to the AD.  This is what LDAPSEARCH uses to validate with the AD before the AD is allowed to give up any info.  Note that the AD will not accept anonymous credentials.

 

 

ldapsearch -h server.domain -D "CN=Firstname Lastname,OU=Users,OU=Department,OU=Location,DC=Company,DC=com" -w password -b "DC=Company,DC=com" CN="full name"

 

(The full name at the end is actually the search criteria: this LDAPSEARCH will return all the record data for this person, computer, or group, if it exists.  This is a good test to see if LDAP communications are working OK with your AD.  This is all groundwork to getting the Quickr server working via a modified qpconfig.xml file.

 

Be careful with this because when I first searched for my own user record I got my computer name.  This means that if I try to log into Quickr using LDAP, I can't use my shortname because it actually finds my PC first.  I guess this is a good reason to name PC's and users differently.)

 

Anyway, here's the output you should see from the LDAPSEARCH:

 


CN=Full Name,OU=Users,OU=Dept.,OU=Loc,DC=Company,DC=com
objectClass=top
objectClass=person
objectClass=organizationalPerson

et cetera...

 

 

The important fields to pull out from this are:

  • dn
  • cn
  • displayName
  • givenName
  • mail
  • name
  • sAMAccountName
  • sn

The above list is what you'll need to reference in order to get your QPCONFIG.XML file tweaked for using LDAP to authenticate against your AD.

Comments

Previous |  Main
Skip to main content link. Accesskey S
IBM Lotus Connections Help Tools About

Tags

A tag is a keyword that is used to categorize an entry. To view the entries with a particular tag, click a tag name or enter a tag in the box.
The tag cloud indicates the frequency of tag use. Popular tags appear darkest. The slider control adjusts how many tags are displayed in the tag cloud.