ports/184464: security/sssd host auth doesn't work correctly
Andrey
akuz84 at gmail.com
Tue Dec 3 07:50:00 UTC 2013
>Number: 184464
>Category: ports
>Synopsis: security/sssd host auth doesn't work correctly
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Dec 03 07:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Andrey
>Release: 9.2-RELEASE
>Organization:
>Environment:
FreeBSD 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013 root at bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Users are stored in LDAP, for example:
uid=user,ou=accounts,dc=domain,dc=com
cn: John Smith
givenName: John
sn: Smith
uid: jsmith
uid: testuser
homeDirectory: /home/testuser
mail: jsmith at dev.local
loginShell: /bin/bash
userPassword: skiped
tal at amnesiac.net
sshPublicKey: skiped
gidNumber: 20000
uidNumber: 20000
objectClass: hostObject
objectClass: inetOrgPerson
objectClass: ldapPublicKey
objectClass: organizationalPerson
objectClass: person
objectClass: posixAccount
objectClass: shadowAccount
objectClass: top
host: server3.test.com
I use sssd-1.9.6 from ports, in sssd.conf i have:
access_provider = ldap
ldap_access_order = host
ldap_user_authorized_host = host
Hostname of server: server6.test.com, i expect that the user will not be able
to login via ssh to server server6.test.com ( that scheme works on RHEL 6.x ), but despite ldap_user_authorized_host = host user with record host: server3.test.com able to login to server server6.test.com
>How-To-Repeat:
Install, configure sssd, openldap, create user in LDAP, add to sssd.conf:
access_provider = ldap
ldap_access_order = host
ldap_user_authorized_host = host
try to login to server that is not registered in the users LDAP record
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list