summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* s4-smbtorture: skip printer info cross tests against samba 3 for now.Günther Deschner2010-02-181-0/+4
| | | | | | Not even w2k8r2 passes them atm. Guenther
* s4-smbtorture: try more combinations to find printers in ↵Günther Deschner2010-02-181-0/+14
| | | | | | | | | test_EnumPrinters_findname(). Also take a note of servers returning full UNC printer paths although we did not set the servername. Guenther
* s4-smbtorture: simplify test_PrinterInfo_DevMode a bit.Günther Deschner2010-02-181-17/+4
| | | | Guenther
* s4-smbtorture: avoid potential loop while adding a new printer in ↵Günther Deschner2010-02-181-0/+7
| | | | | | RPC-SPOOLSS-PRINTER. Guenther
* Got back to 16-byte padding on auth RPC. S3 clients and servers now cope ↵Jeremy Allison2010-02-171-4/+6
| | | | with this. Jeremy
* s4:param Modify secrets_get_domain_sid to give more useful errorsAndrew Bartlett2010-02-185-87/+55
| | | | | | | | | This also moves the calls to secrets_get_domain_sid back into winbind_task_init(), so that we can terminate with a much more detailed error message. (The previous message was simply NT_STATUS_CANT_ACCESS_DOMAIN_INFO). Andrew Bartlett
* s4/rodc: change the libnet_become_dc code to do RODC joinAnatoliy Atanasov2010-02-173-6/+59
|
* s4/drs:kccdrs_replica_get_info_obj_metadata implementationAnatoliy Atanasov2010-02-173-20/+96
| | | | | | Fix the names of the drsuapi_DsReplicaInfoType enum and rebuild the .idl The get_info_obj_metadata implementation is ported from implementation i developed and tested at the samba io lab 2009
* s4/ldap: Refactor the fix for ldap nested searchesKamen Mazdrashki2010-02-172-13/+15
| | | | | | | | | | | Current implementation synchronizes processing for all types of LDAP request, not only LDAP_Search ones. Synchronization for ldap replies processing is done locally in ldb_ildap module as this concerns only ildb_callback() function. Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
* s4-smbtorture: unify test list to run against single created printers in ↵Günther Deschner2010-02-171-18/+28
| | | | | | | | | RPC-SPOOLSS-PRINTER. This is to make sure we run the same tests for printers created via AddPrinter and via AddPrinterEx. Guenther
* s4-smbtorture: also test level 2 sets for devicemodes and see if they persist.Günther Deschner2010-02-171-0/+21
| | | | Guenther
* s4-smbtorture: refactor setprinter devicemode calls in RPC-SPOOLSS-PRINTER.Günther Deschner2010-02-171-19/+71
| | | | Guenther
* s4-provision: freeze the DNS zone before creating the zone fileAndrew Tridgell2010-02-171-2/+10
| | | | | This prevents bind from getting confused if it has a journal for the zone.
* s4-dnsupdate: use samba_runcmd() in the dns update taskAndrew Tridgell2010-02-172-17/+37
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-param: added "rndc command" smb.conf optionAndrew Tridgell2010-02-172-0/+5
|
* s4-provision: fix permissions on generated DNS zone fileAndrew Tridgell2010-02-171-9/+11
| | | | | | | The zone file needs to be writeable by bind to allow for it to flush its journal on dynamic updates Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-rpc: paranoid check for auth_lengthAndrew Tridgell2010-02-171-0/+11
| | | | | This is not strictly needed as the ndr_pull_advance() checks it a few lines further down, but I want to save Jeremy getting more grey hairs :-)
* s4-kcc: remove a qsort() that snuck into the new topology codeAndrew Tridgell2010-02-161-2/+1
|
* s4-rpc: don't use auth padding in rpc bind requests as it breaks s3Andrew Tridgell2010-02-161-0/+7
| | | | | | | | | | The s3 RPC server returns a bind_nak if it gets a rpc bind with auth padding. This change forces a padding length of zero to maximimise compatibility with s3 servers. I've left the padding code in as a #if 0 to make it easier for us to test/fix the s3 server code, which should be changed to correctly handle arbitrary auth padding in all rpc requests with auth trailers.
* s4-dcerpc: fixed auth padding to be relative to the stub, not packetAndrew Tridgell2010-02-162-10/+17
| | | | | | | The recent dcerpc padding changes made our padding relative to the packet header, instead of the start of the stub. Surprisingly, this broke w2k8r2 doing a dcpromo join to a s4 server. It seems that w2k8r2 is very fussy about the padding it gets in some circumstances.
* s4-dsdb: return LDB_ERR_CONSTRAINT_VIOLATION on num_recs != 1Andrew Tridgell2010-02-161-1/+1
| | | | | | | In a single record search, LDB_ERR_CONSTRAINT_VIOLATION is more useful than the generic LDB_ERR_OPERATIONS_ERROR Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-samdb: use dsdb_search() in cracknamesAndrew Tridgell2010-02-161-57/+24
| | | | | | greatly simplifies some of the cracknames code Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-kcc: remove search_onelevel_with_deleted() in kccAndrew Tridgell2010-02-161-52/+3
| | | | | | Use dsdb_search() instead Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: removed gendb_search_single_extended_dn()Andrew Tridgell2010-02-162-15/+19
| | | | | | Use dsdb_search_one() instead, which allows for arbitrary controls Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: added dsdb_search_one() and cleanup dsdb_find_dn_by_guid()Andrew Tridgell2010-02-165-33/+86
| | | | | | | | dsdb_find_dn_by_guid() now takes a struct GUID instead of a guid_string. All the callers in fact wanted a struct GUID, so we now avoid the extra conversion. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* 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>