Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 6): Bug 971061
Description of problem: I did run command ipa-getkeytab -s server.example.com -p HTTP/broker.example.net -k /var/www/openshift/broker/httpd/conf.d/http.keytab under es_ES.utf8 locales (export LC_ALL=es_ES.utf8; export LANG=es_ES.utf8) and it ended with Failed to add key to the keytab I would expect localized message. Version-Release number of selected component (if applicable): ipa-client-3.0.0-26.el6_4.2.x86_64 How reproducible: Deterministic. Steps to Reproduce: 1. Set Spanish locales. 2. Have server and principal and try to run ipa-getkeytab with -k parameter pointing to nonexistent directory. Actual results: Failed to add key to the keytab Expected results: No se pudo agregar clave de la tabla de claves Additional info: I believe that no localization works for IPA CLI tools because the .mo file is ipa.mo (for example /usr/share/locale/es/LC_MESSAGES/ipa.mo) while the bindtextdomain(PACKAGE, LOCALEDIR); is called with PACKAGE set to ipa-client or ipa-server. When I do cd /usr/share/locale/es/LC_MESSAGES ; ln -s ipa.mo ipa-client.mo the command ipa-getkeytab reports Spanish message.
This only affects C tools. The ipa tool and the Web UI do get translated properly. (Installation tools are not translated at all.)
ipa
Moving open tickets to next month bucket.
master: efb7a2d[[BR]] ipa-3-2: 563ee08
Metadata Update from @mkosek: - Issue assigned to pviktori - Issue set to the milestone: FreeIPA 3.3 - 2013/07
Login to comment on this ticket.