To restore your directory services configuration to a previous version, stop dsservd, replace the desired configuration files in /etc/opt/SUNWconn/ldap/current, and restart the daemon. Step-by-step information is presented in Chapter 4, "Configuring Directory Services," of the Sun Directory Services 3.1 Administration Guide.
When Solaris ISP Server is installed, the original schema configuration files are backed up at /etc/opt/SUNWisp/ldap/sunds/default. These files were customized at installation with your root domain and administrator information. If you are working on the schema, and arrive at a situation where Solaris ISP Server does not work, restore the default schema as follows:
Log into the machine where the directory services is running.
Give yourself root access.
Stop the directory services server, by entering:# /etc/init.d/dsserv stop
You can also stop and start the server through its administration console.
Copy each of the configuration files from the default to the current directory:
% cp /etc/opt/SUNWisp/ldap/sunds/default/dsserv.conf \ /etc/opt/SUNWconn/ldap/current/dsserv.conf % cp /etc/opt/SUNWisp/ldap/sunds/default/SUNWisp.dsserv.at.conf \ /etc/opt/SUNWconn/ldap/current/SUNWisp.dsserv.at.conf % cp /etc/opt/SUNWisp/ldap/sunds/default/SUNWisp.dsserv.oc.conf \ /etc/opt/SUNWconn/ldap/current/SUNWisp.dsserv.oc.conf % cp /etc/opt/SUNWisp/ldap/sunds/default/dsserv.acl.conf \ /etc/opt/SUNWconn/ldap/current/dsserv.acl.conf % cp /etc/opt/SUNWisp/ldap/sunds/default/mapping/radius.mapping \ /etc/opt/SUNWconn/ldap/current/mapping/radius.mapping |
Start the directory services server by entering:# /etc/init.d/dsserv start