pam_ntdom on other then Linux?

The Hermit Hacker scrappy at
Fri May 22 13:02:31 GMT 1998

>There isn't that much to it ..

>in the toplevel Makefile add

>and add the line

>LD_D = ld -B dynamic -G

>somewhere at the top..

>make sure you have GNU make, and also add the line

>#define LOG_AUTHPRIV (4<<3) 

>somewhere in the top of pam_ntdom_auth.c 

>this compiles for me under Solaris 2.6 with the SUNPro compiler, I'd
>imagine gcc should be no different, 
>It gives me some warnings which I have ignored and I can't say it will
>work ... 

I know this is just a technicality, but you say it compiles for you, but
does it work?  I'm getting the following when I try to telnet in:

May 22 09:54:08 hades login: load_modules: can not open module

With an /etc/pam.conf looking like:

# PAM configuration
# Authentication management
login   auth required   /usr/lib/security/
login   auth required   /usr/lib/security/
rlogin  auth sufficient /usr/lib/security/
rlogin  auth required   /usr/lib/security/
dtlogin auth required   /usr/lib/security/
rsh     auth required   /usr/lib/security/
#other  auth required   /usr/lib/security/
other   auth required   /usr/lib/security/
# Account management
login   account required        /usr/lib/security/
dtlogin account required        /usr/lib/security/
other   account required        /usr/lib/security/
# Session management
other   session required        /usr/lib/security/
# Password management
other   password required       /usr/lib/security/

and the file definitely exists:

hades:/usr/ccs/bin> cd /usr/lib/security
hades:/usr/lib/security> ls -lt 
-rwxr-xr-x   1 root     other     276188 May 22 09:53

More information about the samba-ntdom mailing list