Univention Bugzilla – Attachment 6665 Details for
Bug 37611
homeShare and homeSharePath are not unmapped
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
37611.patch (text/plain), 1.51 KB, created by
Florian Best
on 2015-02-11 15:36:13 CET
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Florian Best
Created:
2015-02-11 15:36:13 CET
Size:
1.51 KB
patch
obsolete
>diff --git a/ucs-4.0-1/management/univention-directory-manager-modules/modules/univention/admin/handlers/users/user.py b/ucs-4.0-1/management/univention-directory-manager-modules/modules/univention/admin/handlers/users/user.py >index 70780b8..5888f65 100644 >--- a/ucs-4.0-1/management/univention-directory-manager-modules/modules/univention/admin/handlers/users/user.py >+++ b/ucs-4.0-1/management/univention-directory-manager-modules/modules/univention/admin/handlers/users/user.py >@@ -1510,8 +1510,14 @@ def open(self, loadGroups=1): > host, path = unc.split(':',1) > sharepath=path > while len(sharepath) > 1: >- escaped_sharepath_filter = univention.admin.filter.escapeForLdapFilter('path=%s' % sharepath) >- res = univention.admin.modules.lookup(univention.admin.modules.get('shares/share'), None, self.lo, filter='(&(host=%s)(%s))' % (host, escaped_sharepath_filter), scope='domain') >+ filter_ = univention.admin.filter.conjunction('&', [ >+ univention.admin.filter.expression('univentionShareHost', host), >+ univention.admin.filter.conjunction('|', [ >+ univention.admin.filter.expression('univentionSharePath', sharepath.rstrip('/')), >+ univention.admin.filter.expression('univentionSharePath', '%s/' % (sharepath.rstrip('/'))), >+ ]) >+ ]) >+ res = univention.admin.modules.lookup(univention.admin.modules.get('shares/share'), None, self.lo, filter=filter_, scope='domain') > if len(res) == 1: > self['homeShare']=res[0].dn > relpath=path.replace(sharepath, '')
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 37611
: 6665