LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware, Samba, Winbind & PAM; Oh My! (https://www.linuxquestions.org/questions/slackware-14/slackware-samba-winbind-and-pam%3B-oh-my-66619/)

BulletSponge 06-19-2003 10:38 AM

Slackware, Samba, Winbind & PAM; Oh My!
 
okay, so with diligent searching and tutorials, i have managed to get PAM installed, and samba and winbind talking to my w2k domain, and that work beautifully. BUT if i try to log in to the shell with a windows user, it just keeps rejecting me. i ran ldd on /bin/login and i get:

Quote:

root@Lithium:/usr/local# /usr/bin/ldd -v /bin/login
libcrypt.so.1 => /lib/libcrypt.so.1 (0x40025000)
libc.so.6 => /lib/libc.so.6 (0x40053000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Version information:
/bin/login:
libcrypt.so.1 (GLIBC_2.0) => /lib/libcrypt.so.1
libc.so.6 (GLIBC_2.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.2) => /lib/libc.so.6
libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
/lib/libcrypt.so.1:
libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
/lib/libc.so.6:
ld-linux.so.2 (GLIBC_2.1) => /lib/ld-linux.so.2
ld-linux.so.2 (GLIBC_2.0) => /lib/ld-linux.so.2
ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2
i notice that that is missing PAM. so i'm assuming that i need to recompile the stuff that handles that kind of authentication to have PAM support. unfortunatley, i have no idea how what programs i need to recompile. or if i even can.

Cheers!

epac 06-19-2003 08:08 PM

slackware & pam
 
As you seem to have found out, slackware doens't have ANY support in ANY binaries for pam. If you want to get any pam support, it is possible, but essentially involves recompiling all the packages with pam support. there are some scripts in the source folder of the slackware ftp site that will allow you to make this a little easier (that is to retain the config you have, but add pam to the programs that need it).

I have read about 1 successfull attempt at recompiling some programs to support pam in slackware. it didn't seem to have been easy.

I suggest you look at www.linuxfromscratch.org and download the book, and see the part about pam in there, what is required, etc.

Have Fun !
(and don't give up !)

epac

BulletSponge 06-20-2003 04:41 PM

Thanks for the Pointer Epac.
I won't have time to try this adventure for a couple of days, but i will post sucess or failure. from what i've read, it doens't look too difficult, just a little intricate. And Intricate is fun, right Linux fans?

epac 06-20-2003 05:01 PM

you might also check the archive at www.userlocal.com.

They have one of the main slackware boards. That's where i remember reading about PAM in slackware.

Good luck.

ePAc.


All times are GMT -5. The time now is 05:59 PM.