BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 08-24-2009, 07:45 AM   #1001
SoUnCool
Talking BlackBerry Encyclopedia
 
Join Date: Feb 2007
Location: Toronto
Model: 9800
Carrier: Rogers
Posts: 319
Default

Please Login to Remove!

Hello guys, just wondering , if anyone added enterprise service policy feature, We use this to white list device PIN so that only provisioned devices by IT can be activated on our BES, Would love to see a feature on berrystats where I can add device PIN to white list
Offline  
Old 08-24-2009, 12:21 PM   #1002
SoUnCool
Talking BlackBerry Encyclopedia
 
Join Date: Feb 2007
Location: Toronto
Model: 9800
Carrier: Rogers
Posts: 319
Default Berrystat deletes wrong user if email forwarding is setup

Just discovered a bug , We have two users, UserA and UserB , UserA is leaving the firm, his account is being disabled, exchange team change his email address and assign this email address to UserB as UserB's secondary smtp address

now if using berrystats I delete UserA it will ONLY remove UserB from BES , not UserA

here is output of user delete function

BlackBerry(R) Enterprise Server User Administration Tool Version 4.1.6.5
Copyright (c) Research In Motion, Ltd. 1997-2008. All rights reserved.
Modification date: Jul 31 2008

besuseradminclient.exe -delete -u [email address] -hard -f -b BES -SQLUSER xxxxx -SQLPASS xxxxx

[13:12:08] BESUserAdmin::main - Log Start
[13:12:09] BESUserAdmin::DoDeleteUser - (UserA@xxx.zz) Preparing to delete user...
[13:12:09] BESUserAdmin::DoDeleteUser - (UserA@xxx.zz) User deleted.
[13:12:09] BESUserAdmin::main - Log End


here is code from berrystats

ElseIf strAction = "deleteuser" then
strEmailAddress = request.querystring("user")
strBESServer = request.querystring("besserver")
strCmd = BESUSERADMINEXE & " -delete -u " _
& chr(34) & strEmailAddress & chr(34) & " -hard -f -b " & strBESServer & _
" -p " & BESADMINPWD


Deleting user from BES management console does not reproduce this issue

Last edited by SoUnCool; 08-24-2009 at 01:57 PM..
Offline  
Old 08-25-2009, 01:09 PM   #1003
vjkumar
Knows Where the Search Button Is
 
vjkumar's Avatar
 
Join Date: Mar 2008
Model: 8310
PIN: N/A
Carrier: Celcom-Vodafone
Posts: 21
Default

Quote:
Originally Posted by thejollyboys View Post
Just installed berry stats and all works great all user admin functions seem to be fine.

The only issue I have is when a user browsers to the web site who is not in the Admins group in AD, I'm using LDAP, then it says "Youare not authorised to access BerryStats"

Confirmed all the speelings of groups is fine and users are members of groups. Self Servcie is enabled and group is set to Domain Admins.

Hope some body can help.

Thanks.

Andy.
DId you changed anything in logon.asp? can u give us the screensht of your configuration page as well?
__________________
Rgds,
VJ
============================
Sent from Blackberry Wireless Device
Offline  
Old 08-25-2009, 01:12 PM   #1004
vjkumar
Knows Where the Search Button Is
 
vjkumar's Avatar
 
Join Date: Mar 2008
Model: 8310
PIN: N/A
Carrier: Celcom-Vodafone
Posts: 21
Default

Quote:
Originally Posted by SoUnCool View Post
Just discovered a bug , We have two users, UserA and UserB , UserA is leaving the firm, his account is being disabled, exchange team change his email address and assign this email address to UserB as UserB's secondary smtp address

now if using berrystats I delete UserA it will ONLY remove UserB from BES , not UserA

here is output of user delete function

BlackBerry(R) Enterprise Server User Administration Tool Version 4.1.6.5
Copyright (c) Research In Motion, Ltd. 1997-2008. All rights reserved.
Modification date: Jul 31 2008

besuseradminclient.exe -delete -u [email address] -hard -f -b BES -SQLUSER xxxxx -SQLPASS xxxxx

[13:12:08] BESUserAdmin::main - Log Start
[13:12:09] BESUserAdmin::DoDeleteUser - (UserA@xxx.zz) Preparing to delete user...
[13:12:09] BESUserAdmin::DoDeleteUser - (UserA@xxx.zz) User deleted.
[13:12:09] BESUserAdmin::main - Log End


here is code from berrystats

ElseIf strAction = "deleteuser" then
strEmailAddress = request.querystring("user")
strBESServer = request.querystring("besserver")
strCmd = BESUSERADMINEXE & " -delete -u " _
& chr(34) & strEmailAddress & chr(34) & " -hard -f -b " & strBESServer & _
" -p " & BESADMINPWD


