summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'abartlet-4-0-local' into v4-0-testAndrew Tridgell2008-08-2238-720/+1183
|\ | | | | | | (This used to be commit 469fac2669991b130dec219e1a109a8b2ce224be)
| * fixed a problem with length limited ldap valuesAndrew Tridgell2008-08-2210-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)
| * fixed error handling in ANR code Andrew Tridgell2008-08-221-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)
| * Don't walk past the end of ldb values.Andrew Bartlett2008-08-2111-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)
| * Push loading the objectGUID and objectSID handlers earlier.Andrew Bartlett2008-08-211-4/+8
| | | | | | | | | | Andrew Bartlett (This used to be commit 0b6e53f80b063d8702718c84409d7b069aee9c05)
| * Stop every ldb startup doing a write to the database.Andrew Bartlett2008-08-211-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)
| * Validate input in the CLDAP and DGRAM 'netlogon' responder.Andrew Bartlett2008-08-211-7/+37
| | | | | | | | (This used to be commit 682ca3cae1d5e796bc58142f79c99d43742ac85c)
| * Handle error cases in attribute handlers better.Andrew Bartlett2008-08-211-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)
| * The index handling is now configured from the schema load, not by aAndrew Bartlett2008-08-212-28/+0
| | | | | | | | | | | | | | template. Andrew Bartlett (This used to be commit b36c6a21ad12fdc1b53efdc3f29cde7614b4fa9e)
| * Set both attributes and indexes into the database on schema load.Andrew Bartlett2008-08-211-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)
| * All these syntaxes are now handled by the schema.Andrew Bartlett2008-08-211-6/+0
| | | | | | | | (This used to be commit 94d5e69190f34d66d4defd4a7de7ce24bee77bc3)
| * Don't hardcode attributes to be treated as a DNAndrew Bartlett2008-08-211-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)
| * Correct anr search commants and error messages in ldap.jsAndrew Bartlett2008-08-211-7/+7
| | | | | | | | (This used to be commit 233dd885c2a2b4ee7cc2287efe7d6e03625d4981)
| * Don't allow a NULL syntaxAndrew Bartlett2008-08-211-0/+4
| | | | | | | | (This used to be commit 505a0c2b702b696b91dab683626bb25b14a49c38)
| * Don't maniplate control entries in samldbAndrew Bartlett2008-08-211-0/+4
| | | | | | | | (This used to be commit 8003ee9abf474de534677283fc499f9a3d992b20)
| * Use the new SEARCH_FLAG_ANR defineAndrew Bartlett2008-08-201-1/+1
| | | | | | | | (This used to be commit 07d122ce2c255124dfb3acf71a3afdf52f06e1b1)
| * Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartletAndrew Bartlett2008-08-201-0/+4
| |\ | | | | | | | | | (This used to be commit ae502f9e3991209d70a745bef3a3e6e7484cdb5f)
| * \ Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartletAndrew Bartlett2008-08-203-2/+14
| |\ \ | | | | | | | | | | | | (This used to be commit 9fa48b3572cb4e55cfaa48a8b516a91904048573)
| * | | Apply attributes (and their syntax) from the schema into ldbAndrew Bartlett2008-08-202-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)
| * | | Add schema search flags from MS-ADTSAndrew Bartlett2008-08-201-0/+11
| | | | | | | | | | | | | | | | (This used to be commit 731d9e569a474da27014737e0805ae712366357d)
| * | | Split schema_init.c into smaller bits.Andrew Bartlett2008-08-204-545/+600
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This should make schema manipulation a little easier to follow. Andrew Bartlett (This used to be commit 300ed83526e75d834bd23ddd1c1c26ebe2555e0f)
| * | | Remove last traces of the old 'subclass' featureAndrew Bartlett2008-08-201-7/+0
| | | | | | | | | | | | | | | | (This used to be commit ed19d0abea5b206d186a51fa11dc0c04197e6ee2)
| * | | Add a torture test for the new 'netlogon' flags.Matthias Dieter Wallnöfer2008-08-201-0/+146
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> (This used to be commit a484334fb4dafd1df514d1bf88f7e0c4f07dff86)
| * | | Add extra bits to our 'netlogon' response in CLDAP and NBT.Matthias Dieter Wallnöfer2008-08-202-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)
| * | | Update OpenLDAP MMR configuration per comments by Oliver LiebelAndrew Bartlett2008-08-202-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)
* | | | krb5pac.idl: make use of subcontext(0xFFFFFC01) to handle the type ↵Stefan Metzmacher2008-08-201-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Serialization header Now we should be able to handle bigendian PAC_LOGON_INFO buffers. metze (This used to be commit adbff0b0f92aa0742a8293071776b388879cbd8e)
* | | | kdc/pac-glue: pull/push the logon_info via the PAC_INFO unionStefan Metzmacher2008-08-201-11/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This prepares the next commit... metze (This used to be commit 7d297f7fb7a3ac388390429db7cb16fa60d3f8c0)
* | | | drsuapi: fix samba4 callers after drsuapi.idl changesStefan Metzmacher2008-08-203-18/+36
| | | | | | | | | | | | | | | | | | | | metze (This used to be commit 4b054cee51c39c5430bcadd5c06a94dc3e6b0d8f)
* | | | drsuapi.idl: readd type serialization headers to compressed DsGetNCChangesCtr*Stefan Metzmacher2008-08-201-4/+12
| | | | | | | | | | | | | | | | | | | | metze (This used to be commit 4e6937816f1563686d04da4ab00a46d4461401b9)
* | | | ndr_compression: remove the type serialization handling from the compression ↵Stefan Metzmacher2008-08-201-36/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | layer metze (This used to be commit 70a7b1f6c2e359102467ea270c2bb1efe736f64a)
* | | | ndr_compression: unify the common handling of mszip and xpress compressionStefan Metzmacher2008-08-201-107/+33
| | | | | | | | | | | | | | | | | | | | metze (This used to be commit 925a2066ffa18a86704a8ee1a7a6908e0cd65a2a)
* | | | librpc/ndr: add support for Type Serialization Version 1 to subcontextStefan Metzmacher2008-08-201-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)
* | | | pidl/NDR::Parser: pass typedefs through the ParseElement*Level() functionsStefan Metzmacher2008-08-201-2/+14
| | | | | | | | | | | | | | | | | | | | metze (This used to be commit e51c0cf62c91f79f703b17bcf37c4a6fa8107ae0)
* | | | pidl/NDR: generate a LEVELS array for typedefsStefan Metzmacher2008-08-201-0/+17
| | | | | | | | | | | | | | | | | | | | metze (This used to be commit 6785684db3446c03d8061c8bb3d94889b443d7d5)
* | | | pidl/NDR: correctly check for valid propertiesStefan Metzmacher2008-08-201-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)
* | | | pidl/NDR::Parser: pass $ndr to ->start_flags() and ->end_flags()Stefan Metzmacher2008-08-201-35/+35
| | | | | | | | | | | | | | | | | | | | metze (This used to be commit bdff9728cc1c8b5fe5a29040e092a8e48603725b)
* | | | pidl/NDR::Parser: pass $ndr to ParseMemCtxPull*()Stefan Metzmacher2008-08-201-11/+11
| | | | | | | | | | | | | | | | | | | | metze (This used to be commit c3921c7b4e7a3b51b97a2afb688271a8ae403105)
* | | | pidl/NDR::Parser: pass $ndr to ParsePtrPush()Stefan Metzmacher2008-08-201-7/+7
| | | | | | | | | | | | | | | | | | | | metze (This used to be commit 77571cd7c74dfaa93e58f047530df369ae293ffd)
* | | | pidl/NDR::Parser: use my $ndr = "ndr" in the remaining top functionsStefan Metzmacher2008-08-201-26/+29
| | | | | | | | | | | | | | | | | | | | metze (This used to be commit ce83f4bb596fad23000acc1f6691669e2f2cfe1b)
* | | | pidl/NDR::Parser: pass down $ndr from the top functionsStefan Metzmacher2008-08-201-27/+32
| | | | | | | | | | | | | | | | | | | | metze (This used to be commit b01d7457fa5b3572989b821f04e023fd9abd0d52)
* | | | pidl/NDR::Parser: pass $ndr to ->PRINT_FN_BLOB()Stefan Metzmacher2008-08-202-46/+49
| | | | | | | | | | | | | | | | | | | | metze (This used to be commit a143806364051141604ebb40eb5a4ef72958b55f)
* | | | pidl/NDR::Parser: pass $ndr to ->PUSH_FN_BLOB()Stefan Metzmacher2008-08-202-45/+45
| | | | | | | | | | | | | | | | | | | | metze (This used to be commit 71b0d64866eb1a4f6dc73eeb57b5f0fe5d8a5780)
* | | | pidl/NDR::Parser: pass $ndr to ->PULL_FN_BODY()Stefan Metzmacher2008-08-201-42/+42
| | | | | | | | | | | | | | | | | | | | metze (This used to be commit 38c4b2a3e9b316f390651297854de033ede0d128)
* | | | pidl/NDR::Parser: use $ndr instead of "ndr"Stefan Metzmacher2008-08-201-14/+14
| |_|/ |/| | | | | | | | | | | metze (This used to be commit a1cf2289dd4ff9a3f9cf61da680223193235e35f)
* | | don't overwrite fixed attributes with @ATTRIBUTESAndrew Tridgell2008-08-201-0/+4
| |/ |/| | | | | (This used to be commit e860fc171fd127d73df23336089c1479911953da)
* | Merge commit 'origin/v4-0-test' into v4-0-testAndrew Tridgell2008-08-2069-1514/+1597
|\| | | | | | | (This used to be commit 3bdc906eb63a494f0d8478c13f8330828aa2f725)
| * Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartletAndrew Bartlett2008-08-1943-446/+617
| |\ | | | | | | | | | (This used to be commit fc6b4f03ebba015a13a6ab93221b0bc3ef8ef2ed)
| | * Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartletAndrew Bartlett2008-08-1917-97/+416
| | |\ | | | | | | | | | | | | (This used to be commit 27d07df301d60e49d36efd003f2fd2305c83c3fe)
| | | * librpc: don't build the old mszip decompression codeStefan Metzmacher2008-08-182-3/+3
| | | | | | | | | | | | | | | | | | | | metze (This used to be commit f48dfd87badcddc64a1c0bf52939188a4a8f4add)
| | | * ndr_compression: use zlib's inflate() for decompressionStefan Metzmacher2008-08-182-12/+83
| | | | | | | | | | | | | | | | | | | | metze (This used to be commit 25876fc4ab8ba11f00d24bb8ceb517c0e4a4d72d)