BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 09-13-2007, 07:54 AM   #1
quentin
New Member
 
Join Date: Sep 2007
Model: none
PIN: N/A
Carrier: None
Posts: 9
Default Error - Problem adding user to BES Instance X. Error Code: -21 (User does not exist)

Please Login to Remove!

I am using BESUserAdminClient.exe to add users to BES.

I have a number of users that cannot be added for some unknown reason. I want to know how to troubleshoot this problem:

Quote:
BESUserAdminClient.exe -p mypassword -add -u "/o=EXCHORG/ou=First Administrative Group/cn=Recipients/cn=quentin@company.com" -b BLACKBERRY1 -n BLACKBERRY2 -w mypass

[11:03:18] BESUserAdmin::main - Log Start

[11:03:20] BESUserAdmin::DoAddUser - (/o=EXCHORG/ou=First Administrative Group/cn=Recipients/cn=quentin@company.com) Preparing to add user...

[11:03:20] BESUserAdmin::DoAddUser - (/o=EXCHORG/ou=First Administrative Group/cn=Recipients/cn=quentin@company.com) Problem adding user to BES Instance BLACKBERRY1. Error Code: -21 (User does not exist.)

[11:03:20] BESUserAdmin::main - Log End
As you can see from above, I using the user's exchangeLegacyDN value to identify the user account, however the BESUserAdminClient.exe cannot find the user.

I am sure the exchangeLegacyDN value I am using is correct because I can search for this user in Active Directory with it and successfully find the user.

If I use the user's email address (instead of legacyExchangeDN), BESUserAdminClient.exe will successfully add my user.

I do not understand why some users cannot be added if I use their legacyExchangeDN, while other users can. I cannot see anything different about the users that would prevent this.

You can also see from the command above that I am targetting a Blackberry User Administrative Service which is installed on a server named BLACKBERRY2. The Blackberry User Administrative Service is running as BESAdmin. If I log into windows with BESAdmin, the user is able to search ActiveDirectory using the above exchangeLegacyDN value and find the user no problem.

Why can't the BESUserAdminClient.exe client find this user? How do I troubleshoot this problem? I cant find any documentation on this.
Offline  
Old 09-13-2007, 08:29 AM   #2
hdawg
BlackBerry Genius
 
hdawg's Avatar
 
Join Date: Aug 2006
Model: hdawg
PIN: port3101.org
Carrier: hdawg
Posts: 6,632
Default

The proper syntax for adding a user on BES Exchange is to provide their "mailbox name" or the attribute Mail
Offline  
Old 09-13-2007, 08:45 AM   #3
quentin
New Member
 
Join Date: Sep 2007
Model: none
PIN: N/A
Carrier: None
Posts: 9
Default

Quote:
Originally Posted by hdawg View Post
The proper syntax for adding a user on BES Exchange is to provide their "mailbox name" or the attribute Mail
Could you give me an example of a user's "mailbox name"?

I thought the exchangeLegacyDN properly identified a user's mailbox name. In my example, I used "/o=EXCHORG/ou=First Administrative Group/cn=Recipients/cn=quentin@company.com"

When the exchangeLegacyDN fails with an error -21 (user does not exist), I've been able to use the mail attribute to add the user. But that does not explain why the exchangeLegacyDN couldn't be used, and that is what I am trying to find out.

If the exchangeLegacyDN attribute does not identify the user's "mailbox name", which user attribute does?
Offline  
Old 09-13-2007, 09:15 AM   #4
hdawg
BlackBerry Genius
 
hdawg's Avatar
 
Join Date: Aug 2006
Model: hdawg
PIN: port3101.org
Carrier: hdawg
Posts: 6,632
Default

Use the AD attribute Mail
Offline  
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Siemens 6AU14 35-0AA00-0AA1 6AU1435-0AA00-0AA1 SIMOTION DRIVE-BASED CONTROL New  picture

Siemens 6AU14 35-0AA00-0AA1 6AU1435-0AA00-0AA1 SIMOTION DRIVE-BASED CONTROL New

$3988.00



6FC5610-0BA10-0AA1 SIEMENS LCD Screen Display 1PCS picture

6FC5610-0BA10-0AA1 SIEMENS LCD Screen Display 1PCS

$2998.00



6AV6643-0BA01-1AX0 Siemens SMART PLC Module 6AV6643-0BA01-1AX0 New In Box picture

6AV6643-0BA01-1AX0 Siemens SMART PLC Module 6AV6643-0BA01-1AX0 New In Box

$840.75



New In Box Siemens 6SL3130-6AE21-0AB1 SINAMICS S120 Module 6SL3 130-6AE21-0AB1 picture

New In Box Siemens 6SL3130-6AE21-0AB1 SINAMICS S120 Module 6SL3 130-6AE21-0AB1

$950.00



LOT OF 5 SIEMENS Q120DFN 20A DUAL AFCI/GFCI PLUG ON NEUTRAL BREAKER BRAND NEW picture

LOT OF 5 SIEMENS Q120DFN 20A DUAL AFCI/GFCI PLUG ON NEUTRAL BREAKER BRAND NEW

$199.00



LOT OF 10 SIEMENS QA120AFC  20A AFCI BREAKER (with pigtail wire) NEW picture

LOT OF 10 SIEMENS QA120AFC 20A AFCI BREAKER (with pigtail wire) NEW

$398.99







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.