Deleting user from BES management console does not reproduce this issue
what is the primary address of UserB? [email address]? can you confirm that? BES always retrieve Primary SMTP address of user and nor secondary
__________________
Rgds,
VJ
============================
Sent from Blackberry Wireless Device
Offline  
Old 08-25-2009, 01:48 PM   #1005
SoUnCool
Talking BlackBerry Encyclopedia
 
Join Date: Feb 2007
Location: Toronto
Model: 9800
Carrier: Rogers
Posts: 319
Default

Quote:
Originally Posted by vjkumar View Post
what is the primary address of UserB? [email address]? can you confirm that? BES always retrieve Primary SMTP address of user and nor secondary
we change userB email address to userB2 @ xxx.zz and add the origional email address to userA as secondary smtp address

and yes Berrystat always delete only UserA , and I do select UserB from berry stats and in the wuery it shows userB , but Always delete UserA

this does not happen in BB manager

Last edited by SoUnCool; 08-25-2009 at 02:11 PM..
Offline  
Old 08-27-2009, 04:41 PM   #1006
thejollyboys
Thumbs Must Hurt
 
Join Date: Jan 2005
Model: 8300
Carrier: Vodafone
Posts: 56
Default

Quote:
Originally Posted by vjkumar View Post
DId you changed anything in logon.asp? can u give us the screensht of your configuration page as well?
Nothing changed in the Login.asp page.

Screen shot attached.
Attached Thumbnails
ScreenShot013.jpg  
Offline  
Old 08-28-2009, 11:51 AM   #1007
vjkumar
Knows Where the Search Button Is
 
vjkumar's Avatar
 
Join Date: Mar 2008
Model: 8310
PIN: N/A
Carrier: Celcom-Vodafone
Posts: 21
Default

Quote:
Originally Posted by thejollyboys View Post
Nothing changed in the Login.asp page.

Screen shot attached.
Enable debug mode and check. Create security group and add some members into it. wait for about 15-20 minutes and ask them to login again.
__________________
Rgds,
VJ
============================
Sent from Blackberry Wireless Device
Offline  
Old 08-28-2009, 11:56 AM   #1008
vjkumar
Knows Where the Search Button Is
 
vjkumar's Avatar
 
Join Date: Mar 2008
Model: 8310
PIN: N/A
Carrier: Celcom-Vodafone
Posts: 21
Default

Quote:
Originally Posted by SoUnCool View Post
we change userB email address to userB2 @ xxx.zz and add the origional email address to userA as secondary smtp address

and yes Berrystat always delete only UserA , and I do select UserB from berry stats and in the wuery it shows userB , but Always delete UserA

this does not happen in BB manager
Ok. Once you select UserB in berrystats, what is the email address tied to the account? was it userB or userA? The way BB manager works is different from user admin service. User admin service rely on the input. If the UserB email add in Berrystats shown as [email address], for sure it will remove [email address] and not [email address]. When the command runs, it will get the email address from email address field and execute -delete [email address] -servername BES. This is just my guess
__________________
Rgds,
VJ
============================
Sent from Blackberry Wireless Device
Offline  
Old 08-28-2009, 12:50 PM   #1009
SoUnCool
Talking BlackBerry Encyclopedia
 
Join Date: Feb 2007
Location: Toronto
Model: 9800
Carrier: Rogers
Posts: 319
Default

Quote:
Originally Posted by vjkumar View Post
Ok. Once you select UserB in berrystats, what is the email address tied to the account? was it userB or userA? The way BB manager works is different from user admin service. User admin service rely on the input. If the UserB email add in Berrystats shown as [email address], for sure it will remove [email address] and not [email address]. When the command runs, it will get the email address from email address field and execute -delete [email address] -servername BES. This is just my guess
let me explain littlie more,
UserA , primary smtp [email address]
UserB , primary smtp [email address]

now userB is leaving the firm, we change primary smtp of USERB to [email address]

and add a SECONDARY SMTP to userA , that is [email address]

when i run berry stat command, it shows that he is removing userB ( [email address])

this address is not a primary address , is there a way around this function of useradmin service ?
Offline  
Old 09-02-2009, 04:58 PM   #1010
thejollyboys
Thumbs Must Hurt
 
Join Date: Jan 2005
Model: 8300
Carrier: Vodafone
Posts: 56
Default

Quote:
Originally Posted by vjkumar View Post
Enable debug mode and check. Create security group and add some members into it. wait for about 15-20 minutes and ask them to login again.
Ok, if I add another group to AD, "berrystats selfservice" and add a user in the group it works ok.

We have 2500 users so adding all of them to the group would take some time. I tried to add Domain users to the group but that does not work.

