The Spotfire Community is moving to TIBCOmmunity and this forum location has closed. During the transition, you can still search the old forums but posting has been disabled. We encourage you to pick up the discussion at the new Spotfire community on TIBCOmmunity.
Spotfire Server 4.5 Install - LDAP Configuration Issues!! - TIBCO Spotfire Community

Spotfire Server 4.5 Install - LDAP Configuration Issues!!

Last post Tue, Oct 2 2012 6:36 AM by andlee. 7 replies.
Page 1 of 1 (8 items)
Sort Posts: Previous Next
  • Sun, Jun 24 2012 9:41 AM

    • pgalea
    • Not Ranked
    • Joined on Thu, May 17 2012
    • Posts 1

    Spotfire Server 4.5 Install - LDAP Configuration Issues!!

    Hi, Attempted a Spotfire 4.5 Server install and subsequent LDAP configuration only to have it fail. I'm installing on a Window 2008 R2 Server, and I've written the following script: bootstrap --driver-class="com.microsoft.sqlserver.jdbc.SQLServerDriver" --database-url="jdbc:sqlserver://dbserver:1433;databaseName=spotfire_server450;" --username="spotfire450_admin" --password="p4ssw0rd_" --tool-password="p4ssw0rd_" create-default-config create-ldap-config --id="ADConfig" --type="ActiveDirectory" --servers="ldap://fatcontroller.test.testenvironment.com" --context-names="CN=Users,DC=test,DC=testenvironment,DC=com|DC=test,DC=testenvironment,DC=com" --username="test\spotfire45admin" --password="p4ssw0rd_" config-ldap-userdir --ldap-configs="ADConfig" set-userdir-mode --mode="ldap" set-auth-mode --auth-method="BASIC" --jaas-ldap import-config --tool-password="p4ssw0rd_" --comment="LDAP config 1" promote-admin --tool-password="p4ssw0rd_" --username="spotfire45admin" list-users --tool-password="p4ssw0rd_" When I run the setup using a simple batch file: del ..\webapps\spotfire\web-inf\bootstrap.xml del configuration.xml config run configscript.txt When the final command runs I can see the users coming out of the LDAP. Great. When I attempt to connect to the console via the Browser I keep getting the Basic Authentication box and I've tried every permutation of supplying the username spotfire45admin. All I want to do is have my users stored in ActiveDirectory, groups as Spotfire Groups. What am I doing wrong?
  • Wed, Sep 5 2012 11:16 AM In reply to

    • andlee
    • Top 500 Contributor
    • Joined on Wed, Sep 5 2012
    • Posts 5

    Re: Spotfire Server 4.5 Install - LDAP Configuration Issues!!

    I tried the similar route as you did, didn't work for me at the beginning. And then, I change the ldap config id to "default". --id="default". And it works for me. Everything worked great until today (nothing has been changed tough): Users suddenly can not login. I checked the ldap setting with command "list-ldap-config", output looks fine to me. No good server logs. I check ActiveDirectory, everything looks fine. Well, I have no idea how to troubleshoot now. I think the new cli way to configure ldap is still missing some useful features: 1. a command to test a user login. 2. list-ldap-config doesn't show all the values you put in, at least, it misses the filters.
  • Wed, Sep 5 2012 11:20 AM In reply to

    • andlee
    • Top 500 Contributor
    • Joined on Wed, Sep 5 2012
    • Posts 5

    Re: Spotfire Server 4.5 Install - LDAP Configuration Issues!!

    Hi, Tibco Spotfire Community Administrators: Can you work on the format of the posts? Putting all words in to one paragraph is hard for other people to read. Thanks.
  • Thu, Sep 6 2012 1:19 AM In reply to

    Re: Spotfire Server 4.5 Install - LDAP Configuration Issues!!

    You can use the HTML BR tag to do a line break


    like this.
  • Thu, Sep 6 2012 9:18 AM In reply to

    • andlee
    • Top 500 Contributor
    • Joined on Wed, Sep 5 2012
    • Posts 5

    Re: Spotfire Server 4.5 Install - LDAP Configuration Issues!!

    Talked to Spotfire support. They are very helpful. As long as debug mode is on, I am able to see what is going on clearly. In fact, our IT department have been moving user from one OU to a different OU. Well, you can enable debugging mode:
    1. Open the following file in a text/xml editor:
    --- [server install dir]\tomcat\webapps\spotfire\WEB-INF\web.xml 
    
    2. Look for the param-name called "com.spotfire.logging.config.file".
    
    3. Set the the param-value for com.spotfire.logging.config.file to  /../META-INF/log4j-debug.properties.
    
    4. Restart the TIBCO Spotfire Server Service for the changes to take effect.
    
    Please replicate the issue and send us the complete logs folder
    
    Note: It is only recommended to run the server at an elevated logging level while troubleshooting. For normal use, "/../META-INF/log4j.properties" is the recommended setting to use.
    
  • Thu, Sep 6 2012 9:19 AM In reply to

    • andlee
    • Top 500 Contributor
    • Joined on Wed, Sep 5 2012
    • Posts 5

    Re: Spotfire Server 4.5 Install - LDAP Configuration Issues!!

    Thanks. Good to know that this supports HTML.
    Thanks
  • Tue, Oct 2 2012 6:05 AM In reply to

    Re: Spotfire Server 4.5 Install - LDAP Configuration Issues!!

     This would have been an easy fix, had they not taken away the Configuration Console...Sorry just venting

    Im Just a woman with a purpose
  • Tue, Oct 2 2012 6:36 AM In reply to

    • andlee
    • Top 500 Contributor
    • Joined on Wed, Sep 5 2012
    • Posts 5

    Re: Spotfire Server 4.5 Install - LDAP Configuration Issues!!

    Understand and agree.
Page 1 of 1 (8 items)
©Copyright 2000-2011 TIBCO Software Inc | Privacy Policy | Terms of Use I Blog I Contact Us I Content Center