summaryrefslogtreecommitdiffstats
path: root/source4/dsdb
Commit message (Collapse)AuthorAgeFilesLines
* Fix dependencies for ldb instancetype module.Jelmer Vernooij2008-05-211-1/+1
| | | | (This used to be commit 17c41a6c3e71102e3516e6926f7e7d1ab5c97563)
* Include flags.h into samdb.hAndrew Bartlett2008-05-211-0/+1
| | | | | | | These flags are too useful just to hide away... Andrew Bartlett (This used to be commit 1e897b6148407e9921edd2c3db734930d79ccb42)
* Fix a couple (well, little more than that..) of typos.Jelmer Vernooij2008-05-181-4/+4
| | | | (This used to be commit a6b52119940a900fb0de3864b8bca94e2965cc24)
* Create prototype headers from Makefile directory, without smb_build in the ↵Jelmer Vernooij2008-05-181-4/+4
| | | | | | middle. (This used to be commit f4a77b96f9c17d853348b70794026e5b9e384942)
* Use variables for source directory in a couple more places.Jelmer Vernooij2008-05-181-4/+4
| | | | (This used to be commit 56bb2907c67d55967f54ce74b029f05067a187c5)
* Merge ldb_map into LIBLDB.Jelmer Vernooij2008-05-111-2/+2
| | | | (This used to be commit 4d7925f953bc9d1fcffb4a4dd268b763c18ceae6)
* Clean up some git merges gone wrong.Jelmer Vernooij2008-05-101-4/+0
| | | | (This used to be commit 42eb6b33462228467e65a51bbf624c481802b090)
* Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij2008-04-2510-22/+61
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: source/Makefile source/auth/config.mk source/auth/gensec/config.mk source/build/m4/public.m4 source/build/make/python.mk source/build/make/rules.mk source/build/smb_build/header.pm source/build/smb_build/main.pl source/build/smb_build/makefile.pm source/dsdb/config.mk source/dsdb/samdb/ldb_modules/config.mk source/kdc/config.mk source/lib/events/config.mk source/lib/events/events.c source/lib/ldb/config.mk source/lib/nss_wrapper/config.mk source/lib/policy/config.mk source/lib/util/config.mk source/libcli/smb2/config.mk source/libnet/config.mk source/librpc/config.mk source/nbt_server/config.mk source/ntptr/ntptr_base.c source/ntvfs/posix/config.mk source/ntvfs/sysdep/config.mk source/param/config.mk source/rpc_server/config.mk source/rpc_server/service_rpc.c source/scripting/ejs/config.mk source/scripting/python/config.mk source/smb_server/config.mk source/smbd/server.c source/torture/config.mk source/torture/smb2/config.mk source/wrepl_server/config.mk (This used to be commit 13bbd420681519894a4036729c43273912c9b402)
| * Make sure we have an event context availableSimo Sorce2008-04-211-0/+7
| | | | | | | | (This used to be commit b7c96e0cc270bd3b1c9bd117a22df3f657b6acd5)
| * Specify event_context to ldb_wrap_connect explicitly.Jelmer Vernooij2008-04-178-14/+25
| | | | | | | | (This used to be commit b4e1ae07a284c044704322446c94351c2decff91)
| * Remove event context tracking from the credentials struct.Jelmer Vernooij2008-04-171-2/+2
| | | | | | | | (This used to be commit 4d7fc946b2ec50e774689c9036423b6feef99b8e)
| * Fix unresolved symbols.Jelmer Vernooij2008-04-141-8/+8
| | | | | | | | (This used to be commit 8573e828d1b68c47b3c1754e9be230b2e78d9d52)
| * Move object files lists to makefile rather than smb_build.Jelmer Vernooij2008-04-142-76/+82
| | | | | | | | (This used to be commit 5628d58990144463fd87f8c847c9384ac2193681)
| * Clean up provision and rootdse module to hard-code less stuff.Andrew Bartlett2008-04-041-0/+8
| | | | | | | | | | | | | | | | In particular, allow for the server DN to be in a different site (possible outcome of a DRS replication). Andrew Bartlett (This used to be commit 9ee4e39fe178317f42fd9a0adceea24b55dfe0f1)
* | Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij2008-04-0812-23/+66
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: source/auth/credentials/config.mk source/auth/gensec/config.mk source/build/smb_build/makefile.pm source/heimdal_build/config.mk source/lib/events/config.mk source/lib/nss_wrapper/config.mk source/lib/policy/config.mk source/lib/registry/config.mk source/lib/socket_wrapper/config.mk source/lib/tdb/config.mk source/lib/tls/config.mk source/lib/util/config.mk source/libcli/config.mk source/libcli/ldap/config.mk source/libnet/config.mk source/librpc/config.mk source/param/config.mk source/rpc_server/config.mk source/scripting/ejs/config.mk source/smbd/process_model.mk (This used to be commit 760378e0294dd0cd4523a83448328478632d7e3d)
| * Reduce the number of installed headers.Jelmer Vernooij2008-04-021-2/+2
| | | | | | | | (This used to be commit 2243e24024f09ff9c9c7d0eb735c3b39c9d84424)
| * Install public header files again and include required prototypes.Jelmer Vernooij2008-04-024-11/+12
| | | | | | | | (This used to be commit 47ffbbf67435904754469544390b67d34c958343)
| * Fix more valgrind issues.Andrew Bartlett2008-03-292-2/+44
| | | | | | | | | | | | | | | | | | This passes down the timeout more consistantly, and ensures that no matter how the modules screw up, we don't free() the memory we are going to write into the ASN1 packet until we actually write it out. Andrew Bartlett (This used to be commit eefd46289b90967ce6b4cd385fb1f7e1d6f9b343)
| * Fix some valgrind issues.Andrew Bartlett2008-03-291-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | These small changes seem to fix some of the early issues in 'make valgrindtest' Previously, the subtree_delete code didn't pass on the timeout, leaving it uninitialised. The ldap_server/ldap_backend.c change tidies up the talloc hierarchy a bit. Andrew Bartlett (This used to be commit 95314f29a9cf83db71d37e68728bfb5009fce60d)
| * Convert some more files to GPLv3.Andrew Kroeger2008-03-285-8/+2
| | | | | | | | (This used to be commit ebe5e8399422eb7e2ff4deb546338823e2718907)
* | Merge v4.0-testJelmer Vernooij2008-03-287-56/+51
|\| | | | | | | (This used to be commit 977dbdeaf363c8905ed9fd0570eba4be80582833)
| * Remove pointless castAndrew Bartlett2008-03-251-1/+1
| | | | | | | | (This used to be commit 9a1466abbd4115f4a57d794006aca29aa0184ced)
| * Remove useless extra argument to samdb_result_account_expires().Andrew Bartlett2008-03-251-3/+2
| | | | | | | | | | Andrew Bartlett (This used to be commit bc607c334ff86624b891886a6f874da2bcff113e)
| * More kludge ACLs!Andrew Bartlett2008-03-201-36/+9
| | | | | | | | | | | | | | | | | | Rather than killing off the nasty 'kludge ACLs' stuff, this patch extends it, to ensure that LSA secrets and the registry are also protected. Andrew Bartlett (This used to be commit 2f2b110fb870132099bad1d4c16ed8962affb3ce)
| * IndentAndrew Bartlett2008-03-191-1/+2
| | | | | | | | | | Andrew Bartlett (This used to be commit d2b5f40d80008ca3269118915409333755b6eac3)
| * Allow more 'domain' objects when looking for a unqiue SID.Andrew Bartlett2008-03-141-2/+2
| | | | | | | | | | Andrew Bartlett (This used to be commit db3b5f16ec8d9b83d8a82a535a4847dce5923663)
| * Don't use 'dn', this attribute does not exist with the LDAP backend,Andrew Bartlett2008-03-131-1/+1
| | | | | | | | | | | | | | or in AD. Andrew Bartlett (This used to be commit a3e1f2830679a56366f0080115de504cdb0144f7)
| * Bail out, rather than segfault on no domain sid.Andrew Bartlett2008-03-131-2/+3
| | | | | | | | | | Andrew Bartlett (This used to be commit 7e85f318b571d1a909dffad0ecd661468ed497ca)
| * Correctly normalise records against OpenLDAP.Andrew Bartlett2008-03-131-1/+1
| | | | | | | | | | | | | | Fixing this simple typo allows more of the ldap.js test to pass. Andrew Bartlett (This used to be commit 7c80cd18d5cd9cbf32dac15a4734f5a3c67cd0e7)
| * Don't search the whole tree for the domains's sidAndrew Bartlett2008-03-131-4/+18
| | | | | | | | | | | | | | | | This change removes a dependency on objectclass=domainDNS, and avoids a subtree search when we really know exactly where this record is. Andrew Bartlett (This used to be commit 52947fc0c019e57438a21e54953601b6cc08eb49)
| * Rework to have member server 'domains' be CN=NETBIOSNAMEAndrew Bartlett2008-03-132-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | This reworks quite a few parts of our provision system to use CN=NETBIOSNAME as the domain for member servers. This makes it clear that these domains are not in the DNS structure, while complying with our own schema (found by OpenLDAP's schema validation). Andrew Bartlett (This used to be commit bda6a38b055fed2394e65cdc0b308a1442116402)
| * Don't segfault on invalid objectClass input.Andrew Bartlett2008-03-131-6/+13
| | | | | | | | | | | | | | | | If the objectClass found does not include a defaultSecurityDescriptor, then we should not segfault in the SDDL parser. Andrew Bartlett (This used to be commit 5a92771fb55149fcf24f21f30e4c6a622bef44f8)
* | Fix the build.Jelmer Vernooij2008-03-081-1/+1
| | | | | | | | (This used to be commit f2e49744717eb46bbfafeea9e2eb412a38a142e7)
* | Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij2008-03-073-8/+40
|\| | | | | | | (This used to be commit e4da851bd7e7620bbf99efe20a496b1be78ba4e2)
| * Treat maxPwdAge == 0 as passwords never expire.Andrew Kroeger2008-03-071-1/+1
| | | | | | | | (This used to be commit d28f2cb678b334086f601505c88e56b9c1ee559d)
| * Add samdb_result_account_expires() function.Andrew Kroeger2008-03-071-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Windows uses 2 different values to indicate an account doesn't expire: 0 and 9223372036854775807 (0x7FFFFFFFFFFFFFFFULL). This function looks up the value of the accountExpires attribute and if the value is either value indicating the account doesn't expire, 0x7FFFFFFFFFFFFFFFULL is returned. This simplifies the tests for account expiration. There is no need to check elsewhere in the code for both values, therefore a simple greater-than expression can be used. (This used to be commit 7ce5575a3a40cca4a45ec179a153f7e909065a87)
| * Make Samba4 pass the NET-API-BECOMEDC test against Win2k3 (again).Andrew Bartlett2008-03-062-7/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To make Samba4, using the python provision system, pass this test required some major rework. Untested code is broken code, and some of the refactoring for a seperate provision test (which also now passes) broke things. Similarly, the iconv work has compiled, but these codepaths have never been run (NULL pointer de-reference). In working to use a local, rather than global, loadparm context, and to support using a target directory, a few things needed to be reworked, particularly around path handling. Andrew Bartlett (This used to be commit 1169e8d7bee20477b0efbfea3534ac63c83fb3d6)
* | Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij2008-03-042-2/+10
|\| | | | | | | | | | | | | Conflicts: source/build/smb_build/makefile.pm (This used to be commit 391fea450b2e6664fcd4e4419858997c6094cf3e)
| * The DN in objectCategory should, if possible, be returned pretty...Andrew Bartlett2008-03-042-2/+10
| | | | | | | | | | | | | | This avoids going via the canonicalise_fn(), which will upper case the DN Andrew Bartlett (This used to be commit cdff1b0802437d713652b89f4522d3cce97c30ec)
| * Change remaining prototype headers to be private.Jelmer Vernooij2008-02-291-1/+1
| | | | | | | | (This used to be commit 2f7ff409e89c9682e681ddcf54439db9e3b6ccb4)
| * Move public header accumulation out of the perl code.Jelmer Vernooij2008-02-291-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Never install generated prototype files. It's easier to break the API when using them and they're not easily readable for 3rd party users. Conflicts: source/auth/config.mk source/auth/credentials/config.mk source/auth/gensec/config.mk source/build/smb_build/config_mk.pm source/build/smb_build/main.pl source/build/smb_build/makefile.pm source/dsdb/config.mk source/lib/charset/config.mk source/lib/tdr/config.mk source/lib/util/config.mk source/libcli/config.mk source/libcli/ldap/config.mk source/librpc/config.mk source/param/config.mk source/rpc_server/config.mk source/torture/config.mk (This used to be commit 6c659689ed4081f1d7a6253c538c7f01784197ba)
* | Deal with subsystems with no settings, several other minor fixes.Jelmer Vernooij2008-03-041-1/+1
| | | | | | | | (This used to be commit 10cf48591e8d6bfb750a6ff187f04ea24a1f8cd7)
* | Move object file lists to the Makefile.Jelmer Vernooij2008-03-032-79/+74
| | | | | | | | (This used to be commit a7e6d2a1832db388fdafa1279f84c9a8bbfc87d6)
* | Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij2008-02-292-42/+128
|\| | | | | | | | | | | | | Conflicts: source/scripting/python/config.mk (This used to be commit 0ac0ea660ab63eca764149f1d2828d0238a57289)
| * Fix typo.Jelmer Vernooij2008-02-291-1/+1
| | | | | | | | (This used to be commit 2b408e9ed4caf14e1ac047fd76127a5c979e5177)
| * Simplify the 'password must change' logicAndrew Bartlett2008-02-291-22/+17
| | | | | | | | | | | | | | | | This takes the previous patches further, so we catch all the cases (the KDC looked at the time directly). Andrew Bartlett (This used to be commit cda4642a937d249399e25eaa6e5e20a0d440bcbf)
| * Generate ACB_PW_EXPIRED correctlyAndrew Bartlett2008-02-281-4/+30
| | | | | | | | | | | | | | | | | | | | | | | | More correctly handle expired passwords, and do not expire machine accounts. Test that the behaviour is consistant with windows, using the RPC-SAMR test. Change NETLOGON to directly query the userAccountControl, just because we don't want to do the extra expiry processing here. Andrew Bartlett (This used to be commit acda1f69bc9b9c43e157e254d0bae54d11363661)
| * Users and computers now share the same template.Andrew Bartlett2008-02-281-35/+100
| | | | | | | | | | | | | | | | | | Slowly work away at the samldb module again, it is clear that AD does not use much of a templating system. samAccountType is managed, as far as I can tell, when groupType or userAccountControl changes. Andrew Bartlett (This used to be commit 447d5a795441aa6beab2f057c5ac1bc3c04e08c4)
* | Move public header accumulation out of the perl code.Jelmer Vernooij2008-02-261-2/+6
| | | | | | | | (This used to be commit 89f7c74924965071981bbe7e05ff69847b0a3a03)
* | Remove public prototype headers. Generating both public and private ↵Jelmer Vernooij2008-02-251-3/+3
| | | | | | | | | | | | prototype headers is tricky with gmake and it's easy to break backwards compatibility for the public API with them. (This used to be commit dee1cb6b08aa0a3e24372e052729121c11280971)