Any ideas please? Thanks for your help so far.

Andy
Offline  
Old 09-04-2009, 10:23 AM   #1011
vjkumar
Knows Where the Search Button Is
 
vjkumar's Avatar
 
Join Date: Mar 2008
Model: 8310
PIN: N/A
Carrier: Celcom-Vodafone
Posts: 21
Default

Quote:
Originally Posted by thejollyboys View Post
Ok, if I add another group to AD, "berrystats selfservice" and add a user in the group it works ok.

We have 2500 users so adding all of them to the group would take some time. I tried to add Domain users to the group but that does not work.

Any ideas please? Thanks for your help so far.

Andy
Hi,

I am using Berrystats v0,57 which doesn't require seperate group for non-admin to login to Berrystats and fully customized.

You may try adding the domain user group in this way into berrystats configuration page:

domain\Domain users

It might help you. Let me know if you succeeded. If not, i can share a script that will help you to add members into DL in bulk. Just get the email address of your users. The script will add them into your berrystats user group.
__________________
Rgds,
VJ
============================
Sent from Blackberry Wireless Device
Offline  
Old 09-04-2009, 10:29 AM   #1012
vjkumar
Knows Where the Search Button Is
 
vjkumar's Avatar
 
Join Date: Mar 2008
Model: 8310
PIN: N/A
Carrier: Celcom-Vodafone
Posts: 21
Default

Quote:
Originally Posted by SoUnCool View Post
let me explain littlie more,
UserA , primary smtp [email address]
UserB , primary smtp [email address]

now userB is leaving the firm, we change primary smtp of USERB to [email address]

and add a SECONDARY SMTP to userA , that is [email address]

when i run berry stat command, it shows that he is removing userB ( [email address])

this address is not a primary address , is there a way around this function of useradmin service ?
I will simulate this with my dummy account and get back to you.
__________________
Rgds,
VJ
============================
Sent from Blackberry Wireless Device
Offline  
Old 09-08-2009, 05:04 PM   #1013
SoUnCool
Talking BlackBerry Encyclopedia
 
Join Date: Feb 2007
Location: Toronto
Model: 9800
Carrier: Rogers
Posts: 319
Default

Quote:
Originally Posted by vjkumar View Post
I will simulate this with my dummy account and get back to you.
thank you
Offline  
Old 11-19-2009, 01:52 PM   #1014
Passmos
New Member
 
Join Date: Oct 2008
Model: Bold
PIN: N/A
Carrier: Orange
Posts: 1
Unhappy BES 5 User Client

Hi All,

Has anyone got Berrystats working with the BES5 client tools for bes5? The command line is exactly the same and it runs from the box, however everytime I run it from within berry stats I get :


java.lang.NoClassDefFoundError: com/rim/bes/brk/besuseradmin/BESUserAdminMain
Exception in thread "main"


Anyone had any experience or know how to fix this error?

Thanks
Offline  
Old 04-26-2010, 06:48 PM   #1015
dlavingia
New Member
 
Join Date: Apr 2010
Model: 9700
PIN: N/A
Carrier: Rogers
Posts: 2
Default

I am trying to setup berrystats and having a bad experience with it.

Everytime I try to run the SQL statement I get a parse error saying incorrect syntax near "GO" from event source .net sqlclient data provider.

This is SQL Manangement Studio on a MSDE install.

How do I get this loaded properly?
Offline  
Old 04-26-2010, 06:59 PM   #1016
dlavingia
New Member
 
Join Date: Apr 2010
Model: 9700
PIN: N/A
Carrier: Rogers
Posts: 2
Default

some further errors I found from the query

Msg 208, Level 16, State 1, Procedure BerryStats, Line 3
Invalid object name 'dbo.ServerConfig'.
Msg 208, Level 16, State 1, Procedure BerryStats, Line 3
Invalid object name 'dbo.UserConfig'.
Msg 208, Level 16, State 1, Procedure BerryStats, Line 3
Invalid object name 'dbo.GroupConfig'.
Msg 208, Level 16, State 1, Procedure BerryStats, Line 3
Invalid object name 'dbo.UserStats'.
Msg 208, Level 16, State 1, Procedure BerryStats, Line 3
Invalid object name 'dbo.SyncDeviceMgmtSummary'.
Offline  
Old 09-13-2010, 10:07 AM   #1017
pietje
Knows Where the Search Button Is
 
Join Date: Apr 2008
Model: 8800
PIN: N/A
Carrier: nothing
Posts: 18
Default Installing Berrystats etc.

I am a beginner but also would like to install Berrystats, because the administrationtools for the BES Server are all DOS based tools, i would like to use a GUID tool.

