Hi,
I have install cobbler 2.0.9 on rhel 5.5.
I have some troubles with some LDAP user authorization :
--------------------------------------------------------------------------------------------------
Fri Jan 28 10:02:05 2011 - DEBUG | authorize; ['T0009097', 'modify_system', <cobbler.item_system.System instance at 0xa2d6cac>, None, 0]
Fri Jan 28 10:02:05 2011 - INFO | Exception occured: cobbler.cexceptions.CX
Fri Jan 28 10:02:05 2011 - INFO | Exception value: 'user T0009097 does not have access to resource: modify_system'
Fri Jan 28 10:02:05 2011 - INFO | Exception Info:
File "/usr/lib/python2.4/site-packages/cobbler/utils.py", line 122, in die
raise CX(msg)
Fri Jan 28 10:02:05 2011 - INFO | Exception occured: cobbler.cexceptions.CX
Fri Jan 28 10:02:05 2011 - INFO | Exception value: 'user T0009097 does not have access to resource: modify_system'
Fri Jan 28 10:02:05 2011 - INFO | Exception Info:
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 1535, in check_access_no_fail
self.check_access(token,resource,arg1,arg2)
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 1544, in check_access
rc = self.__authorize(token,resource,arg1,arg2)
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 1581, in __authorize
utils.die(self.logger, "user %s does not have access to resource: %s" % (user,resource))
File "/usr/lib/python2.4/site-packages/cobbler/utils.py", line 130, in die
raise CX(msg)
-----------------------------------------------------------------------------------------------------
It works fine for lot of ldap user but failed for some of them.
I verify user ldap definition and find nothing bad ...
Does anyone has any idea ?
Best Regards
--
Ingénieur Systèmes Linux / Unix
THALES - Critical Information Systems
DIVISION Security Solutions & Services / Server Mgmt / Administration Systèmes