Issue 9281 - attribute "aliasedObjectName" not supported in context when using postgres
Summary: attribute "aliasedObjectName" not supported in context when using postgres
Status: VERIFIED DUPLICATE of issue 8880
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: backends (show other issues)
Version: 2.4.50
Hardware: All Linux
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-25 22:41 UTC by thomas.fazekas@gmail.com
Modified: 2020-06-25 23:36 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description thomas.fazekas@gmail.com 2020-06-25 22:41:50 UTC
I've found a number of posts mentioning that the SQL backend does not support
"alias" class, but all those posts were dated before 2004 so I just suspect that by now this feature is suppose to be developed which means either I'm making a mistake during configuration or I stumbled upon a bug.

Basically I try to use the following ldif to create an alias :

# link1, httpd users, debbie.topfer.com
dn: cn=link1,ou=httpd users,o=mytest,dc=com
objectClass: alias
objectClass: extensibleObject
aliasedObjectName: cn=testuser1,ou=accounts,o=mytest,dc=com
cn: link1

obviously the target exists (cn=testuser1,ou=accounts,o=mytest,dc=com)

Now this work with the mdb backend but if I use sql I get the following error :

5ef4ff0e    backsql_add("cn=link1,ou=httpd users,o=mytest,dc=com"): entry failed schema check -- aborting                                                                                                                           
5ef4ff0e send_ldap_result: conn=1000 op=1 p=3
5ef4ff0e send_ldap_result: err=65 matched="" text="attribute "aliasedObjectName" not supported in context"

What am I missing ?
Is there any other log that I should submit to get this sorted ?
Comment 1 Howard Chu 2020-06-25 23:02:21 UTC
(In reply to thomas.fazekas@gmail.com from comment #0)
> I've found a number of posts mentioning that the SQL backend does not support
> "alias" class, but all those posts were dated before 2004 so I just suspect
> that by now this feature is suppose to be developed

Check the commit history for back-sql.
Comment 2 Quanah Gibson-Mount 2020-06-25 23:15:45 UTC
back-sql: Unmaintained due to no current developer having interest in it, it was always marked experimental, and it has been disabled by default for 2.5+.
Comment 3 Quanah Gibson-Mount 2020-06-25 23:23:38 UTC
patches welcome
Comment 4 Quanah Gibson-Mount 2020-06-25 23:35:59 UTC

*** This issue has been marked as a duplicate of issue 8880 ***