swat and pam.d

Kroboth, Joe joe_kroboth at chernay.com
Mon Oct 22 07:32:05 GMT 2001


Hello,

Installed the binary RPM
(http://de.samba.org/samba/ftp/Binary_Packages/redhat/RPMS/7.1/) for samba
2.2.2 on my redhat 7.1 server.  I got winbind to work and my samba server is
now using NT usernames and groups.  I was very unsure about how modify the
pam.d files.  The only file I changed was the /etc/pam.d/samba file.  I
pulled this configuration from another mail post.

/etc/pam.d/samba--------------------------------------

auth            required        /lib/security/pam_securetty.so
auth            required        /lib/security/pam_nologin.so
auth            sufficient      /lib/security/pam_winbind.so
auth            required        /lib/security/pam_pwdb.so use_first_pass
shadow nullok
account         required        /lib/security/pam_winbind.so
session         required        /lib/security/pam_pwdb.so
password        required        /lib/security/pam_pwdb.so

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

This seems to work fine for all but SWAT.

I am able to log into swat using a NT domain name and password  (DOMAIN+name
and password) but I do not have full access to changing the config file.
When I try to log in as root I receive an authorization failure.   

Hoping someone could point me in the right direction.

Thanks

Joe






More information about the samba mailing list