Univention Bugzilla – Attachment 8186 Details for
Bug 36570
Windows Client SIDs not synchronized to OpenLDAP
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
bug36570.patch
bug36570.patch (text/plain), 1.07 KB, created by
Arvid Requate
on 2016-11-03 19:32:14 CET
(
hide
)
Description:
bug36570.patch
Filename:
MIME Type:
Creator:
Arvid Requate
Created:
2016-11-03 19:32:14 CET
Size:
1.07 KB
patch
obsolete
>Index: modules/univention/admin/handlers/computers/windows.py >=================================================================== >--- modules/univention/admin/handlers/computers/windows.py (Revision 73053) >+++ modules/univention/admin/handlers/computers/windows.py (Arbeitskopie) >@@ -457,9 +457,12 @@ > if 'samba' in self.options: > acctFlags=univention.admin.samba.acctFlags(flags={'W':1}) > if self.s4connector_present: >- # In this case Samba 4 must create the SID, the s4 connector will sync the >- # new sambaSID back from Samba 4. >- self.machineSid='S-1-4-%s' % self.uidNum >+ if hasattr(self, 'sambaRID') and self.info['sambaRID']: >+ self.machineSid = self.getMachineSid(self.lo, self.position, self.uidNum, self.get('sambaRID')) >+ else: >+ # In this case Samba 4 must create the SID, the s4 connector will sync the >+ # new sambaSID back from Samba 4. >+ self.machineSid='S-1-4-%s' % self.uidNum > else: > self.machineSid = self.getMachineSid(self.lo, self.position, self.uidNum, self.get('sambaRID')) > self.alloc.append(('sid',self.machineSid))
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 36570
:
6344
|
6345
|
6346
|
6542
|
7563
|
7565
|
7566
| 8186