Module smbc :: Class Context
[hide private]
[frames] | no frames]

Class Context

object --+
         |
        Context

SMBC context

A context for libsmbclient calls.

Instance Methods [hide private]
 
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
a new object with type S, a subtype of T
__new__(T, S, ...)
int
open(uri)
Returns: a smbc.File object for the URI
Dir
opendir(uri)
Returns: a smbc.Dir object for the URI

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]
  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.
  optionNoAutoAnonymousLogin
Whether to automatically select anonymous login.
  workgroup
Workgroup used for making connections.

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__

__new__(T, S, ...)

 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__

open(uri)

 
Parameters:
  • uri (string) - URI to open
Returns: int
a smbc.File object for the URI

opendir(uri)

 
Parameters:
  • uri (string) - URI to open
Returns: Dir
a smbc.Dir object for the URI