bbomgardner
19th January 2009, 15:01
Hi folks,
I'm a sysadmin who is pretty new to Baan and I'm trying to troubleshoot why BaanLogin will not allow LDAP users to connect. Local users connect just fine. LDAP users can authenticate to the OS without issue (and rexec works just fine).
I'm nearly positive this has something to do with PAM. I was hoping someone else had come across a similar problem in their environment and could offer some suggestions.
From the debug output it appears as if BaanLogin is detecting that my system is in trusted mode (incorrectly) which is causing the problem. Does anyone know how/why this detection of trusted mode occurs?
Local User (non trusted system)
Daemon: Incoming connection, spawn child.
2009-01-15[15:22:00]: Child: handle BaanLogin request.
2009-01-15[15:22:00]: Daemon: revert to listen-mode.
2009-01-15[15:22:00]: Child: received: user bsp, action 1
2009-01-15[15:22:00]: IBCmd /u02007/ap-baancap1/bse/bin/ipc_boot, bseVersion 6.1
2009-01-15[15:22:00]: Try authentication via PAM
2009-01-15[15:22:00]: PAM available for this platform
2009-01-15[15:22:00]: Authenticating user 'bsp'.
2009-01-15[15:22:00]: message 1: 'Password: '
2009-01-15[15:22:00]: Setting password for user bsp in PAM callback
2009-01-15[15:22:00]: Authentication via PAM succeeded
2009-01-15[15:22:00]: Child: logon for bsp OK.
2009-01-15[15:22:00]: non-trusted system on HP_check_password().
2009-01-15[15:22:00]: Child: pwd status = -5, message = -1005: The aging for name is turned off.
2009-01-15[15:22:00]: Child: starting /u02007/ap-baancap1/bse/bin/ipc_boot6.1.
2009-01-15[15:22:45]:
LDAP User (non trusted system)
2009-01-15[15:23:37]: Daemon: revert to listen-mode.
2009-01-15[15:23:37]: Child: handle BaanLogin request.
2009-01-15[15:23:37]: Child: received: user lmbasset, action 1
2009-01-15[15:23:37]: IBCmd /u02007/ap-baancap1/bse/bin/ipc_boot, bseVersion 6.1
2009-01-15[15:23:37]: Try authentication via PAM
2009-01-15[15:23:37]: PAM available for this platform
2009-01-15[15:23:37]: Authenticating user 'lmbasset'.
2009-01-15[15:23:37]: message 1: 'Password: '
2009-01-15[15:23:37]: Setting password for user lmbasset in PAM callback
2009-01-15[15:23:37]: Authentication via PAM succeeded
2009-01-15[15:23:37]: Child: logon for lmbasset OK.
2009-01-15[15:23:37]: trusted system on HP_check_password().
2009-01-15[15:23:37]: Child: pwd status = -7, message = -1007: Something is wrong with system functions.
Thanks again for any suggestions!
Ben
I'm a sysadmin who is pretty new to Baan and I'm trying to troubleshoot why BaanLogin will not allow LDAP users to connect. Local users connect just fine. LDAP users can authenticate to the OS without issue (and rexec works just fine).
I'm nearly positive this has something to do with PAM. I was hoping someone else had come across a similar problem in their environment and could offer some suggestions.
From the debug output it appears as if BaanLogin is detecting that my system is in trusted mode (incorrectly) which is causing the problem. Does anyone know how/why this detection of trusted mode occurs?
Local User (non trusted system)
Daemon: Incoming connection, spawn child.
2009-01-15[15:22:00]: Child: handle BaanLogin request.
2009-01-15[15:22:00]: Daemon: revert to listen-mode.
2009-01-15[15:22:00]: Child: received: user bsp, action 1
2009-01-15[15:22:00]: IBCmd /u02007/ap-baancap1/bse/bin/ipc_boot, bseVersion 6.1
2009-01-15[15:22:00]: Try authentication via PAM
2009-01-15[15:22:00]: PAM available for this platform
2009-01-15[15:22:00]: Authenticating user 'bsp'.
2009-01-15[15:22:00]: message 1: 'Password: '
2009-01-15[15:22:00]: Setting password for user bsp in PAM callback
2009-01-15[15:22:00]: Authentication via PAM succeeded
2009-01-15[15:22:00]: Child: logon for bsp OK.
2009-01-15[15:22:00]: non-trusted system on HP_check_password().
2009-01-15[15:22:00]: Child: pwd status = -5, message = -1005: The aging for name is turned off.
2009-01-15[15:22:00]: Child: starting /u02007/ap-baancap1/bse/bin/ipc_boot6.1.
2009-01-15[15:22:45]:
LDAP User (non trusted system)
2009-01-15[15:23:37]: Daemon: revert to listen-mode.
2009-01-15[15:23:37]: Child: handle BaanLogin request.
2009-01-15[15:23:37]: Child: received: user lmbasset, action 1
2009-01-15[15:23:37]: IBCmd /u02007/ap-baancap1/bse/bin/ipc_boot, bseVersion 6.1
2009-01-15[15:23:37]: Try authentication via PAM
2009-01-15[15:23:37]: PAM available for this platform
2009-01-15[15:23:37]: Authenticating user 'lmbasset'.
2009-01-15[15:23:37]: message 1: 'Password: '
2009-01-15[15:23:37]: Setting password for user lmbasset in PAM callback
2009-01-15[15:23:37]: Authentication via PAM succeeded
2009-01-15[15:23:37]: Child: logon for lmbasset OK.
2009-01-15[15:23:37]: trusted system on HP_check_password().
2009-01-15[15:23:37]: Child: pwd status = -7, message = -1007: Something is wrong with system functions.
Thanks again for any suggestions!
Ben