View | Details | Raw Unified | Return to bug 34481 | Differences between
and this patch

Collapse All | Expand All

(-)a/management/univention-directory-manager-modules/modules/univention/admin/handlers/users/user.py (-3 / +3 lines)
 Lines 585-591   class vacationResendDays(univention.admin.syntax.select): Link Here 
585
		long_description='',
585
		long_description='',
586
		syntax=univention.admin.syntax.GroupDN,
586
		syntax=univention.admin.syntax.GroupDN,
587
		multivalue=False,
587
		multivalue=False,
588
		options=['posix'],
588
		options=['posix', 'samba'],
589
		required=True,
589
		required=True,
590
		dontsearch=True,
590
		dontsearch=True,
591
		may_change=True,
591
		may_change=True,
 Lines 1408-1414   def open(self, loadGroups=1): Link Here 
1408
						self['locked'] = 'posix'
1408
						self['locked'] = 'posix'
1409
					self.is_auth_saslpassthrough = self.__pwd_is_auth_saslpassthrough(userPassword)
1409
					self.is_auth_saslpassthrough = self.__pwd_is_auth_saslpassthrough(userPassword)
1410
1410
1411
				if 'posix' in self.options:
1411
				if 'posix' in self.options or 'samba' in self.options:
1412
1412
1413
					if loadGroups:  # this is optional because it can take much time on larger installations, default is true
1413
					if loadGroups:  # this is optional because it can take much time on larger installations, default is true
1414
						self.groupsLoaded = 1
1414
						self.groupsLoaded = 1
 Lines 1512-1518   def open(self, loadGroups=1): Link Here 
1512
1512
1513
			self.save()
1513
			self.save()
1514
		else:
1514
		else:
1515
			if 'posix' in self.options:
1515
			if 'posix' in self.options or 'samba' in self.options:
1516
				primary_group_from_template = self['primaryGroup']
1516
				primary_group_from_template = self['primaryGroup']
1517
				if not primary_group_from_template:
1517
				if not primary_group_from_template:
1518
					searchResult = self.lo.search(filter='(objectClass=univentionDefault)', base='cn=univention,' + self.position.getDomain(), attr=['univentionDefaultGroup'])
1518
					searchResult = self.lo.search(filter='(objectClass=univentionDefault)', base='cn=univention,' + self.position.getDomain(), attr=['univentionDefaultGroup'])

Return to bug 34481