LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   pam_winbind issues! (https://www.linuxquestions.org/questions/linux-software-2/pam_winbind-issues-775816/)

abdoullah 12-15-2009 10:41 AM

pam_winbind issues!
 
Hi Guys,
it seems like my PAM module is not working correctly, i'm having issues login with filezilla (i can't see floder after login), with putty (too slow) and even to login to console (too slow). here is a piece of the log:

Dec 15 10:41:18 crm sshd[24094]: pam_winbind(sshd): pam_winbind_request: write to socket failed!
Dec 15 10:41:18 crm sshd[24094]: pam_winbind(sshd): internal module error (retval = 3, user = 'louis_pendis')

i am using gentoo, do you think if i grab the module pam_winbind.so from another gentoo machine, that would solve the PB with no risk??!!
i'll appreciate any help, thanks!

hoes 12-16-2009 04:36 AM

Have a look a the script controlling PAM.
See what it is doing and why it is slow or failing.
You're errors indicate you do have a PAM-winbind and you should try to fix it.

Have a look at the files in /etc/pam.d or script like /etc/pam.conf.
I don't remember exactly where they are.
You should at least include the main config file and the files controlling the applications that fail are also useful.

And also tell what version of PAM you are running.
That way we could have a look at what is happening on your system.

Copying files is something that could work on windows, but in linux it's better to find the source of the problem.


good luck,
Hugo

abdoullah 12-16-2009 09:50 AM

2 Attachment(s)
Thank you Hugo for your reply, but actually i couldn't find this main config file, all i've found is diffrents files which represents i believe the specefic setting for every service PAM is interacting with, so i believe the one concerning us is either system-auth or pure-ftpd (cause i trying to access my server with filezilla as i always used to). concerning the version it's 1.0.

you'll find system-auth and pure-ftpd enclosed. thank you very much for your help!

hoes 12-17-2009 04:17 AM

Could you try to comment out the winbind rules and see if that fixes everything?

In the meanwhile we still have to look up what the winbind module does.
I tried to google some, but could not find it as fast as I hoped.
If I know something more, I'll let you know.


All times are GMT -5. The time now is 07:50 PM.