mod_auth_pam and pam_smb

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

 



I would greatly appreciate some help in configuring the above.

I am trying to authenticate against an NT PDC (server name is NT-SERVER)
The Linux box is RedHat 6.2, kernel 2.2.17-14

Here is my /etc/pam_smb.conf:
OXSPRING
NT-SERVER
NO_BDC

Here is my /etc/pam.d/httpd
#%PAM-1.0
#[For version 1.0 syntax, the above header is optional]
#
# The PAM configuration file for the `httpd' service
#
#auth       required   pam_pwdb.so md5  (I have got this part to work)
auth       required     /lib/security/pam_smb_auth.so debug
account    required   pam_pwdb.so md5

I have protected a dirctory on the Linux box with the following .htaccess
file:
AuthType Basic
AuthName "secure area"
require group staff
require user chris

And I have specified this in my httpd.conf file:
<Directory /home/httpd/html/testpam>
  AllowOverride AuthConfig
</Directory>

My hosts file on the Linux defines the IP address of NT-SERVER.

An extract of the logs when trying to supply username and pw:
[error] (13)Permission denied: access to /testpam/ failed for 192.168.1.105,
reason: Authentication service cannot retrieve authentication info.

I beleive the mod_auth_pam is ok because I can authenticate locally against
my shadow file.

My Questions:
Do I need to set something up on the NT for this to work?
Do I need to add the Linux to the NT domain?
Why can't I authenticate

Thanks for "any" guidance.
Regards,
Chris

Chris Andrew
Oxspring Network Solutions Limited
Tel: +44 (0)1226 761188
Fax: +44 (0)1226 761199

Email: candrew@oxspring.com
Web: www.oxspring.com





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

  Powered by Linux