FileDocCategorySizeDatePackage
SamrPolicyHandle.javaAPI DocJCIFS 1.3.17 API1647Tue Oct 18 15:26:24 BST 2011jcifs.dcerpc.msrpc

SamrPolicyHandle

public class SamrPolicyHandle extends rpc.policy_handle

Fields Summary
Constructors Summary
public SamrPolicyHandle(DcerpcHandle handle, String server, int access)

        if (server == null)
            server = "\\\\";
        MsrpcSamrConnect4 rpc = new MsrpcSamrConnect4(server, access, this);
        try {
            handle.sendrecv(rpc);
        } catch (DcerpcException de) {
            if (de.getErrorCode() != DcerpcError.DCERPC_FAULT_OP_RNG_ERROR)
                throw de;

            MsrpcSamrConnect2 rpc2 = new MsrpcSamrConnect2(server, access, this);
            handle.sendrecv(rpc2);
        }
    
Methods Summary
public voidclose()