Univention Bugzilla – Bug 29943
Misleading error message in univention-policy-result / Needs modification for authenticated LDAP access
Last modified: 2016-10-11 10:05:46 CEST
Executing univention-policy-result with an existing DN yields the following error message: root@master:~# univention-policy-result uid=jmm3,cn=users,dc=foobar,dc=jmm LDAP Error: No such object univention-policy-result cannot search in the LDAP directory without the credentials of a user being passed. Only if an LDAP user and a password are being passed with -D and -w (or -W) the policy retrieval is working as expected. This used to work prior to UCS 3.0, which switched to mandatory LDAP authentication by default. univention-policy-result should print a proper error message if no credentials are passed. To enhance usability it should automatically use the machine account if started with the root user.
seems to be connected with bug 35182
This issue has been filed against UCS 3.0. UCS 3.0 is out of maintenance and many UCS components have vastly changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please reopen.
Since we disallow anonymous access: # univention-policy-result $(ucr get ldap/hostdn) LDAP Error: Insufficient access