FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora/Linux Management Tools

 
 
LinkBack Thread Tools
 
Old 06-27-2008, 02:58 PM
"Matteo Concilio"
 
Default Cobbler Web Interface: not able to login

Hi all, I'm using cobbler since 0.6 but now I have a problem I can't understand.
This is a fresh mnimal install of EL 5.2 with cobbler taken from EPEL.
I follewed this howto
https://fedorahosted.org/cobbler/wiki/CobblerWebInterface as I always
done, but I can't login.

xmlrpc_rw is enabled
fw is ok
selinux is ok

These are my confs and logs....

------------------------------------

[root@mrwolf ~]# cat /etc/cobbler/modules.conf
....
[authentication]
module = authz_configfile

[authorization]
module = authz_allowall
.....

------------------------------------

[root@mrwolf ~]# cat /etc/cobbler/users.digest
matteo:Cobbler:xxxxxxxxxxxxxxxxxxxxxxxxxxxxx

------------------------------------

[root@mrwolf ~]# cat /var/log/httpd/error_log
[Fri Jun 27 16:50:24 2008] [error] <Fault 1:
"exceptions.AttributeError:'module' object has no attribute
'authenticate'">

------------------------------------

[root@mrwolf ~]# cat /var/log/cobbler/cobbler.log
2008-06-27 16:50:24,813 - remote - login attempt; user(matteo)
2008-06-27 16:50:24,814 - remote - Exception occured: exceptions.AttributeError
2008-06-27 16:50:24,815 - remote - Exception value: 'module' object
has no attribute 'authenticate'
2008-06-27 16:50:24,816 - remote - Exception Info:
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 526,
in _dispatch
return method_handle(*params)
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 693, in login
if self.__validate_user(login_user,login_password):
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line
604, in __validate_user
return self.api.authenticate(input_user,input_password)
File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 413,
in authenticate
rc = self.authn.authenticate(self,user,password)

------------------------------------


What's the matter? Maybe python?


--
Matteo Concilio

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 
Old 06-27-2008, 03:47 PM
Michael DeHaan
 
Default Cobbler Web Interface: not able to login

Matteo Concilio wrote:

Hi all, I'm using cobbler since 0.6 but now I have a problem I can't understand.
This is a fresh mnimal install of EL 5.2 with cobbler taken from EPEL.
I follewed this howto
https://fedorahosted.org/cobbler/wiki/CobblerWebInterface as I always
done, but I can't login.

xmlrpc_rw is enabled
fw is ok
selinux is ok

These are my confs and logs....

------------------------------------

[root@mrwolf ~]# cat /etc/cobbler/modules.conf
....
[authentication]
module = authz_configfile



Authentication should be "authn_configfile". Authz is for authorization.

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 
Old 06-27-2008, 04:30 PM
"Matteo Concilio"
 
Default Cobbler Web Interface: not able to login

2008/6/27 Michael DeHaan <mdehaan@redhat.com>:
> Authentication should be "authn_configfile". Authz is for authorization.

It was a very stupid mistake!

Maybe I should
$ man keyboard

Thanks!

--
Matteo Concilio

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 

Thread Tools




All times are GMT. The time now is 11:20 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org