Part of samba
Class | drsException | Base element for drs errors |
Function | drsuapi_connect | Make a DRSUAPI connection to the server. |
Function | sendDsReplicaSync | Send DS replica sync request. |
Function | sendRemoveDsServer | Send RemoveDSServer request. |
Function | drs_DsBind | make a DsBind call, returning the binding handle |
Class | drs_Replicate | DRS replication calls |
Parameters | server | the name of the server to connect to |
lp | a samba line parameter object | |
creds | credential used for the connection | |
Returns | A tuple with the drsuapi bind object, the drsuapi handle and the supported extensions. | |
Raises | drsException | if the connection fails |
Parameters | drsuapiBind | a drsuapi Bind object |
drsuapi_handle | a drsuapi hanle on the drsuapi connection | |
source_dsa_guid | the guid of the source dsa for the replication | |
naming_context | the DN of the naming context to replicate | |
req_options | replication options for the DsReplicaSync call | |
Raises | drsException | if any error occur while sending and receiving the reply for the dsReplicaSync |
Parameters | drsuapiBind | a drsuapi Bind object |
drsuapi_handle | a drsuapi hanle on the drsuapi connection | |
server_dsa_dn | a DN object of the server's dsa that we want to demote | |
domain | a DN object of the server's domain | |
Raises | drsException | if any error occur while sending and receiving the reply for the DsRemoveDSServer |