# This file allows you to set various defaults. [server] # Various parameters for the server # Set base_dn to your LDAP root base_dn = dc=example,dc=org # Set the mail domain mail_domain = example.org # Set the name of your LDAP server name = ldap.example.org schema=posixAccount [account] # Various parameters for the account creation user = guest # Starting uid, the tools will find the first free one uid = 1000 gid = 200 # GECOS field, displayed by tools like finger gecos = Guest User shell = /usr/bin/zsh ask_gecos = 1 # Hooks are executed before (for the pre* hooks) or after (for the post* hooks) # the creation or destruction of an account. These are just examples: #pre_create_hook = No idea for a good example post_create_hook = mkdir %(homedir)s; chown %(user)s %(homedir)s #pre_delete_hook = rm -rf ~%(user)s #post_delete_hook = echo "%(user)s deleted" | mutt -s "Account deletion" root