Package | Description |
---|---|
org.alfresco.jlan.client | |
org.alfresco.jlan.client.admin | |
org.alfresco.jlan.server.auth.passthru | |
org.alfresco.jlan.server.filesys |
Modifier and Type | Method and Description |
---|---|
SMBInputStream |
SMBFile.asInputStream()
Create an input stream using this file
|
SMBOutputStream |
SMBFile.asOutputStream()
Create an output stream using this file
|
void |
CIFSDiskSession.checkForAsynchReceive(int waitTime)
Process incoming data checking for asynchronous response packets from the server
|
void |
SMBPacket.checkForError()
Check if a received SMB is valid, if not then throw an exception
|
void |
SMBFile.Close()
Close the remote file, let the remote server set the last write date/time
|
void |
CoreFile.Close(SMBDate wrDateTime)
Close the remote file.
|
abstract void |
SMBFile.Close(SMBDate wrDateTime)
Close the remote file.
|
void |
CIFSFile.Close(SMBDate wrDateTime)
Close the remote file.
|
void |
DataPipeFile.Close(SMBDate wrDateTime)
Close the remote file.
|
void |
CIFSPipeSession.CloseSession()
Close this connection with the remote server.
|
void |
Session.CloseSession()
Close this connection with the remote server.
|
void |
CoreDiskSession.CloseSession()
Close this connection with the remote server share.
|
void |
CIFSDiskSession.CloseSession()
Close this connection with the remote server share.
|
void |
IPCSession.CloseSession()
Close the connection to the IPC$ named pipe
|
void |
DiskSession.CloseSession()
Close this connection with the remote server share.
|
void |
CoreDiskSession.CreateDirectory(String dir)
Create a new directory on the remote file server.
|
void |
CIFSDiskSession.CreateDirectory(String dir)
Create a new directory on the remote file server.
|
abstract void |
DiskSession.CreateDirectory(String dir)
Create a new directory on the remote file server.
|
SMBFile |
CoreDiskSession.CreateFile(String fname)
Create and open a file on the remote file server.
|
SMBFile |
CIFSDiskSession.CreateFile(String fname)
Create and open a file on the remote file server.
|
abstract SMBFile |
DiskSession.CreateFile(String fname)
Create and open a file on the remote file server.
|
void |
CoreDiskSession.DeleteDirectory(String dir)
Delete the specified directory on the remote file server.
|
void |
CIFSDiskSession.DeleteDirectory(String dir)
Delete the specified directory on the remote file server.
|
abstract void |
DiskSession.DeleteDirectory(String dir)
Delete the specified directory on the remote file server.
|
void |
DiskSession.DeleteFile(String fname)
Delete the specified file on the remote file server.
|
void |
CoreDiskSession.DeleteFile(String fname,
int attr)
Delete the specified file on the remote server.
|
void |
CIFSDiskSession.DeleteFile(String fname,
int attr)
Delete the specified file on the remote file server.
|
abstract void |
DiskSession.DeleteFile(String fname,
int attr)
Delete the specified file on the remote file server.
|
void |
AuthenticateSession.doSessionSetup(String userName,
byte[] ascPwd,
byte[] uniPwd,
int vc)
Perform a session setup to create a session on the remote server validating the user.
|
TransactBuffer |
TransPacket.doTransaction(Session sess,
TransactBuffer tbuf)
Perform a transaction request and receive the response data
|
TransactBuffer |
NTTransPacket.doTransaction(Session sess,
TransactBuffer tbuf)
Perform a transaction request and receive the response data
|
protected void |
SMBPacket.ExchangeLowLevelSMB(NetworkSession sess,
SMBPacket rxPkt,
boolean throwerr)
Send the SMB packet and receive the response packet
|
void |
SMBPacket.ExchangeSMB(Session sess,
SMBPacket rxPkt)
Send/receive an SMB protocol packet to the remote server.
|
void |
SMBPacket.ExchangeSMB(Session sess,
SMBPacket rxPkt,
boolean throwerr)
Send the SMB packet and receive the response packet
|
static NetBIOSName |
SessionFactory.findBrowseMaster()
Find the browse master for this network.
|
void |
CoreFile.Flush()
Flush data to the remote file.
|
abstract void |
SMBFile.Flush()
Flush any buffered data for this file.
|
void |
CIFSFile.Flush()
Flush data to the remote file.
|
void |
DataPipeFile.Flush()
Flush data to the remote file.
|
DiskInfo |
CoreDiskSession.getDiskInformation()
Get disk information for this remote disk.
|
DiskInfo |
CIFSDiskSession.getDiskInformation()
Get disk information for this remote disk.
|
abstract DiskInfo |
DiskSession.getDiskInformation()
Get disk information for this remote disk.
|
static ServerList |
SessionFactory.getDomainList()
Return the list of available domains/workgroups.
|
FileInfo |
DiskSession.getFileInformation(String fname)
Get file information for the specified file, returning the default information level
|
FileInfo |
CoreDiskSession.getFileInformation(String fname,
int level)
Get file information for the specified file.
|
FileInfo |
CIFSDiskSession.getFileInformation(String fname,
int level)
Get file information for the specified file.
|
abstract FileInfo |
DiskSession.getFileInformation(String fname,
int level)
Get file information for the specified file.
|
TransactBuffer |
CIFSDiskSession.getFileInformationRaw(String fname,
int level)
Get file information for the specified file.
|
static ServerList |
SessionFactory.getLocalServerList()
Return a list of the local servers, if the local domain/workgroup can be determined.
|
static ServerList |
SessionFactory.getServerList(String domnam)
Get the list of nodes in the specified domain
|
static ServerList |
SessionFactory.getServerList(String domnam,
int srvFlags)
Get the list of nodes in the specified domain that match the node type flags.
|
VolumeInfo |
CoreDiskSession.getVolumeInformation()
Get the disk volume information
|
VolumeInfo |
CIFSDiskSession.getVolumeInformation()
Get the disk volume information
|
abstract VolumeInfo |
DiskSession.getVolumeInformation()
Get the disk volume information
|
boolean |
CoreDiskSession.isDirectory(String dir)
Check if the specified file name is a directory.
|
boolean |
CIFSDiskSession.isDirectory(String dir)
Check if the specified file name is a directory.
|
abstract boolean |
DiskSession.isDirectory(String dir)
Check if the specified file name is a directory.
|
void |
CoreFile.Lock(long offset,
long len)
Lock a range of bytes within the file
|
abstract void |
SMBFile.Lock(long offset,
long len)
Lock a range of bytes within the file
|
void |
CIFSFile.Lock(long offset,
long len)
Lock a range of bytes within the file
|
void |
DataPipeFile.Lock(long offset,
long len)
Lock a range of bytes within the file
|
abstract FileInfo |
SearchContext.nextFileInfo()
Return the next file in this search as an SMB file information object.
|
abstract String |
SearchContext.nextFileName()
Return the next file name in this search.
|
void |
CIFSDiskSession.NTCancel(AsynchRequest areq)
Cancel an outstanding request.
|
CIFSFile |
CIFSDiskSession.NTCreate(String name,
int access,
int attrib,
int sharing,
int exists,
long initSize,
int createOpt)
Perform an NTCreateAndX SMB to create/open a file or directory
|
protected CIFSFile |
CIFSDiskSession.NTCreateInternal(String name,
int createFlags,
int access,
int attrib,
int sharing,
int exists,
long initSize,
int createOpt,
boolean throwErr)
Perform an NTCreateAndX SMB to create/open a file or directory
|
CIFSFile |
CIFSDiskSession.NTCreateWithOplock(String name,
int oplockFlags,
OplockInterface oplockIface,
int access,
int attrib,
int sharing,
int exists,
long initSize,
int createOpt)
Perform an NTCreateAndX SMB to create/open a file with an oplock
|
DeviceAttributesInfo |
CIFSDiskSession.NTGetDeviceAttributes()
Get the device attributes information
|
DeviceInfo |
CIFSDiskSession.NTGetDeviceInfo()
Get the device information
|
FileInfo |
CIFSDiskSession.NTGetFileInformation(int fid,
int level)
Get file information for the specified open file/directory, returning the requested
information level
|
TransactBuffer |
CIFSDiskSession.NTGetFileInformationRaw(int fid,
int level)
Get file information for the specified open file/directory, returning the requested
information level
|
DataBuffer |
CIFSDiskSession.NTIOCtl(int ctrlCode,
int fid,
boolean fsctl,
byte[] data,
int dlen,
int filter)
NT I/O control
|
AsynchRequest |
CIFSDiskSession.NTNotifyChange(AsynchRequest areq)
Add a change notification filter for the specified directory
|
AsynchRequest |
CIFSDiskSession.NTNotifyChange(int fid,
int filter,
boolean watchTree,
DirectoryWatcher handler,
boolean autoResub)
Add a change notification filter for the specified directory
|
SecurityDescriptor |
CIFSDiskSession.NTQuerySecurityDescriptor(int fid,
int flags)
Perform an NT query security descriptor transaction for the specified file or directory
|
void |
CIFSDiskSession.NTSetDeleteOnClose(int fid,
boolean delFlag)
Set the delete on close flag for an open file
|
void |
CIFSDiskSession.NTSetEndOfFile(int fid,
long pos)
Set the end of file position for the open file
|
void |
CIFSDiskSession.NTSetFileAllocation(int fid,
long alloc)
Set the file allocation size for the open file
|
void |
CIFSDiskSession.NTSetFileInformation(FileInfo finfo,
int level)
Set file information that allows setting different information levels
|
void |
CIFSDiskSession.NTSetSecurityDescriptor(int fid,
SecurityDescriptor secdesc,
int flags)
Set the security descriptor for the specified file/directory
|
static AdminSession |
SessionFactory.OpenAdminSession(PCShare shr)
Open a connection to a remote server admin pipe
|
static AdminSession |
SessionFactory.OpenAdminSession(PCShare shr,
SessionSettings settings)
Open a connection to a remote server admin pipe
|
static AuthenticateSession |
SessionFactory.OpenAuthenticateSession(PCShare shr)
Open a session to a remote server, negotiate an SMB dialect and get the returned challenge
key.
|
static AuthenticateSession |
SessionFactory.OpenAuthenticateSession(PCShare shr,
SessionSettings settings)
Open a session to a remote server, negotiate an SMB dialect and get the returned challenge
key.
|
static DataPipeFile |
SessionFactory.OpenDataPipe(PCShare shr,
String pipeName)
Open a connection to a remote pipe/IPC, in data mode
|
static DataPipeFile |
SessionFactory.OpenDataPipe(PCShare shr,
String pipeName,
SessionSettings settings)
Open a connection to a remote pipe/IPC, in data mode
|
static DiskSession |
SessionFactory.OpenDisk(PCShare shr)
Open a connection to a remote file server disk share.
|
static DiskSession |
SessionFactory.OpenDisk(PCShare shr,
Session sess)
Open a connection to a remote file server disk share using the existing sessions network
session.
|
static DiskSession |
SessionFactory.OpenDisk(PCShare shr,
SessionSettings settings)
Open a connection to a remote file server disk share.
|
SMBFile |
CoreDiskSession.OpenFile(String fname,
int flags)
Open a file on the remote file server.
|
SMBFile |
CIFSDiskSession.OpenFile(String fname,
int flags)
Open a file on the remote file server.
|
abstract SMBFile |
DiskSession.OpenFile(String fname,
int flags)
Open a file on the remote file server.
|
SMBInputStream |
DiskSession.OpenInputStream(String fname,
int flags)
Open a file as an input stream.
|
SMBOutputStream |
DiskSession.OpenOutputStream(String fname,
int flags)
Open a file as an output stream.
|
static IPCSession |
SessionFactory.OpenPipe(PCShare shr)
Open a connection to a remote pipe/IPC
|
static IPCSession |
SessionFactory.OpenPipe(PCShare shr,
SessionSettings settings)
Open a connection to a remote pipe/IPC
|
static PrintSession |
SessionFactory.OpenPrinter(PCShare shr,
SessionSettings settings)
Open a connection to a remote print server
|
abstract SMBFile |
PrintSession.OpenSpoolFile(String id,
int mode,
int setuplen)
Open a spool file on the remote print server.
|
SMBOutputStream |
PrintSession.OpenSpoolStream(String id,
int mode,
int setuplen)
Open a spool file as an output stream.
|
void |
Session.pingServer()
Send a single echo request to the server
|
void |
Session.pingServer(int cnt)
Send an echo request to the server
|
int |
SMBFile.Read(byte[] buf)
Read a block of data from the file.
|
int |
CoreFile.Read(byte[] buf,
int siz,
int offset)
Read a block of data from the file.
|
abstract int |
SMBFile.Read(byte[] buf,
int siz,
int offset)
Read a block of data from the file.
|
int |
CIFSFile.Read(byte[] buf,
int siz,
int offset)
Read a block of data from the file.
|
int |
DataPipeFile.Read(byte[] buf,
int siz,
int offset)
Read a block of data from the file.
|
int |
DataPipeFile.Read(byte[] buf,
int siz,
int offset,
int minSiz)
Read a block of data from the file.
|
protected void |
SMBPacket.ReceiveAsynchSMB(Session sess,
int waitTime)
Receive an asynchronous SMB response from the server
|
protected void |
SMBPacket.ReceiveSMB(Session sess)
Receive an SMB packet on the spceified SMB session.
|
protected void |
SMBPacket.ReceiveSMB(Session sess,
boolean throwErr)
Receive an SMB packet on the spceified SMB session.
|
void |
SMBFile.refreshFileInformation()
Refresh the file information for an open file
|
void |
CIFSDiskSession.refreshFileInformation(SMBFile smbFile)
Refresh the file information for an open file
|
boolean |
DiskSession.RenameFile(String curnam,
String newnam)
Rename a file, or set of files, on the remote file server.
|
boolean |
CoreDiskSession.RenameFile(String curnam,
String newnam,
int attr)
Rename a file, or set of files, on the remote file server.
|
boolean |
CIFSDiskSession.RenameFile(String curnam,
String newnam,
int attr)
Rename a file, or set of files, on the remote file server.
|
abstract boolean |
DiskSession.RenameFile(String curnam,
String newnam,
int attr)
Rename a file, or set of files, on the remote file server.
|
long |
CoreFile.Seek(long pos,
int typ)
Seek to the specified point in the file.
|
abstract long |
SMBFile.Seek(long pos,
int typ)
Seek to the specified point in the file.
|
long |
CIFSFile.Seek(long pos,
int typ)
Seek to the specified point in the file.
|
long |
DataPipeFile.Seek(long pos,
int typ)
Seek to the specified point in the file.
|
static void |
SessionFactory.SendMessage(String dNode,
String msg)
Send a message to a remote user.
|
static void |
SessionFactory.SendMessage(String dNode,
String msg,
int tmo)
Send a message to a remote user.
|
void |
CIFSPipeSession.SendTransaction(TransPacket tpkt,
TransPacket rxpkt)
Send/receive an SMB transaction packet on this pipe session
|
abstract void |
IPCSession.SendTransaction(TransPacket tpkt,
TransPacket rxpkt)
Send/receive an SMB transaction packet on this pipe session
|
void |
CoreDiskSession.setFileAttributes(String fname,
int attrib)
Set file attributes for the specified file, using the file name
|
void |
CIFSDiskSession.setFileAttributes(String fname,
int attrib)
Set file attributes for the specified file, using the file name
|
abstract void |
DiskSession.setFileAttributes(String fname,
int attrib)
Set file attributes for the specified file, using the file name
|
void |
CoreDiskSession.setFileInformation(SMBFile file,
FileInfo finfo)
Set file information for the specified file, using the file id
|
void |
CIFSDiskSession.setFileInformation(SMBFile file,
FileInfo finfo)
Set file information for the specified file, using the file id
|
abstract void |
DiskSession.setFileInformation(SMBFile file,
FileInfo finfo)
Set file information for the specified file, using the file id
|
void |
CoreDiskSession.setFileInformation(String fname,
FileInfo finfo)
Set file information for the specified file.
|
void |
CIFSDiskSession.setFileInformation(String fname,
FileInfo finfo)
Set file information for the specified file.
|
abstract void |
DiskSession.setFileInformation(String fname,
FileInfo finfo)
Set file information for the specified file.
|
SearchContext |
DiskSession.StartSearch(String dir,
int attr)
Start a search of the specified directory returning the default information level
|
SearchContext |
CoreDiskSession.StartSearch(String dir,
int attr,
int level)
Start a search of the specified directory returning information for each file/directory
found.
|
SearchContext |
CIFSDiskSession.StartSearch(String dir,
int attr,
int level)
Start a search of the specified directory returning information for each file/directory
found.
|
abstract void |
SearchContext.StartSearch(String fname,
int attr,
int level)
Start a new search using the specified file name string and search attributes, return the
specified file information level
|
abstract SearchContext |
DiskSession.StartSearch(String dir,
int attr,
int level)
Start a search of the specified directory returning information for each file/directory
found.
|
void |
CoreFile.Unlock(long offset,
long len)
Unlock a range of bytes within the file
|
abstract void |
SMBFile.Unlock(long offset,
long len)
Unlock a range of bytes within the file
|
void |
CIFSFile.Unlock(long offset,
long len)
Unlock a range of bytes within the file
|
void |
DataPipeFile.Unlock(long offset,
long len)
Unlock a range of bytes within the file
|
protected void |
Session.verifyRxPacket(SMBPacket pkt)
Verify the SMB signature on an incoming SMB response
|
int |
SMBFile.Write(byte[] buf)
Write a block of data to the file.
|
int |
CoreFile.Write(byte[] buf,
int siz,
int offset)
Write a block of data to the file.
|
abstract int |
SMBFile.Write(byte[] buf,
int siz,
int offset)
Write a block of data to the file.
|
int |
CIFSFile.Write(byte[] buf,
int siz,
int offset)
Write a block of data to the file.
|
int |
DataPipeFile.Write(byte[] buf,
int siz,
int offset)
Write a block of data to the file.
|
int |
SMBFile.Write(String str)
Write a string to the file.
|
Modifier and Type | Method and Description |
---|---|
void |
InitShutPipeFile.abortShutdown()
Abort a shutdown
|
protected void |
IPCPipeFile.checkStatus(int sts)
Check the specified return status, it if is an error status then throw an exception
|
void |
SamrPipeFile.clearCaches()
Clear the domain SID and policy handle caches.
|
void |
EventlogPipeFile.closeEventlog(EventlogHandle handle)
Close the event log
|
void |
SamrPipeFile.closeHandle(PolicyHandle handle)
Close the remote SAM service
|
void |
WinregPipeFile.closeHandle(RegistryKey handle)
Close a hive or key.
|
void |
SamrPipeFile.ClosePipe()
Close the pipe
|
void |
IPCPipeFile.ClosePipe()
Close the pipe
|
void |
SvcctlPipeFile.ClosePipe()
Close the pipe
|
void |
SvcctlPipeFile.closeService(ServiceHandle handle)
Close a remote service
|
protected void |
SvcctlPipeFile.closeServiceManager(ServiceManagerHandle handle)
Close the remote service manager
|
void |
AdminSession.CloseSession()
Close the session to the remote server
|
void |
AdminSession.ContinuePrintJob(PrintJob job)
Continue, unpause, the specified print job
|
void |
AdminSession.ContinuePrintQueue(String qname)
Start, unpause, the specified remote printer queue.
|
void |
SvcctlPipeFile.controlService(ServiceHandle handle,
int ctrl)
Service control
|
RegistryKey |
WinregPipeFile.createKey(RegistryKey parent,
String keyName)
Create a new key
|
ServiceHandle |
SvcctlPipeFile.createService(String serviceName,
String displayName,
int svcType,
int startType,
int errCtrl,
String binPath)
Create a new service with no dependencies and using the default LocalSystem account
|
ServiceHandle |
SvcctlPipeFile.createService(String serviceName,
String displayName,
int svcType,
int startType,
int errCtrl,
String binPath,
String loadGrp,
StringList depend,
String account,
byte[] password)
Create a new service
|
void |
WinregPipeFile.createValue(RegistryKey parent,
RegistryValue value)
Create a new registry value
|
void |
WinregPipeFile.deleteKey(RegistryKey parent,
String keyName)
Delete a registry key
|
void |
AdminSession.DeletePrintJob(PrintJob job)
Delete the specified print job
|
void |
SvcctlPipeFile.deleteService(ServiceHandle handle)
Delete a remote service
|
void |
WinregPipeFile.deleteValue(RegistryKey parent,
String valueName)
Delete a registry value
|
void |
IPCPipeFile.doDCERequest(DCEPacket pkt)
Send the DCE request to the server and receive the response data.
|
void |
IPCPipeFile.doDCERequest(int opCode,
DCEBuffer buf,
int maxTx,
int callId)
Send the DCE request to the server and receive the response data.
|
StringList |
SamrPipeFile.enumerateAliases(String domain)
Enumerate the aliases/local groups in a domain
|
StringList |
SamrPipeFile.enumerateDomains()
Enumerate the domains in the server
|
StringList |
SamrPipeFile.enumerateGroups(String domain)
Enumerate the groups in a domain
|
StringList |
SamrPipeFile.enumerateUsers(String domain)
Enumerate the users in a domain
|
int |
AdminSession.getAccountType(String userName)
Return the account type for the specified user name
|
RIDList |
SamrPipeFile.getAliasesForUser(PolicyHandle domHandle,
SID userSID)
Return the list of aliases that the user has membership of
|
RIDList |
SamrPipeFile.getAliasesForUser(String domain,
String userName)
Return the list of aliases that the user has membership of
|
ConnectionInfoList |
SrvsvcPipeFile.getConnectionList(String clientOrShare)
Return a list of the active connections
|
RegistryValue |
WinregPipeFile.getDefaultValue(RegistryKey key)
Return the default value for the specified key
|
StringList |
AdminSession.getDiskList()
Return a list of the disk devices available on the remote server.
|
StringList |
AdminSession.getGroupList()
Return a list of the groups on the remote server.
|
RIDList |
SamrPipeFile.getGroupsForUser(PolicyHandle usrHandle)
Return the list of groups that the user has membership of
|
RIDList |
SamrPipeFile.getGroupsForUser(String domain,
String userName)
Return the list of groups that the user has membership of
|
StringList |
AdminSession.getGroupUsers(String grpName)
Get a list of users that are in the specified group.
|
RegistryKeyInfo |
WinregPipeFile.getKeyInfo(RegistryKey handle,
String cls)
Return information about a registry key.
|
List<RegistryKey> |
WinregPipeFile.getKeysForKey(RegistryKey parentKey)
Return the sub-keys for the specified registry key
|
int |
EventlogPipeFile.getNumberOfRecords(EventlogHandle handle)
Return the number of available event log records for the specified log
|
int |
EventlogPipeFile.getOldestRecordNumber(EventlogHandle handle)
Return the oldest record number for the specified log
|
ServerFileInfoList |
SrvsvcPipeFile.getOpenFileList()
Return a list of the open files
|
PrintQueueInfo |
AdminSession.getPrinterInfo(String printerName)
Return printer queue information for the specified printer queue.
|
PrinterList |
AdminSession.getPrinterList()
Return the list of printer queues available on this server.
|
PrintJob |
AdminSession.getPrintJobInfo(int id)
Return information for the specified print job.
|
PrintJobList |
AdminSession.getPrintJobs(String qnam)
Return the list of print jobs in the specified printer queue.
|
StringList |
AdminSession.getRAPUserGroups(String userName)
Get a list of groups for the specified user, using the RAP call.
|
byte[] |
NetLogonPipeFile.getServerChallenge(String client,
byte[] challenge)
Get a server challenge
|
ServerInfo |
AdminSession.getServerInfo()
Return the server information for the server we are connected to
|
ServerInfo |
AdminSession.getServerInfo(String node)
Return the server information for the specified server.
|
ServerInfo |
SrvsvcPipeFile.getServerInformation()
Return the servier information
|
ServerList |
AdminSession.getServerList(int flags)
Return the list of available servers on the network
|
StringList |
AdminSession.getServerNames(int flags)
Return the list of available servers on the network
|
ServiceConfigInfo |
SvcctlPipeFile.getServiceConfiguration(ServiceHandle handle)
Return the remote service configuration details
|
StringList |
AdminSession.getServiceList()
Return a list of services installed on the remote node.
|
ServiceStatusList |
SvcctlPipeFile.getServiceList(int typ,
int state)
Return the service status list for services matching the specified type and state on the
remote server.
|
ServiceStatusExList |
SvcctlPipeFile.getServiceListEx(int typ,
int state)
Return the service status list for services matching the specified type and state on the
remote server.
|
ServiceStatusInfo |
SvcctlPipeFile.getServiceStatus(ServiceHandle handle)
Return the service status for the specified service
|
SessionInfoList |
AdminSession.getSessionList()
Return a list of open sessions on the remote server.
|
SessionInfoList |
SrvsvcPipeFile.getSessionList(String clientName,
String userName)
Return a list of the active sessions
|
ShareInfo |
AdminSession.getShareInfo(String shr)
Return the full share information for the specified share
|
ShareInfo |
SrvsvcPipeFile.getShareInformation(String shareName)
Return detailed information for a share
|
ShareInfo |
SrvsvcPipeFile.getShareInformation(String shareName,
int infoLevel)
Return detailed information for a share
|
ShareInfoList |
SrvsvcPipeFile.getShareList()
Return a list of normal shares available on the server, ie.
|
ShareInfoList |
AdminSession.getShareList()
Return the list of available shares on the remote server
|
ShareInfoList |
SrvsvcPipeFile.getShareList(boolean wantAdmin)
Return a list of the shares available on the server
|
StringList |
AdminSession.getUserGroups(String userName)
Get a list of groups for the specified user.
|
UserInfo |
AdminSession.getUserInfo(String usr)
Return the user information for the specified user
|
StringList |
AdminSession.getUserList()
Return the list of users on the remote server.
|
RegistryValue |
WinregPipeFile.getValue(RegistryKey key,
RegistryValue regval)
Return the value for the specified key and parameter
|
RegistryValue |
WinregPipeFile.getValue(RegistryKey key,
String name)
Return the value for the specified key and parameter
|
List<RegistryValue> |
WinregPipeFile.getValuesForKey(RegistryKey key)
Return the values for the specified registry key
|
WorkstationInfo |
AdminSession.getWorkstationInfo()
Return the server type/information for the server we are connected to
|
WorkstationInfo |
WkssvcPipeFile.getWorkstationInformation()
Return the workstation information
|
SID |
SamrPipeFile.lookupDomain(String domain)
Find a domain and return the SID
|
String |
SamrPipeFile.lookupDomainName(SID sid)
Lookup the domain name for the specified security id
|
RIDList |
SamrPipeFile.lookupIds(PolicyHandle domHandle,
int[] ids)
Lookup resource ids within a domain and return the resource names and types
|
RIDList |
SamrPipeFile.lookupIds(PolicyHandle domHandle,
int[] ids,
int count)
Lookup resource ids within a domain and return the resource names and types
|
RIDList |
SamrPipeFile.lookupIds(PolicyHandle domHandle,
RIDList rids)
Lookup resource ids within a domain and fill in the resource names and types.
|
RIDList |
SamrPipeFile.lookupName(PolicyHandle domHandle,
String name)
Lookup an object name within a domain and return the resource ids and types
|
RIDList |
SamrPipeFile.lookupName(SID sid)
Lookup the object name for the specified security id
|
PolicyHandle |
SamrPipeFile.openBuiltinDomain()
Open the built in domain
|
PolicyHandle |
SamrPipeFile.openDomain(SID domainSID)
Open a domain and return the policy handle required to perform other functions on the domain
|
PolicyHandle |
SamrPipeFile.openDomain(String domain)
Open a domain and return the policy handle required to perform other functions on the domain
|
EventlogHandle |
EventlogPipeFile.openEventLog(String name)
Open the specified event log
|
EventlogPipeFile |
AdminSession.openEventLogPipe()
Open the event log DCE/RPC pipe
|
RegistryKey |
WinregPipeFile.openHKClassesRoot()
Open the HKEY_CLASSES_ROOT registry key on the remote server.
|
RegistryKey |
WinregPipeFile.openHKCurrentUser()
Open the HKEY_CURRENT_USER registry key on the remote server.
|
RegistryKey |
WinregPipeFile.openHKLocalMachine()
Open the HIVE_KEY_LOCAL_MACHINE (HKLM) registry key on the remote server.
|
RegistryKey |
WinregPipeFile.openHKPerformanceData()
Open the HKEY_PERFORMANCE_DATA registry key on the remote server.
|
RegistryKey |
WinregPipeFile.openHKUsers()
Open the HIVE_KEY_USERS (HKU) registry key on the remote server.
|
InitShutPipeFile |
AdminSession.openInitShutdownPipe()
Open the shutdown service DCE/RPC pipe
|
RegistryKey |
WinregPipeFile.openKey(RegistryKey root,
RegistryKey key)
Open a registry key.
|
RegistryKey |
WinregPipeFile.openKey(RegistryKey root,
String key)
Open a registry key.
|
IPCPipeFile |
AdminSession.openPipe(int pipeId)
Open the specifed named pipe file and setup the pipe.
|
LSAPolicyHandle |
LsarpcPipeFile.openPolicy()
Open the Local Security Authority (LSA) on the remote server
|
RegistryKey |
WinregPipeFile.openRootKey(int keyid)
Open a root key on the remote server
|
SamrPipeFile |
AdminSession.openSecurityAccountsManagerPipe()
Open the security accounts manager DCE/RPC pipe (SAMR)
|
SrvsvcPipeFile |
AdminSession.openServerPipe()
Open the server DCE/RPC pipe
|
protected SamrPolicyHandle |
SamrPipeFile.openService()
Open the SAM service on the remote server
|
ServiceHandle |
SvcctlPipeFile.openService(String serviceName)
Open a service on the remote server
|
ServiceHandle |
SvcctlPipeFile.openService(String serviceName,
int accessMode)
Open a service on the remote server
|
protected ServiceManagerHandle |
SvcctlPipeFile.openServiceControlManager()
Open the service control manager on the remote server
|
protected ServiceManagerHandle |
SvcctlPipeFile.openServiceControlManager(int accessMode)
Open the service control manager on the remote server
|
SvcctlPipeFile |
AdminSession.openServiceManagerPipe()
Open the service manager DCE/RPC pipe
|
PolicyHandle |
SamrPipeFile.openUser(PolicyHandle domHandle,
int rid)
Open a user and return the policy handle required to perform other functions on the user
|
PolicyHandle |
SamrPipeFile.openUser(PolicyHandle domHandle,
RID rid)
Open a user and return the policy handle required to perform other functions on the user
|
PolicyHandle |
SamrPipeFile.openUser(String domain,
String userName)
Open a user and return the policy handle required to perform other functions on the user
|
WinregPipeFile |
AdminSession.openWindowsRegistryPipe()
Open the Windows registry DCE/RPC pipe
|
WkssvcPipeFile |
AdminSession.openWorkstationPipe()
Open the workstation DCE/RPC pipe
|
void |
AdminSession.PausePrintJob(PrintJob job)
Pause the specified print job
|
void |
AdminSession.PausePrintQueue(String qname)
Pause the specified print queue.
|
void |
SvcctlPipeFile.pauseService(ServiceHandle handle)
Pause a service
|
UserInfo |
SamrPipeFile.queryUserInformation(PolicyHandle usrHandle,
int infoLevel)
Return information for the specified user
|
EventlogRecordList |
EventlogPipeFile.readContinueEventLog(EventlogHandle handle)
Continue reading event log records
|
EventlogRecordList |
EventlogPipeFile.readEventLog(EventlogHandle handle,
int flags,
int recoff)
Read event log records
|
void |
SvcctlPipeFile.resumeService(ServiceHandle handle)
Resume a service
|
int |
SvcctlPipeFile.setServiceConfiguration(ServiceHandle handle,
ServiceConfigInfo config)
Set the remote service configuration details
|
void |
InitShutPipeFile.shutdownServer(String msg,
int tmo,
boolean reboot,
boolean force)
Shutdown a remote system, and optionally reboot the system
|
void |
WinregPipeFile.shutdownServer(String msg,
int tmo,
boolean reboot,
boolean force)
Shutdown a remote system, and optionally reboot the system
|
void |
SvcctlPipeFile.startService(ServiceHandle handle)
Start a service
|
void |
SvcctlPipeFile.stopService(ServiceHandle handle)
Stop a service
|
Constructor and Description |
---|
SamrPipeFile(IPCSession sess,
DCEPacket pkt,
int handle,
String name,
int maxTx,
int maxRx)
Class constructor
|
SvcctlPipeFile(IPCSession sess,
DCEPacket pkt,
int handle,
String name,
int maxTx,
int maxRx)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
void |
SMBPacket.checkForError()
Check if a received SMB is valid, if not then throw an exception
|
void |
AuthenticateSession.CloseSession()
Close this connection with the remote server.
|
void |
AuthenticateSession.doSessionSetup(String userName,
byte[] ascPwd,
byte[] uniPwd)
Perform a session setup to create a session on the remote server validating the user.
|
void |
AuthenticateSession.doSessionSetup(String domain,
String userName,
String wksName,
byte[] ascPwd,
byte[] uniPwd,
int vcNum)
Perform a session setup to create a session on the remote server validating the user.
|
void |
AuthenticateSession.doSessionSetup(Type3NTLMMessage type3Msg)
Perform a session using the type3 NTLM response received from the client
|
protected void |
SMBPacket.ExchangeLowLevelSMB(NetworkSession sess,
SMBPacket rxPkt,
boolean throwerr)
Send the SMB packet and receive the response packet
|
void |
SMBPacket.ExchangeSMB(AuthenticateSession sess,
SMBPacket rxPkt)
Send/receive an SMB protocol packet to the remote server.
|
void |
SMBPacket.ExchangeSMB(AuthenticateSession sess,
SMBPacket rxPkt,
boolean throwerr)
Send the SMB packet and receive the response packet
|
static AuthenticateSession |
AuthSessionFactory.OpenAuthenticateSession(PCShare shr,
int tmo)
Open a session to a remote server, negotiate an SMB dialect and get the returned challenge key.
|
static AuthenticateSession |
AuthSessionFactory.OpenAuthenticateSession(PCShare shr,
int tmo,
DialectSelector dia)
Open a session to a remote server, negotiate an SMB dialect and get the returned challenge key.
|
void |
AuthenticateSession.pingServer()
Send a single echo request to the server
|
void |
AuthenticateSession.pingServer(int cnt)
Send an echo request to the server
|
protected void |
SMBPacket.ReceiveAsynchSMB(AuthenticateSession sess,
int waitTime)
Receive an asynchronous SMB response from the server
|
protected void |
SMBPacket.ReceiveSMB(AuthenticateSession sess)
Receive an SMB packet on the spceified SMB session.
|
protected void |
SMBPacket.ReceiveSMB(AuthenticateSession sess,
boolean throwErr)
Receive an SMB packet on the spceified SMB session.
|
Constructor and Description |
---|
AuthenticateSession(PCShare shr,
NetworkSession sess,
int dialect,
SMBPacket pkt)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
DataBuffer |
IOCtlInterface.processIOControl(SrvSession sess,
TreeConnection tree,
int ctrlCode,
int fid,
DataBuffer dataBuf,
boolean isFSCtrl,
int filter)
Process a filesystem I/O control request
|
Copyright © 2005–2017 Alfresco Software. All rights reserved.