Bug 862377
| Summary: | sssd, case sensitive usernames when connected to Windows 2008 R2. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | hodson.chris | ||||
| Component: | sssd | Assignee: | Jakub Hrozek <jhrozek> | ||||
| Status: | CLOSED WORKSFORME | QA Contact: | Kaushik Banerjee <kbanerje> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 6.0 | CC: | grajaiya, jgalipea, jhrozek | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-10-16 16:27:45 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
hodson.chris
2012-10-02 18:24:20 UTC
Note this is while connected to a Windows 2008R2 Active Directory. Please attach the relevant sections of /var/log/secure, as well as a (sanitized) /etc/sssd/sssd.conf. Ideally, please add 'debug_level = 8' to the [domain/DOMAINNAME] section, restart SSSD, reproduce the issue (with case_sensitive = False) and send us /var/log/sssd/sssd_DOMAINNAME.log and /var/log/sssd/krb5_child.log. This will give us the information we need to debug your issue. Created attachment 620456 [details]
Requested information
I missed the log for /var/log/secure. Here is a relevant line. ct 2 12:31:00 rhel6adtest sshd[30743]: Invalid user hodsonc from 1.1.1.1 Oct 2 12:31:00 rhel6adtest sshd[30747]: input_userauth_request: invalid user hodsonc Oct 2 12:31:01 rhel6adtest sshd[30747]: Connection closed by 1.1.1.1 It seems that the SSSD cannot connect to the AD server: ------ (Tue Oct 2 11:48:37 2012) [sssd[be[default]]] [sasl_bind_send] (0x0100): Executing sasl bind mech: GSSAPI, user: RHEL6$@RHTEST.ORB (Tue Oct 2 11:48:37 2012) [sssd[be[default]]] [sasl_bind_send] (0x0020): ldap_sasl_bind failed (-2)[Local error] ------ so my guess is that the getent is actually returning data from the cache only. Do you need to use the ldap_sasl_authid you specified and not the default host/fqdn@REALM principal? I also wonder if the DNS resolution is OK in your environment.. Are you able to perform a search against the AD serve e.g. with ldapsearch -Y GSSAPI after acquiring the credentials with kinit -k ? I'm not going to have a whole lot of time to test this with the latest version now... You can go ahead and close this out if you want. For now we will just be changing the pre 2000 credential to lower case. Before I lost connection to the AD server it was not working with the case insensitive switch enabled. A quick test in my environment went fine, I was able to id a MixedCase user with "id mixedcase". I tested with an LDAP server, not AD but I don't think that'd make much of a difference. I can keep this bugzilla open for now, I'm just going to set the needinfo flag to indicate we need logs to be able to debug the issue further. I'm going to close this bug as the scenario described here works for me and there's not enough information on what the problem might be in your environment. Please reopen if the bug strikes again. Thank you! |