WEScan Destination Profiles - Designating an LDAP attribute other than $home

July 2022

Use case

In the WEScan destination profiles, the $HomeDirectory attribute is used by default to specify the path to the folder in which to save scans made by an authenticated user.

Sometimes the client needs to use an LDAP attribute other than $HomeDirectory.

Solution

Watchdoc should be informed that another LDAP attribute should be used to find out the path to the folder where the scans are stored.

Procedure

  1. Access the Watchdoc server as an administrator;

  2. open the Watchdoc configuration file (by default C:\FilesProgram Files\Doxense\Watchdoc\Data\config.xml)

  3. in the <ldap> tag, add the <ldap-homedirectory-attribute> tag

  4. in this tag, specify the name of the LDAP directory attribute in which the path to the scan backup folder is stored (for example: <ldap-homedirectory-attribute>comment</ldap-homedirectory-attribute>).

  5. save the config.xml file.

  6. restart Watchdoc.

  7. access the master server and open the directory.

  8. open and close the directory (this will add a version to the directory).

Warning: when Watchdoc is updated, the new configuration file overwrites the old one. To retain the configuration specific to the LDAP attribute, transfer this configuration to the new configuration file. If the specific configuration is not carried over, the LDAP $HomeDirectory attribute will be used again by default.