Edmund
Edmund

Reputation: 737

ldapadd child entry under alias

Suppose I have an alias entry service=x,dc=company. Now I wanted to add a child under this alias entry. So I run command ldapadd ... -f a.ldif

The content of a.ldif is

    ds=noname,service=x,dc=company
    ds: specialName
    objectClass: DsElement

However, I got return ldap_add: No such object(32)

What is the correct way to do that with the alias?

Upvotes: 0

Views: 129

Answers (1)

user207421
user207421

Reputation: 310860

You can't. It doesn't make sense. You have to add it under what the alias refers to.

Upvotes: 1

Related Questions