Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: ope.Subtree); string oracleNetDescription = Encoding.Default.GetString(des.FindOne().Properties["orclnetdescstring"][0] as byte[]); using System.DirectoryServices; ... DirectoryEntry de = new DirectoryEntry(); de.Username = "username@mysite.com"; de.Password = "password"; de.Path = "LDAP://DC=mysite,DC=com"; de.AuthenticationType = AuthenticationTypes.Secure; DirectorySearcher des = new DirectorySearcher(de); private static string ResolveServiceNameLdap(string serviceName) { string tnsAdminPath = Path.Combine(@"C: Source: http://pastebin.com/raw.php?i=v5nH307V
↧