Keeping Client Passwords in sync between servers

Post Reply
Kaveenga
Posts: 59
Joined: Mon Jun 02, 2008 8:49 pm
OLAP Product: TM1 Palo
Version: TM1 9.x Palo 3.2
Excel Version: 2003 2007 2010

Keeping Client Passwords in sync between servers

Post by Kaveenga »

Hi

Need some advice.

We now have a multi (4) server environment, and I'm seeking best/proven practice to keep the client passwords in sync between the 4 servers.

I currently have an overnight chore which outputs the clients, groups, and other security settings from the primary server to a txt file, and then executes processes on the other servers to update themselves. This works fine for security data and ClientProperties except passwords.

In version 9 I used to be able to copy the encrypted password text and paste it in another server and it worked. However, in 9.5.1 this no longer works, probably due to unicode.

Any solutions, pointers much appreciated.

Kind regards

Kavee :?:
User avatar
Martin Ryan
Site Admin
Posts: 2003
Joined: Sat May 10, 2008 9:08 am
OLAP Product: TM1
Version: 10.1
Excel Version: 2010
Location: Wellington, New Zealand
Contact:

Re: Keeping Client Passwords in sync between servers

Post by Martin Ryan »

What about using integrated login, so you don't even required passwords.
Please do not send technical questions via private message or email. Post them in the forum where you'll probably get a faster reply, and everyone can benefit from the answers.
Jodi Ryan Family Lawyer
declan.rodger
Posts: 2
Joined: Tue Jun 14, 2011 8:30 pm
OLAP Product: TM1
Version: 9.5
Excel Version: 2003

Re: Keeping Client Passwords in sync between servers

Post by declan.rodger »

You could have a TM1 Chore or Windows Scheduled Task initiate a batch file that would transfer the ClientProperties.cub from one Server to the others.

This would however require that the other servers were stopped and started for them to start utilising the new Client Passwords, a NetStop and Start could also be initiated overnight through a scheduled task (assuming there is a time at night when no one uses the service and that you have full privileges otherwise you could end up in an endless battle trying to get your IT department to understand the requirement/concept.)
lotsaram
MVP
Posts: 3706
Joined: Fri Mar 13, 2009 11:14 am
OLAP Product: TableManager1
Version: PA 2.0.x
Excel Version: Office 365
Location: Switzerland

Re: Keeping Client Passwords in sync between servers

Post by lotsaram »

I would go with the suggestion of using integrated login and do away with TM1 passwords for end users alltogether. (You could also use CAM to keep things in sync but from what I have seen it's a right PITA compared to integrated login.)

For other methods the suggestion of a master }ClientProperties cube and syncing the entire cube is unfortunately the only viable alternative. I have tried in the past to export out the }ClientProperties cube as a text file. The export is fine, the problem is that on import the encryption algorithm will have converted some entered characters into non-printable ASCII characters that TI will interpret as file termination characters if the password field is read on the way back in (you will fine the processing will abruptly terminate when the first password containing the file terminator character is encountered.) The same issue occurs if you export the encrypted password field into a relational table and read back out or if you try to read directly with ODBO. You can open a text dump directly in Excel and DBSS the encrypted string straight into the client properties cube but this strikes me as being a non viable solution for any IT shop.
David Usherwood
Site Admin
Posts: 1458
Joined: Wed May 28, 2008 9:09 am

Re: Keeping Client Passwords in sync between servers

Post by David Usherwood »

Bit artificial - but what about converting the encrypted password into numeric format using CODE, output to file, then reassemble with CHAR?
lotsaram
MVP
Posts: 3706
Joined: Fri Mar 13, 2009 11:14 am
OLAP Product: TableManager1
Version: PA 2.0.x
Excel Version: Office 365
Location: Switzerland

Re: Keeping Client Passwords in sync between servers

Post by lotsaram »

David Usherwood wrote:Bit artificial - but what about converting the encrypted password into numeric format using CODE, output to file, then reassemble with CHAR?
Doable, but your would have to do this in an external program that won't have a fit when a file termination character is encountered, TI is not an option due to the issue already mentioned.

Possibly it is fixed in 9.5.2 but the last time I tried to substring the encrypted password field with a rulein 9.5.1 it reliably crashed the server as soon as a view was refreshed that contained a rule derived value that had anything to do with a password field that contained a file terminator (that is Long(pwd) is OK but SubSt(pwd) will bring down the server if it contains such a character. So rules are no good either.
Kaveenga
Posts: 59
Joined: Mon Jun 02, 2008 8:49 pm
OLAP Product: TM1 Palo
Version: TM1 9.x Palo 3.2
Excel Version: 2003 2007 2010

Re: Keeping Client Passwords in sync between servers

Post by Kaveenga »

Thanks all for your suggestions.

Intergrated login is not an option yet as the TM1 servers and client PC are held in 2 seperate domains, and TM1 can't perform cross domain authetication (or so I've been told). IBM and a couple of other consultancies looked into it and said it can't be done. :(

The resolution, as suggested by the forum :) , was to copy the clientproperties.cub treating the reporting server as the star and the other servers as planets.

Cheers

Kavee
Post Reply