How to use a reinitialize file with posInitAdminserver
This document (7010607) is provided subject to the disclaimer at the end of this document.
in a noninteractive mode.
The following command will reconfigure the LDAP directory schema and the initial records for OpenLDAP based on the already created /etc/SLEPO/adminserver.conf file:
# posInitAdminserver ----reinitialize --noninteractive
It is also possible to initialize it based on a provided configuration file.
# posInitAdminserver ----reinitialize=config.conf --noninteractive
The file config.conf should have include the following lines:
1. ALL_LDAPHOST (URI of LDAP server)
Depending if the communication is over SSL or not, the host type should be ldaps:// for SSL or ldap:// for non SSL.
2. ALL_LDAPBASE (LDAP server suffix)
Specify the organization/company name and the two-letter code for the contry.
3. POS_ADMIN_DN (LDAP server admin user)
Specify the LDAP admin user.
4. POS_ADMIN_PASSWORD (LDAP password)
It is important that the password must be a clear-text password and it must be alphanumeric.
This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7010607
- Creation Date:13-AUG-12
- Modified Date:13-AUG-12
- SUSESUSE Linux Enterprise Point of Service
Did this document solve your problem? Provide Feedback