Ok Jakub.
I changed my file sssd.conf and restarted the service
[
domain/ad.holding.com]
...
subdomains_provider = none
# service sssd stop; rm -f /var/lib/sss/db/* ; rm -f /var/lib/sss/mc/* ; service sssd
start
# getent passwd aleksey(a)ad.holding.com
getent does not return a result :(
sssd_ad.holding.com.log:
(Thu Oct 20 12:06:40 2016) [sssd[be[ad.holding.com]]] [sbus_message_handler] (0x2000):
Received SBUS method org.freedesktop.sssd.service.ping on path
/org/freedesktop/sssd/service
(Thu Oct 20 12:06:40 2016) [sssd[be[ad.holding.com]]] [sbus_get_sender_id_send] (0x2000):
Not a sysbus message, quit
(Thu Oct 20 12:06:50 2016) [sssd[be[ad.holding.com]]] [sbus_dispatch] (0x4000): dbus conn:
0x7f99ec1390e0
(Thu Oct 20 12:06:50 2016) [sssd[be[ad.holding.com]]] [sbus_dispatch] (0x4000):
Dispatching.
(Thu Oct 20 12:06:50 2016) [sssd[be[ad.holding.com]]] [sbus_message_handler] (0x2000):
Received SBUS method org.freedesktop.sssd.service.ping on path
/org/freedesktop/sssd/service
(Thu Oct 20 12:06:50 2016) [sssd[be[ad.holding.com]]] [sbus_get_sender_id_send] (0x2000):
Not a sysbus message, quit
(Thu Oct 20 12:07:00 2016) [sssd[be[ad.holding.com]]] [sbus_dispatch] (0x4000): dbus conn:
0x7f99ec1390e0
(Thu Oct 20 12:07:00 2016) [sssd[be[ad.holding.com]]] [sbus_dispatch] (0x4000):
Dispatching.
(Thu Oct 20 12:07:00 2016) [sssd[be[ad.holding.com]]] [sbus_message_handler] (0x2000):
Received SBUS method org.freedesktop.sssd.service.ping on path
/org/freedesktop/sssd/service
(Thu Oct 20 12:07:00 2016) [sssd[be[ad.holding.com]]] [sbus_get_sender_id_send] (0x2000):
Not a sysbus message, quit
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sbus_dispatch] (0x4000): dbus conn:
0x7f99ec16dcb0
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sbus_dispatch] (0x4000):
Dispatching.
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sbus_message_handler] (0x2000):
Received SBUS method org.freedesktop.sssd.dataprovider.getAccountInfo on path
/org/freedesktop/sssd/dataprovider
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sbus_get_sender_id_send] (0x2000):
Not a sysbus message, quit
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [be_get_account_info] (0x0200): Got
request for [0x1001][1][name=aleksey]
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [be_req_set_domain] (0x0400):
Changing request domain from [
ad.holding.com] to [
ad.holding.com]
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]]
[sdap_idmap_domain_has_algorithmic_mapping] (0x0080): Could not parse domain SID from
[(null)]
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]]
[sdap_idmap_domain_has_algorithmic_mapping] (0x0080): Could not parse domain SID from
[(null)]
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sdap_id_op_connect_step] (0x4000):
reusing cached connection
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sdap_search_user_next_base]
(0x0400): Searching for users with base [DC=ad,DC=holding,DC=com]
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sdap_print_server] (0x2000):
Searching 10.1.0.9
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sdap_get_generic_ext_step]
(0x0400): calling ldap_search_ext with
[(&(sAMAccountName=aleksey)(objectclass=user)(sAMAccountName=*)(&(uidNumber=*)(!(uidNumber=0))))][DC=ad,DC=holding,DC=com].
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sdap_get_generic_ext_step]
(0x1000): Requesting attrs: [objectClass]
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sdap_get_generic_ext_step]
(0x1000): Requesting attrs: [sAMAccountName]
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sdap_get_generic_ext_step]
(0x1000): Requesting attrs: [unixUserPassword]
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sdap_get_generic_ext_step]
(0x1000): Requesting attrs: [uidNumber]
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sdap_get_generic_ext_step]
(0x1000): Requesting attrs: [gidNumber]
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sdap_get_generic_ext_step]
(0x1000): Requesting attrs: [gecos]
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sdap_get_generic_ext_step]
(0x1000): Requesting attrs: [unixHomeDirectory]
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sdap_get_generic_ext_step]
(0x1000): Requesting attrs: [loginShell]
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sdap_get_generic_ext_step]
(0x1000): Requesting attrs: [userPrincipalName]
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sdap_get_generic_ext_step]
(0x1000): Requesting attrs: [name]
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sdap_get_generic_ext_step]
(0x1000): Requesting attrs: [memberOf]
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sdap_get_generic_ext_step]
(0x1000): Requesting attrs: [objectGUID]
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sdap_get_generic_ext_step]
(0x1000): Requesting attrs: [objectSID]
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sdap_get_generic_ext_step]
(0x1000): Requesting attrs: [primaryGroupID]
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sdap_get_generic_ext_step]
(0x1000): Requesting attrs: [whenChanged]
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sdap_get_generic_ext_step]
(0x1000): Requesting attrs: [uSNChanged]
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sdap_get_generic_ext_step]
(0x1000): Requesting attrs: [accountExpires]
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sdap_get_generic_ext_step]
(0x1000): Requesting attrs: [userAccountControl]
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sdap_get_generic_ext_step]
(0x2000): ldap_search_ext called, msgid = 7
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sdap_op_add] (0x2000): New
operation 7 timeout 6
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sdap_process_result] (0x2000):
Trace: sh[0x7f99ec179340], connected[1], ops[0x7f99ec185de0], ldap[0x7f99ec174170]
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sdap_process_message] (0x4000):
Message type: [LDAP_RES_SEARCH_REFERENCE]
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]]
[sdap_get_generic_ext_add_references] (0x1000): Additional References:
ldap://DomainDnsZones.ad.holding.com/DC=DomainDnsZones,DC=ad,DC=holding,D...
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sdap_process_result] (0x2000):
Trace: sh[0x7f99ec179340], connected[1], ops[0x7f99ec185de0], ldap[0x7f99ec174170]
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sdap_process_message] (0x4000):
Message type: [LDAP_RES_SEARCH_RESULT]
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sdap_get_generic_op_finished]
(0x0400): Search result: Success(0), no errmsg set
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sdap_op_destructor] (0x2000):
Operation 7 finished
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [generic_ext_search_handler]
(0x4000): Request included referrals which were ignored.
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [generic_ext_search_handler]
(0x4000): Ref:
ldap://DomainDnsZones.ad.holding.com/DC=DomainDnsZones,DC=ad,DC=holding,D...
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sdap_search_user_process] (0x0400):
Search for users, returned 0 results.
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sdap_get_users_done] (0x0040):
Failed to retrieve users
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sdap_id_op_done] (0x4000):
releasing operation connection
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [ldb] (0x4000): Added timed event
"ltdb_callback": 0x7f99ec18aca0
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [ldb] (0x4000): Added timed event
"ltdb_timeout": 0x7f99ec189090
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [ldb] (0x4000): Running timer event
0x7f99ec18aca0 "ltdb_callback"
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [ldb] (0x4000): Destroying timer
event 0x7f99ec189090 "ltdb_timeout"
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [ldb] (0x4000): Ending timer event
0x7f99ec18aca0 "ltdb_callback"
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sysdb_search_by_name] (0x0400): No
such entry
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sysdb_search_groups] (0x2000):
Search groups with filter: (&(objectclass=group)(ghost=aleksey))
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [ldb] (0x4000): Added timed event
"ltdb_callback": 0x7f99ec185390
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [ldb] (0x4000): Added timed event
"ltdb_timeout": 0x7f99ec18a600
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [ldb] (0x4000): Running timer event
0x7f99ec185390 "ltdb_callback"
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [ldb] (0x4000): Destroying timer
event 0x7f99ec18a600 "ltdb_timeout"
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [ldb] (0x4000): Ending timer event
0x7f99ec185390 "ltdb_callback"
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sysdb_search_groups] (0x2000): No
such entry
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sysdb_delete_user] (0x0400): Error:
2 (No such file or directory)
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [acctinfo_callback] (0x0100):
Request processed. Returned 0,0,Success (Success)
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sdap_process_result] (0x2000):
Trace: sh[0x7f99ec179340], connected[1], ops[(nil)], ldap[0x7f99ec174170]
(Thu Oct 20 12:07:04 2016) [sssd[be[ad.holding.com]]] [sdap_process_result] (0x2000):
Trace: ldap_result found nothing!