|
348 |
class object(univention.admin.handlers.simpleLdap): |
348 |
class object(univention.admin.handlers.simpleLdap): |
349 |
module=module |
349 |
module=module |
350 |
|
350 |
|
351 |
def __init__(self, co, lo, position, dn='', superordinate=None, attributes = [] ): |
|
|
352 |
global mapping |
353 |
global property_descriptions |
354 |
|
355 |
self.mapping=mapping |
356 |
self.descriptions=property_descriptions |
357 |
self.options=[] |
358 |
|
359 |
self.alloc=[] |
360 |
|
361 |
univention.admin.handlers.simpleLdap.__init__(self, co, lo, position, dn, superordinate, attributes = attributes) |
362 |
|
363 |
def open(self): |
364 |
univention.admin.handlers.simpleLdap.open(self) |
365 |
|
366 |
def _ldap_pre_create(self): |
367 |
self.dn='univentionAppID=%s,%s' % ( mapping.mapValue('id', self.info['id']), self.position.getDn()) |
368 |
|
369 |
def _ldap_addlist(self): |
351 |
def _ldap_addlist(self): |
370 |
ocs=['top', OC] |
352 |
ocs=['top', OC] |
371 |
|
353 |
|