BlackBerryForums.com : Your Number One BlackBerry Community      

»Sponsored Links




Reply
 
LinkBack Thread Tools
  (#1 (permalink)) Old
BBamateurUser Offline
Knows Where the Search Button Is
 
Posts: 15
Join Date: Feb 2008
Model: 7100g
PIN: N/A
Carrier: Bharti Airtel
Default Cannot add user with BESUserAdminClient in Domino Environment - 06-16-2008, 02:34 AM

Hi Folks,
Need your help
I m unable to add user using BESUserAdminClient in a domino environment.
I can add a user using the Blackberry Manager console (A user created in Domino Admin) but when executing the command I get "error code -21: User doesnt exists".After a few attempts the BESUserAdminService and lotus domino server stops. Here are the logs that i get it in **_BBUA_*.txt file.

[30000] (06/16 11:41:25.782):{0x1EAC} Host (itc-bes-3) passed authentication.
[30000] (06/16 11:41:25.782):{0x1EAC} OnLoginClientWinAuth: Client [DOMAINNAME\Administrator] connecting to service.
[40000] (06/16 11:41:25.782):{0x1EAC} OnLoginClientWinAuth: Client role is [rim_db_admin_security]. Client is same user as service.
[40000] (06/16 11:41:25.798):{0x1EAC} ValidateAction: Permission level for operation [BBUAAppResources.domain.user.add] is [4]
[40000] (06/16 11:41:25.813):{0x1EAC} InitSubmitMessage...
[30000] (06/16 11:41:25.813):{0x1EAC} NotesSession::RestoreParamsToNotesIni: Restoring KeyFilename to notes.ini
[30000] (06/16 11:41:25.813):{0x1EAC} NotesSession::RestoreParamsToNotesIni: Restoring ServerKeyFilename to notes.ini
[10000] (06/16 11:41:25.813):{0x1EAC} NotesSession::InitIDFile: SECKFMSwitchToIDFile() failed, error = 6402
[40000] (06/16 11:41:25.813):{0x1EAC} InitSubmitMessage: bRet = :0:
[40000] (06/16 11:41:25.813):{0x1EAC} ...InitSubmitMessage
[40000] (06/16 11:41:25.813):{0x1EAC} GetUserAddressInfo: Could not get address info for user [CN=Sadiq Syed/O=DOMAINNAME@DOMAINNAME] (Server [CN=itc-bes-3/O=DOMAINNAME]).
[40000] (06/16 11:41:25.813):{0x1EAC} OnAddUser: Could not find user [CN=Sadiq Syed/O=DOMAINNAME@DOMAINNAME].

any inputs on what could be the problem ?
   
Reply With Quote
Sponsored Links
Please Login or Register to Remove these Advertisements!

  (#2 (permalink)) Old
hdawg Offline
BlackBerry Genius
 
hdawg's Avatar
 
Posts: 5,495
Join Date: Aug 2006
Model: hdawg
Carrier: hdawg
Default 06-16-2008, 09:01 PM

It looks like the User Admin Service could not get address info for "Sadiq Syed". Can you see this user in your directory with the id of the user the User Admin Service is using?

I unfortunately don't know enough about the Domino directory to speak authoritatively ...
   
Reply With Quote
  (#3 (permalink)) Old
BBamateurUser Offline
Knows Where the Search Button Is
 
Posts: 15
Join Date: Feb 2008
Model: 7100g
PIN: N/A
Carrier: Bharti Airtel
Default 06-17-2008, 02:14 AM

The logs does hint so .. but i m still able to add the user (Syed Sadiq) from BLackberry manager console.
The error i guess is some where here :

NotesSession::RestoreParamsToNotesIni: Restoring ServerKeyFilename to notes.ini
[10000] (06/16 11:41:25.813):{0x1EAC} NotesSession::InitIDFile: SECKFMSwitchToIDFile() failed, error = 6402

Can some one throw light on the what this error means ?
Google didnt help much !!
   
Reply With Quote
  (#4 (permalink)) Old
hdawg Offline
BlackBerry Genius
 
hdawg's Avatar
 
Posts: 5,495
Join Date: Aug 2006
Model: hdawg
Carrier: hdawg
Default 06-17-2008, 07:18 AM

Quote:
Originally Posted by BBamateurUser View Post
The logs does hint so .. but i m still able to add the user (Syed Sadiq) from BLackberry manager console.
The error i guess is some where here :

NotesSession::RestoreParamsToNotesIni: Restoring ServerKeyFilename to notes.ini
[10000] (06/16 11:41:25.813):{0x1EAC} NotesSession::InitIDFile: SECKFMSwitchToIDFile() failed, error = 6402

Can some one throw light on the what this error means ?
Google didnt help much !!
Google Search ... < that mean anything?
   
Reply With Quote
  (#5 (permalink)) Old
Jadey Offline
BBF Moderator
 
Jadey's Avatar
 
Posts: 941
Join Date: Oct 2006
Location: London UK
Model: 8110
OS: 4.5.0.69
PIN: OT GRIGIO pls!
Carrier: T-Mobile UK
Default 06-18-2008, 09:16 AM

Sorry, just to clarify, are you only getting errors via the BESUserAdminClient?

Or do you get errors also when using BB Manager?


Jadey
Domino BES Admin, London UK
BlackBerry® Certified Server Support Specialist
   
Reply With Quote
  (#6 (permalink)) Old
Jadey Offline
BBF Moderator
 
Jadey's Avatar
 
Posts: 941
Join Date: Oct 2006
Location: London UK
Model: 8110
OS: 4.5.0.69
PIN: OT GRIGIO pls!
Carrier: T-Mobile UK
Default 06-18-2008, 09:17 AM

(Please also post your BES version and Domino version)


Jadey
Domino BES Admin, London UK
BlackBerry® Certified Server Support Specialist
   
Reply With Quote
  (#7 (permalink)) Old
BBamateurUser Offline
Knows Where the Search Button Is
 
Posts: 15
Join Date: Feb 2008
Model: 7100g
PIN: N/A
Carrier: Bharti Airtel
Default BES Version,Domino Version - 06-19-2008, 01:35 AM

My BES Version is 4.1.4.15
My domino version is 7.0.3
My BRK version is 4.1.4.8
Environment is Windows 2003 SP1
   
Reply With Quote
  (#8 (permalink)) Old
BBamateurUser Offline
Knows Where the Search Button Is
 
Posts: 15
Join Date: Feb 2008
Model: 7100g
PIN: N/A
Carrier: Bharti Airtel
Default 06-19-2008, 01:37 AM

I m getting the error only with BESUserAdminClient
With BES Manager it works fine, infact i have a few devices, which have been successfully enterprise activated
   
Reply With Quote
  (#9 (permalink)) Old
BBamateurUser Offline
Knows Where the Search Button Is
 
Posts: 15
Join Date: Feb 2008
Model: 7100g
PIN: N/A
Carrier: Bharti Airtel
Default Installing BESUserAdminService - 06-19-2008, 01:45 AM

While installing BESUserAdminService, it asks for path to notes.ini file.
Why do we need to specify the path here ?
Do we need to specify the path to lotus\domino\notes.ini or
lotus\notes\notes.ini
[The entire infrastructure is one the same machine. We are only doing a prototyping hence we installed lotus domino server, lotus notes, lotus administrator and BES Server all on one machine.]

Even if i specify a wrong path, BESUserAdminClient works fine except for add user operation.

Do notes.ini have any significance in this context ? Does it do the job of what MAPI Profile does in case of exchange ?
Does add user command has anything to do with notes.ini file ?

I Feel the problem is with notes.ini as the logs spits something related to that

[30000] (06/18 16:30:31.531):{0x938} NotesSession::RestoreParamsToNotesIni: Restoring KeyFilename to notes.ini
[30000] (06/18 16:30:31.531):{0x938} NotesSession::RestoreParamsToNotesIni: Restoring ServerKeyFilename to notes.ini
[10000] (06/18 16:30:31.531):{0x938} NotesSession::InitIDFile: SECKFMSwitchToIDFile() failed, error = 6402

[40000] (06/18 16:30:31.531):{0x938} InitSubmitMessage: bRet = :0:

Any lead would be very useful !!
   
Reply With Quote
  (#10 (permalink)) Old
Jadey Offline
BBF Moderator
 
Jadey's Avatar
 
Posts: 941
Join Date: Oct 2006
Location: London UK
Model: 8110
OS: 4.5.0.69
PIN: OT GRIGIO pls!
Carrier: T-Mobile UK
Default 06-19-2008, 05:19 AM

What's the latest version of BRK available?


Jadey
Domino BES Admin, London UK
BlackBerry® Certified Server Support Specialist
   
Reply With Quote
  (#11 (permalink)) Old
Jadey Offline
BBF Moderator
 
Jadey's Avatar
 
Posts: 941
Join Date: Oct 2006
Location: London UK
Model: 8110
OS: 4.5.0.69
PIN: OT GRIGIO pls!
Carrier: T-Mobile UK
Default 06-19-2008, 05:21 AM

Quote:
Originally Posted by BBamateurUser View Post
[The entire infrastructure is one the same machine. We are only doing a prototyping hence we installed lotus domino server, lotus notes, lotus administrator and BES Server all on one machine.]
Erm, well this is certainly an interesting config. And HIGHLY un-recommended! Wow, any other Domino Admins wanna jump in on this one?


Jadey
Domino BES Admin, London UK
BlackBerry® Certified Server Support Specialist
   
Reply With Quote
  (#12 (permalink)) Old
BBamateurUser Offline
Knows Where the Search Button Is
 
Posts: 15
Join Date: Feb 2008
Model: 7100g
PIN: N/A
Carrier: Bharti Airtel
Default BRK Version - 06-19-2008, 05:22 AM

The latest version of BRK available from RIM Site is brk-besuseradminx4.1.5.14.exe

and i m using brk-besuseradmin4.1.4.8.exe
   
Reply With Quote
  (#13 (permalink)) Old
BBamateurUser Offline
Knows Where the Search Button Is
 
Posts: 15
Join Date: Feb 2008
Model: 7100g
PIN: N/A
Carrier: Bharti Airtel
Default Hmm..Environment issues - 06-19-2008, 05:26 AM

I have installed MSExchange - BES Combintaion before and it didnt give problems. Actual putting all in the same machine, avoids lots of issues related to file permission,etc.
Guess i wud end up doing as recommended in BES docs
   
Reply With Quote
  (#14 (permalink)) Old
Jadey Offline
BBF Moderator
 
Jadey's Avatar
 
Posts: 941
Join Date: Oct 2006
Location: London UK
Model: 8110
OS: 4.5.0.69
PIN: OT GRIGIO pls!
Carrier: T-Mobile UK
Default 06-19-2008, 05:28 AM

Quote:
Originally Posted by BBamateurUser View Post
While installing BESUserAdminService, it asks for path to notes.ini file.
Why do we need to specify the path here ?
Do we need to specify the path to lotus\domino\notes.ini or
lotus\notes\notes.ini
[The entire infrastructure is one the same machine. We are only doing a prototyping hence we installed lotus domino server, lotus notes, lotus administrator and BES Server all on one machine.]

Even if i specify a wrong path, BESUserAdminClient works fine except for add user operation.

Do notes.ini have any significance in this context ? Does it do the job of what MAPI Profile does in case of exchange ?
Does add user command has anything to do with notes.ini file ?
OK, righteo. I have no idea what a MAPI Profile in exchange does, so I cannot help you there.

Here is a "simplified" guide to notes and domino:
The underlying architecture is largely the same, in that there are two really fundamental components:
a) names.nsf
b) notes.ini
Both of those files hold important configuration information for the domino or notes installation - those filenames are the same for the server (domino) or client (notes).

Each installation of notes/domino requires it's own notes.ini. I have no idea which paths you have used to install domino/notes/admin/designer, hopefully you have some clear separation.

There are several points to note here:
a) It is not recommended to install BES on your primary domino server. Setup a separate domino server for BES.
b) It is not recommended to install the notes client on a box running the domino server

I'd have to look into the BESUserAdminService to answer more fully, but FYI you listed 2 paths:

lotus\domino\notes.ini ---> This path implies it is the domino server's file
lotus\notes\notes.ini ---> This path implies it is the notes client's file


Jadey
Domino BES Admin, London UK
BlackBerry® Certified Server Support Specialist
   
Reply With Quote
  (#15 (permalink)) Old
Jadey Offline
BBF Moderator
 
Jadey's Avatar
 
Posts: 941
Join Date: Oct 2006
Location: London UK
Model: 8110
OS: 4.5.0.69
PIN: OT GRIGIO pls!
Carrier: T-Mobile UK
Default 06-19-2008, 05:31 AM

Are you running the BlackBerry User Admin tool on the same server as BES?


Jadey
Domino BES Admin, London UK
BlackBerry® Certified Server Support Specialist
   
Reply With Quote
  (#16 (permalink)) Old
BBamateurUser Offline
Knows Where the Search Button Is
 
Posts: 15
Join Date: Feb 2008
Model: 7100g
PIN: N/A
Carrier: Bharti Airtel
Default BESUSeradminService - 06-19-2008, 05:34 AM

yes
   
Reply With Quote
  (#17 (permalink)) Old
BBamateurUser Offline
Knows Where the Search Button Is
 
Posts: 15
Join Date: Feb 2008
Model: 7100g
PIN: N/A
Carrier: Bharti Airtel
Default All commands work except for -add user - 06-19-2008, 05:35 AM

The interesting point here is all commands of BRK are working except for add user
   
Reply With Quote
  (#18 (permalink)) Old
Jadey Offline
BBF Moderator
 
Jadey's Avatar
 
Posts: 941
Join Date: Oct 2006
Location: London UK
Model: 8110
OS: 4.5.0.69
PIN: OT GRIGIO pls!
Carrier: T-Mobile UK
Default 06-19-2008, 05:53 AM

Well, crikey. The first line of the "Requirements" section of the BBUserAdmin Tool Guide is:

Do not run the BlackBerry User Administration tool on the same computer on which the BlackBerry Enterprise Server runs.

It makes it hard to rule out odd system behaviour when your config, quite honestly, goes against every bit of best practise that exists for Domino BES!


Jadey
Domino BES Admin, London UK
BlackBerry® Certified Server Support Specialist
   
Reply With Quote
  (#19 (permalink)) Old
BBamateurUser Offline
Knows Where the Search Button Is
 
Posts: 15
Join Date: Feb 2008
Model: 7100g
PIN: N/A
Carrier: Bharti Airtel
Default Agreed - 06-19-2008, 05:55 AM

I agree. I m reinstalling all the stuff as per the best practice ..
left with no other choice
   
Reply With Quote
  (#20 (permalink)) Old
Jadey Offline
BBF Moderator
 
Jadey's Avatar
 
Posts: 941
Join Date: Oct 2006
Location: London UK
Model: 8110
OS: 4.5.0.69
PIN: OT GRIGIO pls!
Carrier: T-Mobile UK
Default 06-19-2008, 05:57 AM

Last piece of advice I will point you to:

Read the "Requirements and considerations" on the BlackBerry User Admin Tool Guide.


Jadey
Domino BES Admin, London UK
BlackBerry® Certified Server Support Specialist
   
Reply With Quote
  (#21 (permalink)) Old
hdawg Offline
BlackBerry Genius
 
hdawg's Avatar
 
Posts: 5,495
Join Date: Aug 2006
Model: hdawg
Carrier: hdawg
Default 06-19-2008, 07:27 AM

Quote:
Originally Posted by Jadey View Post
Well, crikey. The first line of the "Requirements" section of the BBUserAdmin Tool Guide is:

Do not run the BlackBerry User Administration tool on the same computer on which the BlackBerry Enterprise Server runs.

It makes it hard to rule out odd system behaviour when your config, quite honestly, goes against every bit of best practise that exists for Domino BES!
Just as a point of reference ... I ONLY run the User Admin Service / Client on an existing BES and have NEVER had a problem with it; ever.

Both Domino and Exchange.
   
Reply With Quote
  (#22 (permalink)) Old
BBamateurUser Offline
Knows Where the Search Button Is
 
Posts: 15
Join Date: Feb 2008
Model: 7100g
PIN: N/A
Carrier: Bharti Airtel
Default It worked -