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

(-)a/ucs-school-metapackage/debian/ucs-school-master.postinst (-2 / +2 lines)
 Lines 112-124   if [ "$1" = configure -a -z "$2" ]; then Link Here 
112
	fi
112
	fi
113
fi
113
fi
114
114
115
if [ "$1" = configure ] && dpkg --compare-versions "$2" lt-nl 9.0.2-8; then
115
if [ "$1" = configure ] && dpkg --compare-versions "$2" lt-nl 11.0.1-1; then
116
	# Add some local groups to the ignore list
116
	# Add some local groups to the ignore list
117
	# Note: This must be in sync with univention-s4-connector.postinst (Bug #40418):
117
	# Note: This must be in sync with univention-s4-connector.postinst (Bug #40418):
118
	# TODO: Exceptions of Bug 29486 Comment 3
118
	# TODO: Exceptions of Bug 29486 Comment 3
119
	group_ignorelist="$(ucr get connector/s4/mapping/group/ignorelist)"
119
	group_ignorelist="$(ucr get connector/s4/mapping/group/ignorelist)"
120
	updated_group_ignorelist="$group_ignorelist"
120
	updated_group_ignorelist="$group_ignorelist"
121
	for g in "Replicators" "Printer-Admins" "System Operators" "Enterprise Domain Controllers" "Remote Interactive Logon" "SChannel Authentication" "Digest Authentication" "Terminal Server User" "NTLM Authentication" "Other Organization" "This Organization" "Anonymous Logon" "Network Service" "Creator Group" "Creator Owner" "Local Service" "Owner Rights" "Interactive" "Restricted" "Network" "Service" "Dialup" "System" "Batch" "Proxy" "IUSR" "Self"; do
121
	for g in "Console Logon"; do
122
		echo "$group_ignorelist" | egrep -q "(,${g},|^${g},|,${g}$)" \
122
		echo "$group_ignorelist" | egrep -q "(,${g},|^${g},|,${g}$)" \
123
			|| updated_group_ignorelist="$updated_group_ignorelist,$g"
123
			|| updated_group_ignorelist="$updated_group_ignorelist,$g"
124
	done
124
	done

Return to bug 46265