summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
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 Bartlett2-17/+25
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)
2007-10-10r12734: forgot to add qsortSimo Sorce1-0/+256
(This used to be commit df1ccca3499015d68a6f9f86286d9f66b6c0476c)
2007-10-10r12733: Merge ldap/ldb controls into main treeSimo Sorce53-100/+1870
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)
2007-10-10r12732: This option does nothing.Andrew Bartlett1-2/+1
Andrew Bartlett (This used to be commit 708ce7de3034cfef3c6d8c7d49df8851ad1e5827)
2007-10-10r12731: Simplify and re-implemenet support for --parameter-name=fooAndrew Bartlett2-26/+17
--service-name=bar in testparm. Andrew Bartlett (This used to be commit be067e9a04a4dca02a9472ae7385dc0bf26735ea)
2007-10-10r12730: Reimplement --parameter-name, and bring in common samba options.Andrew Bartlett2-7/+50
This changes -s from meaning 'suppress prompt' to 'services file'. Andrew Bartlett (This used to be commit 0f78bd743b8bc415e47006a683c53bfdff1bc1e1)
2007-10-10r12729: Implement the --section-name option, for dumping only one section.Andrew Bartlett3-19/+55
Andrew Bartlett (This used to be commit 3c49dd9219b12f5ed229ba108a02b85a18146df8)
2007-10-10r12728: Revive testparm.Andrew Bartlett4-3/+240
It needs work to not dump defaults from loadparm.c, but otherwise it works. Andrew Bartlett (This used to be commit 1260fcf46579d708a406625f548add9be9fdc6fb)
2007-10-10r12725: some minor updatesStefan Metzmacher4-4/+4
metze (This used to be commit f2e97983f278211c6d70400ce1f43d6a69df0d8a)
2007-10-10r12724: fix warningsStefan Metzmacher1-5/+5
metze (This used to be commit 4ca1a9a6063ef0caee09eb5310d079ee054d91b4)
2007-10-10r12720: By metze's request, rename the ntPwdHistory attribute toAndrew Bartlett3-48/+48
sambaNTPassword. Likewise lmPwdHistory -> sambaLMPwdHistory. The idea here is to avoid having conflicting formats when we get to replication. We know the base data matches, but we may need to use a module to munge formats. Andrew Bartlett (This used to be commit 8e608dd4bf4f108e02274a9977ced04a0a270570)
2007-10-10r12719: Rename unicodePwd -> sambaPassword.Andrew Bartlett6-48/+35
Because we don't know the syntax of unicodePwd, we want to avoid using that attribute name. It may cause problems later when we get replication form windows. I'm doing this before the tech preview, so we don't get too many supprises as folks upgrade databases into later versions. Andrew Bartlett (This used to be commit 097d9d0b7fd3b1a10fb7039f0671fd459bed2d1b)
2007-10-10r12718: We don't use unicodePwd directly any more.Andrew Bartlett1-1/+0
Andrew Bartlett (This used to be commit c10491fb9be1eb8a13f03ed16fd3ed799315287e)
2007-10-10r12717: Always compile the skel module, so we know when we break it.Andrew Bartlett2-28/+28
Also fix up all the current issues with the skel module. Andrew Bartlett (This used to be commit d0a0a8de3fa73d8f06a801203e00b90ed8359b98)
2007-10-10r12716: Tridge points out that the request argument to ldb_next_request mustAndrew Bartlett2-42/+78
be a valid talloc() pointer, as other modules may rely on this. Andrew Bartlett (This used to be commit 356c8c56090a7c4254609c0cc138c994b618fa55)
2007-10-10r12711: Update copyrightsJelmer Vernooij1-5/+2
(This used to be commit a02b0c5568977e1a2a396460d13a24076d4681f0)
2007-10-10r12710: Fix socket_wrapper: Make sure to fill in the socket family on theAndrew Bartlett1-0/+1
returned address. Andrew Bartlett (This used to be commit 57b0aae0d4b52d9a9879c4606d2e4b3ef0d3d0d7)
2007-10-10r12708: This is equivilant, but doesn't cause a warning.Andrew Bartlett1-2/+1
Andrew Bartlett (This used to be commit 964f7fc6ca4ac7578ca0d467392d4e174211b6e2)
2007-10-10r12704: role => server roleJelmer Vernooij1-4/+4
(This used to be commit 5884a7effff0b11e82c9d273dbd0407b0f2eb02d)
2007-10-10r12703: Fix handling of short passdb backends (also reported by Steinar ↵Jelmer Vernooij1-2/+4
Gunderson) (This used to be commit 4c562c42b43d98f4c6bdbacc5cb1dd5e65bc3418)
2007-10-10r12702: - reload the partner configuration, when the sequenceNumber of the ↵Stefan Metzmacher3-21/+87
wins_config.ldb changes - use a periodic run interval of 15 secs per default, as we no longer send push notifies with each run metze (This used to be commit 0382b3135c770847be33fbf8ee500f2c0bf265e2)
2007-10-10r12701: the first scavenging run should happen after half of the renew_interval,Stefan Metzmacher1-0/+13
and not on startup metze (This used to be commit fd234ebbac30a10083e2898eb291d8a4fef7198f)
2007-10-10r12700: fix name release of replica records, we need to become the owner and ↵Stefan Metzmacher3-25/+51
allocate a new versionID so that it gets replicated to the old owning wins server directly metze (This used to be commit 72198f00ea933db68f7ec5d85cac00c98b37a077)
2007-10-10r12699: correctly escape invalid DN characters (reported by Steinar H. ↵Jelmer Vernooij2-2/+31
Gunderson). this still doesn't work as a bug in ldb causes it to not understand escaped characters in DNs when parsing DNs (This used to be commit 10da56fb6cc57b6c0650a8dc81ded5faa643a96e)
2007-10-10r12698: Declare model_ops (required for NetBSD)Jelmer Vernooij1-0/+1
(This used to be commit 5e6df39363fba961e09e836e4b5a0115b278be90)
2007-10-10r12697: Support empty fullname fields in unix accountsJelmer Vernooij1-0/+4
(This used to be commit 3d70ebca0b706ae22bc7a3f48c2247c450c42026)
2007-10-10r12696: Reduce the size of include/structs.hJelmer Vernooij37-250/+77
(This used to be commit 63917616016133c623fc6ff59454bc313ee7dd8f)
2007-10-10r12695: A dot is allowed in NetBIOS names.Jelmer Vernooij1-2/+2
(This used to be commit f4ac7d6359b5a6de04a6ea518dec99f4c9b49b3d)
2007-10-10r12694: Move some headers to the directory of the subsystem they belong to.Jelmer Vernooij98-74/+134
(This used to be commit c722f665c90103f3ed57621c460e32ad33e7a8a3)
2007-10-10r12693: Move core data structures out of smb.h into core.hJelmer Vernooij92-122/+246
torture prototypes in seperate header (This used to be commit 73610639b23ca3743077193fa0b1de7c7f65944d)
2007-10-10r12687: Push the real list of supported GENSEC mechanisms out onAndrew Bartlett1-0/+21
supportedSASLMechanism in the rootdse. (Second half of a patch commited earlier today). Andrew Bartlett (This used to be commit 4b67b5d688493c385e12734fd2c0c9dbc1b238e4)
2007-10-10r12686: Push the real SASL list into the rootdse.Andrew Bartlett5-17/+25
Get this out of the server credentials, and push it down to ldb via an opaque pointer. Andrew Bartlett (This used to be commit 61700252e05e0be6b4ffa72ffc24a95c665597e3)
2007-10-10r12684: A better error code for SAMR transaction failures.Andrew Bartlett1-12/+15
Andrew Bartlett (This used to be commit 9c127f35ceae5106ee21c930c3570c0b87341cf6)
2007-10-10r12683: Fix declaration and initialisation placement.Andrew Bartlett1-5/+6
Andrew Bartlett (This used to be commit 17e20930ec05f6385a8fccfc77fb0aca89ecef52)
2007-10-10r12682: This patch finally fixes our kpasswdd implementation to be compatibleAndrew Bartlett6-68/+323
with clients compiled against the MIT Kerberos implementation. (Which checks for address in KRB-PRIV packets, hence my comments on socket functions earlier today). It also fixes the 'set password' operation to behave correctly (it was previously a no-op). This allows Samba3 to join Samba4. Some winbindd operations even work, which I think is a good step forward. There is naturally a lot of work to do, but I wanted at least the very basics of Samba3 domain membership to be available for the tech preview. Andrew Bartlett (This used to be commit 4e80a557f9c68b01ac6d5bb05716fe5b3fd400d4)