Exemplo n.º 1
0
 public override System.Security.Principal.SecurityIdentifier ConvertNameToSID(string nameToResolve)
 {
     if (sidResolver == null)
     {
         sidResolver = new LinuxSidResolver(Credential, Server);
     }
     return(sidResolver.ConvertNameToSid(nameToResolve));
 }
Exemplo n.º 2
0
 public override string ConvertSIDToName(string sidstring, out string referencedDomain)
 {
     if (sidResolver == null)
     {
         sidResolver = new LinuxSidResolver(Credential, Server);
     }
     return(sidResolver.ConvertSIDToName(sidstring, out referencedDomain));
 }
Exemplo n.º 3
0
 protected override bool ReleaseHandle()
 {
     LinuxSidResolver.cli_shutdown(this.handle);
     return(true);
 }
Exemplo n.º 4
0
 protected override bool ReleaseHandle()
 {
     LinuxSidResolver._talloc_free(this.handle);
     return(true);
 }