Skip to main content
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  IBM Sametime Forum

IBM Sametime Forum

developerWorks

  

Sign in to participate PreviousPrevious NextNext


Alexander Novak 2.Jul.12 06:01 AM a Web browser
Sametime Standard 8.5.2 IFR1; 8.5.2 Windows


I have a question about the business card function inside sametime.

a customer switches from ST domino authentication to ST ldap authentication for ST System Console support.

With the old ST Domino authentication he uses the business card with a dual repository.
1st Storage Type = Domino
Details are Mailaddress & Name
2nd Storage Type=LDAP (open LDAP)
Details are telephone, location, title, company AND photo

So the business card shows picture and other information from the open LDAP.

In the new ST Ldap environment i now try to configure the business card also with a dual repository BUT both are LDAP.
1st Storage Type = LDAP (Domino)
Details are Mailaddress & Name
2nd Storage Type=LDAP (open LDAP)
Details are telephone, location, title, company AND photo

<Storage type="LDAP">
<StorageDetails HostName="domldap.xxx.xxx" Port="389" UserName="" Password="" SslEnabled="false" SslPort="636" BaseDN="" Scope="2" SearchFilter="(&amp;(objectclass=organizationalPerson)(|(cn=%s)(givenname=%s)(sn=%s)(mail=%s)(uid=%s)(displayname=%s)))"/>
<SslProperties KeyStorePath="" KeyStorePassword=""/>
<Details>
<Detail Id="MailAddress" FieldName="mail" Type="text/plain"/>
<Detail Id="Name" FieldName="cn" Type="text/plain"/>
</Details>
</Storage>
<Storage type="LDAP">
<StorageDetails HostName="openldap.xxx.xxx" Port="389" UserName="" Password="" SslEnabled="false" SslPort="636" BaseDN="ou=people,dc=company,dc=com" Scope="2" SearchFilter="(&amp;(objectclass=candaPerson)(candaPrefMail=%s))"/>
<SslProperties KeyStorePath="" KeyStorePassword=""/>
<Details>
<Detail Id="Telephone" FieldName="telephoneNumber" Type="text/plain"/>
<Detail Id="Location" FieldName="l,roomNumber" Type="text/plain"/>
<Detail Id="Title" FieldName="departmentNumber" Type="text/plain"/>
<Detail Id="Company" FieldName="o" Type="text/plain" />
</Details>
</Storage>
</Resources>

It seems the second entry is ignored by the UserInfo servlet and no data from the Open LDAP Directory will be shown.
But there is a comment inside the userinfoconfig.xml that you could add another Storage tag form other ldap server ....
"<!-- Add another StorageDetails tag to support another ldap server. The listing order implies the searching order -->"

I also tried to configure the userinfoconfig.xml directly with the open ldap (instead of domino LDAP)
Storage Type=LDAP (open LDAP)
Details are mailaddress, name, telephone, location, title, company AND photo
BUT it failes - it seems the UserInfo servlet makes a fallback to the LDAP directory configured inside the stconfig.nsf (see debug below).

Testing the business card servlet via browser http://stserverurl/servlet/UserInfoServlet?operation=3&setid=1&userid= shows me only information from the dominoldap.

Any ideas ?

