Maybe a stupid question, but can you alias a container object?
One of the State's agencies changed it's name. I want to be able to alias the old name to the new one so searches on the old agency name still work. I tried creating the following record, which worked, but didn't have the desirable result:
# prd.state.or.us dn: dc=prd,dc=state,dc=or,dc=us dc: prd objectClass: top objectClass: alias objectClass: extensibleObject aliasedObjectName: dc=oprd,dc=state,dc=or,dc=us
The container object is:
# oprd.state.or.us dn: dc=oprd,dc=state,dc=or,dc=us dc: oprd objectClass: domain objectClass: top description: Oregon Department of Parks and Recreation o: Parks and Recreation
Possibly there is a better way to accomplish this?
The desired end result is to be able to do:
ldapsearch -b 'dc=prd,dc=state,dc=or,dc=us' -s sub
Thanks!
-james
On Thu, 5 Feb 2009, James Bagley wrote:
One of the State's agencies changed it's name. I want to be able to alias the old name to the new one so searches on the old agency name still work. I
[...]
The container object is: dn: dc=oprd,dc=state,dc=or,dc=us
[...]
The desired end result is to be able to do:
ldapsearch -b 'dc=prd,dc=state,dc=or,dc=us' -s sub
Have you looked into slapd-relay(5)? With slapo-rwm, but that's suggested in the same man page.
openldap-software@openldap.org