Displaying 1 result from an estimated 1 matches for "nsbackendinstance".
2013 Aug 30
0
Adding new root suffix to 389 server
...ever I'm trying to script things, rather than
do it via the GUI. So, for example, I want to add a new suffix:
#!/bin/ksh -p
pswd=$(cat ~/passwd)
add()
{
echo "dn: cn=example,cn=ldbm database,cn=plugins,cn=config
changetype: add
objectclass: extensibleObject
objectclass: nsBackendInstance
nsslapd-suffix: dc=example,dc=com
dn: cn=dc=example\,dc=com,cn=mapping tree,cn=config
changetype: add
objectclass: top
objectclass: extensibleObject
objectclass: nsMappingTree
nsslapd-state: backend
nsslapd-backend: example
cn: dc=example,dc=com
" | ldapmodify -a -D "...