Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-09-10 | s4-drs: Hanlde extended operations only once | Kamen Mazdrashki | 1 | -40/+45 | |
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 | |||||
2010-09-10 | s4-dreplsrv: fix 'dn' for partition object being created | Kamen Mazdrashki | 1 | -1/+9 | |
2010-09-10 | s4-drs-fsmo: try to dispatch ops in queue as soon as possible | Kamen Mazdrashki | 1 | -1/+9 | |
In most cases this will transfer of schema master role to look like a synchronous operation. | |||||
2010-09-10 | s4/fsmo: Added python tests for schema master transfer op | Anatoliy Atanasov | 2 | -0/+153 | |
2010-09-10 | s4-fsmo: update FSMO changes for recent IRPC work | Andrew Tridgell | 2 | -7/+13 | |
the IRPC API has changed Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-10 | s4/drs: update repsFrom only when we are not in getncchanges extended op | Anatoliy Atanasov | 1 | -4/+4 | |
2010-09-10 | s4-ldap: Added support for FSMO role transfer via LDAP by modify on rootDSE | Nadezhda Ivanova | 1 | -1/+46 | |
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. | |||||
2010-09-10 | s4-rpc: Added handling of fsmo role transfer to GetNCChanges | Nadezhda Ivanova | 1 | -0/+108 | |
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> | |||||
2010-09-10 | s4-irpc: Added internal rpc call DREPL_TAKEFSMOROLE | Nadezhda Ivanova | 1 | -1/+10 | |
It schedules a getncchanges with extended op 6, to be used when a modify request on becomeROLEMaster atteibute on rootDSE is received. | |||||
2010-09-10 | s4-drs: Implementation of GetNCChanges extended op 6 - fsmo role transfer | Nadezhda Ivanova | 4 | -2/+170 | |
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. | |||||
2010-09-10 | s4-drs: Refactored drepl_service and send_ridalloc_request so that the ↵ | Nadezhda Ivanova | 2 | -27/+48 | |
structures can be used for other extended ops | |||||
2010-09-10 | s4/torture: use time_mono for deltas in lock test | Björn Jacke | 1 | -22/+22 | |
2010-09-10 | s4-smbtorture: add spoolss_OpenPrinter with unc and printername in ↵ | Günther Deschner | 1 | -4/+18 | |
RPC-SPOOLSS-PRINTSERVER. Guenther | |||||
2010-09-09 | s4:client/cifsdd.c - restore Solaris cc compatibility | Matthias Dieter Wallnöfer | 1 | -11/+10 | |
"static const struct"s need to be global in order to work with Solaris cc. | |||||
2010-09-09 | s4:torture/rpc/winreg.c - restore Solaris cc compatibility | Matthias Dieter Wallnöfer | 1 | -71/+72 | |
"static const struct"s need to be global in order to work with Solaris cc. | |||||
2010-09-09 | s4:libcli/security/*.c - fix some wrong typed counters | Matthias Dieter Wallnöfer | 3 | -10/+7 | |
According to "librpc/gen_ndr/security.h" they need to be "uint32_t". | |||||
2010-09-09 | s4-dreplsrv: Do allocations on long-living context so that callback gets called | Kamen Mazdrashki | 1 | -1/+1 | |
2010-09-09 | s4-drs-test: Add 'reset' and 'replace' tests for drsuapi_DsReplicaUpdateRefs | Kamen Mazdrashki | 1 | -4/+28 | |
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 :) | |||||
2010-09-09 | s4-dreplsrv: Call dreplsrv_out_operation::callback in case we fail to even ↵ | Kamen Mazdrashki | 1 | -0/+8 | |
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. | |||||
2010-09-09 | s4-dsdb/repl/drepl_out_pull.c: Remove unused code | Kamen Mazdrashki | 1 | -43/+0 | |
2010-09-09 | s4-drepl_service.c: Update (C) | Kamen Mazdrashki | 1 | -9/+10 | |
and remove few trailing white spaces | |||||
2010-09-09 | s4-drepsrv: Dump more info when drepl_replica_sync() fails | Kamen Mazdrashki | 1 | -24/+28 | |
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. | |||||
2010-09-09 | s4-rodc: cope with missing searchFlags | Andrew Tridgell | 1 | -3/+4 | |
this can be missing after the schema tests | |||||
2010-09-09 | s4-dsdb Change debug levels for startup messages | Andrew Bartlett | 2 | -10/+10 | |
We should make the 'common' error not show up, but the unusal case fatal. Andrew Bartlett | |||||
2010-09-09 | s4-setup Make krb5.conf use DNS by default | Andrew Bartlett | 1 | -2/+2 | |
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 | |||||
2010-09-09 | s4-test: added a RODC test using rpcecho | Andrew Tridgell | 1 | -0/+3 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-09 | s4-rodc: get the domain name from the partitions DN | Andrew Tridgell | 2 | -7/+9 | |
don't rely on the netbios domain name being the first part of the realm Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-09 | pyldb: expose PyLdbDn_FromDn() | Andrew Tridgell | 2 | -18/+29 | |
This is needed by the dsdb python interface Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-09 | s4-provision: fixed error format string | Andrew Tridgell | 1 | -1/+1 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-09 | s4-pydsdb: expose samdb_partitions_dn() as get_partitions_dn() in python | Andrew Tridgell | 2 | -0/+33 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-09 | s4-rodc: s->schema need initialisation | Andrew Tridgell | 1 | -0/+1 | |
this fixes a segfault in net rodc preload | |||||
2010-09-08 | s4-waf: fix bin/python/samba/dcerpc/nbt.so. | Günther Deschner | 1 | -1/+5 | |
Thanks to Brad Hards for pointing this out. Guenther | |||||
2010-09-08 | setup: Use standard octal ints rather than harcoding. | Jelmer Vernooij | 1 | -2/+1 | |
2010-09-08 | popt_common: Add missing dependency on libsamba-hostconfig. | Jelmer Vernooij | 1 | -3/+2 | |
2010-09-08 | s4-smbtorture: add torture ndr nbt testsuite. | Günther Deschner | 4 | -2/+73 | |
Guenther | |||||
2010-09-07 | s4-dreplsrv: Run NC replication synchronously if requested | Kamen Mazdrashki | 1 | -30/+119 | |
2010-09-07 | s4-drs: Dump exact error when failure occurs during DsReplicaUpdateRefs call | Kamen Mazdrashki | 1 | -6/+10 | |
2010-09-07 | s4-ldapserver: serialise ldap server operations | Andrew Tridgell | 2 | -0/+60 | |
This ensures that two ldap server operations cannot happen in parallel by using packet_recv_disable() and packet_recv_enable() to disable other interfaces during ldap calls. This prevents problems caused by parallel ldap operations where transactions could overlap. | |||||
2010-09-07 | s4-packet: make packet_recv_disable() a lot more efficient | Andrew Tridgell | 1 | -2/+6 | |
this avoids doing an epoll system call when we want to prevent receipt of packets on a socket, unless there actually is a packet to receive. | |||||
2010-09-07 | s4-process: fixed the thread process model so it compiles | Andrew Tridgell | 1 | -1/+2 | |
it doesn't actually work, but at least it now compiles | |||||
2010-09-07 | Add unique IP address binding for client connections (EPM and ncacn_ip_tcp ↵ | Julien Kerihuel | 6 | -7/+34 | |
levels) This allows for binding strings like this: ncacn_ip_tcp:host[localaddress=192.168.2.1,seal] which will force the connection to be locally bound to the specified IP address Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-09-05 | s4-test: refactor API-DELETEUSER test a little to: | Kamen Mazdrashki | 1 | -29/+23 | |
- fail torture_context in case libnet_DeleteUser() has failed - make use of torture_assert_* macros to track down where failur occured - use only one memory context internally | |||||
2010-09-05 | s4-idl: redefine dreplsrv_refresh() to be alike other RPC function definitions | Kamen Mazdrashki | 2 | -4/+2 | |
Sorry for the 'custom' definition first time | |||||
2010-09-05 | upgradeprovision: avoid working with None objects ... | Matthieu Patou | 1 | -9/+10 | |
2010-09-05 | upgradeprovision: do not try to remove/change attribute before the RID Set ↵ | Matthieu Patou | 1 | -6/+28 | |
object is present | |||||
2010-09-05 | upgradeprovision: cleanup | Matthieu Patou | 1 | -2/+2 | |
2010-09-05 | s4 upgradeprovision: add dns_update_list if missing | Matthieu Patou | 1 | -0/+4 | |
2010-09-05 | python-ldb: allow ldb_rename to take optional control(s) | Matthieu Patou | 1 | -4/+50 | |
2010-09-05 | dsdb: make the ATTRIBUTE NOT FOUND more clear | Matthieu Patou | 2 | -0/+5 | |
2010-09-05 | s4/selftest: Fix path to include/config.h, set BUILDDIR automatically. | Jelmer Vernooij | 1 | -1/+4 | |