summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-08-22fixed a speellling erraAndrew Tridgell1-1/+1
(This used to be commit 3c058f50cc3b91d540feb51fb698d90565b2b7c9)
2008-08-22Merge branch 'abartlet-4-0-local' into v4-0-testAndrew Tridgell38-720/+1183
(This used to be commit 469fac2669991b130dec219e1a109a8b2ce224be)
2008-08-22fixed a problem with length limited ldap valuesAndrew Tridgell10-29/+48
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-22fixed error handling in ANR code Andrew Tridgell1-18/+24
when we can't process an ANR request we need to continue with the parse tree we were given, not a NULL tree (This used to be commit ed66feb80aac7432049fe9fd86a9232984587e17)
2008-08-21Don't walk past the end of ldb values.Andrew Bartlett11-24/+54
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-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-20krb5pac.idl: make use of subcontext(0xFFFFFC01) to handle the type ↵Stefan Metzmacher1-5/+1
Serialization header Now we should be able to handle bigendian PAC_LOGON_INFO buffers. metze (This used to be commit adbff0b0f92aa0742a8293071776b388879cbd8e)
2008-08-20kdc/pac-glue: pull/push the logon_info via the PAC_INFO unionStefan Metzmacher1-11/+13
This prepares the next commit... metze (This used to be commit 7d297f7fb7a3ac388390429db7cb16fa60d3f8c0)
2008-08-20drsuapi: fix samba4 callers after drsuapi.idl changesStefan Metzmacher3-18/+36
metze (This used to be commit 4b054cee51c39c5430bcadd5c06a94dc3e6b0d8f)
2008-08-20drsuapi.idl: readd type serialization headers to compressed DsGetNCChangesCtr*Stefan Metzmacher1-4/+12
metze (This used to be commit 4e6937816f1563686d04da4ab00a46d4461401b9)
2008-08-20ndr_compression: remove the type serialization handling from the compression ↵Stefan Metzmacher1-36/+0
layer metze (This used to be commit 70a7b1f6c2e359102467ea270c2bb1efe736f64a)
2008-08-20ndr_compression: unify the common handling of mszip and xpress compressionStefan Metzmacher1-107/+33
metze (This used to be commit 925a2066ffa18a86704a8ee1a7a6908e0cd65a2a)
2008-08-20librpc/ndr: add support for Type Serialization Version 1 to subcontextStefan Metzmacher1-1/+114
We use the header size 0xFFFFFC01 as magic for constructed types. See [MS-RPCE] 2.2.6 Type Serialization Version 1 for more details. metze (This used to be commit 98d3568f079ea143214bcf5271b636313d6491c3)
2008-08-20pidl/NDR::Parser: pass typedefs through the ParseElement*Level() functionsStefan Metzmacher1-2/+14
metze (This used to be commit e51c0cf62c91f79f703b17bcf37c4a6fa8107ae0)
2008-08-20pidl/NDR: generate a LEVELS array for typedefsStefan Metzmacher1-0/+17
metze (This used to be commit 6785684db3446c03d8061c8bb3d94889b443d7d5)
2008-08-20pidl/NDR: correctly check for valid propertiesStefan Metzmacher1-27/+31
grep($str, @array) returns the number of elements in @array! We need grep(/^$str$/, @array) to the only the amount of matches. Also fix unitialized vars for the error case. metze (This used to be commit f002f147d8a8a0b49389e30e611ff8b33dd077e1)
2008-08-20pidl/NDR::Parser: pass $ndr to ->start_flags() and ->end_flags()Stefan Metzmacher1-35/+35
metze (This used to be commit bdff9728cc1c8b5fe5a29040e092a8e48603725b)
2008-08-20pidl/NDR::Parser: pass $ndr to ParseMemCtxPull*()Stefan Metzmacher1-11/+11
metze (This used to be commit c3921c7b4e7a3b51b97a2afb688271a8ae403105)
2008-08-20pidl/NDR::Parser: pass $ndr to ParsePtrPush()Stefan Metzmacher1-7/+7
metze (This used to be commit 77571cd7c74dfaa93e58f047530df369ae293ffd)
2008-08-20pidl/NDR::Parser: use my $ndr = "ndr" in the remaining top functionsStefan Metzmacher1-26/+29
metze (This used to be commit ce83f4bb596fad23000acc1f6691669e2f2cfe1b)
2008-08-20pidl/NDR::Parser: pass down $ndr from the top functionsStefan Metzmacher1-27/+32
metze (This used to be commit b01d7457fa5b3572989b821f04e023fd9abd0d52)
2008-08-20pidl/NDR::Parser: pass $ndr to ->PRINT_FN_BLOB()Stefan Metzmacher2-46/+49
metze (This used to be commit a143806364051141604ebb40eb5a4ef72958b55f)
2008-08-20pidl/NDR::Parser: pass $ndr to ->PUSH_FN_BLOB()Stefan Metzmacher2-45/+45
metze (This used to be commit 71b0d64866eb1a4f6dc73eeb57b5f0fe5d8a5780)
2008-08-20pidl/NDR::Parser: pass $ndr to ->PULL_FN_BODY()Stefan Metzmacher1-42/+42
metze (This used to be commit 38c4b2a3e9b316f390651297854de033ede0d128)
2008-08-20pidl/NDR::Parser: use $ndr instead of "ndr"Stefan Metzmacher1-14/+14
metze (This used to be commit a1cf2289dd4ff9a3f9cf61da680223193235e35f)
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)