summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r12804: This patch reworks the Samba4 sockets layer to use a socket_addressAndrew Bartlett68-854/+1356
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)
2007-10-10r12803: if we free the ndr structure how should we access the private ↵Stefan Metzmacher1-1/+3
pointer anymore? thanks valgrind! metze (This used to be commit ab58decf8248f3923703fabdaab697f1a8d116c8)
2007-10-10r12801: Some more include/ cleanups (remove unused macros + move filesJelmer Vernooij13-55/+19
to specific dirs) (This used to be commit 243cf760b077e155f5ac508aeebf819f7708a84e)
2007-10-10r12800: Replace tmp_ctx with mem_ctx to make variables name moreRafal Szczesniak1-6/+6
consistent along the file. rafal (This used to be commit aaccb91cca5da8a869878326da298d22a3b8b2ae)
2007-10-10r12799: print out function and location tooStefan Metzmacher2-6/+6
metze (This used to be commit a5ef3eef9cbedd273556068ba59c07ccb0060098)
2007-10-10r12798: print timestamps into the log file, this is not nice code,Stefan Metzmacher2-5/+42
but it works for now metze (This used to be commit ec7dbb5a98c112e86399ffcff14eb42c99d8e31d)
2007-10-10r12797: check for a errorStefan Metzmacher1-1/+2
metze (This used to be commit ed4fbfcf3e5b7133e73ee031ad5c68659690e2b1)
2007-10-10r12796: use the correct address as initiatorStefan Metzmacher4-28/+5
metze (This used to be commit ba97e7c06af6f919a66622c1a6b6e58980ab2b9e)
2007-10-10r12795: remember the gensec_security contextStefan Metzmacher2-0/+3
metze (This used to be commit ec1a7b5cefc32172ea97338a7101fe8416071b69)
2007-10-10r12793: fix bugsStefan Metzmacher1-5/+5
metze (This used to be commit 65be02a9801444c01230903d130b2d71b6c15617)
2007-10-10r12792: fix compiler warningStefan Metzmacher1-1/+0
metze (This used to be commit 1eca5f46c60d09fccbef5e605c06b1b3e3b65feb)
2007-10-10r12791: fix compiler warningStefan Metzmacher1-1/+0
metze (This used to be commit 6647feb761a272b687d12685bc096e4ebdd02abe)
2007-10-10r12790: fix compiler warningStefan Metzmacher1-1/+1
metze (This used to be commit c65ebc8b5574f9bd05270964dee9d4882e2d1828)
2007-10-10r12785: make the iface_*() functions return strings which do not getAndrew Tridgell1-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)
2007-10-10r12784: implement a simplified version of verifying old active replicas, ↵Stefan Metzmacher1-32/+124
with the owner server, we you nbt name queries for this.... I assume w2k3 uses DCERPC calls or some WINSREPL calls for this, but our version should work till I find out more details... metze (This used to be commit ff81f9e78043d29feb4832acee682ec93a9c8ed6)
2007-10-10r12783: add a comment about matching more than 1 handler per message (andrewAndrew Tridgell1-0/+4
thought this might be a bug) (This used to be commit e1cd3f4b89e10c9a42f5939377df0eafb8c184a4)
2007-10-10r12782: Don't segfault if we cannot setup messaging.Andrew Bartlett1-0/+10
Andrew Bartlett (This used to be commit 59c380e048423d706ab65513c09dbefecb5819ae)
2007-10-10r12780: propagate local records, when replicas are rejected on conflictsStefan Metzmacher1-1/+55
metze (This used to be commit c64aef570eea8bde685aeb66cb482586e36ea020)
2007-10-10r12779: allow static tomstonesStefan Metzmacher1-9/+3
metze (This used to be commit 966872646e5ac38ed5b3eb41cf339ec8f1583f17)
2007-10-10r12778: export TEST_DATA_PREFIX in make testStefan Metzmacher1-0/+3
metze (This used to be commit beea805a61d15dbb38add0a9c333e01279f71ada)
2007-10-10r12777: use TEST_DATA_PREFIX if availableStefan Metzmacher1-5/+6
metze (This used to be commit 7e702939faf70d0c02fa71b315043795bc4a1d84)
2007-10-10r12776: use $ENV{TEST_DATA_PREFIX} for test files if availableStefan Metzmacher1-2/+9
metze (This used to be commit 5552eaa37c228872736688bb65b4f678bdfeddf4)
2007-10-10r12775: free elements early...Stefan Metzmacher1-0/+3
metze (This used to be commit 49f78e21fe4a293fdb4d9d49d16dbed3ef8137b1)
2007-10-10r12774: - fix the build on OpenBSDStefan Metzmacher1-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)
2007-10-10r12773: - remove unused variable, fix the build with some old compilersStefan Metzmacher1-3/+0
metze (This used to be commit 1253784c923b569593b5207c14567c637f3a7ae7)
2007-10-10r12772: - create variables for the %(patsubst ...) statements for the idl filesStefan Metzmacher4-8/+22
- this also fixes the build on BSD systems metze (This used to be commit 31ff172773f1700bfd7ff24fc764d37d9b6e82c1)
2007-10-10r12770: Remove the alloca.h header as it is not used in the code afaicsSimo Sorce1-1/+0
(This used to be commit d4454287cf14cfdf1ceeb090da40492314703fb9)
2007-10-10r12769: Make ldb_next_request() evident, I was much confused on first sightSimo Sorce1-4/+6
Simo. (This used to be commit 2f0c7b896274e5e15e150c70d7ebe70355f6c4c0)
2007-10-10r12767: Add some trusted lookupsVolker Lendecke1-5/+67
(This used to be commit 568fc8a3412e07ac3084f441e693bc82b9ea912b)
2007-10-10r12766: fix the buildVolker Lendecke1-1/+1
(This used to be commit d73c343904f32956ba97e4ad82af9c9a75f5d70c)
2007-10-10r12765: Revert an accidential commitVolker Lendecke1-86/+1
(This used to be commit d96c84126dcc1ec97e39814f21de167528fe886f)
2007-10-10r12764: Add a test for lsa_lookup. This will be expanded when I get around ↵Volker Lendecke4-1/+352
to add trusted domains. Volker (This used to be commit 8b8bb85ad365721bfa1cf5309d53d851f2013c22)
2007-10-10r12763: Oops. If you call ldb_search from within an ldb module's searchAndrew Bartlett1-1/+3
request handler, you really have to watch the recursion issues... Andrew Bartlett (This used to be commit 46628e86a2be6d334b2d0427e7052517c7ab1d4c)
2007-10-10r12762: Simo correctly asked that the policy logic (which attributes containAndrew Bartlett2-26/+71
passwords) be moved into the database, and not be hard-coded in the module source. Andrew Bartlett (This used to be commit 1fbe09ce818ac1603bd747610262865b8698fe04)
2007-10-10r12761: get the TIME_T_MIN and TIME_T_MAX right again, merging from samba3 ↵Stefan Metzmacher1-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)
2007-10-10r12755: check the return value of ldb_timestring(), as this fails,Stefan Metzmacher1-4/+13
when gmtime() fails... metze (This used to be commit 523746f2712371041800301294c73bb7686bf2d5)
2007-10-10r12754: - sync TIME_T_MAX calculation from samba3Stefan Metzmacher1-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)
2007-10-10r12753: Try to fix the build after a 'make clean'. (the wildcards will notAndrew Bartlett2-3/+4
expand because they don't exist yet). Thanks again to HotaruT. Andrew Bartlett (This used to be commit d3abfecec5c9468e93d2d40181ce5d20f8135566)
2007-10-10r12752: Clean up compile_et and asn1_compile as well.Andrew Bartlett1-0/+1
Andrew Bartlett (This used to be commit 2a6023d7414c1c337bb24a8c6882a17380cbc658)
2007-10-10r12751: Another make clean fix.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 9e6997d5bde306f442b2c7379870af6495e11d25)
2007-10-10r12750: Clean up more asn1 generated files (pointed out by <HotaruT>).Andrew Bartlett2-3/+2
Andrew Bartlett (This used to be commit 5d42638170245b684b45459d0538ea86fa811214)
2007-10-10r12749: Fix the newuser script.Andrew Bartlett2-7/+10
Andrew Bartlett (This used to be commit 42cdad5e3f06c307baf80396fd8449b803ef84c3)
2007-10-10r12748: Fix wrong handling of separation characters for RDNsSimo Sorce1-5/+15
allow escaped separation chars as part of the attr value of an RDN (This used to be commit 7ba341d6c3745cd99c4c79933f9bd54f41e12a9c)
2007-10-10r12747: Add a couple more token tests, used by the kludge ACL module.Andrew Bartlett1-0/+30
Andrew Bartlett (This used to be commit 10eadf48124d61f2eb586fb277a66aa4b9e6cad3)
2007-10-10r12746: An initial version of the kludge_acls module.Andrew Bartlett8-11/+257
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)
2007-10-10r12745: Initial work to support a syntax to pass over controls viaSimo Sorce4-11/+107
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)
2007-10-10r12744: For correctly written scripts, we don't need this anymore. Only useAndrew Bartlett1-3/+1
the cmdline credentials if we ask for it. Andrew Bartlett (This used to be commit 874dd09759eb0243988f39363c94785ae2e68485)
2007-10-10r12743: Remove the ugly way we had to make a second stage init and introduceSimo Sorce21-115/+142
a second_stage_init private function for modules that need a second stage init. Simo. (This used to be commit 5e8b365fa2d93801a5de1d9ea76ce9d5546bd248)
2007-10-10r12739: Add support for using credentials in the provision process.Andrew Bartlett3-18/+26
This should allow us to provision to a 'normal' LDAP server. Also add in 'session info' hooks (unused). Both of these need to be hooked in on the webserver. Andrew Bartlett (This used to be commit b349d2fbfefd0e0d4620b9e8e0c4136f900be1ae)
2007-10-10r12738: Use a talloc_reference to ensure this doesn't get free()'ed too early.Andrew Bartlett1-0/+3
Andrew Bartlett (This used to be commit 0f8c162211662de59f42a96fe5bdf56ed5be883f)