public LsaPolicyHandle ( DcerpcHandle handle, String server, int access ) throws IOException { this.handle = handle; if ( server == null ) { server = "\\\\"; } MsrpcLsarOpenPolicy2 rpc = new MsrpcLsarOpenPolicy2(server, access, this); handle.sendrecv(rpc); if ( rpc.retval != 0 ) { throw new SmbException(rpc.retval, false); } this.opened = true; }
public LsaPolicyHandle ( DcerpcHandle handle, String server, int access ) throws IOException { this.handle = handle; if ( server == null ) { server = "\\\\"; } MsrpcLsarOpenPolicy2 rpc = new MsrpcLsarOpenPolicy2(server, access, this); handle.sendrecv(rpc); if ( rpc.retval != 0 ) { throw new SmbException(rpc.retval, false); } this.opened = true; }
public LsaPolicyHandle(DcerpcHandle handle, String server, int access) throws IOException { if (server == null) server = "\\\\"; MsrpcLsarOpenPolicy2 rpc = new MsrpcLsarOpenPolicy2(server, access, this); handle.sendrecv(rpc); if (rpc.retval != 0) throw new SmbException(rpc.retval, false); }
public LsaPolicyHandle(DcerpcHandle handle, String server, int access) throws IOException { if (server == null) server = "\\\\"; MsrpcLsarOpenPolicy2 rpc = new MsrpcLsarOpenPolicy2(server, access, this); handle.sendrecv(rpc); if (rpc.retval != 0) throw new SmbException(rpc.retval, false); }
public LsaPolicyHandle(DcerpcHandle handle, String server, int access) throws IOException { if (server == null) server = "\\\\"; MsrpcLsarOpenPolicy2 rpc = new MsrpcLsarOpenPolicy2(server, access, this); handle.sendrecv(rpc); if (rpc.retval != 0) throw new SmbException(rpc.retval, false); }
public LsaPolicyHandle(DcerpcHandle handle, String server, int access) throws IOException { if (server == null) server = "\\\\"; MsrpcLsarOpenPolicy2 rpc = new MsrpcLsarOpenPolicy2(server, access, this); handle.sendrecv(rpc); if (rpc.retval != 0) throw new SmbException(rpc.retval, false); }