Debug from the userinfoservlet
[ 09:24:32.329 | 29.06.2012 | INFO | main ] : UserInfoLogger : info : Initializing UserInfo SA
[ 09:24:32.345 | 29.06.2012 | INFO | main ] : UserInfoLogger : info : openning storage 0 for storage type LDAP
[ 09:24:32.345 | 29.06.2012 | INFO | main ] : UserInfoLogger : info : openning provider host=openldap.xxx.xxx port=389(&(objectclass=candaPerson)(candaPrefMail=%s)) storage num=0
[ 09:24:32.345 | 29.06.2012 | INFO | main ] : UserInfoLogger : info : opening detail id=MailAddress type=text/plain fieldName=mail storage num=0
[ 09:24:32.345 | 29.06.2012 | INFO | main ] : UserInfoLogger : info : opening detail id=Name type=text/plain fieldName=lotusDN storage num=0
[ 09:24:32.345 | 29.06.2012 | INFO | main ] : UserInfoLogger : info : opening detail id=Telephone type=text/plain fieldName=telephoneNumber storage num=0
[ 09:24:32.345 | 29.06.2012 | INFO | main ] : UserInfoLogger : info : opening detail id=Location type=text/plain fieldName=l,roomNumber storage num=0
[ 09:24:32.345 | 29.06.2012 | INFO | main ] : UserInfoLogger : info : opening detail id=Title type=text/plain fieldName=departmentNumber storage num=0
[ 09:24:32.345 | 29.06.2012 | INFO | main ] : UserInfoLogger : info : opening detail id=Company type=text/plain fieldName=o storage num=0
[ 09:24:32.345 | 29.06.2012 | INFO | main ] : UserInfoLogger : info : opening detail id=Photo type=image/jpeg fieldName=jpegPhoto storage num=0
[ 09:24:32.360 | 29.06.2012 | INFO | main ] : UserInfoLogger : info : Getting configuration - Closing storage storage num=1
[ 09:24:32.360 | 29.06.2012 | INFO | main ] : UserInfoLogger : info : Stored params set setid=0
[ 09:24:32.360 | 29.06.2012 | INFO | main ] : UserInfoLogger : info : Stored params set. values areMailAddress,Name,Title,Location,Telephone,Photo,Company
[ 09:24:32.360 | 29.06.2012 | INFO | main ] : UserInfoLogger : info : Stored params set setid=1
[ 09:24:32.360 | 29.06.2012 | INFO | main ] : UserInfoLogger : info : Stored params set. values areMailAddress,Name,Title,Location,Telephone,Photo,Company
[ 09:24:32.360 | 29.06.2012 | INFO | main ] : UserInfoLogger : info : blackbox name is com.ibm.sametime.userinfo.userinfobb.UserInfoLdapBB Max instances=5
[ 09:24:32.360 | 29.06.2012 | INFO | main ] : UserInfoLogger : info : Parsed Config File
[ 09:24:32.360 | 29.06.2012 | INFO | main ] : UserInfoLogger : info : ConfigSaData: Waiting for configuration updates
[ 09:24:32.360 | 29.06.2012 | FINEST | main ] : UserInfoLogger : finest : UserInfoSA: StUserInfo :init -end
[ 09:24:32.360 | 29.06.2012 | FINEST | main ] : UserInfoLogger : finest : UserInfoSA: StUserInfo : login -end
[ 09:24:35.293 | 29.06.2012 | WARNING | Chuck the postman's dispatching thread.3 ] : UserInfoLogger : warning : UserInfoSA: STUserInfo SA Logged out, Reason: 0x80000207
[ 09:24:35.293 | 29.06.2012 | INFO | Chuck the postman's dispatching thread.3 ] : UserInfoLogger : info : UserInfoSA: ReloginHandler - relogin Timer is started
[ 09:25:35.307 | 29.06.2012 | INFO | White Rabbit (Timer). 1 ] : UserInfoLogger : info : UserInfoSA: trying reconnection to server using timer operation
[ 09:25:35.307 | 29.06.2012 | FINEST | White Rabbit (Timer). 1 ] : UserInfoLogger : finest : UserInfoSA: StUserInfo : login -end
[ 09:25:38.739 | 29.06.2012 | WARNING | Chuck the postman's dispatching thread.3 ] : UserInfoLogger : warning : UserInfoSA: STUserInfo SA Logged out, Reason: 0x80000207
[ 09:25:38.739 | 29.06.2012 | INFO | Chuck the postman's dispatching thread.3 ] : UserInfoLogger : info : UserInfoSA: ReloginHandler - relogin Timer is started
[ 09:26:38.752 | 29.06.2012 | INFO | White Rabbit (Timer). 2 ] : UserInfoLogger : info : UserInfoSA: trying reconnection to server using timer operation
[ 09:26:38.752 | 29.06.2012 | FINEST | White Rabbit (Timer). 2 ] : UserInfoLogger : finest : UserInfoSA: StUserInfo : login -end
[ 09:26:40.780 | 29.06.2012 | WARNING | Chuck the postman's dispatching thread.3 ] : UserInfoLogger : warning : UserInfoSA: STUserInfo SA Logged out, Reason: 0x80000207
[ 09:26:40.780 | 29.06.2012 | INFO | Chuck the postman's dispatching thread.3 ] : UserInfoLogger : info : UserInfoSA: ReloginHandler - relogin Timer is started
[ 09:27:40.794 | 29.06.2012 | INFO | White Rabbit (Timer). 3 ] : UserInfoLogger : info : UserInfoSA: trying reconnection to server using timer operation
[ 09:27:40.794 | 29.06.2012 | FINEST | White Rabbit (Timer). 3 ] : UserInfoLogger : finest : UserInfoSA: StUserInfo : login -end
[ 09:27:41.059 | 29.06.2012 | INFO | Chuck the postman's dispatching thread.3 ] : UserInfoLogger : info : UserInfoSA: STUserInfo SA Logged In
[ 09:27:41.059 | 29.06.2012 | INFO | Chuck the postman's dispatching thread.3 ] : UserInfoLogger : info : UserInfoSA: startThreads Number of worker threads: 5
[ 09:27:41.059 | 29.06.2012 | WARNING | Chuck the postman's dispatching thread.3 ] : UserInfoLogger : warning : UserInfoSA: Running as a servlet. Not loading service.
[ 09:27:41.059 | 29.06.2012 | INFO | Chuck the postman's dispatching thread.3 ] : UserInfoLogger : info : Configuration service enabled
[ 09:27:41.059 | 29.06.2012 | INFO | Chuck the postman's dispatching thread.3 ] : UserInfoLogger : info : configSaData: subscribeForConfigInfo: Subscribed for Ldap and userinfo data
[ 09:27:41.075 | 29.06.2012 | INFO | Chuck the postman's dispatching thread.3 ] : UserInfoLogger : info : onConfigChanged configuration event received
[ 09:27:41.075 | 29.06.2012 | INFO | Chuck the postman's dispatching thread.3 ] : UserInfoLogger : info : ConfigSaData : received config info Ldap host =domldap.xxx.xxx item:SearchOrder item value =1
[ 09:27:41.075 | 29.06.2012 | INFO | Chuck the postman's dispatching thread.3 ] : UserInfoLogger : info : ConfigSaData : received ldap info. host = domldap.xxx.xxx
[ 09:27:41.075 | 29.06.2012 | INFO | Chuck the postman's dispatching thread.3 ] : UserInfoLogger : info : ConfigSaData : received config info Ldap host =domldap.xxx.xxx item:Port item value =389
[ 09:27:41.075 | 29.06.2012 | INFO | Chuck the postman's dispatching thread.3 ] : UserInfoLogger : info : ConfigSaData : received config info Ldap host =domldap.xxx.xxx item:UserName item value =adminuser
[ 09:27:41.075 | 29.06.2012 | INFO | Chuck the postman's dispatching thread.3 ] : UserInfoLogger : info : ConfigSaData : received config info Ldap host =domldap.xxx.xxx item:Password item value =password
[ 09:27:41.075 | 29.06.2012 | INFO | Chuck the postman's dispatching thread.3 ] : UserInfoLogger : info : ConfigSaData : received ldap info. host domldap.xxx.xxx sslEnabled=false
[ 09:27:41.075 | 29.06.2012 | INFO | Chuck the postman's dispatching thread.3 ] : UserInfoLogger : info : ConfigSaData : received config info Ldap host =domldap.xxx.xxx item:SslPort item value =389
[ 09:27:41.075 | 29.06.2012 | INFO | Chuck the postman's dispatching thread.3 ] : UserInfoLogger : info : ConfigSaData : received config info Ldap host =domldap.xxx.xxx item:BaseDN item value =
[ 09:27:41.075 | 29.06.2012 | INFO | Chuck the postman's dispatching thread.3 ] : UserInfoLogger : info : ConfigSaData : received ldap info. host domldap.xxx.xxx Scope= recursive
[ 09:27:41.075 | 29.06.2012 | INFO | Chuck the postman's dispatching thread.3 ] : UserInfoLogger : info : ConfigSaData : received config info Ldap host =domldap.xxx.xxx item:UserIdAttribute item value =
[ 09:27:41.075 | 29.06.2012 | INFO | Chuck the postman's dispatching thread.3 ] : UserInfoLogger : info : ConfigSaData : received config info Ldap host =domldap.xxx.xxx item:PersonObjectClass item value =organizationalPerson
[ 09:27:41.075 | 29.06.2012 | INFO | Chuck the postman's dispatching thread.3 ] : UserInfoLogger : info : ConfigSaData : received config info Ldap host =domldap.xxx.xxx item:SearchFilter item value =(&(objectclass=organizationalPerson)(|(cn=%s)(uid=%s)(displayname=%s)(mail=%s)))
[ 09:27:41.075 | 29.06.2012 | INFO | Chuck the postman's dispatching thread.3 ] : UserInfoLogger : info : onConfigChanged configuration event received
[ 09:27:41.075 | 29.06.2012 | INFO | Chuck the postman's dispatching thread.3 ] : UserInfoLogger : info : ConfigSaData : received config info Detail nameAddress detail value =postalAddress
[ 09:27:41.075 | 29.06.2012 | INFO | Chuck the postman's dispatching thread.3 ] : UserInfoLogger : info : ConfigSaData : received config info Detail nameCompany detail value =ou
[ 09:27:41.075 | 29.06.2012 | INFO | Chuck the postman's dispatching thread.3 ] : UserInfoLogger : info : ConfigSaData : received config info Detail nameName detail value =cn
[ 09:27:41.075 | 29.06.2012 | INFO | Chuck the postman's dispatching thread.3 ] : UserInfoLogger : info : ConfigSaData : received config info Detail nameMailAddress detail value =mail
[ 09:27:41.075 | 29.06.2012 | INFO | Chuck the postman's dispatching thread.3 ] : UserInfoLogger : info : ConfigSaData : received config info Detail nameTelephone detail value =telephoneNumber
[ 09:27:41.075 | 29.06.2012 | INFO | Chuck the postman's dispatching thread.3 ] : UserInfoLogger : info : ConfigSaData : received config info Detail nameTitle detail value =title
[ 09:27:41.075 | 29.06.2012 | INFO | Chuck the postman's dispatching thread.3 ] : UserInfoLogger : info : ConfigSaData : received config info Detail namePhoto detail value =jpegPhoto
[ 09:27:41.075 | 29.06.2012 | INFO | Chuck the postman's dispatching thread.3 ] : UserInfoLogger : info : updating set number 1, set1 received from config: photo;name;company;title;telephone;emailAddress;address
[ 09:27:41.075 | 29.06.2012 | INFO | Chuck the postman's dispatching thread.3 ] : UserInfoLogger : info : ConfigSAData: unsubscribeConfigData : unsubscribe all paths
[ 09:27:41.075 | 29.06.2012 | INFO | Chuck the postman's dispatching thread.3 ] : UserInfoLogger : info : UserInfoSA: startThreads Number of worker threads: 5






Business card with dual LDAP Reposi... (Alexander Novak... 2.Jul.12)
. . RE: Business card with dual LDAP Re... (Alexander Novak... 11.Jul.12)





  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Author
Category
Platform
Release
Advanced search

 Sign In or Register
Sign in
Forgot your password?
Forgot your user name?
Create new registration

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds

Resources

 Resources
Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support

 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds

Wikis

 Wikis
IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums


 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
Notes/Domino 4 and 5
IBM Connections
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
IBM SmartCloud Meetings
IBM Web Content Manager
Lotus Domino Document Manager
Lotus e-learning
Lotus Enterprise Integration
Lotus Expeditor
Lotus Protector
Lotus Quickr
Lotus SmartSuite
Lotus Symphony
Lotus Symphony Developer Toolkit Support
Lotus Workflow