BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 12-13-2007, 12:55 PM   #1
hdawg
BlackBerry Genius
 
hdawg's Avatar
 
Join Date: Aug 2006
Model: hdawg
PIN: port3101.org
Carrier: hdawg
Posts: 6,632
Default BESUserAdminService for Domino Error -55: could not determine client role

Please Login to Remove!

I use the BESUserAminService on pretty much every server I touch; its great for reporting, tinkering, and for our homegrown web application that does device provisioning, management, and reporting ...

I have no problems with any installation on any Exchange implementation but have a problem with all Domino installations ...

Using BES 4.1 SP3 & SP4 (and matching UserAdminService) I login to the server as my account, install the service, start it up, and everything works correctly. I connect to it using:

BESUserAdminClient -p password -servers -stats

and it works great. The problem is ... I can't run the service as my account; it needs to run as Local System; like the Lotus Domino service runs as. (corporate policy)

When I change the service to run as Local System, and then export / import the reg keys from: HKCU\Software\Research in Motion\BlackBerry Enterprise Server\Admin
to: HKU\.DEFAULT\Software\Research in Motion\BlackBerry Enterprise Server\Admin

and then start the service it starts without an issue.

I then execute the same command and I receive the: "Error -55: could not determine client role" error ... I checked KB11097 ... and no dice.

I've added the computer object granting it permission to the SQL databasse and still no dice.

if I modify my command to:

BESUserAdminClient -p password -servers -stats -SQLUSER sa -SQLPASS password

it works perfectly fine. Unfortunately this isn't really acceptable to me ... and I wouldn't think I would need this since I enter in the SQL credentials during the BESUserAdminService install ... tried it both using windows auth and sql auth; same result.

I'm going to open up a case with T-Support as this is really bugging me now ... anyone got suggestions; I'm sick of searching here and at RIMs site on this. Any help / insight would be appreciated.

Last edited by hdawg; 12-13-2007 at 01:43 PM..
Offline  
Old 01-14-2008, 05:56 AM   #2
niall.gray
Knows Where the Search Button Is
 
Join Date: Nov 2007
Model: none
PIN: N/A
Carrier: none
Posts: 16
Default Fix..??

Hey there,

Did you ever get a fix for this???
Offline  
Old 01-14-2008, 06:16 AM   #3
noname
BlackBerry Extraordinaire
 
noname's Avatar
 
Join Date: Sep 2005
Location: Congested Islet of "Foreign Talents" (> 45% of workforce) - Singapore.
Model: Z10
OS: 10.0.0
PIN: NUKE(PAP)
Carrier: Singtel
Posts: 1,504
Default

hdawg, try granting access this on the SQL Server to:-

NTDomain\BESDominoNetBiosName$

then, enable server admin + public & db_owner roles.
__________________
Native but 4th class citizen of a nation governed by idiots who import congestions & contention.
Offline  
Old 01-14-2008, 06:59 AM   #4
hdawg
BlackBerry Genius
 
hdawg's Avatar
 
Join Date: Aug 2006
Model: hdawg
PIN: port3101.org
Carrier: hdawg
Posts: 6,632
Default

Quote:
Originally Posted by noname View Post
hdawg, try granting access this on the SQL Server to:-

NTDomain\BESDominoNetBiosName$

then, enable server admin + public & db_owner roles.
We actually came to a solution last Thursday; not what I wanted though.

If you add the SQL Server sysadmin role to the computer object and then grant it the db_owner role for the database, and then execute the BESUserAdminClient command with a user that also has the same permissions it works. ... Instead of using the sysadmin role you could use serveradmin and securityadmin.

After a few hours with T-Support we both came to the conclusion that the documentation on this is poor at best and really needs to be updated.

The thing that really kills me, is that I would think the BESUserAdminService is all that needs access; the user / object executing the BESUserAdminClient shouldn't need any direct access to the database; the service should be proxying for it as even it is authenticated as it is using a password to send its command to the service. The design on this is really poor and kills me.

So I've given the server object all the permission it needs, have configured my web service to run as LocalSystem, and everything works. Executing commands locally on the server doesn't work as when I logon to the server my account doesn't have the requisite permissions in SQL; but that is fine I guess for now.
Offline  
Old 01-14-2008, 07:56 AM   #5
niall.gray
Knows Where the Search Button Is
 
Join Date: Nov 2007
Model: none
PIN: N/A
Carrier: none
Posts: 16
Default reply

Thanks for the reply.

Mind if i ask another question..

Are you saying the the user context that the client gets executed under needs access to the database??
Offline  
Old 01-14-2008, 08:01 AM   #6
hdawg
BlackBerry Genius
 
hdawg's Avatar
 
Join Date: Aug 2006
Model: hdawg
PIN: port3101.org
Carrier: hdawg
Posts: 6,632
Default

Quote:
Originally Posted by niall.gray View Post
Are you saying the the user context that the client gets executed under needs access to the database??
Yes, exactly ... which baffles me to no end.
Offline  
Old 01-14-2008, 08:03 AM   #7
niall.gray
Knows Where the Search Button Is
 
