PAM issue related to ix86 machin

Discussion in 'C Programming' started by jkwagh, May 30, 2007.

  1. jkwagh

    jkwagh Guest

    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
    jkwagh, May 30, 2007
    #1
    1. Advertising

  2. jkwagh

    blufox Guest

    On May 30, 6:57 pm, jkwagh <> wrote:
    > 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
    blufox, May 30, 2007
    #2
    1. Advertising

  3. 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.
    Clever Monkey, May 30, 2007
    #3
  4. jkwagh

    blufox Guest

    On May 30, 6:57 pm, jkwagh <> wrote:
    > 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
    blufox, May 30, 2007
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?U3llZCBBdW4gQWxp?=

    how to send data from aspx page on client machine to server machin

    =?Utf-8?B?U3llZCBBdW4gQWxp?=, Aug 9, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    466
    =?Utf-8?B?U3llZCBBdW4gQWxp?=
    Aug 9, 2004
  2. =?Utf-8?B?RmVuZw==?=
    Replies:
    1
    Views:
    804
    =?Utf-8?B?Q293Ym95IChHcmVnb3J5IEEuIEJlYW1lcikgLSBN
    Dec 28, 2005
  3. =?Utf-8?B?V2luRGV2?=
    Replies:
    4
    Views:
    372
    =?Utf-8?B?V2luRGV2?=
    Jun 30, 2006
  4. Replies:
    1
    Views:
    337
    =?iso-8859-1?q?Erik_Wikstr=F6m?=
    Feb 19, 2007
  5. Richard D. Moores
    Replies:
    4
    Views:
    1,133
    Richard D. Moores
    Jan 9, 2010
Loading...

Share This Page