#2719 IPA: returned unknown dp error code with disabled migration mode
Closed: Fixed None Opened 5 years ago by lslebodn.

We have defined just 4 data provider error codes

#define DP_ERR_OK 0
#define DP_ERR_OFFLINE 1
#define DP_ERR_TIMEOUT 2
#define DP_ERR_FATAL 3

But we got dp_err 17 for new ipa user and disabled

Reproducer:

  • add user (ipa user-add $user1 --first=$user1 --last=$user1)
  • enable migration (ipa config-mod --enable-migration=True)
  • ssh -o StrictHostKeyChecking=no $user1@$HOSTNAME
  • ipa config-mod --enable-migration=False
  • ssh -o StrictHostKeyChecking=no $user1@$HOSTNAME

The function ipa_get_migration_flag_done should be called a log a message
Password migration is not enabled


Domain log:

(Tue Jul 14 06:30:29 2015) [sssd[be[testrelm.test]]] [be_req_set_domain] (0x0400): Changing request domain from [testrelm.test] to [testrelm.test]
(Tue Jul 14 06:30:29 2015) [sssd[be[testrelm.test]]] [be_pam_handler] (0x0100): Got request with the following data
(Tue Jul 14 06:30:29 2015) [sssd[be[testrelm.test]]] [pam_print_data] (0x0100): command: PAM_AUTHENTICATE
(Tue Jul 14 06:30:29 2015) [sssd[be[testrelm.test]]] [pam_print_data] (0x0100): domain: testrelm.test
(Tue Jul 14 06:30:29 2015) [sssd[be[testrelm.test]]] [pam_print_data] (0x0100): user: user721289
(Tue Jul 14 06:30:29 2015) [sssd[be[testrelm.test]]] [pam_print_data] (0x0100): service: sshd
(Tue Jul 14 06:30:29 2015) [sssd[be[testrelm.test]]] [pam_print_data] (0x0100): tty: ssh
(Tue Jul 14 06:30:29 2015) [sssd[be[testrelm.test]]] [pam_print_data] (0x0100): ruser: 
(Tue Jul 14 06:30:29 2015) [sssd[be[testrelm.test]]] [pam_print_data] (0x0100): rhost: hp-dl165g6-01.testrelm.test
(Tue Jul 14 06:30:29 2015) [sssd[be[testrelm.test]]] [pam_print_data] (0x0100): authtok type: 1
(Tue Jul 14 06:30:29 2015) [sssd[be[testrelm.test]]] [pam_print_data] (0x0100): newauthtok type: 0
(Tue Jul 14 06:30:29 2015) [sssd[be[testrelm.test]]] [pam_print_data] (0x0100): priv: 1
(Tue Jul 14 06:30:29 2015) [sssd[be[testrelm.test]]] [pam_print_data] (0x0100): cli_pid: 4353
(Tue Jul 14 06:30:29 2015) [sssd[be[testrelm.test]]] [pam_print_data] (0x0100): logon name: not set
(Tue Jul 14 06:30:29 2015) [sssd[be[testrelm.test]]] [fo_resolve_service_send] (0x0100): Trying to resolve service 'IPA'
(Tue Jul 14 06:30:29 2015) [sssd[be[testrelm.test]]] [be_resolve_server_process] (0x0200): Found address for server hp-dl165g6-01.testrelm.test: [10.16.66.130] TTL 7200
(Tue Jul 14 06:30:29 2015) [sssd[be[testrelm.test]]] [ipa_resolve_callback] (0x0400): Constructed uri 'ldap://hp-dl165g6-01.testrelm.test'
(Tue Jul 14 06:30:29 2015) [sssd[be[testrelm.test]]] [write_pipe_handler] (0x0400): All data has been sent!
(Tue Jul 14 06:30:30 2015) [sssd[be[testrelm.test]]] [child_sig_handler] (0x0100): child [4357] finished successfully.
(Tue Jul 14 06:30:30 2015) [sssd[be[testrelm.test]]] [read_pipe_handler] (0x0400): EOF received, client finished
(Tue Jul 14 06:30:30 2015) [sssd[be[testrelm.test]]] [be_pam_handler_callback] (0x0100): Backend returned: (17, 17, <NULL>) [Internal Error (Failure setting user credentials)]
(Tue Jul 14 06:30:30 2015) [sssd[be[testrelm.test]]] [be_pam_handler_callback] (0x0100): Sending result [17][testrelm.test]
(Tue Jul 14 06:30:30 2015) [sssd[be[testrelm.test]]] [be_pam_handler_callback] (0x0100): Sent result [17][testrelm.test]
(Tue Jul 14 06:30:36 2015) [sssd[be[testrelm.test]]] [be_run_unconditional_online_cb] (0x0400): Running unconditional online callbacks.
(Tue Jul 14 06:30:36 2015) [sssd[be[testrelm.test]]] [be_run_unconditional_online_cb] (0x0400): Running unconditional online callbacks.
(Tue Jul 14 06:30:36 2015) [sssd[be[testrelm.test]]] [be_run_unconditional_online_cb] (0x0400): Running unconditional online callbacks.
(Tue Jul 14 06:30:39 2015) [sssd[be[testrelm.test]]] [be_run_unconditional_online_cb] (0x0400): Running unconditional online callbacks.
(Tue Jul 14 06:30:39 2015) [sssd[be[testrelm.test]]] [be_run_unconditional_online_cb] (0x0400): Running unconditional online callbacks.
(Tue Jul 14 06:30:39 2015) [sssd[be[testrelm.test]]] [be_run_unconditional_online_cb] (0x0400): Running unconditional online callbacks.
(Tue Jul 14 06:30:39 2015) [sssd[be[testrelm.test]]] [be_run_unconditional_online_cb] (0x0400): Running unconditional online callbacks.
(Tue Jul 14 06:30:39 2015) [sssd[be[testrelm.test]]] [be_run_unconditional_online_cb] (0x0400): Running unconditional online callbacks.
(Tue Jul 14 06:30:39 2015) [sssd[be[testrelm.test]]] [be_run_unconditional_online_cb] (0x0400): Running unconditional online callbacks.
(Tue Jul 14 06:31:35 2015) [sssd[be[testrelm.test]]] [be_run_unconditional_online_cb] (0x0400): Running unconditional online callbacks.
(Tue Jul 14 06:31:35 2015) [sssd[be[testrelm.test]]] [be_run_unconditional_online_cb] (0x0400): Running unconditional online callbacks.
(Tue Jul 14 06:31:35 2015) [sssd[be[testrelm.test]]] [be_run_unconditional_online_cb] (0x0400): Running unconditional online callbacks.
(Tue Jul 14 06:31:35 2015) [sssd[be[testrelm.test]]] [be_run_unconditional_online_cb] (0x0400): Running unconditional online callbacks.
(Tue Jul 14 06:31:35 2015) [sssd[be[testrelm.test]]] [be_run_unconditional_online_cb] (0x0400): Running unconditional online callbacks.
(Tue Jul 14 06:31:35 2015) [sssd[be[testrelm.test]]] [be_run_unconditional_online_cb] (0x0400): Running unconditional online callbacks.
(Tue Jul 14 06:31:38 2015) [sssd[be[testrelm.test]]] [be_run_unconditional_online_cb] (0x0400): Running unconditional online callbacks.
(Tue Jul 14 06:31:38 2015) [sssd[be[testrelm.test]]] [be_run_unconditional_online_cb] (0x0400): Running unconditional online callbacks.
(Tue Jul 14 06:31:38 2015) [sssd[be[testrelm.test]]] [be_run_unconditional_online_cb] (0x0400): Running unconditional online callbacks.
(Tue Jul 14 06:31:39 2015) [sssd[be[testrelm.test]]] [be_run_unconditional_online_cb] (0x0400): Running unconditional online callbacks.
(Tue Jul 14 06:31:39 2015) [sssd[be[testrelm.test]]] [be_run_unconditional_online_cb] (0x0400): Running unconditional online callbacks.
(Tue Jul 14 06:31:39 2015) [sssd[be[testrelm.test]]] [be_run_unconditional_online_cb] (0x0400): Running unconditional online callbacks.
(Tue Jul 14 06:32:11 2015) [sssd[be[testrelm.test]]] [be_run_unconditional_online_cb] (0x0400): Running unconditional online callbacks.
(Tue Jul 14 06:32:11 2015) [sssd[be[testrelm.test]]] [be_run_unconditional_online_cb] (0x0400): Running unconditional online callbacks.
(Tue Jul 14 06:32:11 2015) [sssd[be[testrelm.test]]] [be_run_unconditional_online_cb] (0x0400): Running unconditional online callbacks.
(Tue Jul 14 06:32:11 2015) [sssd[be[testrelm.test]]] [be_run_unconditional_online_cb] (0x0400): Running unconditional online callbacks.
(Tue Jul 14 06:32:11 2015) [sssd[be[testrelm.test]]] [be_run_unconditional_online_cb] (0x0400): Running unconditional online callbacks.
(Tue Jul 14 06:32:11 2015) [sssd[be[testrelm.test]]] [be_run_unconditional_online_cb] (0x0400): Running unconditional online callbacks.
(Tue Jul 14 06:32:11 2015) [sssd[be[testrelm.test]]] [be_run_unconditional_online_cb] (0x0400): Running unconditional online callbacks.

Fields changed

owner: somebody => lslebodn
patch: 0 => 1
status: new => assigned

milestone: NEEDS_TRIAGE => SSSD 1.13.1
resolution: => fixed
status: assigned => closed

Fields changed

rhbz: => todo

Fields changed

rhbz: todo => 0

Metadata Update from @lslebodn:
- Issue assigned to lslebodn
- Issue set to the milestone: SSSD 1.13.1

3 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/3760

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata