summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
AgeCommit message (Collapse)AuthorFilesLines
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-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-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-07Rerun SWIG.Jelmer Vernooij1-15/+16
(This used to be commit e384aac5c8156c7f056c70b1caab0778f8fc52b6)
2008-03-07accountExpires: Windows default is 9223372036854775807, not -1.Andrew Kroeger1-1/+1
(This used to be commit be47cc7fdfa3cae0508e564f38b793aa27b6eb92)
2008-03-04Try to return sane ldb error stringsAndrew Bartlett1-1/+10
We don't just want to return just strerror(ret) when things go wrong. Andrew Bartlett (This used to be commit 7f0341dd589150ab01563957460cdcf42515cadc)
2008-03-02Some cleanups for the ldb doxygen docs.Brad Hards1-10/+12
(This used to be commit 5972308add8b1078e190beab204c1ba4b3a25747)
2008-03-01Remove unused variable, fix (80, 'Other error') exceptions from ldb python ↵Jelmer Vernooij2-4/+4
bindings (This used to be commit 2303063cbd2e65580618124ef8ecf42867d2b952)
2008-03-01Fix error handling in ldb.add().Jelmer Vernooij2-161/+81
(This used to be commit a7f89b5bb28601597a4a0f75ec2b97bac02370d9)
2008-02-29Move public header accumulation out of the perl code.Jelmer Vernooij1-1/+2
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)
2008-02-29Fix manpage paths.Jelmer Vernooij1-6/+6
(This used to be commit 36da52abf5be79e37bd495ec4265e01b27aa9da5)
2008-02-29Move manpage management out of the perl build system.Jelmer Vernooij2-9/+17
(This used to be commit 1dd6bea507f1f5e26cccf89148280721260a4673)
2008-02-29Fix ldapi support.Jelmer Vernooij1-2/+2
(This used to be commit 9499f8eea534cf93f96af17941e9195aadc0a756)
2008-02-28Fix rdn_name errors.Andrew Bartlett1-1/+2
Return the correct error when the DN is mismatched with it's RDN attribute (now matches AD). Andrew Bartlett (This used to be commit bf7166e785e5c5d52dbb0c12e5e4206d74e72f4e)
2008-02-25Update homepages for talloc, tdb and ldb subprojectsSimo Sorce1-14/+10
(This used to be commit 8cb07814bc6627fc8eba228eafd13336e3ca3758)
2008-02-21ldb_sqlite: fix the buildStefan Metzmacher2-2/+1
metze (This used to be commit 14c8e3101cc3b0138a551afdf3a94f4bb11bb21d)
2008-02-21Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-localAndrew Bartlett38-1124/+1041
(This used to be commit 5cd3310b78a85243eb436d05db3228c3495f9162)
2008-02-21Until the new ldb changes land, make ldb_wait set the error string.Andrew Bartlett1-1/+7
This makes it easier to track down which module only returned and error code, but not the error string. Andrew Bartlett (This used to be commit c4d502f68fbd5d5bc2ac5bb6369950379c9176fc)
2008-02-20Allow building ldb as static library again \o/Jelmer Vernooij1-1/+0
(This used to be commit a57adcfdd32fa9516eb092f7568e213347c583d7)
2008-02-20Fix use of some modules (needed _PUBLIC_).Jelmer Vernooij5-12/+20
(This used to be commit ce332130ea77159832da23bab760fa26921719e2)
2008-02-20Fix static module list generation for ldb.Jelmer Vernooij15-38/+10
(This used to be commit 92c1c0e9137f0845cac6cc96bf78711b6aaffe21)
2008-02-20Remove more function-based inits.Jelmer Vernooij6-78/+118
(This used to be commit b1a7810f3e70f9a831d9b8e85d531e448072adaf)
2008-02-20Use function-based initialization for ildap backend.Jelmer Vernooij1-6/+3
(This used to be commit 46e5027f56722fbe19af36aad1ab03ea1c862f43)
2008-02-20Use struct-based rather than function-based initialization for ldb modules ↵Jelmer Vernooij10-93/+22
everywhere. (This used to be commit 85c96a325867f7bcdb412ebc53f8a47dbf7cd89b)
2008-02-20Allow ldb backends without init function, use init function-less ldb modules.Jelmer Vernooij5-11/+20
(This used to be commit 141ee91272fb4dafca0149f679e17721b6a3011e)
2008-02-18Rename include to mkinclude to emphasize it is different from make's include.Jelmer Vernooij1-2/+2
(This used to be commit 0e1d0a874ae3d22b8f97a79b81fe0af3ef53a771)
2008-02-12Specify PICFLAG when compiling python modules.Jelmer Vernooij1-1/+1
(This used to be commit 981957165d09e82947f68475192f1ce1f0ddbdd3)
2008-02-12Fix installation of python module for ldb and tdb.Jelmer Vernooij1-0/+1
(This used to be commit 6c9a8bf9f03cef0fc1c5f7ec3f8786eccf79c851)
2008-02-12tdb/ldb: Use prefix in case DESTDIR is not set.Jelmer Vernooij1-4/+4
(This used to be commit ab19a8f62719eb0f347696a2e5f34f8847fd82cb)
2008-02-12Create the required directories when installing Python code.Jelmer Vernooij1-0/+2
(This used to be commit 8ef36fe54555cc0c5ac0d1f118d0a1a7b770c2fd)
2008-02-12Avoid using setup.py for intsallation.Jelmer Vernooij3-2/+7
(This used to be commit 7b93e43dad55454e9107a38e67764e08f51392d3)
2008-02-12Manually compile python files rather than use setup.py.Jelmer Vernooij4-22/+15
(This used to be commit 056843a5c2ca9e0ec59fd7e371852ecb5362ee32)
2008-02-11Fix out of tree builds.Jelmer Vernooij2-5/+6
(This used to be commit 35c8ebdca2612b52cd3eb2aafd35041d17173722)
2008-02-11Move some more rules to rules.mkJelmer Vernooij2-6/+9
(This used to be commit 2ff3f72fd2559051000c34da9fcd5602514595e4)
2008-02-11ldb: Split up the Makefile so it will be possible later on to directly ↵Jelmer Vernooij3-122/+125
include fragments in the Samba 3 or 4 makefile. (This used to be commit 6d54e9104de577ab727ee99a76e690a2fae71636)
2008-02-09Fix tests.Jelmer Vernooij1-35/+24
(This used to be commit e4d7cd8ba77aa05c11dad457c3f2c2c6252c5966)
2008-02-09Split up tests a bit, output subunit.Jelmer Vernooij1-753/+721
(This used to be commit 501259ff31641bf52e337b597881d1fedc6b2a63)
2008-02-09Remove unused path update.Jelmer Vernooij1-2/+0
(This used to be commit 1868a42108012183aa78fe5d4f524d45f4505a3e)
2008-02-08Fix syntax in LDAP testAndrew Bartlett1-4/+4
We don't get this far in the test at the moment however. Andrew Bartlett (This used to be commit c3098d5c52505e143a6ce498273a5ce6a66220b0)
2008-01-25ldb/python: Add bindings for schema functions.Jelmer Vernooij3-33/+393
(This used to be commit 9f6ea4692ca79c607538871c597698b98abf13d0)
2008-01-23python: Add convenience function for getting command line loadparm contextJelmer Vernooij1-4/+3
and default to using system smb.conf. (This used to be commit b3afde0f00ab5093b577b139a062c233d4db2524)
2008-01-22build: Remove support for DESCRIPTION setting that is now unused.Jelmer Vernooij1-1/+0
(This used to be commit 91d7ba5202e6c375456a42c2c6861f63c7fcfc20)
2008-01-22ldb/talloc/tdb: Use manually written pc file.Jelmer Vernooij1-0/+1
(This used to be commit c8947fda23eb874a7694bdee1b4de605744c2769)