summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* pytdbpack_unpack: Handle unpacking Buffers into (LEN, DATA): form listMartin Pool2002-11-051-21/+45
| | | | | by appending, rather than preallocating. (This used to be commit d72b144e03b9a9cb3d676527ddc5b2d0e1ef42f8)
* VFStest already has pop_common via smbd, so don't link it twice.Andrew Bartlett2002-11-041-1/+1
| | | | | Andrew Bartlett (This used to be commit c70a3191d4ba8864f026a2ba6b35b9e415541aa7)
* Add more test cases that now work.Martin Pool2002-11-041-1/+2
| | | | (This used to be commit 7827536c15ac27ebcc4e9c342be6e203248195f6)
* pytdbpack_pack_data: Allow 'd' and 'w' formats to take either IntegerMartin Pool2002-11-041-2/+20
| | | | | or Long arguments. (This used to be commit 2085595565b99295d04a6663aad1ccac5bc1b657)
* Make sure uint32 unpacking is unsigned, and generates a Python long soMartin Pool2002-11-041-10/+10
| | | | | that it can represent all the unsigned values (This used to be commit 2593e1588355643bb76a9b8869573fe38fd3bc3e)
* Re-add some tests which do work with both implementationsMartin Pool2002-11-041-6/+6
| | | | (This used to be commit a9c2817c79f675b82ace4e21df7fa123f9a995c3)
* Comment out test cases where the old and new parser are different.Martin Pool2002-11-041-60/+71
| | | | (This used to be commit 6be885da2ca0ee41db86c46625301b51858061af)
* pytdbpack_calc_reqd_len: Correct calculation of packed length ofMartin Pool2002-11-041-5/+8
| | | | | string types (This used to be commit 30525aee33237f5b17e1067a96d09b7ee0a516a6)
* Change to representing buffers ('B') as (LEN, STRING) in Python,Martin Pool2002-11-041-130/+112
| | | | | | | rather than as just a string. Makes the code more messy, but needed for compatibility with existing PSA Python code which seems to be too knotty to separate out. (This used to be commit 20d88a7d1e2a6d2daca29c5ffff3781197a97b57)
* test_pack_extra: Add additional cases.Martin Pool2002-11-041-7/+12
| | | | | test_pack_failures: Remove cases for which old code is too lax. (This used to be commit 631945a03a3bf4982177bc22ebccf096b2bb5b6c)
* test_pack_extra: Better way of testing packing with extra values.Martin Pool2002-11-041-3/+3
| | | | (This used to be commit 12c3bb99a5f870b01ef389ddad1073fc92d2362c)
* pytdbpack_calc_reqd_len: It's no longer an error to supply more dataMartin Pool2002-11-041-8/+2
| | | | | values than are consumed. (This used to be commit 0c1cfe559877d51090409d67f983a82bbbbaa7e2)
* DocMartin Pool2002-11-041-2/+5
| | | | (This used to be commit 21e41866425c6f8bf04b08b3edd5bf70caf56e32)
* test_pack_extra: The old code does not complain when there are tooMartin Pool2002-11-041-1/+15
| | | | | | many data values for the format. Test that the new code behaves the same way. (This used to be commit b0143e77d64f6af977395cf39e50f35e46486157)
* test_pack_failures: The old code does not complain when there are tooMartin Pool2002-11-041-6/+14
| | | | | | | many data values for the format, so we don't test that here. test_large: New test case for packing/unpack a thousand values. (This used to be commit 04cad599f40faf234b40090806bcd1ac0473470f)
* pytdbpack_calc_reqd_len: Make exception be thrown correctly when aMartin Pool2002-11-041-2/+5
| | | | | | | | | non-string is used with a string format code. (It was being generated but not thrown.) Also call checked versions of some functions rather than FAST_* versions. (This used to be commit 1b681bd524764deaef657ef41c39d037ac7dcc7b)
* test_pack_failures: The old and new code is not exactly the same aboutMartin Pool2002-11-041-33/+37
| | | | | | error detection, so now we don't care what exact error is returned as long as we get something. (This used to be commit 5ade138bb815d3184fa57ff9cb548f78405059c5)
* test_pack: Coercing a dictionary to a sequence as it is packed is notMartin Pool2002-11-041-4/+0
| | | | | compatible with the old code, and so it is removed from the test case. (This used to be commit ed0e4a670d4d62b63afdaf7d9f13e39b98cdf1b2)
* Sync to actual stateJelmer Vernooij2002-11-041-3/+2
| | | | (This used to be commit bae2a38b17d4645e4faf74cd05a92511aee6c32b)
* Add FIXME about --with-pythonMartin Pool2002-11-041-0/+4
| | | | (This used to be commit 96741a251c731d71126dcf9c706f7bb7c954f6e7)
* Large number of updates - new structure of the HOWTO, better names, ↵Jelmer Vernooij2002-11-048-531/+472
| | | | | | introductions, updating to 3.0 (This used to be commit dfc3d55493c40201244a9e44b89868f7128c6f85)
* Move testsmbc.c to examplesJelmer Vernooij2002-11-041-455/+0
| | | | (This used to be commit fdd70614d2dc29f6a676c30e254a0bf024687fb4)
* testsmbc should only be in examplesJelmer Vernooij2002-11-041-2/+1
| | | | (This used to be commit 7aad086c9a20c4c700dfce3f81d89ab982702198)
* Move encryption algorithm explanation to dev-docJelmer Vernooij2002-11-042-0/+198
| | | | (This used to be commit ea026d74c1d8696e45c6bddc5b1b0029e7e41507)
* Move explanation of encryption algorithm to dev-docJelmer Vernooij2002-11-041-216/+27
| | | | (This used to be commit b279cc065385d45b8a16e220fb13b278d5921b1f)
* Add @BUILD_POPT@ to smbclientJelmer Vernooij2002-11-041-2/+2
| | | | (This used to be commit 24dd3886e8783b09094c3b32b4184055cd06e8c2)
* Don't pass any booleans to pdb_set_* functionsJelmer Vernooij2002-11-041-9/+9
| | | | (This used to be commit 91f9c9e1d8b490eb384198ff012f65e22f834c39)
* Don't pass true to pdb_set_* functionsJelmer Vernooij2002-11-041-9/+9
| | | | (This used to be commit e803bfde3d0b199155a87975e8af65f13babe692)
* Handle -p correctlyJelmer Vernooij2002-11-041-1/+1
| | | | (This used to be commit b69d5fffd97890f80df6675fb71bc230aacc8234)
* Adapt to metze's PDB_SET patchJelmer Vernooij2002-11-042-58/+58
| | | | (This used to be commit 33c7a296b3bdfab276ed91ea77077eedbeed3757)
* Make IRIX happyJelmer Vernooij2002-11-042-19/+18
| | | | (This used to be commit aeb94bb0d7ad84b52a5f729a3e83f4fb00005771)
* Becouse lib/popt_common.c uses POPT, we must not include it in LIB, we mustAndrew Bartlett2002-11-041-10/+14
| | | | | | | | | | link it on a per-program basis. Next step is to make -lpopt apply only to the right programs, which might help some of this kind of thing show up on Linux. Andrew Bartlett (This used to be commit a0d13cd3f0ca1738fbd978ac67876196cd0ee56c)
* Allow 'normal' accounts in the non-unix-account range for smbpasswd - I hopeAndrew Bartlett2002-11-041-19/+20
| | | | | | this will fix some of the problems on the build farm @ Compaq (where they have a *lot* of accounts...). (This used to be commit 2c97b7e6480c2731739ccc52af97bc62a6228cfe)
* Fix debugAndrew Bartlett2002-11-041-1/+1
| | | | (This used to be commit 5b5b8de70e46a15e9fb9b47c7af6cb0133f41217)
* Move to the use of the 'initialised' flag, rather than the fact the pointer isAndrew Bartlett2002-11-041-8/+9
| | | | | | | NULL. Andrew Bartlett (This used to be commit 2115335857acd2c4f5c89b95227b3762f4c052b0)
* Try to fix popt dependencies - we were linking to popt before we built with it.Andrew Bartlett2002-11-041-6/+6
| | | | | Andrew Bartlett (This used to be commit dd9c6214d1976d87679735ea392b1a76463206a4)
* Any conversion to POPT must *always* add @BUILD_POPT@ or it just won't work onAndrew Bartlett2002-11-041-2/+2
| | | | | | | systems other than linux. Andrew Bartlett (This used to be commit 80f1f68b6f0fa38dd1ef4b2cfabb07d3c8daf844)
* The fixes from Tom plus a minor update from me.Richard Sharpe2002-11-045-174/+329
| | | | (This used to be commit 6db6a48711f51ee6add32953506cd5db33939a1b)
* Extra little fix to vl's patch. Make sure the passdb and testparm messagesAndrew Bartlett2002-11-032-5/+9
| | | | | | | | say exactly the same thing - in particular that we can algorithmic rid base == 1000, and use the BASE_RID macro to avoid the use of magic numbers. Andrew Bartlett (This used to be commit b70f2a8047ac549841bc103932b38951e9814186)
* make_server_info_guest() can need root for the ldapsam backendAndrew Tridgell2002-11-031-1/+4
| | | | (This used to be commit 918099f09618136c371e199803f5895f9cb702be)
* Force algorithmic rid base to sane values and talk about it.Volker Lendecke2002-11-032-4/+33
| | | | | Volker (This used to be commit ce5b2d991b42bbf6865ff75194f8ee4b46694841)
* Remove obsolete function usage and some unused variablesJelmer Vernooij2002-11-021-27/+1
| | | | (This used to be commit 162431a88ccb0811ae9873ce4ceda11d2f1de8b7)
* Remove dummy function I used for testingJelmer Vernooij2002-11-021-7/+0
| | | | (This used to be commit 15c71551db038071d981ca4e37ef505004e79b89)
* Convert to popt.Jelmer Vernooij2002-11-021-75/+23
| | | | | Removed -o and -a options - these have been broken since 2.2 without complaints from users (This used to be commit c8589a567b96dacc0b6c88c91b34f8211532bbfa)
* Add more options to popt_common and use them. Current ones are:Jelmer Vernooij2002-11-023-28/+62
| | | | | | | | | | -V Version information -n Set netbios name -l Set directory to store log files in -d Set debuglevel -s Load specified configuration file -O Set socket options (This used to be commit 1602d5894947b59fd36c161053a66c0afe2c959c)
* Fix typoAndrew Bartlett2002-11-021-1/+1
| | | | (This used to be commit 5c6041f713f1931072aa25f49e8210c4c7e36ba9)
* Clean up this a little - add comments describing a bit of what is going onAndrew Bartlett2002-11-021-5/+6
| | | | | here. (This used to be commit 88455313f6551a75eff4df2f0ba91430948c1c78)
* Add a 'ldap trust ids' option that lets pdb_ldap check for posixAccountAndrew Bartlett2002-11-023-40/+134
| | | | | | | | | | | | | | attributes rather than calling getpwnam() on the user. This should help fix some of metze's performance issues - particularly on enumerations. There is a consequential change to the operation of 'non unix account's in LDAP - they are no longer restricted to being 'within' the NUA range, but will always be added to that range. Finally, there is the doco for this and the previous LDAP SSL changes. (This used to be commit 18abaeffda300074a507561d8372d5bfddc8fe50)
* Make sure that %u is used for SID elements ...Richard Sharpe2002-11-021-1/+1
| | | | (This used to be commit 82f6b264037a2f1b882dc75bc43c6c8b41477270)
* Return the result code, not false (0 == success) on error...Andrew Bartlett2002-11-021-1/+1
| | | | (This used to be commit f91c363bc05d1c82ad8a99a5c0d59b46cf820aac)