pam authentication not working.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


i installed svn,trac and i want to access through browse with pam
authentication so i installed pam modules added to httpd.conf

LoadModule auth_pam_module   /usr/lib/httpd/modules/
LoadModule auth_sys_group_module /usr/lib/httpd/modules/

and in /etc/pam.d/httpd

auth       required     /lib/security/
account    required     /lib/security/

and trac.conf is
<Location /svn/trac/first_pro>
    SetHandler mod_python
    PythonHandler trac.web.modpython_frontend
    PythonOption TracEnv /svn/trac/first_pro
    PythonOption TracUriRoot /svn/trac/first_pro
    AuthType Basic
    AuthName "trac browser"
    AuthPAM_Enabled on
    AllowOverride None
    Require group svnaccess
    Require valid-user

i was given full permissions for trac and svn folder (for testing).
drwxrwxrwx 10 root svnaccess   4096 Jul 19 17:05 first_pro
(for testing) even it is not working and balu is member of svnaccess

so when i try to browse it asking username and password after that is
is giving 401 authorization required.
This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.
Apache/2.2.3 (Red Hat) Server at Port 80

in /http/log/error.log
i found

[Mon Jul 20 12:00:55 2009] [error] [client] PAM: user ''  - invalid account: Permission denied

please help me.
Pam-list mailing list

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux