summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-10-02subunithelper: Remove accidentally added line.Jelmer Vernooij1-3/+0
2010-10-02pytdb: Check errors after PyObject_New() callsKirill Smelkov1-0/+7
The call could fail with e.g. MemoryError, and we'll dereference NULL pointer without checking. Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru> Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-02pytdb: Add support for tdb_repack()Kirill Smelkov2-0/+15
Cc: 597386@bugs.debian.org Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru> Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-02pytdb: Add TDB_INCOMPATIBLE_HASH open flagKirill Smelkov1-0/+1
In 2dcf76 Rusty added TDB_INCOMPATIBLE_HASH open flag which selects Jenkins lookup3 hash for new databases. Expose this flag to python users too. Cc: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru> Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-02subunithelper: Fix format time.Jelmer Vernooij1-1/+2
2010-10-02land: Implement --fail-immediately directly in Python, provide subunit file.Jelmer Vernooij1-26/+96
2010-10-02subunithelper: Make filter options optional.Jelmer Vernooij1-9/+9
2010-10-02format-subunit: Split out summary file writing.Jelmer Vernooij1-7/+11
2010-10-02selftest: Move plain text formatter to subunithelper.Jelmer Vernooij2-204/+204
2010-10-02land: Add separate treestagebuilder for subunit.Jelmer Vernooij1-12/+41
2010-10-02land: Cherry-pick tridges changes to autobuild.Jelmer Vernooij1-3/+22
2010-10-02land: Move stage building into a separate class so we can have subclasses ↵Jelmer Vernooij2-36/+64
(e.g. subunit-specific).
2010-10-02land: Only pass shell=True if necessary.Jelmer Vernooij1-19/+22
2010-10-02land: Add --fail-slowly option.Jelmer Vernooij2-6/+13
2010-10-02Several smaller cleanups, use python coding style.Jelmer Vernooij1-17/+16
2010-10-02land: Avoid running things in a shell where not necessary.Jelmer Vernooij1-4/+9
2010-10-02land-remote: Checkout repository first.Jelmer Vernooij1-2/+3
2010-10-02land-remote: Use --repository option.Jelmer Vernooij1-1/+1
2010-10-02land: Add --repository option.Jelmer Vernooij2-4/+12
2010-10-02land: Move more functionality onto builder.Jelmer Vernooij1-9/+23
2010-10-02land: Avoid more uses of chdir().Jelmer Vernooij1-8/+2
2010-10-02Split land.py back out of autobuild.py, so I can change it withoutJelmer Vernooij2-0/+473
risking to break the autobuild system.
2010-10-02s3: Attempt to fix bug 7665Volker Lendecke11-136/+295
Quite a few of our internal routines put stuff on talloc_tos() these days. In top-level netapi routines, properly allocate a stackframe and clean it again. Also, don't leak memory in the rpccli_ callers onto the libnetapi context.
2010-10-02s3: Fix a 64-bit BUGVolker Lendecke1-1/+1
Quick explanation why this is a problem: It is not safe to pass a pointer to a uint32_t into a routine that expects a size_t *. The routine that this pointer is passed to has no chance to find out that in reality it was passed a pointer to a uint32_t. On platforms where sizeof(size_t)==8, we get a nice overwrite of a stack area that should not be overwritten. As this happens over an over again: Does someone know a means to make gcc stop with an error in this case? Volker
2010-10-02bisect: more bisection optionsAndrew Tridgell1-6/+12
and fixes for the old ones Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sat Oct 2 06:14:46 UTC 2010 on sn-devel-104
2010-10-01script: added bisect-test.py git bisect scriptAndrew Tridgell1-0/+85
this can be used to work out what commit broke a set of tests
2010-10-01autobuild: show top commit in emailsAndrew Tridgell1-2/+20
2010-10-01autobuild: include autobuild.log in logs.tar.gzAndrew Tridgell1-0/+1
2010-10-01s4-repl: use the GC principal name for DRS replication connectionAndrew Tridgell3-6/+76
this is required when talking to RODCs (for notify calls), and is good practice for all DCs Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-01s4-rpc: added target_principal binding handle optionAndrew Tridgell7-6/+18
this allows you to specify a target SPN for a connection Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-01s4-dsdb: added dsdb_search_by_dn_guid()Andrew Tridgell1-0/+26
this is more efficient than first searching for the DN, then doing a search. We should look at using this in lots of existing code Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-02s4:rpc_server/netlogon: don't use dcerpc_binding_handle_call_send/recv() ↵Stefan Metzmacher1-12/+9
directly metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Oct 2 03:11:38 UTC 2010 on sn-devel-104
2010-10-02netlogon.idl: add missing flags to DSGETDC_VALID_FLAGSStefan Metzmacher1-0/+3
metze
2010-10-02s4-gensec Always honour the set server principalAndrew Bartlett1-1/+1
The spengo code won't set this unless it is allowed to by this same option, but other callers may need it. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Oct 2 02:27:39 UTC 2010 on sn-devel-104
2010-10-02s4-drs: fixed comparison login in replicated renamesAndrew Tridgell1-45/+72
we need to ensure we only ever compare USNs from the same originating invocation ID. Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sat Oct 2 01:45:19 UTC 2010 on sn-devel-104
2010-10-02s4-kcc: remove stale repsTo entries in the KCCAndrew Tridgell1-0/+32
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-01autobuild: fixed tuple count for retryAndrew Tridgell1-1/+1
2010-10-02s4-kerberos Don't regenerate key values for each alias in keytabAndrew Bartlett1-43/+35
Instead, store the same key value under the multiple alias names. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Oct 2 00:16:52 UTC 2010 on sn-devel-104
2010-10-02s4-kdc Rework 'allowed encryption types' handling in the KDCAndrew Bartlett1-28/+44
All DCs and all krbtgt servers are forced to use AES, regardless of the msDS-SecondaryKrbTgtNumber value. Andrew Bartlett
2010-10-02s4-auth Add make_server_info_pac() to include 'resource domain' groupsAndrew Bartlett2-5/+40
Previously, our PAC code didn't include these groups into the server_info from which we would eventually calculate the full list of tokenGroups. Andrew Bartlett
2010-10-02s4-auth Allocate domain SIDs under the sids array, not server_infoAndrew Bartlett1-1/+1
Andrew Bartlett
2010-10-02heimdal use returned server entry from HDB to compare realmsAndrew Bartlett1-1/+1
Some hdb modules (samba4) may change the case of the realm in a returned result. Use that to determine if it matches the krbtgt realm also returned from the DB (the DB will return it in the 'right' case) Andrew Bartlett
2010-10-02s3-spoolss: Strip off ", DrvConvert" and ",LocalOnly" in OpenPrinterEx as ↵Günther Deschner1-0/+13
seen from Win7 clients. These suffixes and their meaning are not documented (yet). Guenther
2010-10-02s3-spoolss: Fixed print job access.Andreas Schneider1-4/+4
2010-10-02s3-spoolss: Fixed print_access_check server_info.Andreas Schneider2-3/+3
2010-10-01s3:smbd: Increase unsupported IOCTL debug message to 2Steven Danneman1-2/+4
Even printing once per connection, level 0 was too spammy with Windows clients frequently sending FSCTL_GET_OBJECT_ID which is unsupported.
2010-10-01s3:events: Call all ready fd event handlers on each iteration of the main loopSteven Danneman5-33/+38
Previously, only one fd handler was being called per main message loop in all smbd child processes. In the case where multiple fds are available for reading the fd corresponding to the event closest to the beginning of the event list would be run. Obviously this is arbitrary and could cause unfairness. Usually, the first event fd is the network socket, meaning heavy load of client requests can starve out other fd events such as oplock or notify upcalls from the kernel. In this patch, I have changed the behavior of run_events() to unset any fd that it has already called a handler function, as well as decrement the number of fds that were returned from select(). This allows the caller of run_events() to iterate it, until all available fds have been handled. I then changed the main loop in smbd child processes to iterate run_events(). This way, all available fds are handled on each wake of select, while still checking for timed or signalled events between each handler function call. I also added an explicit check for EINTR from select(), which previously was masked by the fact that run_events() would handle any signal event before the return code was checked. This required a signature change to run_events() but all other callers should have no change in their behavior. I also fixed a bug in run_events() where it could be called with a selrtn value of -1, doing unecessary looping through the fd_event list when no fds were available. Also, remove the temporary echo handler hack, as all fds should be treated fairly now.
2010-10-01testprogs: print architecture used in win32 spoolss testsuite.Günther Deschner1-5/+9
Guenther
2010-10-01s3-dcerpc: no point for printing NDR twice for internal pipes in log level 10.Günther Deschner1-1/+1
Guenther
2010-10-01samba: share readline wrappers among all buildsystems.Günther Deschner21-35/+35
Guenther