summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
AgeCommit message (Collapse)AuthorFilesLines
2008-06-14Use a custom init function for samba4 that sets a samba4Simo Sorce1-3/+3
specific debug function. By default do not debug, this is the most appropriate action for a library as we cannot assume what stderr is use for in the main app. The main app is responsible to set ev_debug_stderr if they so desire. (This used to be commit e566a2f308ac6fb4b526a744f7059b565670aea5)
2008-06-14Make up the right dependencies now that ldb depends on libeventsSimo Sorce23-34/+68
(This used to be commit 3b8eec7ca334528cad3cdcd5e3fc5ee555d8d0e0)
2008-06-14This patch make it possible to build the events library completelySimo Sorce1-0/+4
standalone with no ties to internal samba4 functions Samba4 itself just uses the plain library, compatibility glue is in events_s4.c only (This used to be commit 7109b6a5a19eb2dbef4259104858b171298bad6e)
2008-06-11Use variables for source dir of python ldb bindings.Jelmer Vernooij1-3/+3
(This used to be commit cd4eddd31354f4ae45e8747da1a70340000716c3)
2008-06-03Align the Python and EJS ldap tests.Andrew Bartlett1-45/+151
We should now (need to review and compare them once more) be able to remove ldap.js (and once samba3sam.js is done, smbscript). Andrew Bartlett (This used to be commit f65e43e9456e8e951d172779cba53ab417114b20)
2008-05-31Revert Jelmer's CFLAGS commit e2b71a0ecbf10a78a59a8ec6371bdee57b1bfa6cAndrew Bartlett3-23/+15
This commit broke the build, because not all files (libreplace, popt) were updated. Andrew Bartlett (This used to be commit 3faacf4351d68a10aea78b53768571d2059772ae)
2008-05-30Move CFLAGS handling out of smb_build.Jelmer Vernooij3-15/+23
(This used to be commit e2b71a0ecbf10a78a59a8ec6371bdee57b1bfa6c)
2008-05-27Move CFLAGS that are not inherited out of smb_build.Jelmer Vernooij1-1/+1
(This used to be commit 49dcf4b8811f92684a7ddd266ac289d8fc8ca215)
2008-05-27Use new dynconfig.h location.Jelmer Vernooij1-0/+2
(This used to be commit c3f556915f09d078253e4c5539910a1cf420eeca)
2008-05-27Use variable for ldb source directory.Jelmer Vernooij4-38/+38
(This used to be commit 48bfce0ea51b952baef5bfa667405e8742e5016f)
2008-05-23Add proper implementation of MessageElement.__cmp__.Jelmer Vernooij3-11/+16
(This used to be commit 076e2cc356978ac313fcfdf8d8243f4ed1d629b0)
2008-05-23Use restructuredText formatting for docstrings.Jelmer Vernooij2-0/+6
(This used to be commit 0cc58decd74d20f3d7dff93ddef1c8bce4d49ad0)
2008-05-23Add module docstring, docstrings for constructors.Jelmer Vernooij3-14/+63
(This used to be commit 67d738d6e65476263a2b7c236a57fe2b0a2dfe32)
2008-05-23Add more docstrings in the ldb python module.Jelmer Vernooij3-6/+43
(This used to be commit a649a010670ee2c0d155aa62654841cf1f2bab8f)
2008-05-23Add some docstrings to ldb python module, fix MessageElement name.Jelmer Vernooij3-144/+430
(This used to be commit 717283331f8a1ebd80e7ec52d9bfe709f869ec86)
2008-05-22Fix CFLAGS for SWIG files.Jelmer Vernooij1-1/+1
(This used to be commit 8ee4f075046e0b181ec8a4ac1eaf3ea5621a56bf)
2008-05-21Move more modules inside of the samba package.Jelmer Vernooij2-3/+3
(This used to be commit 9b39e99f48266a54ed0b8890c2efde218b4b118a)
2008-05-21Move CFLAGS overrides for SWIG modules to Makefile.Jelmer Vernooij1-0/+2
(This used to be commit 58665a8a8e4b10435aebbf2c95b6a8e50db232d6)
2008-05-21Remove support for .py files from smb_build - deal with it only in the ↵Jelmer Vernooij1-0/+2
makefiles. (This used to be commit b865249efaa58d0fc87fa25491fda3b970af81c3)
2008-05-20Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-localAndrew Bartlett4-18/+198
(This used to be commit 69bac908bec3216d2f17042aa05ab8d4b55b0918)
2008-05-20Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-localAndrew Bartlett1-0/+2
Fix config.mk due to changing syntax. Conflicts: source/libcli/config.mk source/nbt_server/config.mk (This used to be commit 6a1c76f29f78183f44dfac6f468c5e728d2cb2cf)
2008-05-19Add __repr__ implementation for Ldb.Jelmer Vernooij4-1/+43
(This used to be commit 5607aea07f66f09fd5b33842d07d2fbbf44d13e7)
2008-05-19Add __repr__ implementations for ldb.Message, ldb.MessageElement and ldb.Dn.Jelmer Vernooij4-17/+155
(This used to be commit b9119c0f0f524d43ff09825dffb24a5e77a240f4)
2008-05-12Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-localAndrew Bartlett2-17/+10
(This used to be commit 61c31dc7cf649bc6f2d14bc8637e50ead9b9210a)
2008-05-11Use system python rather than smbpython.Jelmer Vernooij1-0/+2
(This used to be commit d3df51cd01e53383dcc05923d248db03bc6f62e9)
2008-05-11Merge ldb_map into LIBLDB.Jelmer Vernooij1-9/+3
(This used to be commit 4d7925f953bc9d1fcffb4a4dd268b763c18ceae6)
2008-05-10Merge branch 'v4-0-test' into v4-0-gmake3Jelmer Vernooij1-1/+1
Conflicts: source/auth/config.mk source/auth/gensec/config.mk source/torture/smbtorture.c (This used to be commit edfd02e59bba86b977bd60848f57a614691fff7a)
2008-05-09Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-localAndrew Bartlett1-1/+1
(This used to be commit 2db0e86fb4abc27eed2d35e1d41122bc89a2c5fe)
2008-05-08Fix typo.Jelmer Vernooij1-1/+1
(This used to be commit 1def988ef28de85b3f97172bdbf935a4fec4dec3)
2008-05-08Fix link flags for ldb and tdb Python modules.Jelmer Vernooij1-1/+1
(This used to be commit 787a32fdef9d761d64839f489cca0b0684f9a9fd)
2008-05-06Cope with an empty mapping file in ad2oLschemaAndrew Bartlett1-2/+2
(This used to be commit 5f36a605a9accfba1125bbae0e79bb14b936173c)
2008-04-25Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij5-38/+101
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)
2008-04-21Remove more event_context_init() uses from function calls within deep down ↵Simo Sorce1-2/+14
the code. Make sure we pass around the event_context where we need it instead. All test but a few python ones fail. Jelmer promised to fix them. (This used to be commit 3045d391626fba169aa26be52174883e18d323e9)
2008-04-17use uintptr_t instead of intptr_t where appropriateAndrew Tridgell1-2/+2
(This used to be commit d62f2bcc85c13605c133db250e0a86d2d6ccc481)
2008-04-15Move SOVERSION, VERSION and PC_FILE out of smb_build but use make variables ↵Jelmer Vernooij1-3/+5
directly instead. (This used to be commit 9d0ae012b0b463278cd054d06788aa998acc2da2)
2008-04-14Use _OBJ_FILES variables in a couple more places.Jelmer Vernooij1-48/+30
(This used to be commit 92856d5054106894b65cd1a1b5119c0facfc4cff)
2008-04-14Move object files lists to makefile rather than smb_build.Jelmer Vernooij3-16/+17
(This used to be commit 5628d58990144463fd87f8c847c9384ac2193681)
2008-04-14Remove prototypes from build.h in preparation of removing build.hJelmer Vernooij2-5/+13
altogether. (This used to be commit dbeab2a9cdee4e5f69afeb2603ba29cbed56debd)
2008-04-11Return SAM ldb context and loadparm context as part of C provisionJelmer Vernooij3-34/+85
result. (This used to be commit a3e1b835656470f1a80f0fa69f53a9df849baee3)
2008-04-08Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij1-1/+1
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)
2008-03-28Fix and test python scripts and kerberosAndrew Bartlett1-1/+1
This fixes up the python credentials interface in a number of areas, with the aim of supporting '-k yes' as a command line option. (This enables the use of kerberos). As such, I've had to change the get_credentials call to take a loadparm context, so that the credentials can be initialised correctly. The test_kinit script has been modified to prove that this continues to work, as well as to provide greater code coverage of the kerberos paths. Andrew Bartlett (This used to be commit 727ef40c2b56910028ef3c1092b8eab1bfa6ce63)
2008-03-28Merge v4.0-testJelmer Vernooij10-46/+72
(This used to be commit 977dbdeaf363c8905ed9fd0570eba4be80582833)
2008-03-26Clean up the ldb python bindings to be 64 bit safe.Andrew Bartlett2-35/+55
Thanks in particular to arkanes and KirkMcDonald on #python for their assistance, suggesting breaking the DN check. I eventually found it while trying to cut down on the number of gcc warnings, which is why we also add printf annotations. Andrew Bartlett (This used to be commit ba30e82d4efcba23c49622de43d3d6fc9c800e35)
2008-03-19More safety around ldb_dn C functions in python bindings.Andrew Bartlett1-2/+6
Ensure that the ldb python binding 'TypeError dn not set' errors are not in the SWIG wrapper's use of ldb functions, put some more error checks in. Andrew Bartlett (This used to be commit 8d4c831184cff8bca85daf6cc711b189b5cf3a47)
2008-03-18ldb: not every shell supports '==' so use '='Stefan Metzmacher1-1/+1
metze (This used to be commit b5eeaf9b27e0116e57825b664642d2b5cfd895f0)
2008-03-18ldb: remove configure with 'make realdistclean'Stefan Metzmacher1-1/+1
configure.in doesn't exist at all... metze (This used to be commit ca414d4e9e96b90100c46b006825bc8e935ba0b4)
2008-03-18ldb: nothing uses "system/network.h" so don't include itStefan Metzmacher1-1/+0
metze (This used to be commit 087667e0cd66ea615b5aa43538192fe1d7de87ae)
2008-03-18ldb: fix the standalone buildStefan Metzmacher6-13/+13
metze (This used to be commit 91b49365abed6f67e2b3c18b0090b4e6ff1df935)
2008-03-11Make error handling in ldb more consistant.Andrew Bartlett1-1/+4
This change ensures we give an immidiate error if the DN won't parse. Also clean up strcmp use to be more standard. Andrew Bartlett (This used to be commit 1b15f374a89b99f3c43d9c2ce06dde9c67383e66)
2008-03-09Move PC_FILE out of the perl code.Jelmer Vernooij1-1/+2
(This used to be commit ca8d4260ada9f74ebc406714ca70d20be09b194b)