summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s4:ldb Add python binding and test for ldb_msg_diff()Andrew Bartlett2009-08-242-0/+43
|
* s4:dsdb Add constAndrew Bartlett2009-08-241-2/+2
|
* s4:dsdb remove unused variableAndrew Bartlett2009-08-241-1/+0
|
* s4:dsdb use talloc_strndup() in GET_STRING_LDB() rather than walk off the endAndrew Bartlett2009-08-241-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
* note the semantic change in talloc_free from 2.0Andrew Tridgell2009-08-242-8/+9
|
* fixed typo in talloc doc XMLAndrew Tridgell2009-08-241-1/+2
|
* LIBREPLACEOBJ now contains the full pathAndrew Tridgell2009-08-242-8/+2
|
* updated XML source for talloc man pageAndrew Tridgell2009-08-241-1/+73
|
* added talloc_set_log_* documentationAndrew Tridgell2009-08-241-0/+11
|
* updated talloc guide for recent API changesAndrew Tridgell2009-08-241-2/+54
|
* make lib/replace more usable in standalone buildsAndrew Tridgell2009-08-241-2/+2
| | | | This makes the lib/replace m4 work in lib/talloc as a standalone build
* fixed getpass m4Andrew Tridgell2009-08-241-2/+2
| | | | This allows the getpass.m4 code to work in standalone talloc builds
* s3:lib: setup talloc log and abort functionsStefan Metzmacher2009-08-241-0/+7
| | | | metze
* s3:configure: require talloc >= 2.0.0Stefan Metzmacher2009-08-241-1/+1
| | | | metze
* s4:cmdline: setup talloc log and abort functionsStefan Metzmacher2009-08-242-5/+7
| | | | metze
* s4:build: require talloc >= 2.0.0Stefan Metzmacher2009-08-241-1/+1
| | | | metze
* talloc: add --enable-talloc-compat1 to build a compat library for talloc 1.x.xStefan Metzmacher2009-08-245-0/+89
| | | | metze
* talloc: update talloc.exports and talloc.signaturesStefan Metzmacher2009-08-242-4/+8
| | | | metze
* talloc: add defines and functions for TALLOC_MAJOR/MINOR_VERSIONStefan Metzmacher2009-08-246-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
* talloc: change version to 2.0.0Stefan Metzmacher2009-08-241-1/+1
| | | | metze
* talloc: remove ABI compat functionsStefan Metzmacher2009-08-242-31/+0
| | | | metze
* talloc: remove unused build dependecies to sambaStefan Metzmacher2009-08-241-18/+0
| | | | metze
* talloc/testsuite: use talloc_set_log_fn() and log to stdoutStefan Metzmacher2009-08-241-0/+6
| | | | metze
* talloc: add talloc_set_log_fn() and talloc_set_log_stderr()Stefan Metzmacher2009-08-242-12/+51
| | | | | | | So that the application can setup a log function to get ERROR and WARNING messages. metze
* talloc: let talloc_steal() only generate a warning if it's used with referencesStefan Metzmacher2009-08-241-2/+1
| | | | | | We have to many callers, which rely on that talloc_steal() never fails. metze
* talloc/testsuite: report __location__ of testsuite failuresStefan Metzmacher2009-08-241-6/+6
| | | | metze
* talloc/testsuite: add infrastructure to test abortsStefan Metzmacher2009-08-241-0/+20
| | | | metze
* talloc/testsuite: reset the globals after each subtestStefan Metzmacher2009-08-241-3/+29
| | | | metze
* talloc: call return after abort, because an overloaded abort function might ↵Stefan Metzmacher2009-08-241-0/+4
| | | | | | | | | not exit This will be useful in the testsuite, where we could check if an abort would happen. metze
* talloc: report the size of reference handles as 0Stefan Metzmacher2009-08-241-1/+3
| | | | metze
* talloc: let talloc_total_blocks() and talloc_get_size() operate on the ↵Stefan Metzmacher2009-08-241-2/+15
| | | | | | null_context metze
* s3:winbind: Fallback to the forest root for lookupnameVolker Lendecke2009-08-231-0/+49
| | | | Thanks to Steven Danneman for watching me closely :-)
* s3:winbind: Even on a domain controller, "our" domain is internalVolker Lendecke2009-08-231-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
* s3:winbind: Do not drop the first user in sam_query_user_listVolker Lendecke2009-08-231-3/+4
|
* s3:winbind: For internal domains it is pointless to connect to a DCVolker Lendecke2009-08-232-1/+11
|
* s3:winbind: winbindd_dual_ndrcmd should output what it's doingVolker Lendecke2009-08-231-0/+4
|
* s3:winbind: Fix the talloc hierarchy in wb_queryuser_doneVolker Lendecke2009-08-231-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.
* Implement Metze's suggestion of trying getpwuid(0) then getpwnam(root).Jeremy Allison2009-08-221-9/+5
| | | | Jeremy.
* Log debug message when hires timestamps are available on theJeremy Allison2009-08-211-0/+4
| | | | | share. Jeremy.
* Fix bug 6529 - Offline files conflict with Vista and Office 2003Jeremy Allison2009-08-216-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
* Try and fix the buildfarm by using getpwnam(root) insteadJeremy Allison2009-08-211-0/+7
| | | | | | of getpwuid(0) if DEVELOPER is defined. I'm hoping the build farm defines DEVELOPER... Jeremy.
* s4:ntp_signd Fix bug 6656 - Set protocol version to 0, as used by ntpdAndrew Bartlett2009-08-223-7/+6
| | | | | | | The change to protocol version 1 was not intentional, and broke the protocol established with the ntp.org project. Andrew Bartlett
* Fix coverity CID: 932 - forward null.Jeremy Allison2009-08-211-2/+4
| | | | Jeremy.
* Fix for bug 6651 - smbd SIGSEGV when breaking oplocks.Jeremy Allison2009-08-211-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
* s3: fix bug #6650, authentication at member servers when winbindd is not runningMichael Adam2009-08-211-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
* s4:clientSam Liddicott2009-08-211-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>
* Add missing CreateFile flags to smb.hSteve French2009-08-211-1/+12
|
* s4:ldb Python requires that a 'compare' handler return -1, 0 or 1Andrew Bartlett2009-08-211-1/+5
|
* s4:ldb Use length-limited printf to avoid walking off end of stringsAndrew Bartlett2009-08-211-1/+1
| | | | | | | This should ensure the debug messages do not have random characters at their ends. Andrew Bartlett
* s4:kerberos Use MIT compatible names for these enc typesAndrew Bartlett2009-08-212-3/+3
| | | | | | | | | This is a small start on (ie, the only trivial part of) the work shown in: http://k5wiki.kerberos.org/wiki/Projects/Samba4_Port#Samba.27s_use_of_Heimdal_symbols.2C_with_MIT_differences (a table of all Kerberos symbols used in Samba4, and notes on where they differ from those provided with MIT Kerberos) Andrew Bartlett