Home » Main » How to dump LDAP Schema

How to dump LDAP Schema

This article applies to the Linux and Mac versions of PaperCut. UNIX command-line experience is required.

PaperCut support may ask for an LDAP schema data to diagnose complex LDAP issues. The following commands can be used to produce a file with LDAP information:

If the base DN is known:

   ldapsearch -x -h localhost -b "<base dn>" | gzip > ldapsearch-data.gz

With an empty base DN:

   ldapsearch -x -h localhost -b "" | gzip > ldapsearch-data.gz

If authentication is required:

   ldapsearch -x -h localhost -D "<admin dn>" -w "<admin-password>" 
       -b "<base dn>" | gzip > ldapsearch-data.gz

Email the ldapsearch-data.gz file through to support and they can use this via diagnostics and/or setting up a duplicate ennvironment. Note: All data will be kept confidential and deleted when not required as per our privacy policy.


Categories: Troubleshooting


keywords: ldap schema dump, ldap support

Page last modified on February 06, 2011, at 07:16 PM

Comments

Share your findings and experience with other PaperCut users. Feel free to add comments and suggestions about this Knowledge Base article. Please don't use this for support requests.