A context for libsmbclient calls.
auth_fn: a function for collecting authentication details from the
user. This is called whenever authentication details are needed. The
parameters it will be given are all strings: server, share, workgroup,
username, and password (these last two can be ignored). The function
should return a tuple of strings: workgroup, username, and password.
debug: an integer representing the debug level to use.
|
__init__(...)
x.__init__(...) initializes x; see help(type(x)) for signature |
|
|
a new object with type S, a subtype of T
|
|
int
|
chmod(uri,
mode)
Returns:
0 on success, < 0 on error |
|
|
File
|
|
int
|
mkdir(uri,
mode)
Returns:
0 on success, < 0 on error |
|
|
File
|
|
Dir
|
|
int
|
rename(ouri,
nuri)
Returns:
0 on success, < 0 on error |
|
|
int
|
rmdir(uri)
Returns:
0 on success, < 0 on error |
|
|
tuple
|
stat(uri)
Returns:
stat information |
|
|
int
|
unlink(uri)
Returns:
0 on success, < 0 on error |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|
|
debug
Debug level.
|
|
functionAuthData
Function for obtaining authentication data.
|
|
netbiosName
Netbios name used for making connections.
|
|
optionDebugToStderr
Whether to log to standard error instead of standard output.
|
|
optionFallbackAfterKerberos
Whether to fallback after Kerberos.
|
|
optionNoAutoAnonymousLogin
Whether to automatically select anonymous login.
|
|
optionUseKerberos
Whether to enable use of Kerberos.
|
|
timeout
Get the timeout used for waiting on connections and response data(in
milliseconds)
|
|
workgroup
Workgroup used for making connections.
|
Inherited from object :
__class__
|