Hallo,
ich versuch auf der Konsole einen Directory-report zu erstellen. Im Webinterface klappt das wunderbar.
univention-directory-reports -m users/user -r "Standard Report" -u Wieser -p PASSWORT dc=people,dc=DUNICHT,dc=sol
Beim LDAP search string habe ich alle mir logischen Möglichkeiten ausprobiert. Ohne Erfolg.
Traceback (most recent call last):
File "/usr/bin/univention-directory-reports", line 195, in <module>
main()
File "/usr/bin/univention-directory-reports", line 157, in main
base = options.base, start_tls = 0 )
File "/usr/lib/pymodules/python2.6/univention/directory/reports/admin.py", line 253, in connect
_admin = AdminConnection( userdn, password, host, base, start_tls, access )
File "/usr/lib/pymodules/python2.6/univention/directory/reports/admin.py", line 103, in __init__
binddn = userdn, bindpw = password, start_tls = start_tls )
File "/usr/lib/pymodules/python2.6/univention/admin/uldap.py", line 254, in __init__
self.lo=univention.uldap.access(host, port, base, binddn, bindpw, start_tls, follow_referral=follow_referral)
File "/usr/lib/pymodules/python2.6/univention/uldap.py", line 169, in __init__
self.__open(ca_certfile)
File "/usr/lib/pymodules/python2.6/univention/uldap.py", line 207, in __open
self.lo.simple_bind_s(self.binddn, self.__encode_pwd(self.bindpw))
File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 207, in simple_bind_s
return self.result(msgid,all=1,timeout=self.timeout)
File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 422, in result
res_type,res_data,res_msgid = self.result2(msgid,all,timeout)
File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 426, in result2
res_type, res_data, res_msgid, srv_ctrls = self.result3(msgid,all,timeout)
File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 432, in result3
ldap_result = self._ldap_call(self._l.result3,msgid,all,timeout)
File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 96, in _ldap_call
result = func(*args,**kwargs)
ldap.INVALID_DN_SYNTAX: {'info': 'invalid DN', 'desc': 'Invalid DN syntax'}
Hat jemand eine Idee was da falsch läuft. Im Voraus schon mal vielen Dank.