<?xml version="1.0"?>
<rss version="2.0">
<channel>
<title>Thycotic Community - Secret Server - Server Admin Passwords - Messages</title>
<link>http://www.thycotic.com/forums/messages.aspx?TopicID=248</link>
<description>Thycotic Community - Secret Server - Server Admin Passwords - Messages</description>
<language>en-us</language>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<generator>Jitbit AspNetForum</generator>
<pubDate>Tue, 09 Feb 2010 14:44:34 GMT</pubDate>
<lastBuildDate>Tue, 09 Feb 2010 14:44:34 GMT</lastBuildDate>
<item>
<link>http://www.thycotic.com/forums/messages.aspx?TopicID=248</link>
<title>Message from Michael B</title>
<description><![CDATA[Looking forward to version 7.0<br/><br/>Do you have an expected release date?<br/><br/>The Remote Password Changing Add-On is not going to help us initially where our large server fleet has about 5 well know local admin passwords.<br/><br/>Writing the powershell script will help us add our entire server fleet to Secret Server, and the slightly adapted version will help us ensure that all future servers are added. <br/><br/>Password changing for the local admin on each server is not a huge issue, because they will be set to strong 25 charater passwords. This will certainly encourage our admins to use their OWN credentials, which fixes our audit trail too. The aim is to never need these passwords. If the password is never viewed, I see little point in resetting it.<br/><br/>I love the idea of the Remote Password Change, but in my case its not the right piece to the puzzle.]]></description>
<pubDate>Tue, 09 Feb 2010 14:44:34 GMT</pubDate>
</item>
<item>
<link>http://www.thycotic.com/forums/messages.aspx?TopicID=248</link>
<title>Message from Jonathan</title>
<description><![CDATA[Folder support in web services will be coming in 7.0 (it is needed to add folder functionality to the iPhone app).<br/><br/>Michael - this problem can be solved using our Remote Password Changing Add-On.  You could have the local admin account in Secret Server on an expiration schedule (or force expire when someone leaves) - Secret Server will then reach out to the box and change the password.  Besides Windows accounts - we also support changing passwords on AD, Oracle, SQL Server and UNIX/Linux.  (Coming soon Sybase and MySQL)]]></description>
<pubDate>Tue, 09 Feb 2010 08:38:47 GMT</pubDate>
</item>
<item>
<link>http://www.thycotic.com/forums/messages.aspx?TopicID=248</link>
<title>Message from Jeremy A</title>
<description><![CDATA[Have you considered using group policy to set the Local Administrator password?<br/><br/>That way, when a staff member leaves, you just update the single group policy object with a new updated password, and then record that in SS.]]></description>
<pubDate>Tue, 09 Feb 2010 05:17:14 GMT</pubDate>
</item>
<item>
<link>http://www.thycotic.com/forums/messages.aspx?TopicID=248</link>
<title>Message from Kevin</title>
<description><![CDATA[Hi Michael,<br/><br/>I'm sorry to say that as of the latest version of Secret Server (6.2.000013) - the webservice API does not allow specifying or updating a folder, and nor is there an API for modifying the permissions directly.<br/><br/>I'd send an email to the support team (support [at] thycotic [dot] com) and request it as a feature for a future release.]]></description>
<pubDate>Mon, 08 Feb 2010 23:24:18 GMT</pubDate>
</item>
<item>
<link>http://www.thycotic.com/forums/messages.aspx?TopicID=248</link>
<title>Message from Michael B</title>
<description><![CDATA[Almost there, I now have the things adding.<br/><br/>But they are not being added to a folder, and therefore are not inheriting permissions and cannot be searched for !?<br/><br/>Any ideas on where you get to specify the folder?<br/><br/>amazing how similar the script looks!]]></description>
<pubDate>Mon, 08 Feb 2010 23:20:22 GMT</pubDate>
</item>
<item>
<link>http://www.thycotic.com/forums/messages.aspx?TopicID=248</link>
<title>Message from Kevin</title>
<description><![CDATA[And additionally, here is a script for updating an existing secret:<br/><br/>#Helper Function<br/>function SetField($secret, [string]$fieldName, [string]$newValue)<br/>{<br/>	($secret.Items | Where {$_.FieldName -eq $fieldName}) | ForEach-Object {$_.Value = $newValue}<br/>}<br/><br/>#The URI of the webservice<br/>$URI = "&lt;a href="https://my/secret/webservice/sswebservice.asmx""&gt;https://my/secret/webservice/sswebservice.asmx"&lt;/a&gt;<br/><br/>#The name of the secret we want to update<br/>$secretName = "My New Combination Lock"<br/><br/>$ss = New-WebServiceProxy -UseDefaultCredential -uri $URI<br/><br/>#Set the correct username and password. It's recommended to use an empty string rather than "Local" for domain<br/>#If you are not using a domain account<br/>$token = $ss.Authenticate("username", "password", "", "")<br/><br/>#Get the secret we are going to update<br/>$existingSecretId = ($ss.SearchSecrets($token.Token, $secretName).SecretSummaries | Where {$_.SecretName -eq $secretName}).SecretId<br/>$existingSecret = $ss.GetSecret($token.Token, $existingSecretId).Secret<br/><br/>#Use the SetField function to set some fields<br/>$existingSecret.Name = "My Not-So-New Combination"<br/>SetField $existingSecret "Combination" "56789"<br/>SetField $existingSecret "Notes" "Updated with new combination."<br/><br/>$ss.UpdateSecret($token.Token, $existingSecret)]]></description>
<pubDate>Mon, 08 Feb 2010 23:13:42 GMT</pubDate>
</item>
<item>
<link>http://www.thycotic.com/forums/messages.aspx?TopicID=248</link>
<title>Message from Kevin</title>
<description><![CDATA[Hi Micheal,<br/><br/>That error occurs when you don't specify *all* of the fields that are in the secret template. From your example, you are sending 3 fields and 3 values. It should be the same as the template.<br/><br/>Also, this error can occur when you specify a field ID that isn't a field ID that belongs to that template.<br/><br/>For what it's worth, here is one I wrote a while back - not so different from yours.<br/><br/>#Helper Function<br/>function FieldId($template, [string]$name)<br/>{<br/>	Return ($template.Fields | Where {$_.DisplayName -eq $name}).Id<br/>}<br/><br/>#The URI of the webservice<br/>$URI = "&lt;a href="https://my/secret/webservice/sswebservice.asmx""&gt;https://my/secret/webservice/sswebservice.asmx"&lt;/a&gt;<br/><br/>#The name of the secret template we are going to use.<br/>$templateName = "Combination Lock"<br/><br/>$ss = New-WebServiceProxy -UseDefaultCredential -uri $URI<br/><br/>#Set the correct username and password. It's recommended to use an empty string rather than "Local" for domain<br/>$token = $ss.Authenticate("username", "password", "", "")<br/><br/>if ($token.Errors.Length -gt 0)<br/>{<br/>	echo $token.Errors<br/>	Return<br/>}<br/><br/>#Get the template for the secret we are adding<br/>$template = $ss.GetSecretTemplates($token.Token).SecretTemplates | Where {$_.Name -eq $templateName}<br/>if ($template.Errors.Length -gt 0)<br/>{<br/>	echo $template.Errors<br/>}<br/><br/>#Build an array of field ID's from the template. Call the Helper function<br/>#To get the ID of the field. Add and change fields as required by the template<br/>#You will be using<br/>$fields = ((FieldId $template "Combination"), (FieldId $template "Notes"))<br/><br/>#Build and array of the values of the field. They must be in the same order as<br/>#the fields in the $fields value.<br/>$fieldValues = ("1234", "Add some more notes here.")<br/><br/>$result = $ss.AddSecret($token.Token, $template.Id, "My New Combination Lock", $fields, $fieldValues)<br/>echo $result.Errors]]></description>
<pubDate>Mon, 08 Feb 2010 22:26:06 GMT</pubDate>
</item>
<item>
<link>http://www.thycotic.com/forums/messages.aspx?TopicID=248</link>
<title>Message from Michael B</title>
<description><![CDATA[I have hit a snag with using the webservice:<br/><br/><br/>Here is my powershell script:<br/><br/>$URI = "&lt;a href="https://secretserver.mycompany.local/webservices/sswebservice.asmx?WSDL""&gt;https://secretserver.mycompany.local/webservices/sswebservice.asmx?WSDL"&lt;/a&gt;<br/>$ss = New-WebServiceProxy -UseDefaultCredential -uri $URI<br/><br/>$auth = $ss.Authenticate("serviceadd", "Password123","","Local")<br/><br/><br/>#show the token number<br/>#$auth.token<br/><br/><br/>#set the values up<br/>$secretName = "secretblah.mycompany.local"<br/>$secretTypeId = [int] 6010<br/>$secretFieldIds=10,11,12<br/>$secretItemValues="secretblah","admin","pwgoeshere"<br/><br/><br/>$ss.AddSecret($auth.token, $secretTypeId, $secretName, $secretFieldIDs, $secretItemValues)<br/><br/><br/>This is the error:<br/>Errors                                                      Secret<br/>------                                                      ------<br/>{Secret Template is out of date.}<br/>]]></description>
<pubDate>Mon, 08 Feb 2010 21:13:23 GMT</pubDate>
</item>
<item>
<link>http://www.thycotic.com/forums/messages.aspx?TopicID=248</link>
<title>Message from Michael B</title>
<description><![CDATA[I would like to request some help in writing a powershell script, I think that it would be very useful for others.<br/><br/>Scenario:<br/>A server is built by an automated process, during the build the "Administrator" password for the server is set to a generic vaule.<br/><br/>Issue:<br/>Staff leave the organisation and take the password with them, staff choose to use the local administrator password instead of their domain credentials.<br/><br/>Fix:<br/>Have each server run a powershell script. This script will run in the context of a domain account. The domain account will have write access to secret server.<br/><br/>The script will:<br/>Generate a password<br/>Reset the Local Administrator password<br/>Submit the password to Secret Server to be stored later.<br/><br/>Admins will find their own way to incorporate the script into their environment, as each orgs build process is unique.<br/><br/><br/>What I need help with:<br/>Submitting details to secret server via powershell]]></description>
<pubDate>Mon, 08 Feb 2010 17:29:42 GMT</pubDate>
</item>
</channel>
</rss>
