| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Andrew Tridgell <tridge@samba.org>
|
|
|
|
|
|
|
|
|
| |
Now that privileges are no longer given luid values sequentially,
we need another way to look them up for enumeration.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
|
|
|
|
| |
Signed-off-by: Andrew Tridgell <tridge@samba.org>
|
|
|
|
|
|
|
|
|
|
|
| |
This allows us to set the enum sec_privilege constants to the LUID
values that are seen from windows, which we need to match, in order
to preserve the support for the NT Print Migrator tool after a merge
with the source3/ privileges code.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Detected by the Solaris cc compiler.
|
|
|
|
| |
Found out by Solaris cc
|
| |
|
|
|
|
| |
Solaris warnings
|
|
|
|
| |
Solaris warnings
|
|
|
|
|
|
|
| |
buildfarm
The Solaris "cc" incompatiblity on this codepart seems to be harder to fix than
it looks like.
|
| |
|
|
|
|
| |
metze
|
|
|
|
|
|
| |
This fixes make test without a make install.
metze
|
|
|
|
|
| |
This removed an unnecessary conversion of the return type in
drepl_take_FSMO_role.
|
| |
|
|
|
|
|
|
|
|
| |
in case we are handling extended operation.
It seems that windows accept both DRSUAPI_EXOP_ERR_SUCCESS
and DRSUAPI_EXOP_ERR_NONE, but Samba is a little bit
more picky on this.
|
|
|
|
|
|
|
|
|
| |
Most of extended operations I know of work like:
1. do extended operation
2. collect a set of objects to return and start replication cycle
3. continue returning object as we have no more to give
This way we ensure we are doing 1. only once
|
| |
|
|
|
|
|
| |
In most cases this will transfer of schema master role to
look like a synchronous operation.
|
| |
|
|
|
|
|
|
| |
the IRPC API has changed
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|
| |
|
|
|
|
|
|
|
| |
GetNCChanges with the corresponding extended operation is initiated and added to
the queue when a modify request is received on becomeSchemaMaster, becomeRidMaster,
becomeNamingMaster, becomeInfrastructureMaster and becomePDC attributes in
rootDSE.
|
|
|
|
|
|
| |
This adds support for DRSUAPI_EXOP_FSMO_REQ_ROLE, DRSUAPI_EXOP_FSMO_RID_REQ_ROLE
and DRSUAPI_EXOP_FSMO_REQ_PDC.
Developed in collaboration with Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
|
|
|
|
|
| |
It schedules a getncchanges with extended op 6, to be used when a modify request on
becomeROLEMaster atteibute on rootDSE is received.
|
|
|
|
|
|
|
|
|
| |
Basically the candidate owner makes a getncchanges call with extended op 6 when they want to
become the new owner. The current owner then updates the corresponding fSMORoleOwner attribute
in its database with the new owner, and replicates the change to the candidate, who then becomes the
owner.
The patch was made in cooperation with Anatoliy Atanasov <anatoliy.atanasov@postpath.com> who
kindly helped to debug it.
|
|
|
|
| |
structures can be used for other extended ops
|
| |
|
|
|
|
|
|
| |
RPC-SPOOLSS-PRINTSERVER.
Guenther
|
|
|
|
| |
"static const struct"s need to be global in order to work with Solaris cc.
|
|
|
|
| |
"static const struct"s need to be global in order to work with Solaris cc.
|
|
|
|
| |
According to "librpc/gen_ndr/security.h" they need to be "uint32_t".
|
| |
|
|
|
|
|
|
|
|
|
|
| |
At first I got the impression we are not handling those cases,
but after those tests surprisingly passed I saw that
we have correct behavior implemented in a helper function.
So I decided to commit those tests in case someone change the
strange-looking check for DRSUAPI_DRS_ADD_REF flag in
a function that handles delete operation :)
|
|
|
|
|
|
|
|
|
|
|
|
| |
run the operation
Operation was scheduled already, so we need to call
the callback function for it to be able to do its job.
For instance, if we are blocking an rpc call until an
operation is completed and there is no memory, then
client will be blocked without knowing what is going on
with the server.
|
| |
|
|
|
|
| |
and remove few trailing white spaces
|
|
|
|
|
|
|
|
|
| |
There are many spots where this function may fail
and I find it very useful to know where exactly function
fails and what are the input parameters during testing.
REPLICA_SYNC_FAIL() macro now dumps an error message
so we may remove extra DEBUG() dump in implementation.
|
|
|
|
| |
this can be missing after the schema tests
|
|
|
|
|
|
| |
We should make the 'common' error not show up, but the unusal case fatal.
Andrew Bartlett
|
|
|
|
|
|
|
|
| |
We set up our DNS pretty well these days, and I think the previous setting
was only there because Andrew Kroeger copied this out of our selftest code
in bf3f3af92677bce8f03b0dd2be552d6c8c730ca1.
Andrew Bartlett
|
|
|
|
| |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|
|
|
|
|
|
|
| |
don't rely on the netbios domain name being the first part of the
realm
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|
|
|
|
|
|
| |
This is needed by the dsdb python interface
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|
|
|
|
| |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|
|
|
|
| |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|