Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language


 
 
Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

C Programming Language

PAM issue related to ix86 machin


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

On May 30, 6:57 pm, jkwagh <talkto@gmail.com> wrote:

line number 119 is screwing things up.
double check what is getting passed to authHandler.

Thanks

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.
On May 30, 6:57 pm, jkwagh <talkto@gmail.com> wrote:

line number 119 is screwing things up.
double check what is getting passed to authHandler.

Thanks

Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc