Score:0

Ubuntu to Active Directory Win Server 2019

br flag

I'm having to add a ubuntu 20.04 LTS Client to Windows Server 201 and I do it but when i configure sssd and restart sssd.services Doesn't work Could u help me? thnks :)

Mi sssd.conf

    [sssd]
services = nss, pam
config_file_version = 2
domains = testempresita.com

[nss]
entry_negative_timeout = 0
#debug_level = 5

[pam]
#debug_level = 5

[domain/testempresita.com]
#debug_level = 10
enumerate = false
id_provider = ad
auth_provider = ad
chpass_provider = ad
access_provider = ad
dyndns_update = false
ad_hostname = ubuntu.testempresita.com
ad_server test.testempresita.com
ad_domain = testempresita.com
ldap_schema = ad
ldap_id_mapping = true
fallback_homedir = /home/%u
default_shell = /bin/bash
ldap_sasl_mech = gssapi
ldap_sasl_authid = UBUNTU$
krb5_keytab = /etc/sssd/my-keytab.keytab
ldap_krb5_init_creds = true

The error:

systemctl restart sssd Job for sssd.service failed because the control process exited with error code. See "systemctl status sssd.service" and "journalctl -xe" for details.

FRALEWHALE avatar
cn flag
The config at a quick glance looks alright to me. It could help if you posted an output of the command `journalctl -ef` this will jump to the end of the logs. If you want to get more specific you could try `journalctl _SYSTEMD_UNIT=sssd.service`. This should show you all of the logs generated from SSSD. Or try running `tail -f /var/log/sssd/sssd.log`.
Ayo OC avatar
br flag
Hi @FRALEWHALE I run `tail -f /var/log/sssd/sssd.log` and give me: `[sssd] [sss_ini_read_sssd_conf] (0x0020): Permission check on config file failed.` after that I investigated more and find this solution (https://ubuntuforums.org/showthread.php?t=2452209&p=13994052), but didn't help me :( Thnks a lot for your help :)
FRALEWHALE avatar
cn flag
Trying running this: `sudo sssd -i --debug-level 6 -c /etc/sssd/sssd.conf` and share the output please. It sounds like your user does not have access to the SSSD config file. Also just a quick pro-tip when sharing outputs of files of commands, go ahead and add them to the question above. Makes it easier for someone who might find this issue at a later date.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.