View | Details | Raw Unified | Return to bug 24068
Collapse All | Expand All

(-)/usr/share/univention-ldap-overlay-memberof/univention-update-memberof (-1 / +1 lines)
 Lines 49-55    Link Here 
49
	# DO NOT CHANGE FOLLOWING TWO LINES! THE LINEBREAK IS IMPORTANT!
49
	# DO NOT CHANGE FOLLOWING TWO LINES! THE LINEBREAK IS IMPORTANT!
50
	IFS="
50
	IFS="
51
"
51
"
52
	for dn in $(ldapsearch -x objectClass=posixGroup dn | grep ^dn | cut -b 5-) ; do
52
	for dn in $(ldapsearch -x objectClass=posixGroup dn | ldapsearch-wrapper | grep ^dn | cut -b 5-) ; do
53
		echo "*** UPDATING GROUP $dn ***";
53
		echo "*** UPDATING GROUP $dn ***";
54
		univention-directory-manager groups/group modify --dn "$dn" --append users="$USER_DN"
54
		univention-directory-manager groups/group modify --dn "$dn" --append users="$USER_DN"
55
		univention-directory-manager groups/group modify --dn "$dn" --remove users="$USER_DN"
55
		univention-directory-manager groups/group modify --dn "$dn" --remove users="$USER_DN"

Return to bug 24068