summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2009-06-19s4:ldb Add test for integer normalisation behaviourAndrew Bartlett1-0/+17
This uses groupType as the example, but this actually applies to all integer types in AD. Andrew Bartlett
2009-06-19Fixed some uninitialised variablesMatthias Dieter Wallnöfer5-18/+20
I tried hard to not change the program logic. Should fix bug #6439.
2009-06-19Correct handling of 32-bit integer attributes in SAMBA 4Matthias Dieter Wallnöfer4-41/+88
- LDB handles now all 32-bit integer attributes correctly (also with overflows) according to the schema - LDAP backends handle the attributes "groupType", "userAccountControl" and "sAMAccountType" correctly. This handling doesn't yet use the schema but the conversion file "simple_ldap.map.c" which contains them hardcoded. Did also a refactoring of the conversion function there. - Bug #6136 should be gone
2009-06-18Remove unused variableAndrew Bartlett1-3/+0
2009-06-18Bump the ldb version and the version Samba4 requires.Andrew Bartlett2-2/+2
We have made a lot of useful changes to LDB since the last realese, that Samba4 now relies on. This ensures that a build against a system LDB will only succeed against the right version. Andrew Bartlett
2009-06-18s4: Add tests and 'must change password' flags in setpassword and newuserAndrew Bartlett4-12/+25
In particular, ensure that we can acutally change the password under these circumstances. Andrew Bartlett
2009-06-18s4:libnet Allow 'net password change' to work on expired passwordsAndrew Bartlett11-9/+41
We need to pass down flags to the DCE/RPC layer to allow fallback to anonymous connections, as we can't log in with an expired password. The anonymous connection can then change the password with SAMR. Andrew Bartlett
2009-06-18s4:kdc Allow a password change when the password is expiredAndrew Bartlett12-70/+98
This requires a rework on Heimdal's windc plugin layer, as we want full control over what tickets Heimdal will issue. (In particular, in case our requirements become more complex in future). The original problem was that Heimdal's check would permit the ticket, but Samba would then deny it, not knowing it was for kadmin/changepw Also (in hdb-samba4) be a bit more careful on what entries we will make the 'change_pw' service mark that this depends on. Andrew Bartlett
2009-06-18s4:setup Add an option to 'setpassword' to force password change at next loginAndrew Bartlett3-3/+17
2009-06-18s4:gensec Print GSSAPI error message when unable to find PACAndrew Bartlett1-1/+3
2009-06-18Require the new tdb 1.1.5 (for performance reasons)Andrew Bartlett2-2/+2
While tdb has not changed ABI in a way that requires this, we don't want Samba4 somehow built against the old version with performance problems on large, growing databases. Andrew Bartlett
2009-06-18Fixes for the "cldap" testsMatthias Dieter Wallnöfer2-6/+19
- Insert a check after the "tsocket" library call to make sure that the call terminated correctly - Add a comment to explain why on further calls of "cldap_socket_init" the destination address hasn't to be specified
2009-06-18source4/client/client.c: Possible memory leaksSlava Semushin1-2/+5
Patch for bug #6446 cppcheck found 2 possible memory leaks: [./source4/client/client.c:3305]: (error) Memory leak: base_directory [./source4/client/client.c:3305]: (error) Memory leak: desthost Patch in attach.
2009-06-18Fix resource leak in lib/ldb/tools/ldbmodify.cSlava Semushin1-0/+1
Patch for bug #6389
2009-06-18Fix syntax error in lib/ldb/ldb_sqlite3/base160.cSlava Semushin1-1/+1
Patch for bug #6388
2009-06-18LDB: Link against both tevent and tallocEric Sandall1-1/+1
Patch for bug #6269 When linking against tevent you also need to link against talloc. This patch fixes external/libevent.m4 to do so.
2009-06-18s4: Call va_end() after all va_start()/va_copy() calls.Andrew Kroeger1-0/+1
This corrects the issues reaised in bug #6129, and some others that were not originally identified. It also accounts for some code that was in the original bug report but appears to have since been made common between S3 and S4. Thanks to Erik Hovland <erik@hovland.org> for the original bug report.
2009-06-18NETLOGON pipe improvementsMatthias Dieter Wallnöfer2-33/+81
Patch for bug #4939 This refactors the NETLOGON code related to this bug: - Introduces a new "SYNCSTATE" enum required by the "DatabaseSync2" call (acc. to WSPP) - Make "DatabaseSync" dependant from "DatabaseSync2" (acc. to WSPP) - Let "DatabaseSync2" return NT_STATUS_NOT_IMPLEMENTED (I'm not sure if this is also true when a domain is running in mixed mode) - Make "LogonControl" and "LogonControl2" dependant form "LogonControl2Ex" (acc. to WSPP) - Let "LogonControl2Ex" return WERR_NOT_SUPPORTED for now
2009-06-18Use system Python LDB bindings, if present.Jelmer Vernooij1-1/+9
2009-06-18Use system LDB by default if the right version was found.Jelmer Vernooij1-2/+2
2009-06-18dsdb: Fix build against system ldb.Jelmer Vernooij3-3/+3
2009-06-18selftest: Use common function when skipping testsuites based on run-timeJelmer Vernooij1-11/+32
conditions.
2009-06-18smb_build: Always build modules for system-libraries as shared libraries,Jelmer Vernooij1-2/+3
since they can't be included in the static library.
2009-06-18Fix build with system LDB.Jelmer Vernooij4-4/+4
2009-06-18configure: Use Python tdb bindings from the system, if found.Jelmer Vernooij1-3/+10
2009-06-18Remove outdated Python status file.Jelmer Vernooij2-16/+2
2009-06-17Only install an explicit set of scripts during "make install", rather thanJelmer Vernooij1-1/+8
whatever happens to be in the source tree.
2009-06-17Make fullschema script executable.Jelmer Vernooij1-0/+0
2009-06-17pyldb: Fix three more (minor) memory leaks.Jelmer Vernooij2-14/+42
2009-06-17pyldb: Fix memory leak in Dn.get_parent().Jelmer Vernooij1-2/+16
2009-06-17pyldb: Fix memory leak in Dn.concat.Jelmer Vernooij1-3/+12
2009-06-17pyldb/tests: Use different dn's everywhere, to easily spot which test isJelmer Vernooij1-49/+49
breaking in gdb.
2009-06-17pyldb: Fix another memory leak and reference counting error.Jelmer Vernooij1-12/+24
2009-06-17param/python: Fix memory leak of LoadParm objects.Jelmer Vernooij1-1/+12
2009-06-17pycredentials: Raise MemoryError when unable to create objects.Jelmer Vernooij1-1/+6
2009-06-17pyldb: Fix memory leak of LdbMessage's created from Python.Jelmer Vernooij1-3/+7
2009-06-17pycredentials: Fix memory leak.Jelmer Vernooij1-1/+7
2009-06-17pyldb: Fix two memory leaks of attribute lists.Jelmer Vernooij1-3/+20
2009-06-17pyldb: Fix segfault, freeing memory too early in search.Jelmer Vernooij1-4/+14
2009-06-17pyldb: Support getting the parent of special DNs without segfaulting.Jelmer Vernooij2-1/+20
Found by: Андрей Григорьев <andrew@ei-grad.ru>
2009-06-17s4-smbtorture: add test for NetUserSetInfo level 0 (user rename).Günther Deschner1-2/+13
Guenther
2009-06-17s4-smbtorture: use torture_comment in RPC-SAMR-USERS-PRIVILEGES test.Günther Deschner1-15/+15
Guenther
2009-06-17s4-smbtorture: use TORTURE_TEST_USER define in libnetapi user test.Günther Deschner1-17/+15
Guenther
2009-06-16python: Provide way to iterate over available shares.Jelmer Vernooij3-2/+53
2009-06-16python: Add API for accessing available shares.Jelmer Vernooij3-0/+101
2009-06-15Fix the posixtimedlock testVolker Lendecke1-8/+53
The previous version depended on the fact that smb_raw_lock_send just queued stuff. This changed with ebf5523b6e2ae0.
2009-06-13smbtorture: Output subunit by default.Jelmer Vernooij1-1/+1
2009-06-13smbtorture: Remove unused 'quiet' output format.Jelmer Vernooij1-36/+0
2009-06-12selftest: Fix references to filenames with knownfailures and slow tests.Jelmer Vernooij1-2/+2
2009-06-12selftest: Add option to strip output of succeeded tests, and use it onJelmer Vernooij1-1/+1
the buildfarm. The matches the behaviour we had earlier in the previous output format.