Jul 2, 2004 #1 collierd MIS Dec 19, 2001 509 DE Hello Can this be automated rather than having to run access manager config wizard every time to point to a different server Thanks Damian.
Hello Can this be automated rather than having to run access manager config wizard every time to point to a different server Thanks Damian.
Jul 2, 2004 2 #2 flex13 Vendor May 6, 2003 364 CA Here you go. Don't forget to take out the line breaks. Sub Main() Dim objAutoConfigApp as Object Dim objDSConfig as Object Set objAutoConfigApp = CreateObject ("AutoConfiguration.Application") Set objDSConfig = objAutoConfigApp.DSConfigurations.Add("HumanResources", 389, "o=Cognos, c=CA", 0) Set objAutoConfigApp = Nothing Set objDSConfig = Nothing End Sub Upvote 0 Downvote
Here you go. Don't forget to take out the line breaks. Sub Main() Dim objAutoConfigApp as Object Dim objDSConfig as Object Set objAutoConfigApp = CreateObject ("AutoConfiguration.Application") Set objDSConfig = objAutoConfigApp.DSConfigurations.Add("HumanResources", 389, "o=Cognos, c=CA", 0) Set objAutoConfigApp = Nothing Set objDSConfig = Nothing End Sub
Jul 2, 2004 Thread starter #3 collierd MIS Dec 19, 2001 509 DE Thanks Where do I put the server name into this routine Upvote 0 Downvote
Jul 2, 2004 Thread starter #4 collierd MIS Dec 19, 2001 509 DE ok, got it replace "Human Resources" with the server name and "o=Cognos ..." with the base DN org and country Thanks Damian. Upvote 0 Downvote
ok, got it replace "Human Resources" with the server name and "o=Cognos ..." with the base DN org and country Thanks Damian.
Jul 2, 2004 #5 flex13 Vendor May 6, 2003 364 CA Sorry about that, I forgot to replace the servername. Upvote 0 Downvote