RE: AIX 5.2 w/ password expiration patch

Ryan.Kish_at_i-structure.com
Date: 07/18/03

  • Next message: Young, Randy: "RE: SSH and home directory permissions"
    To: secureshell@securityfocus.com
    Date: Fri, 18 Jul 2003 16:13:09 -0500
    
    

    Thanks for the advice Darren.

    I continue to have issues compiling.

    auth.c now looks like:

       +39 #ifdef WITH_AIXAUTHENTICATE
       +40 #include <userpw.h>
       +41 #include <usersec.h>
       +42 #include <sys/audit.h>
       +43 #endif

      +400 #ifdef WITH_AIXAUTHENTICATE
      +401 if (authenticated == 0 && strcmp(method, "password") == 0)
      +402 loginfailed(authctxt->user,
      +403
    get_canonical_hostname(options.verify_reverse_mapping),
      +404 "ssh", AUDIT_FAIL_AUTH);
      +405 #endif /* WITH_AIXAUTHENTICATE */

      +628 #ifdef WITH_AIXAUTHENTICATE
      +629 loginfailed(user,
      +630
    get_canonical_hostname(options.verify_reverse_mapping),
      +631 "ssh",AUDIT_FAIL_AUTH);
      +632 #endif

    A new error has come up at this point. Most likely I am wrong, but it seems
    there are issues parsing the AIX header files when compiling auth.c:

    In file included from auth.c:42:
    /usr/include/sys/audit.h:290: warning: `\' followed by white space at end of
    line
    /usr/include/sys/audit.h:293: warning: `\' followed by white space at end of
    line
    In file included from /usr/include/sys/user.h:59,
                     from /usr/include/sys/audit.h:38,
                     from auth.c:42:
    /usr/include/sys/proc.h:729: warning: `\' followed by white space at end of
    line
    /usr/include/sys/proc.h:730: warning: `\' followed by white space at end of
    line
    In file included from /usr/include/sys/pri.h:43,
                     from /usr/include/sys/proc.h:52,
                     from /usr/include/sys/user.h:59,
                     from /usr/include/sys/audit.h:38,
                     from auth.c:42:
    /usr/include/sys/proc.h:729: warning: `\' followed by white space at end of
    line
    /usr/include/sys/proc.h:730: warning: `\' followed by white space at end of
    line
    In file included from includes.h:34,
                     from auth.c:25:
    /usr/include/time.h:236: warning: `struct sigevent' declared inside
    parameter list
    /usr/include/time.h:236: warning: its scope is only this definition or
    declaration, which is probably not what you want.
    In file included from auth.c:41:
    /usr/include/usersec.h:656: warning: `struct aud_rec' declared inside
    parameter list
    /usr/include/usersec.h:657: warning: `struct aud_rec' declared inside
    parameter list
    In file included from /usr/include/sys/user.h:59,
                     from /usr/include/sys/audit.h:38,
                     from auth.c:42:
    /usr/include/sys/proc.h:730: parse error before `1UL'
    /usr/include/sys/proc.h:730: stray '\' in program
    In file included from /usr/include/sys/sem.h:41,
                     from /usr/include/sys/user.h:65,
                     from /usr/include/sys/audit.h:38,
                     from auth.c:42:
    /usr/include/sys/ipc.h:58: parse error before `}'
    In file included from /usr/include/sys/user.h:65,
                     from /usr/include/sys/audit.h:38,
                     from auth.c:42:
    /usr/include/sys/sem.h:113: field `sem_perm' has incomplete type
    In file included from auth.c:42:
    /usr/include/sys/audit.h:291: parse error before `0200'
    /usr/include/sys/audit.h:306: parse error before `}'
    auth.c: In function `allowed_user':
    auth.c:284: warning: long unsigned int format, unsigned int arg (arg 3)
    auth.c: In function `generate_login_message':
    auth.c:342: warning: passing arg 1 of `loginsuccess' discards qualifiers
    from pointer target type
    auth.c:342: warning: passing arg 2 of `loginsuccess' discards qualifiers
    from pointer target type
    auth.c: In function `auth_log':
    auth.c:404: warning: passing arg 2 of `loginfailed' discards qualifiers from
    pointer target type
    auth.c: In function `expand_filename':
    auth.c:482: warning: implicit declaration of function `snprintf'
    auth.c: In function `getpwnamallow':
    auth.c:631: warning: passing arg 1 of `loginfailed' discards qualifiers from
    pointer target type
    auth.c:631: warning: passing arg 2 of `loginfailed' discards qualifiers from
    pointer target type
    auth.c: In function `auth_debug_add':
    auth.c:667: warning: implicit declaration of function `vsnprintf'
    make: The error code from the last command is 1.

    Thanks again in advance, please let me know if there is any further
    information I could provide to help resolve this error.

    Ryan


  • Next message: Young, Randy: "RE: SSH and home directory permissions"

    Relevant Pages