Jelmer Vernooij
87ec1d2532
Make sure prototypes are always included, make some functions static and
...
remove some unused functions.
2008-10-20 18:59:51 +02:00
Andrew Bartlett
c35b0d9ab5
Merge branch 'master' of ssh://git.samba.org/data/git/samba into master-devel
2008-10-17 15:57:07 +11:00
Simo Sorce
2deeb99fff
Transform the sequence_number operation into a normal extended operation as it should always have been. Make it also async so that it is not a special case.
2008-10-16 12:55:30 -04:00
Andrew Bartlett
004bbbcd3b
Assert that the server provides allowedAttributes (etc) on each entry
...
This attribute is critical for the operation of nearly all the
Microsoft Mangement Console tools
Andrew Bartlett
2008-10-16 12:26:03 +11:00
Simo Sorce
7fb9007f3d
Fix very old bug in ASQ
2008-10-14 12:25:18 -04:00
Jelmer Vernooij
f8a02a1a80
Fix subunit files location after cherrypicks.
2008-10-08 03:33:38 +02:00
Stefan Metzmacher
5fc7fb48a0
s4:lib/ldb: fix stupid <SID=...> dn parsing bugs
...
metze
2008-10-02 11:41:10 +02:00
Jelmer Vernooij
2ed71ce6bc
Remove ldb_module_wait implementation - ldb_module.wait() is gone.
2008-09-30 00:28:06 +02:00
Stefan Metzmacher
cd9f993ec4
s4:lib/ldb: disable sqlite3 backend always as it doesn't compile anymore
...
metze
2008-09-29 04:22:21 +02:00
Simo Sorce
f14a2b3386
LDB ASYNC: ldb misc changes
2008-09-29 04:22:20 +02:00
Simo Sorce
4f40ee2b86
LDB ASYNC: core modules
2008-09-29 04:22:19 +02:00
Simo Sorce
9f7c2548d9
LDB ASYNC: other backends
2008-09-29 04:22:19 +02:00
Simo Sorce
0aeade2007
LDB ASYNC: ldb_tdb backend
2008-09-29 04:22:18 +02:00
Simo Sorce
8215374091
LDB ASYNC: Core files
2008-09-29 04:22:18 +02:00
Jelmer Vernooij
b0a95ad2f6
Revert LDB return code patches from Matthias.
2008-09-25 00:01:05 +02:00
Matthias Dieter Wallnöfer
9d849c30bc
Cosmetic corrections for the LDB library
...
This commit applies some cosmetic corrections for the LDB library.
2008-09-24 19:40:03 +02:00
Matthias Dieter Wallnöfer
9261fa997c
Cosmetic corrections for the LDB backend modules
...
This commit applies some cosmetic corrections for the LDB backend modules.
2008-09-24 19:40:03 +02:00
Simo Sorce
7b20cbb115
Fix python test, we can't check only the first member, because the order
...
is not guaranteed
2008-09-24 01:42:30 -04:00
Jelmer Vernooij
1ca2e4b99f
Use new binary name in merged build.
2008-09-24 04:41:30 +02:00
Simo Sorce
508527890a
Merge ldb_search() and ldb_search_exp_fmt() into a simgle function.
...
The previous ldb_search() interface made it way too easy to leak results,
and being able to use a printf-like expression turns to be really useful.
2008-09-23 18:17:46 -04:00
Jelmer Vernooij
0e2928f946
Don't expose ldb_request in the Python API but rather use regular
...
parameters.
2008-09-20 15:06:26 +02:00
Simo Sorce
e42caab6f9
Fix ldb standalone build.
...
Add shared-build target to the ldb library, and make it possible to build
it against libtalloc, libevents, libtdb as shared libraries.
2008-09-19 18:08:28 -04:00
Jelmer Vernooij
acae07bc17
Add support for implementing LDB modules in Python.
2008-09-19 16:17:52 +02:00
Jelmer Vernooij
186d2d83cb
Provide tdb.open and ldb.open python functions.
2008-09-19 12:47:52 +02:00
Jelmer Vernooij
6f6e42ce60
Generate with 1.3.36.
2008-09-18 23:55:50 +02:00
Karolin Seeger
2bb8ef091c
Fix typo.
...
retieve -> retrieve
Karolin
(partialy cherry-picked from 37c64130701ab13b6f34998ac17fec2d128c2e08)
metze
(This used to be commit 4d92e6d582a5b2094b2aaa9008a54b37ccfcc2d7)
2008-09-14 18:26:59 +02:00
Simo Sorce
e060303670
Fix spellings and file names
...
(This used to be commit baddefd0a6fa430af1a3001064149127e0d29361)
2008-09-12 13:29:51 -04:00
Simo Sorce
14965b7260
Always free tmp contexts before returning
...
(This used to be commit 40b71bbd718f6dee70c0611e527f55c56623dea6)
2008-09-06 12:33:27 -04:00
Andrew Tridgell
9817f3d785
Add a setexpiry operation in samdb.py
...
This makes it easy to set the expiry (or no expiry) for a samdb user
(This used to be commit 25171f18a4b242b5a731f4ac1eefc51cc82efd74)
2008-08-30 07:32:44 +10:00
Andrew Tridgell
094895cbe1
disable the anr== tests until they are understood
...
(This used to be commit 6028404a9a9db64d4025ef6e685ee13c4aadca2e)
2008-08-22 21:54:21 +10:00
Andrew Tridgell
c50d361e07
fixed a speellling erra
...
(This used to be commit 3c058f50cc3b91d540feb51fb698d90565b2b7c9)
2008-08-22 18:37:11 +10:00
Andrew Tridgell
cc43037f19
fixed a problem with length limited ldap values
...
The core ldb code for string matching assumed NULL terminated strings,
whereas the anr module used data_blob_const() to effectively truncate
a ldb_val by changing its length. The ldb code is supposed to be based
around length limited blobs, not NULL terminated strings, so the
correct fix was to change the string comparison functions to be length
limited
(This used to be commit 26c6aa5a80ffaf06fc33f30a6533f8f16ef538bc)
2008-08-22 17:36:56 +10:00
Andrew Bartlett
4ad97a1d05
Don't walk past the end of ldb values.
...
This is a partial fix towards bugs due to us walking past the end of
what we think are strings in ldb. There is much more work to do in
this area.
Andrew Bartlett
(This used to be commit 5805a9a8f35fd90fa4f718f73534817fa3bbdfd2)
2008-08-21 19:24:58 +10:00
Andrew Bartlett
64293ca4af
All these syntaxes are now handled by the schema.
...
(This used to be commit 94d5e69190f34d66d4defd4a7de7ce24bee77bc3)
2008-08-21 12:56:34 +10:00
Andrew Bartlett
0d89adcd4b
Correct anr search commants and error messages in ldap.js
...
(This used to be commit 233dd885c2a2b4ee7cc2287efe7d6e03625d4981)
2008-08-21 12:51:55 +10:00
Andrew Bartlett
4016cfcab7
Don't allow a NULL syntax
...
(This used to be commit 505a0c2b702b696b91dab683626bb25b14a49c38)
2008-08-21 12:51:06 +10:00
Andrew Bartlett
e7db2325e9
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit ae502f9e3991209d70a745bef3a3e6e7484cdb5f)
2008-08-20 16:02:13 +10:00
Andrew Tridgell
9dffeab5a8
don't overwrite fixed attributes with @ATTRIBUTES
...
(This used to be commit e860fc171fd127d73df23336089c1479911953da)
2008-08-20 16:00:54 +10:00
Andrew Bartlett
4bfab3bedb
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit 9fa48b3572cb4e55cfaa48a8b516a91904048573)
2008-08-20 15:52:08 +10:00
Andrew Tridgell
f96f623854
Merge commit 'origin/v4-0-test' into v4-0-test
...
(This used to be commit 3bdc906eb63a494f0d8478c13f8330828aa2f725)
2008-08-20 15:50:58 +10:00
Andrew Tridgell
7e1c62f8b6
added a LDB_ATTR_FLAG_FIXED so the schema module can mark attributes
...
as never to be removed.
(This used to be commit 9dce558206a2ce70c69b9b6c5c3c9c58ee165b1d)
2008-08-20 15:46:58 +10:00
Andrew Bartlett
5d37529771
Remove last traces of the old 'subclass' feature
...
(This used to be commit ed19d0abea5b206d186a51fa11dc0c04197e6ee2)
2008-08-20 13:09:40 +10:00
Andrew Bartlett
1dc5e75218
Allow attributes to be overwritten, not just added to
...
(This used to be commit 0aebae91be0fba7ffa94d73946a94aea930a252a)
2008-08-18 20:21:31 +10:00
Andrew Bartlett
5c6364ba06
Remove references to the unused @SUBCLASS feature.
...
This was removed from ldb_tdb a while ago
Andrew Bartlett
(This used to be commit fcb87e77860b449ac3483ccec5e6b5ed087540f2)
2008-08-18 12:01:27 +10:00
Andrew Bartlett
16112762e7
Generate the subSchema in cn=Aggregate
...
This reads the schema from the in-memory structure, when the magic
attributes are requested. The code is a modified version of that used
in the ad2oLschema tool (now shared).
The schema_fsmo module handles the insertion of the generated result.
As such, this commit also removes these entries from the setup/schema.ldif
Metze's previous stub of this functionality is also removed.
Andrew Bartlett
(This used to be commit c7c32ec7b42bdf0f7b669644516438c71b364e60)
2008-08-15 20:40:57 +10:00
Stefan Metzmacher
9437adf68b
lib/ldb/tools: allow -W and --realm when build from samba4
...
metze
(This used to be commit 0aa6d63ec571b0ca05fbfe14d2b4e9ba3e1082e9)
2008-07-26 21:46:53 +02:00
Andrew Bartlett
f4cae6a913
Sleep longer in the hope that the OpenLDAP backend might catch up
...
(This used to be commit 63c80c885dc3fb2228f082be8db752bb29e3962e)
2008-07-21 11:18:54 +10:00
Andrew Bartlett
ca46ad25b8
Fix ldb_map to add/remove the same 'extra' objectclass
...
The code previously added data->add_objectClass, but only removed the
fixed objectclass of extensibleObject.
Found by the ldap.py test.
Andrew Bartlett
(This used to be commit 4fa15c3173a997fa0b9041161d81e742e1fdb41c)
2008-07-21 11:18:21 +10:00
Andrew Bartlett
0c4738a411
Another kludge to let the OpenLDAP backend catch up.
...
This will go away when this is handled in an internal transation.
Andrew Bartlett
(This used to be commit f567e17758cfe937249beafae0a9087b67b27755)
2008-07-16 17:06:33 +10:00
Michael Adam
016d65ee98
ldb_map: eliminate "discards qualifyer" warning (const).
...
Michael
(This used to be commit b7c14af3790bcf825367a7f16d2aaa375b04393c)
2008-07-09 16:00:31 +02:00