Hi People!
I have a RH 7.3 installed with only Samba. I am using PAM to authenthicate to the same linux box.
The authenthication is unstable, since the PAM sometimes works, sometimes not.
There are errors messages like the one below (and in the entire log file below) relating the problem to permissions. I think it is not a permission issue.
Example:
Apr 22 09:32:06 lab01 smbd: PAM [dlerror: /lib/security/pam_deny.so: cannot open shared object file: Permission denied]
Does anyone have any additional information?
--
Take a look at the /var/log/messages for additional information:
Apr 22 09:25:05 lab01 samba(pam_unix)[10323]: session opened for user juca by (uid=0)
Apr 22 09:25:07 lab01 samba(pam_unix)[10325]: session opened for user elvampving by (uid=0)
Apr 22 09:25:14 lab01 samba(pam_unix)[10305]: session closed for user matheu
Apr 22 09:25:28 lab01 samba(pam_unix)[10328]: session opened for user lua by (uid=0)
Apr 22 09:25:33 lab01 samba(pam_unix)[10329]: session opened for user matheu by (uid=0)
Apr 22 09:25:38 lab01 samba(pam_unix)[10331]: session opened for user lora by (uid=0)
Apr 22 09:25:42 lab01 samba(pam_unix)[10326]: session opened for user nosduas by (uid=0)
Apr 22 09:25:43 lab01 samba(pam_unix)[10329]: session closed for user matheu
Apr 22 09:25:46 lab01 samba(pam_unix)[10329]: session opened for user matheu by (uid=0)
Apr 22 09:25:52 lab01 samba(pam_unix)[10305]: session opened for user silvestre by (uid=0)
Apr 22 09:29:41 lab01 samba(pam_unix)[10353]: session opened for user balbranco by (uid=0)
Apr 22 09:32:06 lab01 smbd: PAM unable to dlopen(/lib/security/pam_nologin.so)
Apr 22 09:32:06 lab01 smbd: PAM [dlerror: /lib/security/pam_nologin.so: cannot open shared object file: Permission denied]
Apr 22 09:32:06 lab01 smbd: PAM adding faulty module: /lib/security/pam_nologin.so
Apr 22 09:32:06 lab01 smbd: PAM unable to dlopen(/lib/security/pam_stack.so)
Apr 22 09:32:06 lab01 smbd: PAM [dlerror: /lib/security/pam_stack.so: cannot open shared object file: Permission denied]
Apr 22 09:32:06 lab01 smbd: PAM adding faulty module: /lib/security/pam_stack.so
Apr 22 09:32:06 lab01 smbd: PAM unable to dlopen(/lib/security/pam_deny.so)
Apr 22 09:32:06 lab01 smbd: PAM [dlerror: /lib/security/pam_deny.so: cannot open shared object file: Permission denied]
Apr 22 09:32:06 lab01 smbd: PAM adding faulty module: /lib/security/pam_deny.so
Apr 22 09:44:57 lab01 samba(pam_unix)[10274]: session closed for user t42
Apr 22 09:45:02 lab01 samba(pam_unix)[10273]: session closed for user t42
Apr 22 09:45:11 lab01 samba(pam_unix)[10280]: session closed for user t42
Apr 22 11:09:36 lab01 samba(pam_unix)[10658]: session opened for user t44 by (uid=0)
Apr 22 11:09:42 lab01 samba(pam_unix)[10659]: session opened for user t44 by (uid=0)
Apr 22 11:09:44 lab01 samba(pam_unix)[10660]: session opened for user t44 by (uid=0)
Apr 22 11:09:47 lab01 samba(pam_unix)[10661]: session opened for user t44 by (uid=0)
Apr 22 11:09:51 lab01 samba(pam_unix)[10662]: session opened for user t44 by (uid=0)
Apr 22 11:09:57 lab01 samba(pam_unix)[10663]: session opened for user t44 by (uid=0)
Apr 22 11:10:30 lab01 samba(pam_unix)[10668]: session opened for user t44 by (uid=0)
Apr 22 11:10:31 lab01 samba(pam_unix)[10669]: session opened for user t44 by (uid=0)
Apr 22 11:10:56 lab01 samba(pam_unix)[10672]: session opened for user t44 by (uid=0)
Apr 22 11:11:20 lab01 samba(pam_unix)[10501]: session closed for user mafias
Apr 22 11:11:21 lab01 samba(pam_unix)[10673]: session opened for user t44 by (uid=0)
Apr 22 11:11:49 lab01 samba(pam_unix)[10680]: session opened for user t44 by (uid=0)
Apr 22 11:11:50 lab01 samba(pam_unix)[10674]: session opened for user guimat by (uid=0)
Apr 22 11:12:04 lab01 samba(pam_unix)[10681]: session opened for user palaoro by (uid=0)
Apr 22 11:12:29 lab01 smbd: PAM unable to dlopen(/lib/security/pam_nologin.so)
Apr 22 11:12:29 lab01 smbd: PAM [dlerror: /lib/security/pam_nologin.so: cannot open shared object file: Permission denied]
Apr 22 11:12:29 lab01 smbd: PAM adding faulty module: /lib/security/pam_nologin.so
Apr 22 11:12:29 lab01 smbd: PAM unable to dlopen(/lib/security/pam_stack.so)
Apr 22 11:12:29 lab01 smbd: PAM [dlerror: /lib/security/pam_stack.so: cannot open shared object file: Permission denied]
Apr 22 11:12:29 lab01 smbd: PAM adding faulty module: /lib/security/pam_stack.so
Apr 22 11:12:29 lab01 smbd: PAM unable to dlopen(/lib/security/pam_deny.so)
Apr 22 11:12:29 lab01 smbd: PAM [dlerror: /lib/security/pam_deny.so: cannot open shared object file: Permission denied]
Apr 22 11:12:29 lab01 smbd: PAM adding faulty module: /lib/security/pam_deny.so
Apr 22 11:12:29 lab01 smbd: PAM unable to dlopen(/lib/security/pam_nologin.so)
Apr 22 11:12:29 lab01 smbd: PAM [dlerror: /lib/security/pam_nologin.so: cannot open shared object file: Permission denied]
Apr 22 11:12:29 lab01 smbd: PAM adding faulty module: /lib/security/pam_nologin.so
Apr 22 11:12:29 lab01 smbd: PAM unable to dlopen(/lib/security/pam_stack.so)
Apr 22 11:12:29 lab01 smbd: PAM [dlerror: /lib/security/pam_stack.so: cannot open shared object file: Permission denied]
Apr 22 11:12:29 lab01 smbd: PAM adding faulty module: /lib/security/pam_stack.so
Apr 22 11:12:29 lab01 smbd: PAM unable to dlopen(/lib/security/pam_deny.so)
Apr 22 11:12:29 lab01 smbd: PAM [dlerror: /lib/security/pam_deny.so: cannot open shared object file: Permission denied]
Apr 22 11:12:29 lab01 smbd: PAM adding faulty module: /lib/security/pam_deny.so
Apr 22 11:12:37 lab01 samba(pam_unix)[10685]: session opened for user mafias by (uid=0)
Apr 22 11:13:06 lab01 samba(pam_unix)[10674]: session closed for user guimat
Apr 22 11:13:14 lab01 samba(pam_unix)[10674]: session opened for user brutonio by (uid=0)
Apr 22 11:14:05 lab01 smbd[10645]: PAM unable to dlopen(/lib/security/pam_nologin.so)
Apr 22 11:14:05 lab01 smbd[10645]: PAM [dlerror: /lib/security/pam_nologin.so: cannot open shared object file: Permission denied]
Apr 22 11:14:05 lab01 smbd[10645]: PAM adding faulty module: /lib/security/pam_nologin.so
Apr 22 11:14:05 lab01 smbd[10645]: PAM unable to dlopen(/lib/security/pam_stack.so)
Apr 22 11:14:05 lab01 smbd[10645]: PAM [dlerror: /lib/security/pam_stack.so: cannot open shared object file: Permission denied]
Apr 22 11:14:05 lab01 smbd[10645]: PAM adding faulty module: /lib/security/pam_stack.so
Apr 22 11:14:05 lab01 smbd[10645]: PAM unable to dlopen(/lib/security/pam_deny.so)
Apr 22 11:14:05 lab01 smbd[10645]: PAM [dlerror: /lib/security/pam_deny.so: cannot open shared object file: Permission denied]
Apr 22 11:14:05 lab01 smbd[10645]: PAM adding faulty module: /lib/security/pam_deny.so
Apr 22 11:14:32 lab01 samba(pam_unix)[10663]: session closed for user t44
Apr 22 11:14:37 lab01 samba(pam_unix)[10686]: session opened for user adriana by (uid=0)
Apr 22 11:14:46 lab01 samba(pam_unix)[10685]: session closed for user mafias
Apr 22 11:15:05 lab01 samba(pam_unix)[10688]: session opened for user mafias by (uid=0)
Apr 22 11:15:09 lab01 smbd[10686]: PAM _pam_init_handlers: no default config /etc/pam.d/other
Apr 22 11:15:09 lab01 smbd[10686]: PAM error reading PAM configuration file
Apr 22 11:15:09 lab01 smbd[10686]: PAM pam_start: failed to initialize handlers
Apr 22 11:15:17 lab01 smbd: PAM unable to dlopen(/lib/security/pam_nologin.so)
Apr 22 11:15:17 lab01 smbd: PAM [dlerror: /lib/security/pam_nologin.so: cannot open shared object file: Permission denied]
Apr 22 11:15:17 lab01 smbd: PAM adding faulty module: /lib/security/pam_nologin.so
Apr 22 11:15:17 lab01 smbd: PAM unable to dlopen(/lib/security/pam_stack.so)
Apr 22 11:15:17 lab01 smbd: PAM [dlerror: /lib/security/pam_stack.so: cannot open shared object file: Permission denied]
Apr 22 11:15:17 lab01 smbd: PAM adding faulty module: /lib/security/pam_stack.so
Apr 22 11:15:17 lab01 smbd: PAM unable to dlopen(/lib/security/pam_deny.so)
Apr 22 11:15:17 lab01 smbd: PAM [dlerror: /lib/security/pam_deny.so: cannot open shared object file: Permission denied]
Apr 22 11:15:17 lab01 smbd: PAM adding faulty module: /lib/security/pam_deny.so
Apr 22 11:15:34 lab01 samba(pam_unix)[10689]: session opened for user nicholas by (uid=0)
Apr 22 11:16:20 lab01 samba(pam_unix)[10651]: session closed for user guimat
Apr 22 11:17:04 lab01 smbd: PAM unable to dlopen(/lib/security/pam_nologin.so)
Apr 22 11:17:04 lab01 smbd: PAM [dlerror: /lib/security/pam_nologin.so: cannot open shared object file: Permission denied]
Apr 22 11:17:04 lab01 smbd: PAM adding faulty module: /lib/security/pam_nologin.so
Apr 22 11:17:04 lab01 smbd: PAM unable to dlopen(/lib/security/pam_stack.so)
Apr 22 11:17:04 lab01 smbd: PAM [dlerror: /lib/security/pam_stack.so: cannot open shared object file: Permission denied]
Apr 22 11:17:04 lab01 smbd: PAM adding faulty module: /lib/security/pam_stack.so
Apr 22 11:17:04 lab01 smbd: PAM unable to dlopen(/lib/security/pam_deny.so)
Apr 22 11:17:04 lab01 smbd: PAM [dlerror: /lib/security/pam_deny.so: cannot open shared object file: Permission denied]
Apr 22 11:17:04 lab01 smbd: PAM adding faulty module: /lib/security/pam_deny.so
Apr 22 11:20:29 lab01 samba(pam_unix)[10703]: session opened for user nicholas by (uid=0)
Apr 22 11:36:45 lab01 samba(pam_unix)[10680]: session closed for user t44
Apr 22 11:36:54 lab01 samba(pam_unix)[10660]: session closed for user t44
Apr 22 11:37:19 lab01 samba(pam_unix)[10661]: session closed for user t44
Apr 22 11:37:26 lab01 samba(pam_unix)[10656]: session closed for user t44
Felipe Fehse felipe_fehse@xxxxxxxxxxx
_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail
_______________________________________________ Pam-list@xxxxxxxxxx https://listman.redhat.com/mailman/listinfo/pam-list