mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-04 17:54:07 +02:00
Don't pass the password in the command line when doing listShares
This commit is contained in:
parent
59bc57cc06
commit
f57f29d277
3 changed files with 33 additions and 15 deletions
|
|
@ -28,3 +28,20 @@ class InvalidHostException extends \Exception {
|
|||
|
||||
class AccessDeniedException extends \Exception {
|
||||
}
|
||||
|
||||
class ErrorCodes {
|
||||
/**
|
||||
* connection errors
|
||||
*/
|
||||
const LogonFailure = 'NT_STATUS_LOGON_FAILURE';
|
||||
const BadHostName = 'NT_STATUS_BAD_NETWORK_NAME';
|
||||
const Unsuccessful = 'NT_STATUS_UNSUCCESSFUL';
|
||||
const ConnectionRefused = 'NT_STATUS_CONNECTION_REFUSED';
|
||||
|
||||
const PathNotFound = 'NT_STATUS_OBJECT_PATH_NOT_FOUND';
|
||||
const NoSuchFile = 'NT_STATUS_NO_SUCH_FILE';
|
||||
const ObjectNotFound = 'NT_STATUS_OBJECT_NAME_NOT_FOUND';
|
||||
const NameCollision = 'NT_STATUS_OBJECT_NAME_COLLISION';
|
||||
const AccessDenied = 'NT_STATUS_ACCESS_DENIED';
|
||||
const DirectoryNotEmpty = 'NT_STATUS_DIRECTORY_NOT_EMPTY';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue