|
40 |
VERSION=1 |
40 |
VERSION=1 |
41 |
. /usr/share/univention-join/joinscripthelper.lib |
41 |
. /usr/share/univention-join/joinscripthelper.lib |
42 |
. /usr/share/univention-lib/ldap.sh |
42 |
. /usr/share/univention-lib/ldap.sh |
43 |
ucs_unregisterLDAPExtension "$@" --schema /usr/share/%(package_name)s/%(schema_name)s || die |
43 |
ucs_unregisterLDAPExtension "$@" --schema %(schema_name)s || die |
44 |
exit 0 |
44 |
exit 0 |
45 |
''' % {'package_name': package_name, 'schema_name': schema_name} |
45 |
''' % {'package_name': package_name, 'schema_name': schema_name} |
46 |
|
46 |
|
|
80 |
|
80 |
|
81 |
call_unjoin_script(unjoin_script_name) |
81 |
call_unjoin_script(unjoin_script_name) |
82 |
|
82 |
|
83 |
# The ldap server needs a few seconds |
83 |
# The postrun needs a few seconds |
84 |
sleep(5) |
84 |
sleep(20) |
85 |
|
85 |
|
86 |
schema = fetch_schema_from_ldap_master() |
86 |
schema = fetch_schema_from_ldap_master() |
87 |
attribute_identifier = "( 1.3.6.1.4.1.10176.200.10999.%(attribute_id)s NAME 'univentionFreeAttribute%(attribute_id)s" % {'attribute_id': attribute_id} |
87 |
attribute_identifier = "( 1.3.6.1.4.1.10176.200.10999.%(attribute_id)s NAME 'univentionFreeAttribute%(attribute_id)s" % {'attribute_id': attribute_id} |