Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-08-24 | make smbcontrol smbd ping work proper checking for arguments handle short ↵ | Olaf Flebbe | 2 | -14/+21 | |
pid_t correctly | |||||
2009-08-24 | libndr: add missing protoypes for double type. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2009-08-24 | tevent: avoid using reserved c++ word. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2009-08-24 | s4:dsdb Use talloc_strndup() to ensure OIDs are null terminated | Andrew Bartlett | 1 | -8/+11 | |
The OIDs are not NULL terminated by the python caller, in line with the LDB API, but we need them to be here, as we were casting them to a string. Andrew Bartlett | |||||
2009-08-24 | s4:ldb Add python binding and test for ldb_msg_diff() | Andrew Bartlett | 2 | -0/+43 | |
2009-08-24 | s4:dsdb Add const | Andrew Bartlett | 1 | -2/+2 | |
2009-08-24 | s4:dsdb remove unused variable | Andrew Bartlett | 1 | -1/+0 | |
2009-08-24 | s4:dsdb use talloc_strndup() in GET_STRING_LDB() rather than walk off the end | Andrew Bartlett | 1 | -7/+17 | |
The problem is that samdb_result_string() and ldb_msg_find_attr_as_string() both simply cast the string, rather than ensuring the return value is NULL terminated. This may be best regarded as a flaw in LDB, but fixing it there is going to be more difficult. Andrew Bartlett | |||||
2009-08-24 | note the semantic change in talloc_free from 2.0 | Andrew Tridgell | 2 | -8/+9 | |
2009-08-24 | fixed typo in talloc doc XML | Andrew Tridgell | 1 | -1/+2 | |
2009-08-24 | LIBREPLACEOBJ now contains the full path | Andrew Tridgell | 2 | -8/+2 | |
2009-08-24 | updated XML source for talloc man page | Andrew Tridgell | 1 | -1/+73 | |
2009-08-24 | added talloc_set_log_* documentation | Andrew Tridgell | 1 | -0/+11 | |
2009-08-24 | updated talloc guide for recent API changes | Andrew Tridgell | 1 | -2/+54 | |
2009-08-24 | make lib/replace more usable in standalone builds | Andrew Tridgell | 1 | -2/+2 | |
This makes the lib/replace m4 work in lib/talloc as a standalone build | |||||
2009-08-24 | fixed getpass m4 | Andrew Tridgell | 1 | -2/+2 | |
This allows the getpass.m4 code to work in standalone talloc builds | |||||
2009-08-24 | s3:lib: setup talloc log and abort functions | Stefan Metzmacher | 1 | -0/+7 | |
metze | |||||
2009-08-24 | s3:configure: require talloc >= 2.0.0 | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-08-24 | s4:cmdline: setup talloc log and abort functions | Stefan Metzmacher | 2 | -5/+7 | |
metze | |||||
2009-08-24 | s4:build: require talloc >= 2.0.0 | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-08-24 | talloc: add --enable-talloc-compat1 to build a compat library for talloc 1.x.x | Stefan Metzmacher | 5 | -0/+89 | |
metze | |||||
2009-08-24 | talloc: update talloc.exports and talloc.signatures | Stefan Metzmacher | 2 | -4/+8 | |
metze | |||||
2009-08-24 | talloc: add defines and functions for TALLOC_MAJOR/MINOR_VERSION | Stefan Metzmacher | 6 | -11/+72 | |
We also use the major and minor versions in the TALLOC_MAGIC, so that we can detect if two conflicting versions of talloc are loaded in one process. In this case we use talloc_log() to output a very useful debug message before we call talloc_abort(). metze | |||||
2009-08-24 | talloc: change version to 2.0.0 | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-08-24 | talloc: remove ABI compat functions | Stefan Metzmacher | 2 | -31/+0 | |
metze | |||||
2009-08-24 | talloc: remove unused build dependecies to samba | Stefan Metzmacher | 1 | -18/+0 | |
metze | |||||
2009-08-24 | talloc/testsuite: use talloc_set_log_fn() and log to stdout | Stefan Metzmacher | 1 | -0/+6 | |
metze | |||||
2009-08-24 | talloc: add talloc_set_log_fn() and talloc_set_log_stderr() | Stefan Metzmacher | 2 | -12/+51 | |
So that the application can setup a log function to get ERROR and WARNING messages. metze | |||||
2009-08-24 | talloc: let talloc_steal() only generate a warning if it's used with references | Stefan Metzmacher | 1 | -2/+1 | |
We have to many callers, which rely on that talloc_steal() never fails. metze | |||||
2009-08-24 | talloc/testsuite: report __location__ of testsuite failures | Stefan Metzmacher | 1 | -6/+6 | |
metze | |||||
2009-08-24 | talloc/testsuite: add infrastructure to test aborts | Stefan Metzmacher | 1 | -0/+20 | |
metze | |||||
2009-08-24 | talloc/testsuite: reset the globals after each subtest | Stefan Metzmacher | 1 | -3/+29 | |
metze | |||||
2009-08-24 | talloc: call return after abort, because an overloaded abort function might ↵ | Stefan Metzmacher | 1 | -0/+4 | |
not exit This will be useful in the testsuite, where we could check if an abort would happen. metze | |||||
2009-08-24 | talloc: report the size of reference handles as 0 | Stefan Metzmacher | 1 | -1/+3 | |
metze | |||||
2009-08-24 | talloc: let talloc_total_blocks() and talloc_get_size() operate on the ↵ | Stefan Metzmacher | 1 | -2/+15 | |
null_context metze | |||||
2009-08-23 | s3:winbind: Fallback to the forest root for lookupname | Volker Lendecke | 1 | -0/+49 | |
Thanks to Steven Danneman for watching me closely :-) | |||||
2009-08-23 | s3:winbind: Even on a domain controller, "our" domain is internal | Volker Lendecke | 1 | -6/+0 | |
It happens to be what we also share out via NETLOGON/SAMR, but winbind has direct access to it via the passdb domain methods | |||||
2009-08-23 | s3:winbind: Do not drop the first user in sam_query_user_list | Volker Lendecke | 1 | -3/+4 | |
2009-08-23 | s3:winbind: For internal domains it is pointless to connect to a DC | Volker Lendecke | 2 | -1/+11 | |
2009-08-23 | s3:winbind: winbindd_dual_ndrcmd should output what it's doing | Volker Lendecke | 1 | -0/+4 | |
2009-08-23 | s3:winbind: Fix the talloc hierarchy in wb_queryuser_done | Volker Lendecke | 1 | -1/+1 | |
We need to return state->userinfo beyond the end of wb_queryuser_recv, so the unmarshalled strings are children of that, not the state that is lost sooner. Metze, this scheme works fine as long as we only have a single malloc'ed entity that is returned. I think we need a different scheme in the future when we might have more than one independent object to be returned. | |||||
2009-08-22 | Implement Metze's suggestion of trying getpwuid(0) then getpwnam(root). | Jeremy Allison | 1 | -9/+5 | |
Jeremy. | |||||
2009-08-21 | Log debug message when hires timestamps are available on the | Jeremy Allison | 1 | -0/+4 | |
share. Jeremy. | |||||
2009-08-21 | Fix bug 6529 - Offline files conflict with Vista and Office 2003 | Jeremy Allison | 6 | -1/+42 | |
On filesystems that can't store less than one second timestamps, round the incoming timestamp set requests so the client can't discover that a time set request has been truncated by the filesystem. Needs backporting to 3.4, 3.3, 3.2 and (even) 3.0. Jeremy | |||||
2009-08-21 | Try and fix the buildfarm by using getpwnam(root) instead | Jeremy Allison | 1 | -0/+7 | |
of getpwuid(0) if DEVELOPER is defined. I'm hoping the build farm defines DEVELOPER... Jeremy. | |||||
2009-08-22 | s4:ntp_signd Fix bug 6656 - Set protocol version to 0, as used by ntpd | Andrew Bartlett | 3 | -7/+6 | |
The change to protocol version 1 was not intentional, and broke the protocol established with the ntp.org project. Andrew Bartlett | |||||
2009-08-21 | Fix coverity CID: 932 - forward null. | Jeremy Allison | 1 | -2/+4 | |
Jeremy. | |||||
2009-08-21 | Fix for bug 6651 - smbd SIGSEGV when breaking oplocks. | Jeremy Allison | 1 | -17/+54 | |
Based on a patch submitted by Petr Vandrovec <petr@vandrovec.name>. Multiple pending signals with siginfo_t's weren't being handled correctly leading to smbd abort with kernel oplock signals. Jeremy | |||||
2009-08-21 | s3: fix bug #6650, authentication at member servers when winbindd is not running | Michael Adam | 1 | -1/+1 | |
Authentication of domain users on the member server fails when winbindd is not running. This is because the is_trusted_domain() check behaves differently when winbindd is running and when it isn't: Since wb_is_trusted_domain() calls wbcDomainInfo(), and this will also give a result for our own domain, this succeeds for the member server's own domain when winbindd is running. When winbindd is not running, is_trusted_domain() checks (and possibly updates) the trustdom cache, and this does the lsa_EnumTrustDom() rpc call to the DC which does not return its own domain. In case of winbindd not running, before 3.4, the domain part was _silently_ mapped to the workgroup in auth_util.c:make_user_info_map(), which effectively did nothing in the member case. But then the parameter "map untrusted to domain" was introduced and the mapping was made to the workstation name instead of the workgroup name by default unless "map untrusted to domain = yes". (Commits d8c54fddda2dba3cbc5fc13e93431b152813892e, 5cd4b7b7c03df6e896186d985b6858a06aa40b3f, and fbca26923915a70031f561b198cfe2cc0d9c3aa6) This was ok as long as winbindd was running, but with winbindd not running, these changes actually uncovered the above logic bug in the check. So the correct check is to treat the workgroup as trusted / or known in the member case. This is most easily achieved by not comparing the domain name against get_global_sam_name() which is the host name unless for a DC but against my_sam_name() which is the workgroup for a DC and for a member, too. (These names are not very intuitive...) I admit that this is a very long commit message for a one-liner, but this has needed some tracking down, and I think the change deserves some justification. Michael | |||||
2009-08-21 | s4:client | Sam Liddicott | 1 | -3/+7 | |
Put was assuming that the remote name was always absolute, and not relative to the current remote directory. Signed-off-by: Sam Liddicott <sam@liddicott.com> |