<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000'><font face="arial, helvetica, sans-serif">For those that happen across this thread in the archives, and anyone else who cares, I was able to fix my login problem the other day by setting my nsswitch.conf like this:</font><div><div style="font-family: arial, helvetica, sans-serif;"><br></div><div><font face="courier new, courier, monaco, monospace, sans-serif">passwd: &nbsp; &nbsp; &nbsp; &nbsp; files ldap sss</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif">group: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;files ldap sss</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif">hosts: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;files mdns4_minimal [NOTFOUND=return] dns</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif">networks: &nbsp; &nbsp; &nbsp; files dns</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif">services: &nbsp; &nbsp; &nbsp; files ldap</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif">protocols: &nbsp; &nbsp; &nbsp;files</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif">rpc: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;files</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif">ethers: &nbsp; &nbsp; &nbsp; &nbsp; files</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif">netmasks: &nbsp; &nbsp; &nbsp; files</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif">netgroup: &nbsp; &nbsp; &nbsp; files ldap</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif">publickey: &nbsp; &nbsp; &nbsp;files</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif">bootparams: &nbsp; &nbsp; files</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif">automount: &nbsp; &nbsp; &nbsp;files&nbsp;</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif">aliases: &nbsp; &nbsp; &nbsp; &nbsp;files ldap</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif">passwd_compat: &nbsp;ldap sss</font></div><div style="font-family: arial, helvetica, sans-serif;"><br></div><span style="font-family: arial, helvetica, sans-serif;">Neither ldap nor sss worked on their own, but it seems the sss worked for the account info, and the ldap worked for authentication.&nbsp;</span></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Scott</font></div><div><font face="arial, helvetica, sans-serif"><br></font><hr id="zwchr" style="font-family: arial, helvetica, sans-serif;"><div style="font-family: Helvetica, Arial, sans-serif; color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-size: 12pt;"><b>From: </b>"Chuck Payne" &lt;terrorpup@gmail.com&gt;<br><b>To: </b>"Atlanta Linux Enthusiasts" &lt;ale@ale.org&gt;<br><b>Sent: </b>Tuesday, June 25, 2013 12:05:57 PM<br><b>Subject: </b>Re: [ale] ldap/nss/sssd login problems<br><br>Scott,<br><br>Your best going to post this on the forum and join the openSUSE maillist.<br><br>Pup<br><br>On Tue, Jun 25, 2013 at 11:39 AM, Scott Plante &lt;splante@insightsys.com&gt; wrote:<br>&gt; Well, I guess I found the problem. man sssd-ldap says:<br>&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp;LDAP back end supports id, auth, access and chpass providers. If you<br>&gt; want to authenticate against an LDAP server either TLS/SSL or LDAPS is<br>&gt; required. &nbsp;sssd does not support authentication over an unencrypted channel.<br>&gt; If the LDAP server is used only as an identity provider, an encrypted<br>&gt; channel is not needed.<br>&gt;<br>&gt;<br>&gt; I'd been meaning to upgrade our LDAP--I suppose now I have the impetus to do<br>&gt; it.<br>&gt;<br>&gt; Scott<br>&gt;<br>&gt; ________________________________<br>&gt; From: "Scott Plante" &lt;splante@insightsys.com&gt;<br>&gt; To: ale@ale.org<br>&gt; Sent: Monday, June 24, 2013 12:21:36 PM<br>&gt; Subject: [ale] ldap/nss/sssd login problems<br>&gt;<br>&gt;<br>&gt; I just installed OpenSUSE 12.3 on my development machine. We had been using<br>&gt; 11.3 and we authenticate via LDAP. I used YaST to set up the LDAP<br>&gt; authentication settings. 12.3 uses the newish sssd which either wasn't<br>&gt; available or at least we weren't using on 11.3.<br>&gt;<br>&gt; It is communicating with LDAP: I can see existing users, I can type these<br>&gt; commands successfully:<br>&gt; guinness:/etc # id splante<br>&gt; uid=20008(splante) gid=20000 groups=20000<br>&gt; guinness:/etc # su - splante<br>&gt; splante@guinness:~&gt; pwd<br>&gt; /home/splante<br>&gt;<br>&gt; However, if I "su" again as non-root where it needs to check the password,<br>&gt; it fails. The splante user does not exist in /etc/passwd so the id command<br>&gt; is definitely seeing ldap. I believe I have TLS/SSL turned off in the LDAP<br>&gt; config, but I see this in /var/log/messages<br>&gt; 2013-06-24T12:07:33.671426-04:00 guinness sssd[be[default]]: Could not start<br>&gt; TLS encryption. unsupported extended operation<br>&gt; 2013-06-24T12:07:33.671640-04:00 guinness su: pam_sss(su:auth):<br>&gt; authentication failure; logname=root uid=20008 euid=0 tty=pts/2<br>&gt; ruser=splante rhost= user=splante<br>&gt; 2013-06-24T12:07:33.671990-04:00 guinness su: pam_sss(su:auth): received for<br>&gt; user splante: 9 (Authentication service cannot retrieve authentication info)<br>&gt; 2013-06-24T12:07:35.438192-04:00 guinness su: FAILED SU (to splante) root on<br>&gt; /dev/pts/2<br>&gt; 2013-06-24T12:07:38.439086-04:00 guinness su: pam_unix(su:session): session<br>&gt; closed for user splante<br>&gt; 2013-06-24T12:08:47.096406-04:00 guinness login: pam_unix(login:auth):<br>&gt; authentication failure; logname=LOGIN uid=0 euid=0 tty=tty1 ruser= rhost=<br>&gt; user=splante<br>&gt; 2013-06-24T12:08:47.268434-04:00 guinness sssd[be[default]]: Could not start<br>&gt; TLS encryption. unsupported extended operation<br>&gt; 2013-06-24T12:08:47.268693-04:00 guinness login: pam_sss(login:auth):<br>&gt; authentication failure; logname=LOGIN uid=0 euid=0 tty=tty1 ruser= rhost=<br>&gt; user=splante<br>&gt; 2013-06-24T12:08:47.269044-04:00 guinness login: pam_sss(login:auth):<br>&gt; received for user splante: 9 (Authentication service cannot retrieve<br>&gt; authentication info)<br>&gt; 2013-06-24T12:08:49.190951-04:00 guinness login: FAILED LOGIN 1 FROM tty1<br>&gt; FOR splante, Authentication service cannot retrieve authentication info<br>&gt;<br>&gt; My ldap.conf, less comments and blanks, looks like this:<br>&gt; guinness:/etc # grep -v "^#" /etc/ldap.conf|grep -v "^$"<br>&gt; base &nbsp; &nbsp;ou=People,dc=insightsys,dc=com<br>&gt; uri &nbsp; &nbsp; ldap://ldap.isint<br>&gt; rootbinddn &nbsp; &nbsp; &nbsp;cn=manager,dc=insightsys,dc=com<br>&gt; scope &nbsp; sub<br>&gt; bind_policy &nbsp; &nbsp; soft<br>&gt; pam_lookup_policy &nbsp; &nbsp; &nbsp; yes<br>&gt; pam_password &nbsp; &nbsp;md5<br>&gt; nss_initgroups_ignoreusers &nbsp; &nbsp; &nbsp;root,ldap<br>&gt; nss_schema &nbsp; &nbsp; &nbsp;rfc2307bis<br>&gt; nss_base_passwd ou=People,dc=insightsys,dc=com<br>&gt; nss_base_shadow ou=People,dc=insightsys,dc=com<br>&gt; nss_base_group &nbsp;ou=Group,dc=insightsys,dc=com<br>&gt; nss_map_attribute &nbsp; &nbsp; &nbsp; uniqueMember member<br>&gt; ssl &nbsp; &nbsp; no<br>&gt; ldap_version &nbsp; &nbsp;3<br>&gt; pam_filter &nbsp; &nbsp; &nbsp;objectClass=posixAccount<br>&gt; tls_checkpeer &nbsp; no<br>&gt;<br>&gt; And sssd.conf:<br>&gt; guinness:/etc # grep -v "^#" /etc/sssd/sssd.conf|grep -v "^$"|grep -v "^;"<br>&gt; [sssd]<br>&gt; config_file_version = 2<br>&gt; services = nss,pam<br>&gt; domains = default<br>&gt; [nss]<br>&gt; filter_groups = root<br>&gt; filter_users = root<br>&gt; [pam]<br>&gt; [domain/default]<br>&gt; ldap_uri = ldap://ldap.isint<br>&gt; ldap_search_base = ou=People,dc=insightsys,dc=com<br>&gt; ldap_schema = rfc2307<br>&gt; id_provider = ldap<br>&gt; ldap_user_uuid = entryuuid<br>&gt; ldap_group_uuid = entryuuid<br>&gt; ldap_id_use_start_tls = False<br>&gt; ldap_tls_reqcert = never<br>&gt; enumerate = True<br>&gt; cache_credentials = False<br>&gt; chpass_provider = ldap<br>&gt; auth_provider = ldap<br>&gt;<br>&gt; And nsswitch.conf:<br>&gt; guinness:/etc # grep -v "^#" /etc/nsswitch.conf|grep -v "^$"<br>&gt; passwd: compat sss<br>&gt; group: &nbsp;files sss<br>&gt; hosts: &nbsp;files mdns4_minimal [NOTFOUND=return] dns<br>&gt; networks: &nbsp; &nbsp; &nbsp; files dns<br>&gt; services: &nbsp; &nbsp; &nbsp; files<br>&gt; protocols: &nbsp; &nbsp; &nbsp;files<br>&gt; rpc: &nbsp; &nbsp;files<br>&gt; ethers: files<br>&gt; netmasks: &nbsp; &nbsp; &nbsp; files<br>&gt; netgroup: &nbsp; &nbsp; &nbsp; files<br>&gt; publickey: &nbsp; &nbsp; &nbsp;files<br>&gt; bootparams: &nbsp; &nbsp; files<br>&gt; automount: &nbsp; &nbsp; &nbsp;files nis<br>&gt; aliases: &nbsp; &nbsp; &nbsp; &nbsp;files<br>&gt;<br>&gt; Any ideas?<br>&gt;<br>&gt; Thanks,<br>&gt; Scott<br>&gt;<br>&gt; _______________________________________________<br>&gt; Ale mailing list<br>&gt; Ale@ale.org<br>&gt; http://mail.ale.org/mailman/listinfo/ale<br>&gt; See JOBS, ANNOUNCE and SCHOOLS lists at<br>&gt; http://mail.ale.org/mailman/listinfo<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; Ale mailing list<br>&gt; Ale@ale.org<br>&gt; http://mail.ale.org/mailman/listinfo/ale<br>&gt; See JOBS, ANNOUNCE and SCHOOLS lists at<br>&gt; http://mail.ale.org/mailman/listinfo<br>&gt;<br><br><br><br>--<br>Terror PUP a.k.a<br>Chuck "PUP" Payne<br><br>(678) 636-9678<br>-----------------------------------------<br>Discover it! Enjoy it! Share it! openSUSE Linux.<br>-----------------------------------------<br>openSUSE -- en.opensuse.org/User:Terrorpup<br>openSUSE Ambassador/openSUSE Member/Local Coorintor<br>Community Manager -- Southeast Linux Foundation (SELF)<br>skype,twiiter,identica,friendfeed -- terrorpup<br>freenode(irc) --terrorpup/lupinstein<br>Register Linux Userid: 155363<br><br>Have you tried SUSE Studio? Need to create a Live CD, &nbsp;an app you want<br>to package and distribute , or create your own linux distro. Give SUSE<br>Studio a try. www.susestudio.com.<br>See you at Southeast Linux Fest, June 7-9, 2013 in Charlotte, NC.<br>www.southeastlinuxfest.org<br>_______________________________________________<br>Ale mailing list<br>Ale@ale.org<br>http://mail.ale.org/mailman/listinfo/ale<br>See JOBS, ANNOUNCE and SCHOOLS lists at<br>http://mail.ale.org/mailman/listinfo<br></div><br></div></div></body></html>