IT debris

Besuseradminclient – Authentication

· Remy

Warning! Out of date content.

The Blackberry Enterprise Server resource kit has several handy utilities, one of them is the besuseradminclient. We use the tool to do some bulk admin stuff.

The tool has an extensive listing of all the available commands however the documentation does not provide some examples to get you going.

This first post is about authentication against the BlackBerry Administration Service (BAS) which will execute your commands submitted via the besuseradminclient. To be able to run the besuseradminclient you have to provide credentials, with sufficient administrative privileges, to the BAS you are running the tool against.

There are two types of authentication, BAS authentication with the accounts specified in the BES database and Active Directory integrated authentication.

With Active Directory based accounts you use the ad_auth switch, for example running the status command:

BESUserAdminClient.exe -ad_auth -username {your AD username) -domain {your AD domain} -password {your AD password} -status

You have to specify the Active Directory domain in the legacy way, the NetBIOS domain name, not the FQDN.

For accounts specified in the BES database you use the bas_auth switch, for example:

BESUserAdminClient.exe -bas_auth -username {your BAS username} -password {your BAS password} -status