Skip to content

Instantly share code, notes, and snippets.

View elkoniu's full-sized avatar
🏠
Working from home

Paweł Poławski elkoniu

🏠
Working from home
View GitHub Profile
koniu@blackbox<sssd-test-suite><master>$ ./sssd-test-suite provision guest all
PLAY [all] ***********************************************************************************************************************************************
TASK [Gathering Facts] ***********************************************************************************************************************************
ok: [localhost]
ok: [ldap]
ok: [client]
ok: [ipa]
ok: [ad-child]
#!/bin/bash
dialog --title "Delete file" \
--backtitle "Linux Shell Script Tutorial Example" \
--yesno "Are you sure you want to permanently delete \"/tmp/foo.txt\"?" 7 60
# Get exit status
# 0 means user hit [yes] button.
# 1 means user hit [no] button.
# 255 means user hit [Esc] key.
response=$?
$ vagrant
Traceback (most recent call last):
8: from /usr/share/vagrant/gems/bin/vagrant:23:in `<main>'
7: from /usr/share/rubygems/rubygems.rb:303:in `activate_bin_path'
6: from /usr/share/rubygems/rubygems.rb:303:in `synchronize'
5: from /usr/share/rubygems/rubygems.rb:304:in `block in activate_bin_path'
4: from /usr/share/rubygems/rubygems/specification.rb:1420:in `activate'
3: from /usr/share/rubygems/rubygems/specification.rb:1438:in `activate_dependencies'
2: from /usr/share/rubygems/rubygems/specification.rb:1438:in `each'
1: from /usr/share/rubygems/rubygems/specification.rb:1449:in `block in activate_dependencies'
(2020-06-04 15:54:25): [krb5_child[843405]] [main] (0x0400): krb5_child started.
(2020-06-04 15:54:25): [krb5_child[843405]] [unpack_buffer] (0x1000): total buffer size: [124]
(2020-06-04 15:54:25): [krb5_child[843405]] [unpack_buffer] (0x0100): cmd [241] uid [316600005] gid [316600005] validate [false] enterprise principal [false] offline [false] UPN [kucyk2@IPA.VM]
(2020-06-04 15:54:25): [krb5_child[843405]] [unpack_buffer] (0x0100): ccname: [KCM:] old_ccname: [KCM:] keytab: [/shared/enrollment/client/ipa.keytab]
(2020-06-04 15:54:25): [krb5_child[843405]] [check_use_fast] (0x0100): Not using FAST.
(2020-06-04 15:54:25): [krb5_child[843405]] [switch_creds] (0x0200): Switch user to [316600005][316600005].
(2020-06-04 15:54:25): [krb5_child[843405]] [switch_creds] (0x0200): Switch user to [0][0].
(2020-06-04 15:54:25): [krb5_child[843405]] [become_user] (0x0200): Trying to become user [316600005][316600005].
(2020-06-04 15:54:25): [krb5_child[843405]] [main] (0x2000): Running as [316600005][316600005].
(2020-
(2020-06-04 16:00:44): [krb5_child[843648]] [main] (0x0400): krb5_child started.
(2020-06-04 16:00:44): [krb5_child[843648]] [unpack_buffer] (0x1000): total buffer size: [124]
(2020-06-04 16:00:44): [krb5_child[843648]] [unpack_buffer] (0x0100): cmd [241] uid [316600005] gid [316600005] validate [false] enterprise principal [false] offline [false] UPN [kucyk2@IPA.VM]
(2020-06-04 16:00:44): [krb5_child[843648]] [unpack_buffer] (0x0100): ccname: [KCM:] old_ccname: [KCM:] keytab: [/shared/enrollment/client/ipa.keytab]
(2020-06-04 16:00:44): [krb5_child[843648]] [check_use_fast] (0x0100): Not using FAST.
(2020-06-04 16:00:44): [krb5_child[843648]] [switch_creds] (0x0200): Switch user to [316600005][316600005].
(2020-06-04 16:00:44): [krb5_child[843648]] [switch_creds] (0x0200): Switch user to [0][0].
(2020-06-04 16:00:44): [krb5_child[843648]] [k5c_check_old_ccache] (0x4000): Ccache_file is [KCM:] and is not active and TGT is valid.
(2020-06-04 16:00:44): [krb5_child[843648]] [k5c_precreate_ccache] (0x4000): Rec
(2020-06-04 16:00:44): [be[ipa.vm]] [sbus_dispatch] (0x4000): Dispatching.
(2020-06-04 16:00:44): [be[ipa.vm]] [sbus_dispatch] (0x4000): Dispatching.
(2020-06-04 16:00:44): [be[ipa.vm]] [sbus_method_handler] (0x2000): Received D-Bus method sssd.dataprovider.getAccountInfo on /sssd
(2020-06-04 16:00:44): [be[ipa.vm]] [sbus_senders_lookup] (0x2000): Looking for identity of sender [sssd.pam]
(2020-06-04 16:00:44): [be[ipa.vm]] [dp_get_account_info_send] (0x0200): Got request for [0x3][BE_REQ_INITGROUPS][name=kucyk2@ipa.vm]
(2020-06-04 16:00:44): [be[ipa.vm]] [sss_domain_get_state] (0x1000): Domain ipa.vm is Active
(2020-06-04 16:00:44): [be[ipa.vm]] [dp_attach_req] (0x0400): DP Request [Initgroups #26]: New request. Flags [0x0001].
(2020-06-04 16:00:44): [be[ipa.vm]] [dp_attach_req] (0x0400): Number of active DP request: 1
(2020-06-04 16:00:44): [be[ipa.vm]] [sss_domain_get_state] (0x1000): Domain ipa.vm is Active
(2020-06-04 16:00:44): [be[ipa.vm]] [sss_domain_get_state] (0x1000): Domain ipa.vm is Active
[sssd]
config_file_version = 2
services = nss, pam, ifp, sudo
debug_level = 0x3ff0
#domains = ldap.vm
domains = ipa.vm
user = root
[nss]
debug_level = 0x3ff0