Create a user template

Click on tab or icon Users, in the Users and groups section in FusionDirectory

Picture of Users icon in FusionDirectory

Click Actions –> Create –> Template

Picture of create template menu in FusionDirectory

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.

User

The user tab is the base of your template, click on User tab

Picture of User tab in FusionDirectory

Generic User tab : this is the base tab to create a user template.

Picture of templates settings in FusionDirectory

In this example we set the following macros to create a user :

  • Login : %alps[1]|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[12]|% meaning that password will contain 12 random characters

Unix

When you are creating or editing your template, click on Unix tab Then click on Add Unix settings. A new dialog is opened

Picture of Unix tab in FusionDirectory

Then click on Add Unix settings. A new dialog is opened

Picture of Add Unix settings button in FusionDirectory

Fill-in Unix settings

Picture of Unix macro settings screen in FusionDirectory
  • 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%

Mail

When you are creating or editing your template, click on Mail tab

Picture of Mail in FusionDirectory

Then click on Add Mail settings. A new dialog is opened

Picture of Add Mail settings buttonin FusionDirectory

Fill-in Mail account settings

Picture of Mail user account settings screen FusionDirectory
  • 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 %uid%@acme.com meaning that the mail account will be userid@acme.com

Click on Ok button bottom right

Picture of Ok button in FusionDirectory

Now on the main page, on you template line, you will see the mail icon

Picture of Mail icon in FusionDirectory