I have a BES Server Windows 2003 installed with connection to a Exchange 2003 server.
BES Pro software 5 installed, with a local SQL installation together with BES installed.

Now i read the for the Berrystats the BES user admin tool must be installed for Berrystats to work.
I want to use Berrystat on a different pc with Windows 7 not the BES server.

What i don't understand at this moment is what installations and how to install do i need for Berrystats? on the BES server or on the PC where i install BES admin user administration tool.
When i try to install the user administration tool he asks for a DNS name and a SSL keystore password.

So i have a lot of questions off where to begin to eventually use Berrystats...
Offline  
Old 09-17-2010, 07:33 AM   #1018
pietje
Knows Where the Search Button Is
 
Join Date: Apr 2008
Model: 8800
PIN: N/A
Carrier: nothing
Posts: 18
Default

I have followed the install documentation for Berrystats. Starting with the setup IIS for the webpage. Problem there is that after the configuration according to the document i cannot display \\besserver\berrystats\setup.asp
The page cannot be displayed...

What am i doiing wrong?
Offline  
Old 09-30-2010, 02:46 PM   #1019
hayabusa
Talking BlackBerry Encyclopedia
 
hayabusa's Avatar
 
Join Date: Aug 2006
Location: Kansas
Model: 9000
Carrier: Cingular
Posts: 251
Default

Quote:
Originally Posted by Passmos View Post
Hi All,

Has anyone got Berrystats working with the BES5 client tools for bes5? The command line is exactly the same and it runs from the box, however everytime I run it from within berry stats I get :


java.lang.NoClassDefFoundError: com/rim/bes/brk/besuseradmin/BESUserAdminMain
Exception in thread "main"


Anyone had any experience or know how to fix this error?

Thanks
The besuseradminclient tool is different for BES 5.0. The switches are different and the besuseradminclient has to login to the BAS server to pass the changes to the database. The global.asp and besuseradminclient.asp page will need to be re-coded to complensate for this.
Offline  
Old 09-30-2010, 02:56 PM   #1020
hayabusa
Talking BlackBerry Encyclopedia
 
hayabusa's Avatar
 
Join Date: Aug 2006
Location: Kansas
Model: 9000
Carrier: Cingular
Posts: 251
Default

Quote:
Originally Posted by Grimlin View Post
I haven't seen BES 5.0 yet. My hope is that there are fields of flowers and green grass and we don't need BerryStats with 5.0.

...but if we do, it is just a database. We reverse-engineered the last one and then they gave up and published a full schema. If needed, history will repeat itself.
If you want to use Berrystats with BES 5.0 you will need to partiallly re-code the besuseradminclient.asp, global.asp, and config.xml. You will need to create additional fields and varibles for the BAS stuff. In BES 5.0 you have to login to the BAS server to run any code. So your code will go besuseradminclient >basuser>baspw>authentication>basuserout>BesmgmtDB . The basic theory is now the besuseradminclient uses the bas userid to login to the BAS service then the bas service makes the changes to the DB on behalf of besuseradminclient. The other thing to note here is that RIM changed the installation location of the besuseradminclient so when invoking the besuseradminclient.exe validate it's in the correct directory.
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


OEM Dell XPS 8910 8920 8930 Alienware Aurora R5 R6 R7 Front Cooling Fan 7M0F5 picture

OEM Dell XPS 8910 8920 8930 Alienware Aurora R5 R6 R7 Front Cooling Fan 7M0F5

$13.81



NEW DELL OEM REPLACEMENT PROJECTOR LAMP FOR 4220 4320 GENUINE ORIGINAL  picture

NEW DELL OEM REPLACEMENT PROJECTOR LAMP FOR 4220 4320 GENUINE ORIGINAL

$198.22



DELL 330-6581 3306581 725-10229 OEM LAMP FOR 1510X 1610HD 1610X  - Made By DELL picture

DELL 330-6581 3306581 725-10229 OEM LAMP FOR 1510X 1610HD 1610X - Made By DELL

$39.98



Genuine OEM Dell 2375 B2375dnf B2375dfw 110V Fuser fixing N41P2 sku 724-BBCI picture

Genuine OEM Dell 2375 B2375dnf B2375dfw 110V Fuser fixing N41P2 sku 724-BBCI

$94.99



OEM Dell M15 R5 R6 R7 Junction Circuit Board A17SS6 P/N LS-K666P picture

OEM Dell M15 R5 R6 R7 Junction Circuit Board A17SS6 P/N LS-K666P

$45.60



Genuine Dell OEM G Series G7 7790 CPU and Graphics Heatsink Assembly XRF05 picture

Genuine Dell OEM G Series G7 7790 CPU and Graphics Heatsink Assembly XRF05

$20.30







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