Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-02-17 | s4-smbtorture: also test level 2 sets for devicemodes and see if they persist. | Günther Deschner | 1 | -0/+21 | |
Guenther | |||||
2010-02-17 | s4-smbtorture: refactor setprinter devicemode calls in RPC-SPOOLSS-PRINTER. | Günther Deschner | 1 | -19/+71 | |
Guenther | |||||
2010-02-17 | s4-provision: freeze the DNS zone before creating the zone file | Andrew Tridgell | 1 | -2/+10 | |
This prevents bind from getting confused if it has a journal for the zone. | |||||
2010-02-17 | s4-dnsupdate: use samba_runcmd() in the dns update task | Andrew Tridgell | 2 | -17/+37 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-02-17 | s4-param: added "rndc command" smb.conf option | Andrew Tridgell | 2 | -0/+5 | |
2010-02-17 | util: added samba_runcmd() | Andrew Tridgell | 3 | -0/+275 | |
This allows us to run a child command in an async fashion, with control over logging of stdout and stderr (which appears in the Samba log file). This is useful for ensuring we don't miss important messages from rndc commands (for example). Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-02-17 | examples: add bind9 patches for TSIG-GSS support | Andrew Tridgell | 6 | -0/+250 | |
We will point at these from the Samba4 HOWTO | |||||
2010-02-17 | s4-provision: fix permissions on generated DNS zone file | Andrew Tridgell | 1 | -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> | |||||
2010-02-16 | s3:rpc streamline memory handling | Simo Sorce | 1 | -13/+5 | |
2010-02-17 | s4-rpc: paranoid check for auth_length | Andrew Tridgell | 1 | -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 :-) | |||||
2010-02-16 | testprogs: add rather simple device mode tests to spoolss test. | Günther Deschner | 2 | -1/+127 | |
Guenther | |||||
2010-02-16 | s3: Fix timeout calculation if g_lock_lock is given a timeout < 60s | Volker Lendecke | 1 | -1/+6 | |
Detected while showing this code to obnox :-) | |||||
2010-02-16 | s3: Slightly increase parallelism in g_lock | Volker Lendecke | 1 | -1/+7 | |
There's no need to still hold the g_lock tdb-level lock while telling the waiters to retry | |||||
2010-02-16 | s3: Avoid starving locks when many processes die at the same time | Volker Lendecke | 1 | -6/+4 | |
In g_lock_unlock we have a little race between the process_exists and messaging_send call: We only send to 5 waiters now, they all might have died between us checking their existence and sending the message. This change makes g_lock_lock retry at least once every minute. | |||||
2010-02-16 | s3: Avoid a thundering herd in g_lock_unlock | Volker Lendecke | 1 | -1/+16 | |
Only notify the first 5 pending lock waiters. This avoids a thundering herd problem that is really nasty in a cluster. It also makes acquiring a lock a bit more FIFO, lock waiters are added to the end of the array. | |||||
2010-02-16 | s3: Optimize g_lock_lock for a heavily contended case | Volker Lendecke | 1 | -3/+36 | |
Only check the existence of the lock owner in g_lock_parse, check the rest of the records only when we got the lock successfully. This reduces the load on process_exists which can involve a network roundtrip in the clustered case. | |||||
2010-02-16 | s3: Fix handling of processes that died in g_lock | Volker Lendecke | 1 | -3/+5 | |
g_lock_parse might have thrown away entries from the locks array because the processes were not around anymore. Don't store the orphaned entries. | |||||
2010-02-16 | s4-kcc: remove a qsort() that snuck into the new topology code | Andrew Tridgell | 1 | -2/+1 | |
2010-02-16 | s4-rpc: don't use auth padding in rpc bind requests as it breaks s3 | Andrew Tridgell | 1 | -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. | |||||
2010-02-16 | s4-dcerpc: fixed auth padding to be relative to the stub, not packet | Andrew Tridgell | 2 | -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. | |||||
2010-02-16 | s4-dsdb: return LDB_ERR_CONSTRAINT_VIOLATION on num_recs != 1 | Andrew Tridgell | 1 | -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> | |||||
2010-02-16 | s4-samdb: use dsdb_search() in cracknames | Andrew Tridgell | 1 | -57/+24 | |
greatly simplifies some of the cracknames code Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-02-16 | s4-kcc: remove search_onelevel_with_deleted() in kcc | Andrew Tridgell | 1 | -52/+3 | |
Use dsdb_search() instead Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-02-16 | s4-dsdb: removed gendb_search_single_extended_dn() | Andrew Tridgell | 4 | -120/+19 | |
Use dsdb_search_one() instead, which allows for arbitrary controls Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-02-16 | s4-dsdb: added dsdb_search_one() and cleanup dsdb_find_dn_by_guid() | Andrew Tridgell | 5 | -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> | |||||
2010-02-16 | s4-dsdb: replace dsdb_find_dn_by_guid() with a dsdb_search() call | Andrew Tridgell | 1 | -67/+84 | |
much simpler code by using dsdb_flags Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-02-16 | s4-dsdb: change dsdb_search_dn_with_deleted() to dsdb_search_dn() with ↵ | Andrew Tridgell | 1 | -56/+58 | |
dsdb_flags Allows for arbitrary controls | |||||
2010-02-16 | s4-dsdb: change samdb_replace() to dsdb_replace() and allow for dsdb_flags | Andrew Tridgell | 12 | -95/+52 | |
This allows for controls to be added easily where they are needed. | |||||
2010-02-16 | s4-dsdb: replace dsdb_modify_permissive() with dsdb_modify() and dsdb_flags | Andrew Tridgell | 4 | -40/+45 | |
2010-02-16 | s4-dsdb: move dsdb_request_add_controls() into dsdb/common/util.c | Andrew Tridgell | 6 | -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. | |||||
2010-02-16 | s3-docs: Document 'smbclient -C'. | Volker Lendecke | 2 | -0/+12 | |
2010-02-16 | s4-smbtorture: fix spoolss SD test against w2k8r2. | Günther Deschner | 1 | -0/+4 | |
Guenther | |||||
2010-02-16 | s4-smbtorture: more work on test_PrinterInfo_DevMode RPC-SPOOLSS-PRINTER. | Günther Deschner | 1 | -4/+90 | |
Guenther | |||||
2010-02-16 | s4-smbtorture: allow to call OpenPrinterEx with devicemode. | Günther Deschner | 1 | -4/+6 | |
Guenther | |||||
2010-02-15 | testprogs: add "samba3" and "architecture=" options to spoolss tester. | Günther Deschner | 2 | -4/+39 | |
Guenther | |||||
2010-02-16 | s4-drs: DsGetReplInfo() refactoring | Erick Nogueira do Nascimento | 2 | -267/+205 | |
2010-02-16 | s4-drs: DsReplGetInfo() for DS_REPL_INFO_REPSTO infoType | Erick Nogueira do Nascimento | 1 | -4/+142 | |
Implements the DS_REPL_INFO_REPSTO infoType of DsReplGetInfo(). | |||||
2010-02-15 | s4-smbtorture: more work on SD tests for RPC-SPOOLSS. | Günther Deschner | 1 | -13/+39 | |
Guenther | |||||
2010-02-15 | s4-smbtorture: add rather simple spoolss device mode test. | Günther Deschner | 1 | -0/+120 | |
Guenther | |||||
2010-02-15 | s4-smbtorture: use test_SetPrinter call in spoolss security descriptor tests. | Günther Deschner | 1 | -19/+5 | |
Guenther | |||||
2010-02-15 | s4-smbtorture: w2k8r2 allows to add printers w/o defining printprocessor. | Günther Deschner | 1 | -9/+14 | |
Guenther | |||||
2010-02-15 | testprogs: fix EnumJobs debug output in spoolss test. | Günther Deschner | 1 | -1/+1 | |
Found by Kai, thanks! Guenther | |||||
2010-02-15 | s3: Fix a typo | Volker Lendecke | 1 | -1/+1 | |
2010-02-16 | s4-rootdse: we don't need DSDB_FLAG_OWN_MODULE here | Andrew Tridgell | 1 | -2/+2 | |
2010-02-16 | s4-drs: enable the recyclebin optional feature | Eduardo Lima | 2 | -19/+262 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-02-15 | s4-kcc: remove C++ comment | Andrew Tridgell | 1 | -1/+1 | |
2010-02-15 | s4-kcc: initial code for the topology algorithm | Crístian Deives | 2 | -0/+615 | |
this patch contains the data structures declarations and the functions to setup the graph. Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-02-15 | s4-dsdb: don't change replPropertyMetaData if the value hasn't changed | Andrew Tridgell | 1 | -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> | |||||
2010-02-15 | s4-heimdal: Fix typos in comment. | Karolin Seeger | 1 | -1/+1 | |
Karolin | |||||
2010-02-15 | s4-test: use local ldb for urgent_replication test | Andrew Tridgell | 1 | -1/+1 | |
This test only currently works on a local ldb, as it needs system access. |