undefined symbol
Not sure if this helps in your case: if the client application .SO component has been compiled/linked against an earlier iRODS client lib release then this may result in undefined symbols for plugins. We have experienced dynamic linking incompatibilities between 4.1.4 and 4.17. Either relink the client or install the iRODS client libs for the earlier release as a workaround.
Kind regards,
Ton
--
--
"iRODS: the Integrated Rule-Oriented Data-management System; A community driven, open source, data grid software solution"
https://www.irods.org
iROD-Chat: http://groups.google.com/group/iROD-Chat
---
You received this message because you are subscribed to the Google Groups "iRODS-Chat" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
irod-chat+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I'm sorry for the confusion. The Kerberos packages on the irods.org/download site are out-of-date. We will be releasing new versions along with iRODS 4.1.8 in the near term (two weeks from now?).We will update the website shortly to reflect this.
On Mon, Jan 25, 2016 at 7:49 AM, <mp4...@gmail.com> wrote:
I used the RPMs provided by the iRODS webpage. I'll try to compile the source code and let you know how it goes.
On Monday, January 25, 2016 at 1:06:11 PM UTC+1, Smeele, A.P.M. (Ton) wrote:
undefined symbol
Not sure if this helps in your case: if the client application .SO component has been compiled/linked against an earlier iRODS client lib release then this may result in undefined symbols for plugins. We have experienced dynamic linking incompatibilities between 4.1.4 and 4.17. Either relink the client or install the iRODS client libs for the earlier release as a workaround.
Kind regards,
Ton
From: irod...@googlegroups.com [mailto:irod...@googlegroups.com] On Behalf Of mp4...@gmail.com
Sent: maandag 25 januari 2016 11:40
To: iRODS-Chat
Subject: [iROD-Chat:14713] problems with Kerberos client
Hi,
I configured an iRODS ICAT server with:
irods-icat-4.1.7-0.x86_64
irods-database-plugin-postgres-1.7-0.x86_64
irods-auth-plugin-krb-1.1-0.x86_64
and a client with:
irods-icommands-4.1.7-0.x86_64
irods-auth-plugin-krb-1.1-0.x86_64
On the client, when I run ils, I see:
[myuser@irodsclient ~]$ ils
ERROR: [-] iRODS/lib/core/src/clientLogin.cpp:293:clientLogin : status [PLUGIN_ERROR] errno [] -- message []
[-] iRODS/lib/core/src/irods_krb_object.cpp:34:resolve : status [PLUGIN_ERROR] errno [] -- message [Failed to load the KRB auth plugin.]
[-] iRODS/lib/core/src/irods_auth_manager.cpp:76:init_from_type : status [PLUGIN_ERROR] errno [] -- message [Failed to load auth plugin.]
[-] iRODS/lib/core/src/irods_auth_manager.cpp:55:load_auth_plugin : status [PLUGIN_ERROR] errno [] -- message [Failed to load plugin: "krb".]
[-] iRODS/lib/core/include/irods_load_plugin.hpp:194:load_plugin : status [PLUGIN_ERROR] errno [] -- message [failed to open shared object file [/var/lib/irods/plugins/auth/libkrb.so] :: dlerror: is [/var/lib/irods/plugins/auth/libkrb.so: undefined symbol: _ZN5irods4auth10delay_loadEPv]]
The missingfile is there though:
[myuser@irodsclient ~]$ ls -lah /var/lib/irods/plugins/auth/libkrb.so
-rw-r--r-- 1 irods irods 1.5M Aug 24 2014 /var/lib/irods/plugins/auth/libkrb.so
On the server logs I see:
Jan 22 11:24:07 pid:23540 NOTICE: Agent process 23622 started for puser=myuser and cuser=myuser from 148.187.80.35
Jan 22 11:24:07 pid:23622 NOTICE: readAndProcClientMsg: received disconnect msg from client
Jan 22 11:24:07 pid:23622 NOTICE: Agent exiting with status = 0
Jan 22 11:24:08 pid:23540 NOTICE: Agent process 23622 exited with status 0
Jan 22 11:25:57 pid:23540 NOTICE: Agent process 23636 started for puser=myuser and cuser=myuser from 148.187.80.35
Jan 22 11:25:57 pid:23636 NOTICE: readAndProcClientMsg: received disconnect msg from client
Jan 22 11:25:57 pid:23636 NOTICE: Agent exiting with status = 0
Jan 22 11:25:58 pid:23540 NOTICE: Agent process 23636 exited with status 0
I followed the guide at: https://docs.irods.org/4.1.7/manual/authentication/#kerberos
Any idea of what I might be doing wrong?
Thanks in advance,
Marco Passerini
To unsubscribe from this group and stop receiving emails from it, send an email to irod-chat+...@googlegroups.com.--
--
"iRODS: the Integrated Rule-Oriented Data-management System; A community driven, open source, data grid software solution" https://www.irods.org
iROD-Chat: http://groups.google.com/group/iROD-Chat
---
You received this message because you are subscribed to the Google Groups "iRODS-Chat" group.
For more options, visit https://groups.google.com/d/optout.
Thank you for reporting this.There is a bug in the documentation:In your /etc/irods/server_config.json,
- kerberos_service_principal should be KerberosServicePrincipal
- kerberos_keytab should be KerberosKeytab.
The documentation for the upcoming 4.1.8 has been updated to use the JSON formatting (as you noted) and to use the corrected server_config.json key names (camel case instead of underscores).The updates to the documentation can be seen here.FYI, the code we use to setup our iRODS/Kerberos testing environment (for Ubuntu 14) is here.
On Wed, Jan 27, 2016 at 5:32 AM, <mp4...@gmail.com> wrote:
Thanks Ben for the reply,
I compiled the latest version from Github and indeed it works better. However, I still have some problem, maybe with my configuration.
On the irods server, the server_config.json file contains:
[...]
"kerberos_service_principal": "host/irodsserver.mydomain.c...@MYDOMAIN.COM",
I must say that after a few months of experience with iRODS... this software is a bit of a mine field! I hope you guys manage to get your release process right in the near future.
DEBUG: Client side:GSS-API error initializing context: Unspecified GSS failure. Minor code may provide more information
DEBUG: Client side:GSS-API error initializing context: KDC has no support for encryption type
ERROR: [-] iRODS/lib/core/src/clientLogin.cpp:321:clientLogin : status [KRB_ERROR_INIT_SECURITY_CONTEXT] errno [] -- message []
[-] libkrb.cpp:628:krb_auth_establish_context : status [KRB_ERROR_INIT_SECURITY_CONTEXT] errno [] -- message [Failed initializing KRB context. Major status: 0 Minor status: 0]
Jan 29 14:59:25 pid:2778 NOTICE: Agent process 7272 started for puser=irods_srv_test and cuser=irods_srv_test from 127.0.0.1
Jan 29 14:59:26 pid:7272 DEBUG: On iRODS-Server side:GSS-API error accepting context: Invalid token was supplied
Jan 29 14:59:26 pid:7272 DEBUG: On iRODS-Server side:GSS-API error accepting context: Unknown error
Jan 29 14:59:26 pid:7272 ERROR: [-] iRODS/server/core/src/rodsAgent.cpp:348:agentMain : status [KRB_ACCEPT_SEC_CONTEXT_ERROR] errno [] -- message [Failed during auth plugin agent start for scheme: "krb".]
[-] libkrb.cpp:892:krb_auth_agent_start : status [KRB_ACCEPT_SEC_CONTEXT_ERROR] errno [] -- message [Failed to establish server side context.]
[-] libkrb.cpp:783:krb_establish_context_serverside : status [KRB_ACCEPT_SEC_CONTEXT_ERROR] errno [] -- message [Error accepting KRB security context for client: "(null)".]
Jan 29 14:59:26 pid:7272 NOTICE: Agent exiting with status = -966000
Jan 29 14:59:26 pid:2778 NOTICE: Agent process 7272 exited with status 36864
renew until 30/01/2016 14:39, Etype (skey, tkt): aes256-cts-hmac-sha1-96, aes256-cts-hmac-sha1-96