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

(-)a/services/univention-samba4/lib/base.sh (-2 / +2 lines)
 Lines 204-212   get_available_s4connector_dc() { Link Here 
204
				## this can either be the administration or the education section,
204
				## this can either be the administration or the education section,
205
				## both have separate samba domains, so ignore the other section
205
				## both have separate samba domains, so ignore the other section
206
				if is_localhost_education; then
206
				if is_localhost_education; then
207
					s4cldapfilter="(&(univentionService=S4 Connector)(objectClass=univentionDomainController)(!(univentionService=UCS@school Administration)))"
207
					s4cldapfilter="(&(univentionService=S4 SlavePDC)(univentionService=S4 Connector)(objectClass=univentionDomainController)(univentionService=UCS@school Education))"
208
				elif is_localhost_administration; then
208
				elif is_localhost_administration; then
209
					s4cldapfilter="(&(univentionService=S4 Connector)(objectClass=univentionDomainController)(!(univentionService=UCS@school Education)))"
209
					s4cldapfilter="(&(univentionService=S4 SlavePDC)(univentionService=S4 Connector)(objectClass=univentionDomainController)(univentionService=UCS@school Administration))"
210
				else
210
				else
211
					echo "ERROR: This seems to be a UCS@school school department server," 1>&2
211
					echo "ERROR: This seems to be a UCS@school school department server," 1>&2
212
					echo "ERROR: but is neither a administrative nor a educative server." 1>&2
212
					echo "ERROR: but is neither a administrative nor a educative server." 1>&2

Return to bug 45596