|
498 |
univentionGroupType: -2147483643 |
498 |
univentionGroupType: -2147483643 |
499 |
- |
499 |
- |
500 |
add: sambaGroupType |
500 |
add: sambaGroupType |
501 |
sambaGroupType: 5" | ldapmodify -x -D "$binddn" -w "$bindpwd" |
501 |
sambaGroupType: 5" | ldapmodify -x -h "$ldap_master" -p "$ldap_master_port" -D "$binddn" -w "$bindpwd" |
502 |
|
502 |
|
503 |
if [ "$name" = "Authenticated Users" ]; then |
503 |
if [ "$name" = "Authenticated Users" ]; then |
504 |
udm groups/group modify "$@" --dn "cn=$name,$position,$ldap_base" \ |
504 |
udm groups/group modify "$@" --dn "cn=$name,$position,$ldap_base" \ |
|
555 |
|
555 |
|
556 |
shift 1 |
556 |
shift 1 |
557 |
|
557 |
|
558 |
group_dn="$(univention-ldapsearch -x "(&(objectClass=univentionGroup)(cn=$name))" | sed -ne 's|dn: ||p')" |
558 |
group_dn="$(univention-ldapsearch -x "(&(objectClass=univentionGroup)(cn=$name)(!(univentionGroupType=-2147483643)))" | sed -ne 's|dn: ||p')" |
559 |
|
559 |
|
560 |
if [ -n "$group_dn" ]; then |
560 |
if [ -n "$group_dn" ]; then |
561 |
extract_binddn_and_bindpwd_from_args "$@" |
561 |
extract_binddn_and_bindpwd_from_args "$@" |
|
571 |
univentionGroupType: -2147483643 |
571 |
univentionGroupType: -2147483643 |
572 |
- |
572 |
- |
573 |
replace: sambaGroupType |
573 |
replace: sambaGroupType |
574 |
sambaGroupType: 5" | ldapmodify -x -D "$binddn" -w "$bindpwd" |
574 |
sambaGroupType: 5" | ldapmodify -x -h "$ldap_master" -p "$ldap_master_port" -D "$binddn" -w "$bindpwd" |
575 |
fi |
575 |
fi |
576 |
} |
576 |
} |
577 |
|
577 |
|