Univention Bugzilla – Attachment 4264 Details for
Bug 26454
UDM-Module: LDAP-Attribute durchreichen
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
passing LDAP attributes to base class
passing-attributes.patch (text/plain), 8.77 KB, created by
Andreas Büsching
on 2012-03-12 14:28 CET
(
hide
)
Description:
passing LDAP attributes to base class
Filename:
MIME Type:
Creator:
Andreas Büsching
Created:
2012-03-12 14:28 CET
Size:
8.77 KB
patch
obsolete
>Index: modules/univention/admin/objects.py >=================================================================== >--- modules/univention/admin/objects.py (Revision 30942) >+++ modules/univention/admin/objects.py (Arbeitskopie) >@@ -61,7 +61,7 @@ > > return None > >-def get(module, co, lo, position, dn='', attr=None, superordinate=None): >+def get(module, co, lo, position, dn='', attr = None, superordinate = None, attributes = [] ): > '''return object of module while trying to create objects of > superordinate modules as well''' > >@@ -72,7 +72,7 @@ > if not superordinate: > superordinate = get_superordinate( module, co, lo, dn or position.getDn() ) > >- return module.object( co, lo, position, dn, superordinate = superordinate ) >+ return module.object( co, lo, position, dn, superordinate = superordinatem, attributes = attributes ) > > def open(object): > '''initialization of properties not neccessary for browsing etc.''' >Index: modules/univention/admin/handlers/computers/windows.py >=================================================================== >--- modules/univention/admin/handlers/computers/windows.py (Revision 30942) >+++ modules/univention/admin/handlers/computers/windows.py (Arbeitskopie) >@@ -348,7 +348,7 @@ > > self.old_samba_option = False > >- univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate) >+ univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate, attributes ) > > self.options = [] > if self.oldattr.has_key('objectClass'): >Index: modules/univention/admin/handlers/computers/managedclient.py >=================================================================== >--- modules/univention/admin/handlers/computers/managedclient.py (Revision 30942) >+++ modules/univention/admin/handlers/computers/managedclient.py (Arbeitskopie) >@@ -356,7 +356,7 @@ > self.newPrimaryGroupDn=0 > self.oldPrimaryGroupDn=0 > >- univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate) >+ univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate, attributes) > > self.options = [] > if self.oldattr.has_key('objectClass'): >Index: modules/univention/admin/handlers/computers/memberserver.py >=================================================================== >--- modules/univention/admin/handlers/computers/memberserver.py (Revision 30942) >+++ modules/univention/admin/handlers/computers/memberserver.py (Arbeitskopie) >@@ -383,7 +383,7 @@ > self.ipRequest=0 > > self.old_samba_option = False >- univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate) >+ univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate, attributes) > self.options = [] > nagios.Support.__init__(self) > >Index: modules/univention/admin/handlers/computers/computer.py >=================================================================== >--- modules/univention/admin/handlers/computers/computer.py (Revision 30942) >+++ modules/univention/admin/handlers/computers/computer.py (Arbeitskopie) >@@ -165,7 +165,7 @@ > self.mapping=mapping > self.descriptions=property_descriptions > >- super(object, self).__init__(co, lo, position, dn, superordinate) >+ super(object, self).__init__(co, lo, position, dn, superordinate, attributes) > > def open( self ): > super( object, self ).open() >Index: modules/univention/admin/handlers/computers/trustaccount.py >=================================================================== >--- modules/univention/admin/handlers/computers/trustaccount.py (Revision 30942) >+++ modules/univention/admin/handlers/computers/trustaccount.py (Arbeitskopie) >@@ -110,7 +110,7 @@ > > self.alloc=[] > >- super(object, self).__init__(co, lo, position, dn, superordinate) >+ super(object, self).__init__(co, lo, position, dn, superordinate, attributes) > > def open(self): > super(object, self).open() >Index: modules/univention/admin/handlers/computers/domaincontroller_backup.py >=================================================================== >--- modules/univention/admin/handlers/computers/domaincontroller_backup.py (Revision 30942) >+++ modules/univention/admin/handlers/computers/domaincontroller_backup.py (Arbeitskopie) >@@ -389,7 +389,7 @@ > > self.old_samba_option = False > >- univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate) >+ univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate, attributes) > > self.options = [] > if self.oldattr.has_key('objectClass'): >Index: modules/univention/admin/handlers/computers/thinclient.py >=================================================================== >--- modules/univention/admin/handlers/computers/thinclient.py (Revision 30942) >+++ modules/univention/admin/handlers/computers/thinclient.py (Arbeitskopie) >@@ -242,7 +242,7 @@ > > self.ipRequest=0 > >- univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate) >+ univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate, attributes) > nagios.Support.__init__(self) > > self.save( ) >Index: modules/univention/admin/handlers/computers/macos.py >=================================================================== >--- modules/univention/admin/handlers/computers/macos.py (Revision 30942) >+++ modules/univention/admin/handlers/computers/macos.py (Arbeitskopie) >@@ -304,7 +304,7 @@ > self.newPrimaryGroupDn=0 > self.oldPrimaryGroupDn=0 > >- univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate) >+ univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate, attributes) > > self.options = [] > if self.oldattr.has_key('objectClass'): >Index: modules/univention/admin/handlers/computers/domaincontroller_slave.py >=================================================================== >--- modules/univention/admin/handlers/computers/domaincontroller_slave.py (Revision 30942) >+++ modules/univention/admin/handlers/computers/domaincontroller_slave.py (Arbeitskopie) >@@ -389,7 +389,7 @@ > > self.old_samba_option = False > >- univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate) >+ univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate, attributes ) > > self.options = [] > if self.oldattr.has_key('objectClass'): >Index: modules/univention/admin/handlers/computers/mobileclient.py >=================================================================== >--- modules/univention/admin/handlers/computers/mobileclient.py (Revision 30942) >+++ modules/univention/admin/handlers/computers/mobileclient.py (Arbeitskopie) >@@ -356,7 +356,7 @@ > self.newPrimaryGroupDn=0 > self.oldPrimaryGroupDn=0 > >- univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate) >+ univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate, attributes) > > self.options = [] > if self.oldattr.has_key('objectClass'): >Index: modules/univention/admin/handlers/computers/ipmanagedclient.py >=================================================================== >--- modules/univention/admin/handlers/computers/ipmanagedclient.py (Revision 30942) >+++ modules/univention/admin/handlers/computers/ipmanagedclient.py (Arbeitskopie) >@@ -243,7 +243,7 @@ > > self.ipRequest=0 > >- univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate) >+ univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate, attributes) > > nagios.Support.__init__(self) > >Index: modules/univention/admin/handlers/computers/windows_domaincontroller.py >=================================================================== >--- modules/univention/admin/handlers/computers/windows_domaincontroller.py (Revision 30942) >+++ modules/univention/admin/handlers/computers/windows_domaincontroller.py (Arbeitskopie) >@@ -361,7 +361,7 @@ > > self.old_samba_option = False > >- univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate) >+ univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate, attributes) > > self.options = [] > if self.oldattr.has_key('objectClass'): >Index: modules/univention/admin/handlers/computers/domaincontroller_master.py >=================================================================== >--- modules/univention/admin/handlers/computers/domaincontroller_master.py (Revision 30942) >+++ modules/univention/admin/handlers/computers/domaincontroller_master.py (Arbeitskopie) >@@ -388,7 +388,7 @@ > > self.old_samba_option = False > >- univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate) >+ univention.admin.handlers.simpleComputer.__init__(self, co, lo, position, dn, superordinate, attributes) > > self.options = [] > if self.oldattr.has_key('objectClass'):
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 26454
: 4264