BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 09-13-2007, 08:54 AM   #1 (permalink)
New Member
 
Join Date: Sep 2007
Model: none
PIN: N/A
Carrier: None
Posts: 9
Post Thanks: 0
Thanked 0 Times in 0 Posts
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, 09:29 AM   #2 (permalink)
BlackBerry Genius
 
hdawg's Avatar
 
Join Date: Aug 2006
Model: hdawg
PIN: port3101.org
Carrier: hdawg
Posts: 6,632
Post Thanks: 0
Thanked 0 Times in 0 Posts
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, 09:45 AM   #3 (permalink)
New Member
 
Join Date: Sep 2007
Model: none
PIN: N/A
Carrier: None
Posts: 9
Post Thanks: 0
Thanked 0 Times in 0 Posts
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, 10:15 AM   #4 (permalink)
BlackBerry Genius
 
hdawg's Avatar
 
Join Date: Aug 2006
Model: hdawg
PIN: port3101.org
Carrier: hdawg
Posts: 6,632
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Use the AD attribute Mail
Offline  
Closed Thread


Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





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