Univention Bugzilla – Attachment 9553 Details for
Bug 36634
python undefined name in univention-samba
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
Bug_#36634__fixed.patch (text/plain), 1.96 KB, created by
jp
on 2018-06-13 15:33:03 CEST
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
jp
Created:
2018-06-13 15:33:03 CEST
Size:
1.96 KB
patch
obsolete
>Index: services/univention-samba/python/share_restrictions.py >IDEA additional info: >Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP ><+>UTF-8 >=================================================================== >--- services/univention-samba/python/share_restrictions.py (revision e957f80a50d57d734b2a24a0769375179cf4e715) >+++ services/univention-samba/python/share_restrictions.py (revision 8017c12d0b27f04564884ac11a9840ce292f4bb7) >@@ -300,7 +300,7 @@ > > # set share options to -> shares > def _set_options(self, value, share, option): >- if match and share and options and value: >+ if share and option and value: > if option not in self._shares[share]: > self._shares[share][option] = set() > >Index: services/univention-samba4/s4search-decode >IDEA additional info: >Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP ><+>UTF-8 >=================================================================== >--- services/univention-samba4/s4search-decode (revision e957f80a50d57d734b2a24a0769375179cf4e715) >+++ services/univention-samba4/s4search-decode (revision 8017c12d0b27f04564884ac11a9840ce292f4bb7) >@@ -166,20 +166,6 @@ > traceback.print_exc() > > >-def decode_pwdLastSet(value): >- print "# decoded (Note: timezone not converted to local time):" >- if long(value) == -1: >- print "# %s: Just set" % self.attrname >- elif long(value) == 0: >- print "# %s: Must change on next logon" % self.attrname >- else: >- try: >- print "# pwdLastSet: %s" % decode_100nanosectimestamp(value) >- except: >- print "# traceback during decoding:" >- traceback.print_exc() >- >- > class decode_drsblob(): > > def __init__(self, blobtype): >@@ -203,7 +189,7 @@ > 'supplementalCredentials': decode_supplementalCredentials, > 'unicodePwd': decode_unicodePwd, > 'krb5Key': decode_krb5Key, >- 'pwdLastSet': decode_pwdLastSet, >+ 'pwdLastSet': decode_lastDate("pwdLastSet"), > 'accountExpires': decode_accountExpires, > 'badPasswordTime': decode_lastDate('badPasswordTime'), > 'lastLogoff': decode_lastDate('lastLogoff'),
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 36634
: 9553