summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2010-10-01s3-readline: move cmd_history to smbclient, the only user.Günther Deschner3-22/+20
Guenther
2010-10-01samba: share select wrappers.Günther Deschner19-65/+60
Guenther
2010-10-01s4-auth: fixed a vagrind error when creating keytabsAndrew Tridgell1-0/+3
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-01autobuild: revert a bit more of the subunit changesAndrew Tridgell1-2/+2
still not quite right - we can enable this again once its fully tested
2010-10-01autobuild: disable the subuit changes for now - they break error checkingAndrew Tridgell1-2/+2
2010-10-01autobuild: fixed the tuples in the retry_taskAndrew Tridgell1-2/+3
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Oct 1 18:22:22 UTC 2010 on sn-devel-104
2010-10-01autobuild: cwd is needed on all command typesAndrew Tridgell1-2/+2
2010-10-01s4-rpmd: fixed a use after realloc bugAndrew Tridgell1-2/+8
we could use old_el after the base message had been re allocated, due to adding timestamps. We need to re-find the element before using it Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-01s4-dsdb: fail the transaction instead of asserting on errorAndrew Tridgell1-2/+10
It is more useful to fail the transaction and give the user an error message than to assert when we have an error in the repl_meta_data module Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-01autobuild: Avoid unnecessary chdir() calls.Jelmer Vernooij1-11/+7
2010-10-01autobuild: Output test results in subunit.Jelmer Vernooij1-3/+5
2010-10-01s3-selftest: fix prefix in subunit output.Jelmer Vernooij1-3/+3
2010-10-01s3: Add subunit-test target.Jelmer Vernooij2-1/+7
2010-10-01s3-configure: Require at least version 1.2.6 of external TDB, which hasJelmer Vernooij1-1/+1
TDB_INCOMPATIBLE_HASH.