summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-08-21Push loading the objectGUID and objectSID handlers earlier.Andrew Bartlett1-4/+8
Andrew Bartlett (This used to be commit 0b6e53f80b063d8702718c84409d7b069aee9c05)
2008-08-21Stop every ldb startup doing a write to the database.Andrew Bartlett1-0/+7
Something in the search stack adds a distinguisedName record, which isn't in the message we generate. So we compare, fail and rewrite the record - every time ldb starts up... Andrew Bartlett (This used to be commit 44775d1ed4a4b8edc66a06e2b3710aba6a0dd019)
2008-08-21Validate input in the CLDAP and DGRAM 'netlogon' responder.Andrew Bartlett1-7/+37
(This used to be commit 682ca3cae1d5e796bc58142f79c99d43742ac85c)
2008-08-21Handle error cases in attribute handlers better.Andrew Bartlett1-8/+18
We don't need to just bail, for all these error cases there is still real result that can be made - just fall back to binary copy/compare. Andrew Bartlett (This used to be commit 6aa5dde2aa9a5f070871ecc117e44bfcad363459)
2008-08-21The index handling is now configured from the schema load, not by aAndrew Bartlett2-28/+0
template. Andrew Bartlett (This used to be commit b36c6a21ad12fdc1b53efdc3f29cde7614b4fa9e)
2008-08-21Set both attributes and indexes into the database on schema load.Andrew Bartlett1-18/+142
This ensures that a rudementary schema is always present (for bootstrapping), and that the indexes are maintained equal to the schema (rather than hard-coded). Andrew Bartlett (This used to be commit 747d683b0d92c3b1cde67245d514977a2c87dc44)
2008-08-21All these syntaxes are now handled by the schema.Andrew Bartlett1-6/+0
(This used to be commit 94d5e69190f34d66d4defd4a7de7ce24bee77bc3)
2008-08-21Don't hardcode attributes to be treated as a DNAndrew Bartlett1-14/+1
This is now handled by reading the schema into the attributes. Also, when we do set something here, mark it as FIXED, so the schema and any reload from @ATTRIBUTES won't touch it. Andrew Bartlett (This used to be commit 7b24701335398ece3d1b3a20cf5f1174500b16ce)
2008-08-21Correct anr search commants and error messages in ldap.jsAndrew Bartlett1-7/+7
(This used to be commit 233dd885c2a2b4ee7cc2287efe7d6e03625d4981)
2008-08-21Don't allow a NULL syntaxAndrew Bartlett1-0/+4
(This used to be commit 505a0c2b702b696b91dab683626bb25b14a49c38)
2008-08-21Don't maniplate control entries in samldbAndrew Bartlett1-0/+4
(This used to be commit 8003ee9abf474de534677283fc499f9a3d992b20)
2008-08-20Use the new SEARCH_FLAG_ANR defineAndrew Bartlett1-1/+1
(This used to be commit 07d122ce2c255124dfb3acf71a3afdf52f06e1b1)
2008-08-20Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartletAndrew Bartlett1-0/+4
(This used to be commit ae502f9e3991209d70a745bef3a3e6e7484cdb5f)
2008-08-20don't overwrite fixed attributes with @ATTRIBUTESAndrew Tridgell1-0/+4
(This used to be commit e860fc171fd127d73df23336089c1479911953da)
2008-08-20Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartletAndrew Bartlett3-2/+14
(This used to be commit 9fa48b3572cb4e55cfaa48a8b516a91904048573)
2008-08-20Merge commit 'origin/v4-0-test' into v4-0-testAndrew Tridgell71-1555/+1599
(This used to be commit 3bdc906eb63a494f0d8478c13f8330828aa2f725)
2008-08-20added a LDB_ATTR_FLAG_FIXED so the schema module can mark attributesAndrew Tridgell2-2/+7
as never to be removed. (This used to be commit 9dce558206a2ce70c69b9b6c5c3c9c58ee165b1d)
2008-08-20Apply attributes (and their syntax) from the schema into ldbAndrew Bartlett2-0/+56
This changes the @ATTRIBUTES record to be for bootstrapping only, before we find the schema. Andrew Bartlett (This used to be commit 358477fcc041d5fb2e6ac5641c2f899cc49cfb69)
2008-08-20Add schema search flags from MS-ADTSAndrew Bartlett1-0/+11
(This used to be commit 731d9e569a474da27014737e0805ae712366357d)
2008-08-20Split schema_init.c into smaller bits.Andrew Bartlett4-545/+600
This should make schema manipulation a little easier to follow. Andrew Bartlett (This used to be commit 300ed83526e75d834bd23ddd1c1c26ebe2555e0f)
2008-08-20Remove last traces of the old 'subclass' featureAndrew Bartlett1-7/+0
(This used to be commit ed19d0abea5b206d186a51fa11dc0c04197e6ee2)
2008-08-20Add a torture test for the new 'netlogon' flags.Matthias Dieter Wallnöfer1-0/+146
Signed-off-by: Andrew Bartlett <abartlet@samba.org> (This used to be commit a484334fb4dafd1df514d1bf88f7e0c4f07dff86)
2008-08-20Add extra bits to our 'netlogon' response in CLDAP and NBT.Matthias Dieter Wallnöfer2-2/+14
I've studied now the netlogon attribute from the CLDAP request and have compared them with the table presented in the WSPP docs (http://msdn.microsoft.com/en-us/library/cc201036.aspx). The first two bytes seem to be correct, but that the third and fourth one is completely clear with SAMBA 4. Signed-off-by: Andrew Bartlett <abartlet@samba.org> (This used to be commit 3024a43c25e3ec9821d94a27d5cf738890b1b8f3)
2008-08-20Update OpenLDAP MMR configuration per comments by Oliver LiebelAndrew Bartlett2-20/+19
<oliver@itc.li> This changes the RIDs to be <serverID><DBID>, to ease later debugging. The need to specify the port on the MMR URLs is now included in the help. Andrew Bartlett (This used to be commit a5cbe8c09c6f14f95ff9ba9b8782e2100fc55695)
2008-08-19added some comments at the request of a frustrated abartletAndrew Tridgell1-0/+7
(This used to be commit cad2e6c4c13ccd02587e47d13e897e0a327b58eb)
2008-08-19Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartletAndrew Bartlett44-447/+618
(This used to be commit fc6b4f03ebba015a13a6ab93221b0bc3ef8ef2ed)
2008-08-19Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartletAndrew Bartlett17-97/+416
(This used to be commit 27d07df301d60e49d36efd003f2fd2305c83c3fe)
2008-08-19Fix up new OpenLDAP MMR code.Andrew Bartlett5-47/+36
This changes the MMR password from hard-coded value of 'linux', adds tests and fixes the Fedora DS backend. Currently the MMR password matches the admin password, but we can change this to be another random value if required. Also require the port to be specified on the command line, so we don't hard-code a port of 9000. Andrew Bartlett (This used to be commit 08257c6d6ce809fcd53f9b2b4d558fef616b74ce)
2008-08-19Generate Multi-Master Replication configuration for OpenLDAPOliver Liebel5-12/+128
This patches provision-backend and the related scripts to generate the correct configuration blobs for N-way multi-master replication using OpenLDAP. Signed-off-by: Andrew Bartlett <abartlet@samba.org> (This used to be commit 6ed0b3f2475022288f636605492ca27fde97cd52)
2008-08-19Fix templates.ldb reprovision handling.Andrew Bartlett3-11/+21
This sets the attributes in a seperate transaction, and allows a forced delete of the whole file. Andrew Bartlett (This used to be commit 423db2468ba3dac89cebc59c8498c0b08c5f3d7b)
2008-08-18librpc: don't build the old mszip decompression codeStefan Metzmacher2-3/+3
metze (This used to be commit f48dfd87badcddc64a1c0bf52939188a4a8f4add)
2008-08-18ndr_compression: use zlib's inflate() for decompressionStefan Metzmacher2-12/+83
metze (This used to be commit 25876fc4ab8ba11f00d24bb8ceb517c0e4a4d72d)
2008-08-18zlib: mark as modified for sambaStefan Metzmacher1-2/+8
metze (This used to be commit 0fb265e567d700b3c16eb8f28bc5f26653a819fa)
2008-08-18zlib: fix compiler warningsStefan Metzmacher12-74/+80
metze (This used to be commit ce44a608f66bf27070fd43d576551fde6f545d7c)
2008-08-18zlib: we don't need the inflateReset2 prototype twiceStefan Metzmacher1-2/+0
metze (This used to be commit 0dbbc287f65a51330c5309df5a96b3acd4d044d5)
2008-08-18librpc/ndr: add support for XPRESS decompressionMatthieu Suiche1-5/+56
Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit 6a9720c99d36a575ea8ed92e94ff6d2fe6f3e27d)
2008-08-18lib/compression: Import of lzxpress decompression algorithmMatthieu Suiche3-1/+188
Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit 531882dadd57eb6fa048c5d6e5fe3accc20df751)
2008-08-18Note the ldb syntax for attribute syntaxes in the table.Andrew Bartlett7-31/+60
This includes additional Samba-specific syntaxes made available from the ldif_handlers code. This commit also changes some table to use #defines, to ensure consistancy in other parts of the code. Andrew Bartlett (This used to be commit e26a5efd9a580ed3728e1f449e367b1cd4a73b5f)
2008-08-18Allow attributes to be overwritten, not just added toAndrew Bartlett1-3/+11
(This used to be commit 0aebae91be0fba7ffa94d73946a94aea930a252a)
2008-08-18Fix segfaults when loading the schema fails.Andrew Bartlett1-14/+13
(This used to be commit 9643db1a011edc95aa903908cec708b3a3566e71)
2008-08-18Ensure we fail to proceed if the schema won't load.Andrew Bartlett1-0/+1
(This used to be commit 07107c45c35a11979bf68a14b2c4df9415880fcb)
2008-08-18Remove references to the unused @SUBCLASS feature.Andrew Bartlett5-84/+3
This was removed from ldb_tdb a while ago Andrew Bartlett (This used to be commit fcb87e77860b449ac3483ccec5e6b5ed087540f2)
2008-08-18Merge the two attribute syntax tables.Andrew Bartlett9-187/+82
This merges the table once found in the oLschema2ldif tool (and moved many times) with the table used for DRSUAPI. The OpenLDAP schema map has been updated, to ensure that despite a number of attributes being declared as OIDs, they are actually used as strings (as they are actually LDAP class/attribute names). Andrew Bartlett (This used to be commit 61f2958c84beeedcf369ccdc02afed0c8055b108)
2008-08-16configure: use AS_HELP_STRING for --with-disable-ext-libMichael Adam1-1/+1
Michael (This used to be commit 88cf5d8b708d6247772b33128f0e212a4c2e9ba8)
2008-08-16configure: use AS_HELP_STRING for --enable-developerMichael Adam1-1/+1
Michael (This used to be commit b10d4723891c39693100bfaaf1ac29adce9f7a86)
2008-08-16configure: use AS_HELP_STRING for --enable-debug.Michael Adam1-1/+1
Michael (This used to be commit 1f4bf8fbd5bfc9c58bb5668fe25586766605b268)
2008-08-16configure: use AS_HELP_STRING for --with-selftest-prefix.Michael Adam1-1/+1
Michael (This used to be commit eea4f597acf743fa783be3e5809e24aebc79f238)
2008-08-16configure: use AS_HELP_STRING for --with-logfilebase.Michael Adam1-1/+1
Michael (This used to be commit f9c15b817a24bed26a339479c53fc2f5cc5b36df)
2008-08-16configure: use AS_HELP_STRING for --with-piddirMichael Adam1-1/+1
Michael (This used to be commit f05a9fe46ff428e48be9a5af4a6769cd78712c11)
2008-08-16configure: use AS_HELP_STRING for --with-lockdir.Michael Adam1-1/+1
Michael (This used to be commit ed4a6e780a3f57854338520e4608cfc8dce4ef3e)