Karaage-Cluster/karaage — Issue #26: Trys to add user twice in LDAP
Author: sorrison
Created: 2012-02-15 22:45:54+00:00
State: open

Traceback (most recent call last):

File "/usr/lib/pymodules/python2.5/django/core/handlers/base.py", line 92, in get_response
response = callback(request, *callback_args, **callback_kwargs)

File "/usr/lib/pymodules/python2.5/django/contrib/auth/decorators.py", line 78, in __call__
return self.view_func(request, *args, **kwargs)

File "/usr/lib/pymodules/python2.5/karaage/requests/views/admin.py", line 55, in account_request_approve
person.activate()

File "/usr/lib/pymodules/python2.5/karaage/people/models.py", line 207, in activate
activate_user(self)

File "/usr/lib/pymodules/python2.5/karaage/datastores/__init__.py", line 28, in activate_user
pds.activate_user(person)

File "/usr/lib/pymodules/python2.5/karaage/datastores/ldap_datastore.py", line 45, in activate_user
conn.add_user(**attrs)

File "/usr/lib/pymodules/python2.5/placard/client.py", line 316, in add_user
self.ldap_add(dn, attrs)

File "/usr/lib/pymodules/python2.5/placard/client.py", line 80, in ldap_add
self.conn.add_s(dn, ldif)

File "/usr/lib/python2.5/site-packages/ldap/ldapobject.py", line 186, in add_s
return self.result(msgid,all=1,timeout=self.timeout)

File "/usr/lib/python2.5/site-packages/ldap/ldapobject.py", line 428, in result
res_type,res_data,res_msgid = self.result2(msgid,all,timeout)

File "/usr/lib/python2.5/site-packages/ldap/ldapobject.py", line 432, in result2
res_type, res_data, res_msgid, srv_ctrls = self.result3(msgid,all,timeout)

File "/usr/lib/python2.5/site-packages/ldap/ldapobject.py", line 438, in result3
ldap_result = self._ldap_call(self._l.result3,msgid,all,timeout)

File "/usr/lib/python2.5/site-packages/ldap/ldapobject.py", line 96, in _ldap_call
result = func(*args,**kwargs)

ALREADY_EXISTS: {'desc': 'Already exists'}