summaryrefslogtreecommitdiffstats
path: root/source4/lib
Commit message (Collapse)AuthorAgeFilesLines
* r13000: fix compiler warningsStefan Metzmacher2007-10-101-3/+3
| | | | | metze (This used to be commit 880dd3538ef54af100a715acb72cc16b9947b617)
* r12995: Don't allow overrides on "name" from above, as it can't be correct.Andrew Bartlett2007-10-101-5/+5
| | | | | Andrew Bartlett (This used to be commit 4a50bf95b93310f640a4ba28990f054e85215551)
* r12989: move the control parsing and handleng functions to cmdline.cSimo Sorce2007-10-103-315/+320
| | | | | so that they can be used by the other ldb tools as well (This used to be commit c12b3c5cb46d428f815c623efacff8edebb6f6e3)
* r12984: add parse code and ldbsearch cmdline code forStefan Metzmacher2007-10-102-0/+26
| | | | | | | | | | | NOTIFICATION LDAP Controls http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ldap/ldap/ldap_server_notification_oid.asp this doesn't work yet, but it shows that we need to extend ldb to correctly handle async requests... metze (This used to be commit 1fe67189490c9faf499b68a28071a6294a53db0e)
* r12983: - fix using a DIRSYNC cookie from the command lineStefan Metzmacher2007-10-101-5/+11
| | | | | | | | - also w2k doesn't work correct with max_attrs = 0, so we should use a high number, with this I'm getting the same results from w2k and w2k3 metze (This used to be commit ce9f086c3c1a65bf1b4c843ec44e8817d9361182)
* r12977: Some code to implement the client side of the Dirsync controlSimo Sorce2007-10-102-2/+87
| | | | | | | Still investigating how it works. Simo. (This used to be commit bebd403523e581606505e05e7cb621efbc22fa36)
* r12959: hopefully fix bug #3365 this timeStefan Metzmacher2007-10-101-5/+7
| | | | | metze (This used to be commit 8fc2b68aa8d1a6bb3a828b3a1ab5f2a4f354f6f7)
* r12948: fix compiler warningStefan Metzmacher2007-10-101-1/+1
| | | | | metze (This used to be commit 157fd2734dfb9b3ac6f6c5ad60bbbd7a50998453)
* r12942: this way is betterSimo Sorce2007-10-101-2/+1
| | | | (This used to be commit 982576d2489c9ac3f7d854f598a64a8c4d91a485)
* r12941: Add Attribute Scoped Search controlSimo Sorce2007-10-104-0/+235
| | | | | | | | | | | want to see what it does ? do aq make test and try: ./bin/ldbsearch -H st/private/sam.ldb --controls=asq:1:member -s base -b 'CN=Administrators,CN=Builtin,DC=samba,DC=example,DC=com' 'objectclass=*' have fun. simo. (This used to be commit 900f4fd3435aacc3351f30afb77d3488d2cb4804)
* r12925: implement client side of ASQ controlSimo Sorce2007-10-102-0/+54
| | | | (This used to be commit dd386bdc6ca6fe0b25705d5a375d29e6940b437f)
* r12911: try to fix bug #3365Stefan Metzmacher2007-10-102-4/+12
| | | | | metze (This used to be commit e70ca698cea901a66f7201c16bb3ba1faa7e7289)
* r12909: add an ldb module for the wins.ldb,Stefan Metzmacher2007-10-101-0/+1
| | | | | | | | | it currently doesn't do much, but it's later prevent adding corrupted records via ldbedit, and will take care of the versionID counter metze (This used to be commit a6f279bc43c74cf4dc116cb6ba99f1aed13a4de9)
* r12850: - add Doxygen comments to ldbStefan Metzmacher2007-10-107-71/+2090
| | | | | | | | | - 'make doxygen' generated the api documentation under apidocs/ Many thanks to Brad Hards <bradh@frogmouth.net> for the patches! metze (This used to be commit e98d483174c555366e62dd27600e6b242cab7a7f)
* r12849: fix typoStefan Metzmacher2007-10-101-1/+1
| | | | | metze (This used to be commit 552e12c05d10ddad55bfc0997303096055ddecdd)
* r12847: add some ldb examples from Brad Hards (bradh@frogmouth.net)Stefan Metzmacher2007-10-103-3/+263
| | | | | metze (This used to be commit 4d32d50ccd8bd0bfb3e2d6f5aee23bce38abbc03)
* r12846: some fixesStefan Metzmacher2007-10-101-7/+13
| | | | | metze (This used to be commit bf6065b11fd84454f8bc881ff96fb1846a59405b)
* r12845: fix some typosStefan Metzmacher2007-10-102-2/+2
| | | | | metze (This used to be commit 5d0ae1d2aef3fc7ddb4cb9269bb028beeaee6dfb)
* r12844: don't include system headers directlyStefan Metzmacher2007-10-101-9/+1
| | | | | metze (This used to be commit 75a98047d6829cadf4b9082bec2733055dad3465)
* r12843: get special objects with ldbsearch -a too, to match ldbedit -aStefan Metzmacher2007-10-103-3/+3
| | | | | metze (This used to be commit bb68f2e602dbcc94c05b2dd764c163be1e5a583d)
* r12833: complete ldbsearch support for controlsSimo Sorce2007-10-102-40/+138
| | | | | | | | | | | now the three supported controls (paged_results, server_sort, extended_dn) are fully functional and the infrastructure to add more is in place. valgrind is happy too :) Simo. (This used to be commit bd8e2629378700198e16287823970f52d1150a86)
* r12830: this can be constStefan Metzmacher2007-10-101-1/+1
| | | | | metze (This used to be commit 1876e245c49d521e89674dc1662a61e8f4cdc9b5)
* r12829: fix ldb headers, to not include '<...>' files in .c filesStefan Metzmacher2007-10-1041-171/+78
| | | | | | | this helps in getting symbol -fvisibility=hidden (GCC 4 feature) working later. metze (This used to be commit 380938e97f31c7860aed1e73cc0110c6e17b472e)
* r12828: add a test to check white spaces comparisonSimo Sorce2007-10-102-1/+10
| | | | (This used to be commit ad189553f420d70c4a726cf118e1273ea053f4d6)
* r12827: This was a very well concealed bug.Simo Sorce2007-10-101-2/+9
| | | | | | | Thank to Andrew Bartlet for finding out a test case that showed it up. Simo. (This used to be commit 72a86d74a95c2b38d25159027f612075c50a1f3c)
* r12825: Add \nGünther Deschner2007-10-101-1/+1
| | | | | Guenther (This used to be commit 909ef011b1343a33c4da4b2230062fd0468736ce)
* r12814: we need this here too, as we'll include replace.h for building heimdal/*Stefan Metzmacher2007-10-101-0/+12
| | | | | | | | | too, and for this we don't include includes.h (hopefully) fix the build on AIX metze (This used to be commit 32f2cf433f65aaa9bcc5e33958d6f9c72c7f13d9)
* r12810: handle control options gracefully and don't segfaultSimo Sorce2007-10-101-9/+49
| | | | (This used to be commit 300d48bc9daa13e1475c10eaa1ec0717c822a7f7)
* r12804: This patch reworks the Samba4 sockets layer to use a socket_addressAndrew Bartlett2007-10-109-329/+592
| | | | | | | | | | | | | | | | | | | | structure that is more generic than just 'IP/port'. It now passes make test, and has been reviewed and updated by metze. (Thankyou *very* much). This passes 'make test' as well as kerberos use (not currently in the testsuite). The original purpose of this patch was to have Samba able to pass a socket address stucture from the BSD layer into the kerberos routines and back again. It also removes nbt_peer_addr, which was being used for a similar purpose. It is a large change, but worthwhile I feel. Andrew Bartlett (This used to be commit 88198c4881d8620a37086f80e4da5a5b71c5bbb2)
* r12801: Some more include/ cleanups (remove unused macros + move filesJelmer Vernooij2007-10-103-14/+49
| | | | | to specific dirs) (This used to be commit 243cf760b077e155f5ac508aeebf819f7708a84e)
* r12799: print out function and location tooStefan Metzmacher2007-10-101-4/+4
| | | | | metze (This used to be commit a5ef3eef9cbedd273556068ba59c07ccb0060098)
* r12798: print timestamps into the log file, this is not nice code,Stefan Metzmacher2007-10-101-2/+30
| | | | | | | but it works for now metze (This used to be commit ec7dbb5a98c112e86399ffcff14eb42c99d8e31d)
* r12790: fix compiler warningStefan Metzmacher2007-10-101-1/+1
| | | | | metze (This used to be commit c65ebc8b5574f9bd05270964dee9d4882e2d1828)
* r12785: make the iface_*() functions return strings which do not getAndrew Tridgell2007-10-101-7/+15
| | | | | | overwritten by another call (due to the implied static in iface_ntoa()). This should save abartlet some pain (This used to be commit 2244f298ace9f8832695cafd17c54324c11416f1)
* r12783: add a comment about matching more than 1 handler per message (andrewAndrew Tridgell2007-10-101-0/+4
| | | | | thought this might be a bug) (This used to be commit e1cd3f4b89e10c9a42f5939377df0eafb8c184a4)
* r12777: use TEST_DATA_PREFIX if availableStefan Metzmacher2007-10-101-5/+6
| | | | | metze (This used to be commit 7e702939faf70d0c02fa71b315043795bc4a1d84)
* r12774: - fix the build on OpenBSDStefan Metzmacher2007-10-101-0/+4
| | | | | | | | I'll try to remove TIME_T_MIN/TIME_T_MAX completly later, but for now I try to build on all platfarms metze (This used to be commit d51244b6613dc07076da56937d09e4020c596475)
* r12770: Remove the alloca.h header as it is not used in the code afaicsSimo Sorce2007-10-101-1/+0
| | | | (This used to be commit d4454287cf14cfdf1ceeb090da40492314703fb9)
* r12761: get the TIME_T_MIN and TIME_T_MAX right again, merging from samba3 ↵Stefan Metzmacher2007-10-101-4/+16
| | | | | | | | | | | | | was a bad idea... as in samba4 we use TIME_T_MIN = 0 (maybe we should do this in samba3 too) because negativ values mean error. but still restrict TIME_T_MAX to INT32_MAX, to not overflow gmtime() on 64 bit systems, is this behavior documented somewhere? metze (This used to be commit 333b1b8c4885c47a0d14d83896fce6740fa4d663)
* r12754: - sync TIME_T_MAX calculation from samba3Stefan Metzmacher2007-10-101-12/+4
| | | | | | | | | | | | | | - but limit TIME_T_MAX to INT32_MAX, otherwise 64 platfroms are broken because gmtime() will fail with INT64_MAX passed in! I'm not sure if that's the best fix for this problem, but it works... Should we port the INT32_MAX limitation to samba3? Comments, please? metze (This used to be commit 396fa81be5b950aa2120cff19540a0236f79a685)
* r12748: Fix wrong handling of separation characters for RDNsSimo Sorce2007-10-101-5/+15
| | | | | | allow escaped separation chars as part of the attr value of an RDN (This used to be commit 7ba341d6c3745cd99c4c79933f9bd54f41e12a9c)
* r12746: An initial version of the kludge_acls module.Andrew Bartlett2007-10-102-4/+7
| | | | | | | | | | | | | | | | | | This should be replaced with real ACLs, which tridge is working on. In the meantime, the rules are very simple: - SYSTEM and Administrators can read all. - Users and anonymous cannot read passwords, can read everything else - list of 'password' attributes is hard-coded Most of the difficult work in this was fighting with the C/js interface to add a system_session() all, as it still doesn't get on with me :-) Andrew Bartlett (This used to be commit be9d0cae8989429ef47a713d8f0a82f12966fc78)
* r12745: Initial work to support a syntax to pass over controls viaSimo Sorce2007-10-103-10/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | command line to ldbsearch. Very rough work, no checks are done on the input yet (will segfault if you make it wrong). Controls are passed via the --controls switch an are comma separated (no escaping yet). General syntax is <ctrl_name>:<criticality> <ctrl_name> is a string <criticality> is 1 or 0 Current semi-parsed controls are: server_sort syntax: server_sort:1:0:attributename 1st parm: criticality 2nd parm: reversed 3rd parm: attribute name to be used for sorting todo: still missing suport for multiple sorting attributes and ordering rule no check on result code paged_results syntax: paged_results:1:100 1st parm: criticality 2nd parm: number of results to be returned todo: ldbsearch will return only the first batch (missing code to cycle over conditionally) no check on result code extended_dn syntax: extended_dn:1:0 1st parm: criticality 2nd parm: type, see MS docs on meaning Simo. (This used to be commit 4c685ac0d1638a1d5392dfe733baf0db77e84858)
* r12743: Remove the ugly way we had to make a second stage init and introduceSimo Sorce2007-10-1014-76/+116
| | | | | | | a second_stage_init private function for modules that need a second stage init. Simo. (This used to be commit 5e8b365fa2d93801a5de1d9ea76ce9d5546bd248)
* r12734: forgot to add qsortSimo Sorce2007-10-101-0/+256
| | | | (This used to be commit df1ccca3499015d68a6f9f86286d9f66b6c0476c)
* r12733: Merge ldap/ldb controls into main treeSimo Sorce2007-10-1031-38/+880
| | | | | | | | There's still lot of work to do but the patch is stable enough to be pushed into the main samba4 tree. Simo. (This used to be commit 77125feaff252cab44d26593093a9c211c846ce8)
* r12728: Revive testparm.Andrew Bartlett2007-10-102-3/+6
| | | | | | | It needs work to not dump defaults from loadparm.c, but otherwise it works. Andrew Bartlett (This used to be commit 1260fcf46579d708a406625f548add9be9fdc6fb)
* r12717: Always compile the skel module, so we know when we break it.Andrew Bartlett2007-10-102-28/+28
| | | | | | | Also fix up all the current issues with the skel module. Andrew Bartlett (This used to be commit d0a0a8de3fa73d8f06a801203e00b90ed8359b98)
* r12716: Tridge points out that the request argument to ldb_next_request mustAndrew Bartlett2007-10-101-17/+29
| | | | | | | be a valid talloc() pointer, as other modules may rely on this. Andrew Bartlett (This used to be commit 356c8c56090a7c4254609c0cc138c994b618fa55)
* r12710: Fix socket_wrapper: Make sure to fill in the socket family on theAndrew Bartlett2007-10-101-0/+1
| | | | | | | returned address. Andrew Bartlett (This used to be commit 57b0aae0d4b52d9a9879c4606d2e4b3ef0d3d0d7)