By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,584 Members | 1,803 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,584 IT Pros & Developers. It's quick & easy.

PAM issue related to ix86 machin

P: n/a
Hi All,

I am using pam-0.90 to autheticate the webs service. It's working fine
with all architecture other than ix386. Problem is when I tried to
authenticate the user with wrong password, my webs server got killed
due to seg-fault(only when compiled for x386 architecture). Following
is the backstrace where does it crashes.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 7858)]
0xb7e6f44c in _unix_verify_password () from /lib/pam_unix.so
(gdb) bt
#0 0xb7e6f44c in _unix_verify_password () from /lib/pam_unix.so
#1 0xb7e6b5c5 in pam_sm_authenticate () from /lib/pam_unix.so
#2 0xb7f8e10d in _pam_dispatch_aux () from /lib/libpam.so.0
#3 0xb7f8e4f9 in _pam_dispatch () from /lib/libpam.so.0
#4 0xb7f90560 in pam_authenticate () from /lib/libpam.so.0
#5 0x0804f30f in authHandler (wp=0x8060ab0, path=0xbfe986c0
"authHandler", query=0x80626b8
"username=root&password=root123&role=") at ../authHandler.c:119

If I autheticate for correct user then it's working fine.
Can anybody help me for same?
Thanks in advance.

jkwagh

May 30 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
On May 30, 6:57 pm, jkwagh <talkto...@gmail.comwrote:
Hi All,

I am using pam-0.90 to autheticate the webs service. It's working fine
with all architecture other than ix386. Problem is when I tried to
authenticate the user with wrong password, my webs server got killed
due to seg-fault(only when compiled for x386 architecture). Following
is the backstrace where does it crashes.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 7858)]
0xb7e6f44c in _unix_verify_password () from /lib/pam_unix.so
(gdb) bt
#0 0xb7e6f44c in _unix_verify_password () from /lib/pam_unix.so
#1 0xb7e6b5c5 in pam_sm_authenticate () from /lib/pam_unix.so
#2 0xb7f8e10d in _pam_dispatch_aux () from /lib/libpam.so.0
#3 0xb7f8e4f9 in _pam_dispatch () from /lib/libpam.so.0
#4 0xb7f90560 in pam_authenticate () from /lib/libpam.so.0
#5 0x0804f30f in authHandler (wp=0x8060ab0, path=0xbfe986c0
"authHandler", query=0x80626b8
"username=root&password=root123&role=") at ../authHandler.c:119
line number 119 is screwing things up.
double check what is getting passed to authHandler.

Thanks
>
If I autheticate for correct user then it's working fine.
Can anybody help me for same?
Thanks in advance.

jkwagh

May 30 '07 #2

P: n/a
jkwagh wrote:
I am using pam-0.90 to autheticate the webs service. It's working fine
with all architecture other than ix386. Problem is when I tried to
authenticate the user with wrong password, my webs server got killed
due to seg-fault(only when compiled for x386 architecture). Following
is the backstrace where does it crashes.
[...]
If I autheticate for correct user then it's working fine.
Can anybody help me for same?
Thanks in advance.
Better ask in a newsgroup more appropriate to PAM and/or your platform.
This is not a query about standard C.
May 30 '07 #3

P: n/a
On May 30, 6:57 pm, jkwagh <talkto...@gmail.comwrote:
Hi All,

I am using pam-0.90 to autheticate the webs service. It's working fine
with all architecture other than ix386. Problem is when I tried to
authenticate the user with wrong password, my webs server got killed
due to seg-fault(only when compiled for x386 architecture). Following
is the backstrace where does it crashes.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 7858)]
0xb7e6f44c in _unix_verify_password () from /lib/pam_unix.so
(gdb) bt
#0 0xb7e6f44c in _unix_verify_password () from /lib/pam_unix.so
#1 0xb7e6b5c5 in pam_sm_authenticate () from /lib/pam_unix.so
#2 0xb7f8e10d in _pam_dispatch_aux () from /lib/libpam.so.0
#3 0xb7f8e4f9 in _pam_dispatch () from /lib/libpam.so.0
#4 0xb7f90560 in pam_authenticate () from /lib/libpam.so.0
#5 0x0804f30f in authHandler (wp=0x8060ab0, path=0xbfe986c0
"authHandler", query=0x80626b8
"username=root&password=root123&role=") at ../authHandler.c:119
line number 119 is screwing things up.
double check what is getting passed to authHandler.

Thanks
>
If I autheticate for correct user then it's working fine.
Can anybody help me for same?
Thanks in advance.

jkwagh

May 30 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.