Using LDIF to Inventory Your Directory

Exporting an LDIF file from your server can help you extract key information about your LDAP settings that's useful in setting up your Jive integration.

The information you'll use to set up your user and group mappings for directory server integration can be exported easily into a format called LDIF (LDAP Data Interchange Format). You can use this information yourself or provide it to a Jive Support engineer.

Any LDAP directory browser provides the ability to export to and import from an LDIF file. If you're using Active Directory, you can use the ldifde command line tool. Another excellent tool is JXplorer, which helps you to validate your LDAP mappings and provides an easy-to-use LDIF export. Here's an example of the ldifde command which will yield an LDIF output like above:

The following example shows an LDIF output generated by executing ldifde -f output.txt -d ou=Jive_Users,dc=support,dc=jive,dc=com:

   dn: CN=Cyr \, Karl,OU=Jive_Users,DC=support,DC=jive,DC=com
   changetype: add
   objectClass: top
   objectClass: person
   objectClass: organizationalPerson
   objectClass: user
   cn: Cyr , Karl
   sn: Cyr
   physicalDeliveryOfficeName: Awesome
   givenName: Karl
   initials: KC
   distinguishedName: CN=Cyr \, Karl,OU=Jive_Users,DC=support,DC=jive,DC=com
   instanceType: 4
   whenCreated: 20081119215504.0Z
   whenChanged: 20090202220617.0Z
   displayName: Cyr , Karl
   uSNCreated: 4391224
   memberOf: CN=FilterGroup,OU=Jive_Users,DC=support,DC=jive,DC=com
   uSNChanged: 4399897
   department: Awesome
   name: Cyr , Karl
   objectGUID:: 2tnXRo7VxE6zc72YqLtOTw==
   userAccountControl: 66048
   badPwdCount: 1
   codePage: 0
   countryCode: 0
   badPasswordTime: 128769530029375000
   lastLogoff: 0
   lastLogon: 128742007081093750
   pwdLastSet: 128716053043750000
   primaryGroupID: 513
   objectSid:: AQUAAAAAAAUVAAAAF8sUcR3r8QcekDXQw9wAAA==
   accountExpires: 9223372036854775807
   logonCount: 0
   sAMAccountName: karl
   sAMAccountType: 805306368
   objectCategory: CN=Person,CN=Schema,CN=Configuration,DC=support,DC=jive,DC=com
   dSCorePropagationData: 20081119220919.0Z
   dSCorePropagationData: 20081119220919.0Z
   dSCorePropagationData: 20081119220919.0Z
   dSCorePropagationData: 16010108151056.0Z