Richard Sharpe
03d4866ecd
See if char * makes the Irix C compiler happier than void *?
...
(This used to be commit 6b218da6453032339f2451a434d14894050dd1b5)
2002-11-05 04:23:48 +00:00
Tim Potter
ced085b0d2
Remove DRIVERFILE constant. It was removed with the old win95
...
printer driver stuff.
(This used to be commit cf6d2d9d9e2adbbb7a547784cb11d05ed624e410)
2002-11-05 03:05:29 +00:00
Martin Pool
af7ecaf61b
pytdbpack_pack_data: Oops, since B is separately encoded as buffer and
...
length we need separate counters traversing the format and value
sequences to pack them.
(This used to be commit 49a0ba46e6693bb819440d4ab40045afc4a7ae17)
2002-11-05 02:54:07 +00:00
Martin Pool
97d34f85c7
Update test cases.
...
(This used to be commit db2c393dd488dad2ce95f3b3cf0297d5b0159ae7)
2002-11-05 02:52:01 +00:00
Richard Sharpe
48e10c116d
Make all of the required (I think) changes to make this code work for
...
big endian and little endian systems.
(This used to be commit f50051120f93b5f95f72dcb3df201979e6302f5b)
2002-11-05 02:11:42 +00:00
Tim Potter
ad6ac942ca
Rerun autoconf.
...
(This used to be commit fd9aff634be7d6e59995cc44c6b08a7ae442747a)
2002-11-05 02:03:01 +00:00
Tim Potter
b0c440824d
Fix mysterious error message when running 'make python_{ext,install}'
...
without configuring with python.
(This used to be commit 01a89690a2e9d234188704c04e58b5dfa2e7d1f3)
2002-11-05 02:00:36 +00:00
Richard Sharpe
fd59cd4283
Start handling Big Endian machines as well as little endian.
...
(This used to be commit 8f45315b913a9574dfeedaadf5560d143b38ca05)
2002-11-05 01:29:29 +00:00
Martin Pool
d6d94ee143
pytdbpack_unpack: Handle unpacking Buffers into (LEN, DATA): form list
...
by appending, rather than preallocating.
(This used to be commit d72b144e03b9a9cb3d676527ddc5b2d0e1ef42f8)
2002-11-05 00:24:32 +00:00
Andrew Bartlett
f8afe65733
VFStest already has pop_common via smbd, so don't link it twice.
...
Andrew Bartlett
(This used to be commit c70a3191d4ba8864f026a2ba6b35b9e415541aa7)
2002-11-04 23:49:41 +00:00
Martin Pool
e6aa69bac7
Add more test cases that now work.
...
(This used to be commit 7827536c15ac27ebcc4e9c342be6e203248195f6)
2002-11-04 23:10:47 +00:00
Martin Pool
3f9dac6948
pytdbpack_pack_data: Allow 'd' and 'w' formats to take either Integer
...
or Long arguments.
(This used to be commit 2085595565b99295d04a6663aad1ccac5bc1b657)
2002-11-04 23:08:53 +00:00
Martin Pool
0011607aca
Make sure uint32 unpacking is unsigned, and generates a Python long so
...
that it can represent all the unsigned values
(This used to be commit 2593e1588355643bb76a9b8869573fe38fd3bc3e)
2002-11-04 22:59:48 +00:00
Martin Pool
2137acf498
Re-add some tests which do work with both implementations
...
(This used to be commit a9c2817c79f675b82ace4e21df7fa123f9a995c3)
2002-11-04 22:50:24 +00:00
Martin Pool
a5a1e068bd
Comment out test cases where the old and new parser are different.
...
(This used to be commit 6be885da2ca0ee41db86c46625301b51858061af)
2002-11-04 22:48:06 +00:00
Martin Pool
feb15f90fe
pytdbpack_calc_reqd_len: Correct calculation of packed length of
...
string types
(This used to be commit 30525aee33237f5b17e1067a96d09b7ee0a516a6)
2002-11-04 22:29:03 +00:00
Martin Pool
859850faf7
Change to representing buffers ('B') as (LEN, STRING) in Python,
...
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)
2002-11-04 22:22:12 +00:00
Martin Pool
70cdcfb5b3
test_pack_extra: Add additional cases.
...
test_pack_failures: Remove cases for which old code is too lax.
(This used to be commit 631945a03a3bf4982177bc22ebccf096b2bb5b6c)
2002-11-04 22:01:25 +00:00
Martin Pool
5c2b4a8a5a
test_pack_extra: Better way of testing packing with extra values.
...
(This used to be commit 12c3bb99a5f870b01ef389ddad1073fc92d2362c)
2002-11-04 21:57:53 +00:00
Martin Pool
fe61a53991
pytdbpack_calc_reqd_len: It's no longer an error to supply more data
...
values than are consumed.
(This used to be commit 0c1cfe559877d51090409d67f983a82bbbbaa7e2)
2002-11-04 21:56:24 +00:00
Martin Pool
ba09904001
Doc
...
(This used to be commit 21e41866425c6f8bf04b08b3edd5bf70caf56e32)
2002-11-04 20:34:50 +00:00
Martin Pool
b700eafad9
test_pack_extra: The old code does not complain when there are too
...
many data values for the format. Test that the new code behaves the
same way.
(This used to be commit b0143e77d64f6af977395cf39e50f35e46486157)
2002-11-04 20:34:25 +00:00
Martin Pool
f10a55e3be
test_pack_failures: The old code does not complain when there are too
...
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)
2002-11-04 20:30:09 +00:00
Martin Pool
c56f478ded
pytdbpack_calc_reqd_len: Make exception be thrown correctly when a
...
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)
2002-11-04 20:22:03 +00:00
Martin Pool
dc847082f3
test_pack_failures: The old and new code is not exactly the same about
...
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)
2002-11-04 20:04:16 +00:00
Martin Pool
06b055cea3
test_pack: Coercing a dictionary to a sequence as it is packed is not
...
compatible with the old code, and so it is removed from the test case.
(This used to be commit ed0e4a670d4d62b63afdaf7d9f13e39b98cdf1b2)
2002-11-04 19:54:06 +00:00
Jelmer Vernooij
1c3677fe94
Sync to actual state
...
(This used to be commit bae2a38b17d4645e4faf74cd05a92511aee6c32b)
2002-11-04 19:38:15 +00:00
Martin Pool
98d8bf1ac6
Add FIXME about --with-python
...
(This used to be commit 96741a251c731d71126dcf9c706f7bb7c954f6e7)
2002-11-04 19:36:34 +00:00
Jelmer Vernooij
4ca4febd67
Large number of updates - new structure of the HOWTO, better names, introductions, updating to 3.0
...
(This used to be commit dfc3d55493c40201244a9e44b89868f7128c6f85)
2002-11-04 18:25:25 +00:00
Jelmer Vernooij
a3090f0cc8
Move testsmbc.c to examples
...
(This used to be commit fdd70614d2dc29f6a676c30e254a0bf024687fb4)
2002-11-04 17:11:18 +00:00
Jelmer Vernooij
0bd559ad1d
testsmbc should only be in examples
...
(This used to be commit 7aad086c9a20c4c700dfce3f81d89ab982702198)
2002-11-04 17:10:08 +00:00
Jelmer Vernooij
61c600725d
Move encryption algorithm explanation to dev-doc
...
(This used to be commit ea026d74c1d8696e45c6bddc5b1b0029e7e41507)
2002-11-04 16:23:00 +00:00
Jelmer Vernooij
e7c2603609
Move explanation of encryption algorithm to dev-doc
...
(This used to be commit b279cc065385d45b8a16e220fb13b278d5921b1f)
2002-11-04 16:20:15 +00:00
Jelmer Vernooij
f9d0e90fa4
Add @BUILD_POPT@ to smbclient
...
(This used to be commit 24dd3886e8783b09094c3b32b4184055cd06e8c2)
2002-11-04 15:43:21 +00:00
Jelmer Vernooij
d4a93bd8f0
Don't pass any booleans to pdb_set_* functions
...
(This used to be commit 91f9c9e1d8b490eb384198ff012f65e22f834c39)
2002-11-04 15:04:26 +00:00
Jelmer Vernooij
0a0cee218a
Don't pass true to pdb_set_* functions
...
(This used to be commit e803bfde3d0b199155a87975e8af65f13babe692)
2002-11-04 15:03:58 +00:00
Jelmer Vernooij
5883bc73c1
Handle -p correctly
...
(This used to be commit b69d5fffd97890f80df6675fb71bc230aacc8234)
2002-11-04 14:50:08 +00:00
Jelmer Vernooij
366da1ee37
Adapt to metze's PDB_SET patch
...
(This used to be commit 33c7a296b3bdfab276ed91ea77077eedbeed3757)
2002-11-04 14:36:34 +00:00
Jelmer Vernooij
7da7b4a464
Make IRIX happy
...
(This used to be commit aeb94bb0d7ad84b52a5f729a3e83f4fb00005771)
2002-11-04 14:08:11 +00:00
Andrew Bartlett
995ab016ab
Becouse lib/popt_common.c uses POPT, we must not include it in LIB, we must
...
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)
2002-11-04 13:39:40 +00:00
Andrew Bartlett
3ae2fcd776
Allow 'normal' accounts in the non-unix-account range for smbpasswd - I hope
...
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)
2002-11-04 13:15:53 +00:00
Andrew Bartlett
1336b8153e
Fix debug
...
(This used to be commit 5b5b8de70e46a15e9fb9b47c7af6cb0133f41217)
2002-11-04 12:47:07 +00:00
Andrew Bartlett
0ead4ef3c2
Move to the use of the 'initialised' flag, rather than the fact the pointer is
...
NULL.
Andrew Bartlett
(This used to be commit 2115335857acd2c4f5c89b95227b3762f4c052b0)
2002-11-04 12:36:37 +00:00
Andrew Bartlett
f35e15bd75
Try to fix popt dependencies - we were linking to popt before we built with it.
...
Andrew Bartlett
(This used to be commit dd9c6214d1976d87679735ea392b1a76463206a4)
2002-11-04 12:02:48 +00:00
Andrew Bartlett
99cd4b52a7
Any conversion to POPT must *always* add @BUILD_POPT@ or it just won't work on
...
systems other than linux.
Andrew Bartlett
(This used to be commit 80f1f68b6f0fa38dd1ef4b2cfabb07d3c8daf844)
2002-11-04 02:49:20 +00:00
Richard Sharpe
6214457499
The fixes from Tom plus a minor update from me.
...
(This used to be commit 6db6a48711f51ee6add32953506cd5db33939a1b)
2002-11-04 02:01:48 +00:00
Andrew Bartlett
a7f2feae31
Extra little fix to vl's patch. Make sure the passdb and testparm messages
...
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)
2002-11-03 14:13:43 +00:00
Andrew Tridgell
281284c819
make_server_info_guest() can need root for the ldapsam backend
...
(This used to be commit 918099f09618136c371e199803f5895f9cb702be)
2002-11-03 13:33:00 +00:00
Volker Lendecke
9422775efd
Force algorithmic rid base to sane values and talk about it.
...
Volker
(This used to be commit ce5b2d991b42bbf6865ff75194f8ee4b46694841)
2002-11-03 12:54:12 +00:00
Jelmer Vernooij
670764e38c
Remove obsolete function usage and some unused variables
...
(This used to be commit 162431a88ccb0811ae9873ce4ceda11d2f1de8b7)
2002-11-02 18:58:55 +00:00