User Activation
  Download PDF

How To Activate Users

An activated user is a user which is counted in the license and which is able to authenticate with OpenOTP. There are several ways to activate users.

1. Activate One User Graphically

In WebADM, we select the user in the LDAP tree and click on Activate Now!:

Then, we complete all mandatory attributes and click on Proceed:

We click on Extend Object:

Now, the user is activated. The icon in the LDAP tree is different and WebadmAccount object class is added to the user:

2. Activate Several Users Graphically

In WebADM, we click on Search tab. Construct your search to find relevant users and click on Search. You can use Advanced Search for more options or use the LDAP syntax. For this example, we are only looking for test users:

The result is correct, so we can select Add WebADM Extension (Activate) in Batch Action and click on Go:

We click on Continue:

It’s done. Users are extended.

3. Activate All Members of a Group

We can easily activate all members of an LDAP group.

We need the distinguished name of the group. In our example, it is cn=test_group,o=Root:

We need also the domain which contains users, we can find it in the Admin tab, User Domains:

In our case, we use Default, with the user search base corresponding to o=root:

Now we can run the extend binary in a terminal on your server. -g is for activating members of a group. We can use -t for testing:

root@webadm:~# /opt/webadm/bin/extend -t -g "cn=test_group,o=Root" Default
This script will activate all your LDAP users in the provided Domain(s)
by automatically adding the webadmAccount LDAP objectclass.
Once extended, a user is activated for use with WebADM applications
and it is accounted in the WebADM licensing and user limit checks.

Are you sure you want to extend users (y/n)?

We answer y:

Are you sure you want to extend users (y/n)? y
Entering Domain Default (o=root).
User cn=test_user1,o=Root will be extended.
User cn=test_user2,o=Root will be extended.

Found 2 LDAP users to be extended in 0 seconds.

The result is correct, so we can run the command again without -t option:

root@webadm:~# /opt/webadm/bin/extend -g "cn=test_group,o=Root" Default
This script will activate all your LDAP users in the provided Domain(s)
by automatically adding the webadmAccount LDAP objectclass.
Once extended, a user is activated for use with WebADM applications
and it is accounted in the WebADM licensing and user limit checks.

Are you sure you want to extend users (y/n)? y
Entering Domain Default (o=root).
Extending user cn=test_user1,o=Root... Ok
Extending user cn=test_user2,o=Root... Ok

Extended 2 LDAP users in 0 seconds (0 errors).

It’s done. Users are extended.