summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* s4-dsdb: replace dsdb_find_dn_by_guid() with a dsdb_search() callAndrew Tridgell2010-02-161-67/+84
| | | | | | much simpler code by using dsdb_flags Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: change dsdb_search_dn_with_deleted() to dsdb_search_dn() with ↵Andrew Tridgell2010-02-161-56/+58
| | | | | | dsdb_flags Allows for arbitrary controls
* s4-dsdb: change samdb_replace() to dsdb_replace() and allow for dsdb_flagsAndrew Tridgell2010-02-1612-95/+52
| | | | This allows for controls to be added easily where they are needed.
* s4-dsdb: replace dsdb_modify_permissive() with dsdb_modify() and dsdb_flagsAndrew Tridgell2010-02-164-40/+45
|
* s4-dsdb: move dsdb_request_add_controls() into dsdb/common/util.cAndrew Tridgell2010-02-166-85/+115
| | | | | This will be used to allow the flag based ldb functions to work on both a ldb or a module, thus saving a lot of specialist functions.
* s4-smbtorture: fix spoolss SD test against w2k8r2.Günther Deschner2010-02-161-0/+4
| | | | Guenther
* s4-smbtorture: more work on test_PrinterInfo_DevMode RPC-SPOOLSS-PRINTER.Günther Deschner2010-02-161-4/+90
| | | | Guenther
* s4-smbtorture: allow to call OpenPrinterEx with devicemode.Günther Deschner2010-02-161-4/+6
| | | | Guenther
* s4-drs: DsGetReplInfo() refactoringErick Nogueira do Nascimento2010-02-162-267/+205
|
* s4-drs: DsReplGetInfo() for DS_REPL_INFO_REPSTO infoTypeErick Nogueira do Nascimento2010-02-161-4/+142
| | | | Implements the DS_REPL_INFO_REPSTO infoType of DsReplGetInfo().
* s4-smbtorture: more work on SD tests for RPC-SPOOLSS.Günther Deschner2010-02-151-13/+39
| | | | Guenther
* s4-smbtorture: add rather simple spoolss device mode test.Günther Deschner2010-02-151-0/+120
| | | | Guenther
* s4-smbtorture: use test_SetPrinter call in spoolss security descriptor tests.Günther Deschner2010-02-151-19/+5
| | | | Guenther
* s4-smbtorture: w2k8r2 allows to add printers w/o defining printprocessor.Günther Deschner2010-02-151-9/+14
| | | | Guenther
* s4-rootdse: we don't need DSDB_FLAG_OWN_MODULE hereAndrew Tridgell2010-02-161-2/+2
|
* s4-drs: enable the recyclebin optional featureEduardo Lima2010-02-162-19/+262
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-kcc: remove C++ commentAndrew Tridgell2010-02-151-1/+1
|
* s4-kcc: initial code for the topology algorithmCrístian Deives2010-02-152-0/+615
| | | | | | | this patch contains the data structures declarations and the functions to setup the graph. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-dsdb: don't change replPropertyMetaData if the value hasn't changedAndrew Tridgell2010-02-151-4/+20
| | | | | | | When updating replPropertyMetaData, check if the value being stored is the same as the current value, and skip the update if it is. This is based on a patch by Fernando J V da Silva <fernandojvsilva@yahoo.com.br>
* s4-heimdal: Fix typos in comment.Karolin Seeger2010-02-151-1/+1
| | | | Karolin
* s4-test: use local ldb for urgent_replication testAndrew Tridgell2010-02-151-1/+1
| | | | | This test only currently works on a local ldb, as it needs system access.
* s4-ldb: fixed permissions on urgent_replication.pyAndrew Tridgell2010-02-151-0/+0
|
* s4-test: minor fixes to urgent_replication.pyAndrew Tridgell2010-02-151-27/+4
| | | | | | - fix usage name - remove unnecessary python functions - remote unused gc ldb
* s4-drs: Test situations for Urgent ReplicationFernando J V da Silva2010-02-152-0/+415
| | | | | | | Checks if the partition's uSNUrgent is updated or not, depending on the class of the object which is created, modified or deleted. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-drs: Function for accessing dsdb_load_partition_usn from PythonFernando J V da Silva2010-02-151-0/+50
| | | | | | | Returns both uSNHighest and uSNUrgent as a dict object in Python from a given partition dn. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-drs: Fixes bugs regarding Urgent Replication on wrong situationsFernando J V da Silva2010-02-151-7/+16
| | | | | | | | | | | | It fixes the bug which causes an urgent replication to be enabled incorrectly when an object is modified, but it should happen only when it was created. This patch also fixes the bug that enable an urgent replication when an object is deleted, but it should happen only when it was modified and fixes the bug that does not enable an urgent replication when an object is deleted and it should happen only when it is deleted (not when it is modified). Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-smbtorture: add some security descriptor tests to RPC-SPOOLSS and ↵Günther Deschner2010-02-151-0/+241
| | | | | | RPC-SPOOLSS-PRINTER. Guenther
* s4:provision.c - "provsion_store_self_join" - don't set the realm if it's NULLMatthias Dieter Wallnöfer2010-02-151-2/+4
| | | | | | The realm can be NULL when this function is called by "libnet_Join_primary_domain". This seems to be a valid value since "libnet_JoinDomain" is allowed to return an empty realm if we are not in a ADS domain.
* s4-drs: replace manual checks with dsdb_modify_permissive()Andrew Tridgell2010-02-151-32/+1
| | | | | Much simpler to use the permissive control instead of manually munging the SPN list.
* s4-drs: use a permissive modify in addentryAndrew Tridgell2010-02-151-1/+1
| | | | It is not an error if entries already exist.
* s4-dsdb: added dsdb_modify_permissive()Andrew Tridgell2010-02-151-0/+36
| | | | This will be used in the drsuapi server
* s4:dcesrv_lsa.c - remove a superfluous empty lineMatthias Dieter Wallnöfer2010-02-141-1/+0
| | | | One empty line is enough for code part divisions.
* s4-rpcserver: teach the rpc server to cope with bad sig_size estimatesAndrew Tridgell2010-02-141-18/+14
|
* a4-dcerpc: another attempt at dcerpc auth paddingAndrew Tridgell2010-02-143-15/+20
| | | | The last change broke net vampire against w2k8r2
* s4-ldb: use TYPESAFE_QSORT() in the rest of the ldb codeAndrew Tridgell2010-02-145-11/+20
|
* s4:loadparm.c - prevent memory leaksMatthias Dieter Wallnöfer2010-02-131-0/+3
| | | | | If a "logfile" was already set, free the content up before setting a new location. This can happen on a loadparm reload.
* s4:loadparm.c - the logfile parameter value needs to be duplicatedMatthias Dieter Wallnöfer2010-02-131-1/+1
| | | | | Otherwise the "logfile" pointer tracks all changes of "pszParmValue" which content is only temporal. This was the cause of bug #6212.
* s4:popt_common.c - fix intendationMatthias Dieter Wallnöfer2010-02-131-1/+1
|
* s4:util.c - Corrected the location of the "Directory Service" objectMatthias Dieter Wallnöfer2010-02-131-1/+1
| | | | | I wonder why nobody noticed this since for sure this "tombstone" functionality was broken till now.
* s4:server.c - use always "return" instead of "exit" in the ↵Matthias Dieter Wallnöfer2010-02-131-4/+4
| | | | | | "binary_smbd_main" function Just to be consistent - no functional change
* libwbclient: Separate out the async functionsKai Blin2010-02-131-1/+1
|
* s4-smbd: fix crash in notify code on client terminationAndrew Tridgell2010-02-131-2/+2
| | | | | | | | We need to free the lp_ctx after we free the event context, otherwise the teardown code in the notify backend dies when it tries to use the iconv_convenience ptr Fixes bug 7053
* s4-rpc: be more careful about DCERPC auth paddingAndrew Tridgell2010-02-133-107/+107
| | | | | | Cope with a wider range of auth padding in dcerpc bind_ack and alter_context packets. We now use a helper function that calculates the right auth padding.
* s4: use LDB_TYPESAFE_QSORT() instead of ldb_qsort()Andrew Tridgell2010-02-136-16/+8
|
* s4-ldb: added LDB_TYPESAFE_QSORT()Andrew Tridgell2010-02-131-0/+18
| | | | Like TYPESAFE_QSORT() but for the ldb_qsort() function
* s4-wrepl: use TYPESAFE_QSORT() in wins repl codeAndrew Tridgell2010-02-131-1/+2
|
* s4-torture: use TYPESAFE_QSORT() in smbtortureAndrew Tridgell2010-02-134-26/+15
|
* s4-rpcserver: use TYPESAFE_QSORT() in rpc serversAndrew Tridgell2010-02-133-24/+19
|
* s4-ntvfs: use TYPESAFE_QSORT() in notify codeAndrew Tridgell2010-02-131-3/+2
|
* s4-socket: use TYPESAFE_QSORT() in netif codeAndrew Tridgell2010-02-131-1/+2
|