Lines 1355-1362
def __init__(self, co, lo, position, dn='', superordinate=None, attributes = [])
|
Link Here
|
---|
|
1355 |
self.options=[] |
1355 |
self.options=[] |
1356 |
if 'objectClass' in self.oldattr: |
1356 |
if 'objectClass' in self.oldattr: |
1357 |
ocs = set(self.oldattr['objectClass']) |
1357 |
ocs = set(self.oldattr['objectClass']) |
1358 |
for opt in ('posix', 'samba', 'person', 'kerberos', 'mail', 'pki', 'ldap_pwd'): |
1358 |
for opt, option in options.iteritems(): |
1359 |
if options[opt].matches(ocs): |
1359 |
if not option.disabled and option.matches(ocs): |
1360 |
self.options.append(opt) |
1360 |
self.options.append(opt) |
1361 |
else: |
1361 |
else: |
1362 |
univention.debug.debug(univention.debug.ADMIN, univention.debug.INFO, 'users/user.py: reset options to default by _define_options' ) |
1362 |
univention.debug.debug(univention.debug.ADMIN, univention.debug.INFO, 'users/user.py: reset options to default by _define_options' ) |