Univention Bugzilla – Attachment 8394 Details for
Bug 34481
Need a primary group with samba option to create a user with samba option.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
34481.patch (text/plain), 1.52 KB, created by
Florian Best
on 2017-02-01 16:48:43 CET
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Florian Best
Created:
2017-02-01 16:48:43 CET
Size:
1.52 KB
patch
obsolete
>diff --git a/management/univention-directory-manager-modules/modules/univention/admin/handlers/users/user.py b/management/univention-directory-manager-modules/modules/univention/admin/handlers/users/user.py >index cd644c5..76f6563 100644 >--- a/management/univention-directory-manager-modules/modules/univention/admin/handlers/users/user.py >+++ b/management/univention-directory-manager-modules/modules/univention/admin/handlers/users/user.py >@@ -585,7 +585,7 @@ class vacationResendDays(univention.admin.syntax.select): > long_description='', > syntax=univention.admin.syntax.GroupDN, > multivalue=False, >- options=['posix'], >+ options=['posix', 'samba'], > required=True, > dontsearch=True, > may_change=True, >@@ -1408,7 +1408,7 @@ def open(self, loadGroups=1): > self['locked'] = 'posix' > self.is_auth_saslpassthrough = self.__pwd_is_auth_saslpassthrough(userPassword) > >- if 'posix' in self.options: >+ if 'posix' in self.options or 'samba' in self.options: > > if loadGroups: # this is optional because it can take much time on larger installations, default is true > self.groupsLoaded = 1 >@@ -1512,7 +1512,7 @@ def open(self, loadGroups=1): > > self.save() > else: >- if 'posix' in self.options: >+ if 'posix' in self.options or 'samba' in self.options: > primary_group_from_template = self['primaryGroup'] > if not primary_group_from_template: > searchResult = self.lo.search(filter='(objectClass=univentionDefault)', base='cn=univention,' + self.position.getDomain(), attr=['univentionDefaultGroup'])
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 34481
:
7941
| 8394