Join Date: Nov 2007
Model: none
PIN: N/A
Carrier: none
Posts: 16
Default

thats possibly the worst thing

So i wonder why they put the sql parameters in.
Offline  
Old 01-14-2008, 08:13 AM   #8
hdawg
BlackBerry Genius
 
hdawg's Avatar
 
Join Date: Aug 2006
Model: hdawg
PIN: port3101.org
Carrier: hdawg
Posts: 6,632
Default

Quote:
Originally Posted by niall.gray View Post
thats possibly the worst thing

So i wonder why they put the sql parameters in.
That was my complaint. I was told it was the credentials that the service used to connect to the sql server ... which makes sense ... but then why the heck doesn't it proxy the command from the client?!?!?!?!

IS THAT NOT THE POINT OF IT?!?!?!?!

ok, I'm off my soapbox ... for now.
Offline  
Old 01-14-2008, 10:36 AM   #9
niall.gray
Knows Where the Search Button Is
 
Join Date: Nov 2007
Model: none
PIN: N/A
Carrier: none
Posts: 16
Default



Did they say when you spoke to them whether this was going to be fixed??
Offline  
Old 01-14-2008, 10:44 AM   #10
hdawg
BlackBerry Genius
 
hdawg's Avatar
 
Join Date: Aug 2006
Model: hdawg
PIN: port3101.org
Carrier: hdawg
Posts: 6,632
Default

Highly doubtful ... especially with the focus on BES 5. I'm almost sure this service will go away with 5.
Offline  
Old 01-15-2008, 08:46 AM   #11
noname
BlackBerry Extraordinaire
 
noname's Avatar
 
Join Date: Sep 2005
Location: Congested Islet of "Foreign Talents" (> 45% of workforce) - Singapore.
Model: Z10
OS: 10.0.0
PIN: NUKE(PAP)
Carrier: Singtel
Posts: 1,504
Default

hey hdawg, BESUserAminService -> BRK -> FOC => less solid design I guess? Yeah BES 5.0 will have better feature (hopefully).
__________________
Native but 4th class citizen of a nation governed by idiots who import congestions & contention.
Offline  
Old 05-08-2008, 02:16 PM   #12
K_NAPP
New Member
 
K_NAPP's Avatar
 
Join Date: Feb 2007
Location: Louisville
Model: 9700
Carrier: AT&T
Posts: 11
Default

Did anyone ever find out if SP5 has made BESUserAdminService better or replaced it with something?
Offline  
Old 05-08-2008, 02:29 PM   #13
hdawg
BlackBerry Genius
 
hdawg's Avatar
 
Join Date: Aug 2006
Model: hdawg
PIN: port3101.org
Carrier: hdawg
Posts: 6,632
Default

nope no "fix / change" still the only thing.
Offline  
Old 05-22-2008, 06:55 AM   #14
aqeel
New Member
 
aqeel's Avatar
 
Join Date: May 2008
Model: 7100T
PIN: N/A
Carrier: NA
Posts: 7
Default

hmmm, is there any thing using which we can send user Enterprise Activation passwords only from BESUserAdmin ?
__________________
---------------
Aqeel
Offline  
Old 05-22-2008, 07:13 AM   #15
hdawg
BlackBerry Genius
 
hdawg's Avatar
 
Join Date: Aug 2006
Model: hdawg
PIN: port3101.org
Carrier: hdawg
Posts: 6,632
Default

Quote:
Originally Posted by aqeel View Post
hmmm, is there any thing using which we can send user Enterprise Activation passwords only from BESUserAdmin ?
huh?
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

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

Forum Jump


Audio Polarity Checker Phase Detector Self-Test Auto-Off PD-9A Speaker Tester picture

Audio Polarity Checker Phase Detector Self-Test Auto-Off PD-9A Speaker Tester

$43.00



PD-9A Polarity Checker Phase Detector Self-Test Auto-Off Audio Speaker Testing picture

PD-9A Polarity Checker Phase Detector Self-Test Auto-Off Audio Speaker Testing

$45.00



One (1) DC Motor Reverse Polarity Switch 12v Reversing - 30A Rocker Momentary picture

One (1) DC Motor Reverse Polarity Switch 12v Reversing - 30A Rocker Momentary

$11.99



Honeywell Quartz Polarity Sensitive Hour Meter 85098 picture

Honeywell Quartz Polarity Sensitive Hour Meter 85098

$79.99



IndusTec 20 AMP 12v DC Momentary Reverse Polarity Rocker Switch DPDT SEE VIDEO picture

IndusTec 20 AMP 12v DC Momentary Reverse Polarity Rocker Switch DPDT SEE VIDEO

$9.99



Polarity Relay fits Belarus 802 922 560 822 572 902 562 825 570 805 820 800 905 picture

Polarity Relay fits Belarus 802 922 560 822 572 902 562 825 570 805 820 800 905

$210.29







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