|
|
Debug output from the Active Directory provider
If requested by support please follow the instructions below to gather debug output from the Active Directory user provider (the component of PaperCut that retrieves information from Active Directory).
To get debug output:
1. Open a command prompt on the server running PaperCut. e.g. Start->Run and enter cmd.exe.
2. Change to directory containing UserDirAD.exe. e.g.:
cd "C:\Program Files\PaperCut NG\server\bin\win"
3. Run the one of following commands (as requested by support)
- To list all users:
UserDirAD.exe enable-debug all-users > all-users.txt 2>&1To list all users, excluding disabled users:UserDirAD.exe "enable-debug enabled-users-only" all-users > all-users-enabled.txt 2>&1To list all groups:UserDirAD.exe enable-debug all-groups > all-groups.txt 2>&1To list members of a group (usernames only):UserDirAD.exe enable-debug group-member-names "your-group" > your-group.txt 2>&1To list members of a group (full details):UserDirAD.exe enable-debug group-members "your-group" > your-group.txt 2>&1Multiple domains can be queried by adding thedomainsoption, e.g.:UserDirAD.exe "enable-debug|domains=papercut.com;papercutsoftware.com" all-users > multi-domain-all-users.txt 2>&1UserDirAD.exe "enable-debug|domains=papercut.com;papercutsoftware.com" all-groups > multi-domain-all-groups.txt 2>&1
4. Wait until the UserDirAD.exe process exits - use Task Manager to view the process list. It may take a few minutes to run on large networks.
5. Email the generated file (e.g. all-users.txt and/or all-groups.txt) to the PaperCut developers.
Categories: Domains / Directories, Troubleshooting, Debugging
Keywords: debug ad
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.