ldapuseradd Config Entries

Directive
Example Value
Context
Module
Description
uidset 10000-50000 global core
UID pool to use
gidset 10000-50000 global core
GID pool to use
default users global core
Default user type stanza/tier to use
ldapuri ldap://172.16.1.3/ global core
LDAP Server IP or FQDN
ldapbasedn dc=example,dc=com global core
LDAP Base DN for queries
ldapbinddn cn=admin,dc=example,dc=com global core
LDAP Admin user that can add entries.
ldapbindpw ASK global core
LDAP Admin password or the word ASK to query user.
ldapuserdn uid=%u,ou=people,dc=example,dc=com global core
Template for creating new user DNs.
ldapgroupdn cn=%g,ou=group,dc=example,dc=com global core
Template for creating new group DNs.
sqlserver 172.16.1.3 global hook_sql
MySQL server to use if hook_sql is enabled in "manage" and sql=true.
sqluser root global hook_sql
MySQL user to bind.
sqlpw ASK global hook_sql
MySQL password or the word ASK to query user.
user_template users.ldap global / stanza core
LDAP template for user creation relative to config dir.
group_template groups.ldap global / stanza core
LDAP template for group creation relative to config dir.
manage home,web,mail,sql,... global / stanza
core
What DSO modules to load and run against the new user. home is recommended, sql also works very well. mail and web need partial rewrite.
apachesites /etc/apache2/sites-enabled/ global / stanza
hook_web
If "web" is enabled in the manage list and apache=true for this user type, use this directory to create and remove user websites.
apachedomain example.com global / stanza
hook_web
If "web" is enabled in the manage list and apache=true for this user type, use this domain for the created VirtualHost.
apacheport 80 global / stanza
hook_web
If "web" is enabled in the manage list and apache=true for this user type, use this port for webserver logic.
apachectl /etc/init.d/apache2 global / stanza
hook_web
If "web" is enabled in the manage list and apache=true for this user type, use this script to control apache.
group 1004 global / stanza
core
The group ID number used by default for this user type.
home /home/uweb/%u global / stanza
core
If "home" is enabled on the manage list, this directive supplies the template for creating user home directories.
web /fs/files/www/uweb/pusers/%u global / stanza
hook_web
If "web" is enabled on the manage list, this directive supllies the template for creating user webspace folders.
weblink /home/uweb/%u/htdocs, /fs/files/www/vhost-dir/example.com/%u global / stanza
hook_web
If "web" is enabled on the manage list, this directive supplies a comma-separated list of symbolic links to be created to the user's webspace.
sql true global / stanza
hook_sql
If "sql" is enabled on the "manage" list, this directive toggles creation of an SQL database for this user type.
mail /home/uweb/%u/Maildir global / stanza
hook_mail
If "mail" is enabled on the "manage" list, this directive supplies the template for creating user Maildir folders.
maillink
global / stanza
hook_mail
If "mail" is enabled on the "manage" list, this directive supplies a comma-separated list of  symbolic links to be created to the user's Maildir.
shell /bin/tcsh global / stanza
core
The default shell for a new user.
apache false global / stanza
hook_web
If "web" is enabled on the "manage" list, this directive toggles configuration of apache for this user type.