PAM module what I've wrote

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

 



Hi all,
I wrote this PAM authentication module. It authenticates users based on them already being authenticated to a samba server process on the same machine (doesn't refer to password at all). An older version is on sourceforge, but I can't work out the cvs thing, so here it is if you're intrerested. I've used it successfully on debian 3.0. It needs libtdb, libtdb-dev. and you may need to change the reference to your session database (/var/run/samba/sessionid.tdb on mine - I think this is unusual).
 
to build and install:

gcc -c fPIC pam_smb_sso.c

ld -x --shared -ltdb -o pam_smb_sso.so pam_smb_sso.o

cp pam_smb_sso.so /lib/security

 

I've used it on proftp and it worked. I reckon there's a few issues to do with security and possibly network load if you haven't got a good name service whatnot in place (ie resorting to broadcasts to locate station names).

Any idea what else I should do with it/publish it?

Jim Potter

 

Attachment: pam_smb_sso.c
Description: Binary data


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

  Powered by Linux