Bug 178898 (LDAPaliases)

Summary: Directory Server should support LDAP aliases
Product: [Retired] 389 Reporter: Gerard Zonjee <redhat.com>
Component: Directory ServerAssignee: Rich Megginson <rmeggins>
Status: CLOSED DEFERRED QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: henny.bekker, nhosoi, orion
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 23:12:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 495079, 512820, 690319    

Description Gerard Zonjee 2006-01-25 11:00:56 UTC
Description of problem:

The Fedora Directory Server does not honor alias dereferencing requests

Version-Release number of selected component (if applicable): 
Fedora Directory Server 1.0.1


How reproducible:
An ldapsearch using the correct '-a' syntax

Steps to Reproduce:
# ldapsearch -a always -x -b
'uid=myuser,ou=Accounts,ou=Office,dc=company,dc=com' -s base -h
ns-slapd.company.com 'uid=myuser' 'uid'   

dn: uid=myuser,ou=Accounts,ou=Office,dc=company,dc=com
uid: myuser  

Expected results:
# ldapsearch -a always -x -b
'uid=myuser,ou=Accounts,ou=Office,dc=company,dc=com' -s base -h
openldap.company.com 'uid=myuser' 'uid' 

dn: cn=My User,ou=Persons,ou=Office,dc=company,dc=com
uid: myuser

Additional info: using the openldap ldapsearch or fedora provided ldapsearch
from /opt/fedora-ds/shared/bin does not make a difference. The fedora ds server
does not honor the -a setting, nor any -a setting (find, search or always) and
handles it by the default -never setting.

Comment 1 Henny Bekker 2006-01-25 15:13:34 UTC
The same custruct with OpenLDAP slapd server v2.0.27-20 does work ok..

Comment 2 Rich Megginson 2006-01-25 15:18:42 UTC
You are correct.  Fedora DS does not support aliases.  We will investigate
adding support for aliases to a future release of Fedora DS.

Comment 3 Martin Kosek 2012-01-04 13:50:37 UTC
Upstream ticket:
https://fedorahosted.org/389/ticket/152

Comment 5 Noriko Hosoi 2015-11-19 23:12:27 UTC
Closing this bug since we moved to the ticket system:
https://fedorahosted.org/389/ticket/152