1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-19 10:03:58 +03:00

10082 Commits

Author SHA1 Message Date
Jelmer Vernooij
7f9b0dbf5b Fix small syntax errors -
Martin Pool
248067931a pytdbpack_pack_data: Allow first argument to be any kind of Number,
not just an Integer.  Coerce appropriately.
-
Martin Pool
db67c5f7e5 pytdbpack_pack_data: If the first argument to a 'B' code is not an
Integer, raise an error rather than just returning Null, which breaks
the interpreter.
-
Richard Sharpe
39136827d1 A small fix by Andy Thomas. Now that incrementing the Auth index has
been pushed into a macro, things do not work so well. Move the increment out
of the array index.
-
Jelmer Vernooij
2d38795d3a Add note about obsolete section -
Jelmer Vernooij
b4f00ceaad Tell popt this command requires 1 'normal' argument and has two optional 'normal' parameters -
Jelmer Vernooij
b0788c3e8e Don't generate ../examples/pdb/{xml,mysql}/configure -
Jelmer Vernooij
e8a7755647 Don't generate ../examples/pdb/mysql/Makefile and ../examples/pdb/xml/Makefile -
Jelmer Vernooij
f92f10ef25 Add pdb_xml docs -
Jelmer Vernooij
b68106a79e Move pdb_xml to source/ -
Jelmer Vernooij
1c06377f84 Fix various small syntax errors
add docs for pdb_mysql
don't build obsolete docs in Makefile
-
Jelmer Vernooij
6642f6c5a9 Convert pdb_mysql docs to sgml -
Jelmer Vernooij
1d742e14ad Move pdb_mysql to source/passdb -
Jelmer Vernooij
53736430f8 Rerun autoconf -
Jelmer Vernooij
eb8965eeff Add support to build plugins in source/ -
Jelmer Vernooij
570c3b2fab The default for 'announce version' is 4.9, not 4.5 or 4.2 -
Richard Sharpe
6b218da645 See if char * makes the Irix C compiler happier than void *? -
Tim Potter
cf6d2d9d9e Remove DRIVERFILE constant. It was removed with the old win95
printer driver stuff.
-
Martin Pool
49a0ba46e6 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.
-
Martin Pool
db2c393dd4 Update test cases. -
Richard Sharpe
f50051120f Make all of the required (I think) changes to make this code work for
big endian and little endian systems.
-
Tim Potter
fd9aff634b Rerun autoconf. -
Tim Potter
01a89690a2 Fix mysterious error message when running 'make python_{ext,install}'
without configuring with python.
-
Richard Sharpe
8f45315b91 Start handling Big Endian machines as well as little endian. -
Martin Pool
d72b144e03 pytdbpack_unpack: Handle unpacking Buffers into (LEN, DATA): form list
by appending, rather than preallocating.
-
Andrew Bartlett
c70a3191d4 VFStest already has pop_common via smbd, so don't link it twice.
Andrew Bartlett
-
Martin Pool
7827536c15 Add more test cases that now work. -
Martin Pool
2085595565 pytdbpack_pack_data: Allow 'd' and 'w' formats to take either Integer
or Long arguments.
-
Martin Pool
2593e15883 Make sure uint32 unpacking is unsigned, and generates a Python long so
that it can represent all the unsigned values
-
Martin Pool
a9c2817c79 Re-add some tests which do work with both implementations -
Martin Pool
6be885da2c Comment out test cases where the old and new parser are different. -
Martin Pool
30525aee33 pytdbpack_calc_reqd_len: Correct calculation of packed length of
string types
-
Martin Pool
20d88a7d1e 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.
-
Martin Pool
631945a03a test_pack_extra: Add additional cases.
test_pack_failures: Remove cases for which old code is too lax.
-
Martin Pool
12c3bb99a5 test_pack_extra: Better way of testing packing with extra values. -
Martin Pool
0c1cfe5598 pytdbpack_calc_reqd_len: It's no longer an error to supply more data
values than are consumed.
-
Martin Pool
21e4186642 Doc -
Martin Pool
b0143e77d6 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.
-
Martin Pool
04cad599f4 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.
-
Martin Pool
1b681bd524 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.
-
Martin Pool
5ade138bb8 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.
-
Martin Pool
ed0e4a670d 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.
-
Jelmer Vernooij
bae2a38b17 Sync to actual state -
Martin Pool
96741a251c Add FIXME about --with-python -
Jelmer Vernooij
dfc3d55493 Large number of updates - new structure of the HOWTO, better names, introductions, updating to 3.0 -
Jelmer Vernooij
fdd70614d2 Move testsmbc.c to examples -
Jelmer Vernooij
7aad086c9a testsmbc should only be in examples -
Jelmer Vernooij
ea026d74c1 Move encryption algorithm explanation to dev-doc -
Jelmer Vernooij
b279cc0653 Move explanation of encryption algorithm to dev-doc -
Jelmer Vernooij
24dd3886e8 Add @BUILD_POPT@ to smbclient -