Create a user template¶
Click on tab or icon Users, in the Users and groups section in FusionDirectory
Click Actions –> Create –> Template
Depending on which other plugins you have installed, you can configure your template like you need. Below, you can find some exemple.
You can find the documentation on how to create a macro here Macros.
The user tab is the base of your template, click on User tab
Generic User tab : this is the base tab to create a user template.
In this example we set the following macros to create a user :
- Login : %alps|givenName%%alp|sn% meaning that login will be first letter of first name in low character followed by last name in low characters
- Password : %r|% meaning that password will contain 12 random characters
When you are creating or editing your template, click on Unix tab Then click on Add Unix settings. A new dialog is opened
Then click on Add Unix settings. A new dialog is opened
Fill-in Unix settings
- Home directory : the path to the home directory of this user (required).
You can use macro to automatically build the name of home directory users
For example : /home/%uid%
When you are creating or editing your template, click on Mail tab
Then click on Add Mail settings. A new dialog is opened
Fill-in Mail account settings
- Primary address : primary mail address (required)
You can use the macros to automatically build the name of mail user account.
In this example we set macro %email@example.com meaning that the mail account will be firstname.lastname@example.org
Click on Ok button bottom right
Now on the main page, on you template line, you will see the mail icon