samba.git
21 years agoThis commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.
cvs2svn Import User [Thu, 7 Nov 2002 19:45:56 +0000 (19:45 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.

21 years agoFix small typo
Jelmer Vernooij [Thu, 7 Nov 2002 19:45:55 +0000 (19:45 +0000)]
Fix small typo

21 years agoMerge Jim's new rpc client code to 3.0.
Jeremy Allison [Thu, 7 Nov 2002 18:54:02 +0000 (18:54 +0000)]
Merge Jim's new rpc client code to 3.0.
Jeremy.

21 years agoWhat is wrong with you, Jim? Check in the final version, not an interim one...
Jim McDonough [Thu, 7 Nov 2002 15:43:04 +0000 (15:43 +0000)]
What is wrong with you, Jim?  Check in the final version, not an interim one...

21 years agoFix the build.
Jim McDonough [Thu, 7 Nov 2002 15:32:48 +0000 (15:32 +0000)]
Fix the build.

Build farm!  Build farm!  Please check the build farm!

...or at least run make torture.

21 years agoFix the build.
Jim McDonough [Thu, 7 Nov 2002 15:29:09 +0000 (15:29 +0000)]
Fix the build.

Build farm! Build farm!  Please check the build farm!

...or at least run make torture.

21 years agoStop using hardcoded smbtrans subcommands
Jim McDonough [Thu, 7 Nov 2002 14:46:24 +0000 (14:46 +0000)]
Stop using hardcoded smbtrans subcommands

21 years agoDefine smbtrans subcommands so we can stop hardcoding them
Jim McDonough [Thu, 7 Nov 2002 14:45:46 +0000 (14:45 +0000)]
Define smbtrans subcommands so we can stop hardcoding them

21 years agoAllow multiple fragment RPC's to be sent.
Jim McDonough [Thu, 7 Nov 2002 14:40:25 +0000 (14:40 +0000)]
Allow multiple fragment RPC's to be sent.

21 years agoStop using hardcoded transact commands
Jim McDonough [Thu, 7 Nov 2002 14:39:49 +0000 (14:39 +0000)]
Stop using hardcoded transact commands

21 years agoAdd smbtrans subcommands so we can stop hardcoding them
Jim McDonough [Thu, 7 Nov 2002 14:38:53 +0000 (14:38 +0000)]
Add smbtrans subcommands so we can stop hardcoding them

21 years agoPerform my janitorial duties.
Tim Potter [Thu, 7 Nov 2002 07:24:10 +0000 (07:24 +0000)]
Perform my janitorial duties.

21 years agoRemove lp_security() checks for winbindd as this is how we act as a PDC.
Tim Potter [Thu, 7 Nov 2002 07:23:37 +0000 (07:23 +0000)]
Remove lp_security() checks for winbindd as this is how we act as a PDC.
Keep the rest of the cleanups though.

21 years agoKeeping 3.0 in sync....
Jeremy Allison [Thu, 7 Nov 2002 07:20:33 +0000 (07:20 +0000)]
Keeping 3.0 in sync....
Jeremy.

21 years agoJeremy the janitor again... keeping 3.0 in sync with tridge's changes this
Jeremy Allison [Thu, 7 Nov 2002 07:19:10 +0000 (07:19 +0000)]
Jeremy the janitor again... keeping 3.0 in sync with tridge's changes this
time.
Jeremy.

21 years agoKeep branches in sync.....
Jeremy Allison [Thu, 7 Nov 2002 07:17:09 +0000 (07:17 +0000)]
Keep branches in sync.....
Jeremy.

21 years agoKeeping branches in sync....
Jeremy Allison [Thu, 7 Nov 2002 07:14:14 +0000 (07:14 +0000)]
Keeping branches in sync....
Jeremy.

21 years agoKeeping branches in sync....
Jeremy Allison [Thu, 7 Nov 2002 07:13:29 +0000 (07:13 +0000)]
Keeping branches in sync....
Jeremy.

21 years agoBeing tpot's janitor again.... checking in things only checked into HEAD.
Jeremy Allison [Thu, 7 Nov 2002 07:08:04 +0000 (07:08 +0000)]
Being tpot's janitor again.... checking in things only checked into HEAD.
We are meant to be keeping 3.0 up to date...
Jeremy.

21 years agofixed some formatting errors and improved some debug statements in
Andrew Tridgell [Thu, 7 Nov 2002 04:53:18 +0000 (04:53 +0000)]
fixed some formatting errors and improved some debug statements in
'net rpc vampire'

21 years agowhen doing a 'net rpc vampire' a pdb_init_sam_pw() is used to create a
Andrew Tridgell [Thu, 7 Nov 2002 04:52:04 +0000 (04:52 +0000)]
when doing a 'net rpc vampire' a pdb_init_sam_pw() is used to create a
sam account object, then pdb_update_sam_account() can be used to
update an account. This code path could lead to the methods element of
the account being used when uninitialised (leading to a segv)

Easiest fix is to always make that that when creating a sam_account
object we initialise the methods to null, so that the passdb code
knows that it needs to be filled in.

21 years agoMerge of scalable printing code fix... Needs testing.
Jeremy Allison [Thu, 7 Nov 2002 02:38:42 +0000 (02:38 +0000)]
Merge ... scalable printing code fix... Needs testing.
Also tidied up some of Richard's code (I don't think he uses the compiler
flags -g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual like
I do :-) :-).
Jeremy.

21 years agoMerge of scalable printing code fix... Needs testing.
Jeremy Allison [Thu, 7 Nov 2002 02:15:35 +0000 (02:15 +0000)]
Merge ... scalable printing code fix... Needs testing.
Jeremy.

21 years agoSync up python stuff from HEAD.
Tim Potter [Thu, 7 Nov 2002 01:12:24 +0000 (01:12 +0000)]
Sync up python stuff from HEAD.

21 years agoCall winbindd_param_init() earlier on in the piece so we don't get stuck in
Tim Potter [Thu, 7 Nov 2002 01:06:38 +0000 (01:06 +0000)]
Call winbindd_param_init() earlier on in the piece so we don't get stuck in
the holding pattern when started up when security = user or security = ads.

Clean up return value of winbindd_common_init() - what a mess!

21 years agoFor a BUFFER5, don't parse the buffer if the buffer length is zero.
Tim Potter [Wed, 6 Nov 2002 23:43:21 +0000 (23:43 +0000)]
For a BUFFER5, don't parse the buffer if the buffer length is zero.

21 years agoClient side functions for enumprinterkey.
Tim Potter [Wed, 6 Nov 2002 23:38:39 +0000 (23:38 +0000)]
Client side functions for enumprinterkey.

21 years agoAdded enumprinterkey function.
Tim Potter [Wed, 6 Nov 2002 23:36:07 +0000 (23:36 +0000)]
Added enumprinterkey function.

Stub for deleteprinterkey.

21 years agoMoved function to parse a list of unicode strings into util file.
Tim Potter [Wed, 6 Nov 2002 23:34:12 +0000 (23:34 +0000)]
Moved function to parse a list of unicode strings into util file.
It's now used in parsing printer driver structures and the response
from the enumprinterkey rpc.

21 years agoAdd group management support (patch from metze)
Jelmer Vernooij [Wed, 6 Nov 2002 22:10:16 +0000 (22:10 +0000)]
Add group management support (patch from metze)

21 years agoFix compiler warnings.
Tim Potter [Wed, 6 Nov 2002 20:13:02 +0000 (20:13 +0000)]
Fix compiler warnings.

21 years agoAdapt to latest pdb API changes - only thing left is group support
Jelmer Vernooij [Wed, 6 Nov 2002 12:26:21 +0000 (12:26 +0000)]
Adapt to latest pdb API changes - only thing left is group support

21 years agopdb_get_unknown? -> pdb_get_unknown_?
Jelmer Vernooij [Wed, 6 Nov 2002 11:21:47 +0000 (11:21 +0000)]
pdb_get_unknown? -> pdb_get_unknown_?

21 years agoRemove pdb_sql.o.. this one got in by accident
Jelmer Vernooij [Wed, 6 Nov 2002 11:17:53 +0000 (11:17 +0000)]
Remove pdb_sql.o.. this one got in by accident

21 years agoMerge of get_dc_list() api change from HEAD.
Tim Potter [Wed, 6 Nov 2002 05:14:15 +0000 (05:14 +0000)]
Merge of get_dc_list() api change from HEAD.

21 years agopytdbpack_unpack: Clean up, and correct the handling of '$'.
Martin Pool [Wed, 6 Nov 2002 01:59:57 +0000 (01:59 +0000)]
pytdbpack_unpack: Clean up, and correct the handling of '$'.

21 years agoAdd another test case for repeated-unpack ('$')
Martin Pool [Wed, 6 Nov 2002 01:50:31 +0000 (01:50 +0000)]
Add another test case for repeated-unpack ('$')

21 years agoMerge of get_dc_list() api change. This was slightly more intrusive
Tim Potter [Wed, 6 Nov 2002 01:29:07 +0000 (01:29 +0000)]
Merge ... get_dc_list() api change.  This was slightly more intrusive
than the version in APPLIANCE so watch out for boogs.

21 years agoIgnore profiles binary.
Tim Potter [Wed, 6 Nov 2002 01:18:30 +0000 (01:18 +0000)]
Ignore profiles binary.

21 years agoMerge things that bloody tpot should be doing :-).
Jeremy Allison [Wed, 6 Nov 2002 00:10:04 +0000 (00:10 +0000)]
Merge things that bloody tpot should be doing :-).
Jeremy.

21 years agoMerge of lp_talloc_free() call in init_domain_list() from APPLIANCE.
Tim Potter [Tue, 5 Nov 2002 23:19:38 +0000 (23:19 +0000)]
Merge ... lp_talloc_free() call in init_domain_list() from APPLIANCE.

21 years agoEnsure can_delete returns correct error code.
Jeremy Allison [Tue, 5 Nov 2002 22:49:54 +0000 (22:49 +0000)]
Ensure can_delete returns correct error code.
Jeremy.

21 years agoEnsure can_delete returns the correct error code.
Jeremy Allison [Tue, 5 Nov 2002 22:49:07 +0000 (22:49 +0000)]
Ensure can_delete returns the correct error code.
Jeremy.

21 years agocorrect make
Jelmer Vernooij [Tue, 5 Nov 2002 22:28:45 +0000 (22:28 +0000)]
correct make

21 years agoMissed extern.
Jeremy Allison [Tue, 5 Nov 2002 21:51:04 +0000 (21:51 +0000)]
Missed extern.
Jeremy.

21 years agoMissed extern declaration.
Jeremy Allison [Tue, 5 Nov 2002 21:49:45 +0000 (21:49 +0000)]
Missed extern declaration.
Jeremy.

21 years agoFix to correctly return NT_STATUS_DELETE_PENDING.
Jeremy Allison [Tue, 5 Nov 2002 21:47:03 +0000 (21:47 +0000)]
Fix to correctly return NT_STATUS_DELETE_PENDING.
Jeremy.

21 years agoFix to correctly return NT_STATUS_DELETE_PENDING.
Jeremy Allison [Tue, 5 Nov 2002 21:46:33 +0000 (21:46 +0000)]
Fix to correctly return NT_STATUS_DELETE_PENDING.
Jeremy.

21 years agoSmall fix from Guenther Deschner <guenther.deschner@suse.de>
Jelmer Vernooij [Tue, 5 Nov 2002 21:45:16 +0000 (21:45 +0000)]
Small fix from Guenther Deschner <guenther.deschner@suse.de>
(remove junk chars)

21 years ago'make everything' in docs
Jelmer Vernooij [Tue, 5 Nov 2002 21:41:04 +0000 (21:41 +0000)]
'make everything' in docs

21 years agoFix small syntax errors
Jelmer Vernooij [Tue, 5 Nov 2002 21:35:22 +0000 (21:35 +0000)]
Fix small syntax errors

21 years agopytdbpack_pack_data: Allow first argument to be any kind of Number,
Martin Pool [Tue, 5 Nov 2002 21:26:35 +0000 (21:26 +0000)]
pytdbpack_pack_data: Allow first argument to be any kind of Number,
not just an Integer.  Coerce appropriately.

21 years agopytdbpack_pack_data: If the first argument to a 'B' code is not an
Martin Pool [Tue, 5 Nov 2002 21:22:14 +0000 (21:22 +0000)]
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.

21 years agoA small fix by Andy Thomas. Now that incrementing the Auth index has
Richard Sharpe [Tue, 5 Nov 2002 20:40:55 +0000 (20:40 +0000)]
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.

21 years agoAdd note about obsolete section
Jelmer Vernooij [Tue, 5 Nov 2002 18:48:59 +0000 (18:48 +0000)]
Add note about obsolete section

21 years agoTell popt this command requires 1 'normal' argument and has two optional 'normal...
Jelmer Vernooij [Tue, 5 Nov 2002 18:30:47 +0000 (18:30 +0000)]
Tell popt this command requires 1 'normal' argument and has two optional 'normal' parameters

21 years agoDon't generate ../examples/pdb/{xml,mysql}/configure
Jelmer Vernooij [Tue, 5 Nov 2002 17:18:30 +0000 (17:18 +0000)]
Don't generate ../examples/pdb/{xml,mysql}/configure

21 years agoDon't generate ../examples/pdb/mysql/Makefile and ../examples/pdb/xml/Makefile
Jelmer Vernooij [Tue, 5 Nov 2002 17:15:24 +0000 (17:15 +0000)]
Don't generate ../examples/pdb/mysql/Makefile and ../examples/pdb/xml/Makefile

21 years agoAdd pdb_xml docs
Jelmer Vernooij [Tue, 5 Nov 2002 17:11:23 +0000 (17:11 +0000)]
Add pdb_xml docs

21 years agoMove pdb_xml to source/
Jelmer Vernooij [Tue, 5 Nov 2002 17:08:32 +0000 (17:08 +0000)]
Move pdb_xml to source/

21 years agoFix various small syntax errors
Jelmer Vernooij [Tue, 5 Nov 2002 16:59:45 +0000 (16:59 +0000)]
Fix various small syntax errors
add docs for pdb_mysql
don't build obsolete docs in Makefile

21 years agoConvert pdb_mysql docs to sgml
Jelmer Vernooij [Tue, 5 Nov 2002 16:55:21 +0000 (16:55 +0000)]
Convert pdb_mysql docs to sgml

21 years agoMove pdb_mysql to source/passdb
Jelmer Vernooij [Tue, 5 Nov 2002 16:48:23 +0000 (16:48 +0000)]
Move pdb_mysql to source/passdb

21 years agoRerun autoconf
Jelmer Vernooij [Tue, 5 Nov 2002 16:36:37 +0000 (16:36 +0000)]
Rerun autoconf

21 years agoAdd support to build plugins in source/
Jelmer Vernooij [Tue, 5 Nov 2002 16:33:26 +0000 (16:33 +0000)]
Add support to build plugins in source/

21 years agoThe default for 'announce version' is 4.9, not 4.5 or 4.2
Jelmer Vernooij [Tue, 5 Nov 2002 16:26:19 +0000 (16:26 +0000)]
The default for 'announce version' is 4.9, not 4.5 or 4.2

21 years agoMerge vl's 'algorithmic rid base' patch, and my changes to pdb_smbpasswd's NUA
Andrew Bartlett [Tue, 5 Nov 2002 07:20:27 +0000 (07:20 +0000)]
Merge vl's 'algorithmic rid base' patch, and my changes to pdb_smbpasswd's NUA
support from HEAD -> 3.0

Andrew Bartlett

21 years agoSee if char * makes the Irix C compiler happier than void *?
Richard Sharpe [Tue, 5 Nov 2002 04:23:48 +0000 (04:23 +0000)]
See if char * makes the Irix C compiler happier than void *?

21 years agoRemove DRIVERFILE constant. It was removed with the old win95
Tim Potter [Tue, 5 Nov 2002 03:05:29 +0000 (03:05 +0000)]
Remove DRIVERFILE constant.  It was removed with the old win95
printer driver stuff.

21 years agopytdbpack_pack_data: Oops, since B is separately encoded as buffer and
Martin Pool [Tue, 5 Nov 2002 02:54:07 +0000 (02:54 +0000)]
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.

21 years agoUpdate test cases.
Martin Pool [Tue, 5 Nov 2002 02:52:01 +0000 (02:52 +0000)]
Update test cases.

21 years agoMake all of the required (I think) changes to make this code work for
Richard Sharpe [Tue, 5 Nov 2002 02:11:42 +0000 (02:11 +0000)]
Make all of the required (I think) changes to make this code work for
big endian and little endian systems.

21 years agoRerun autoconf.
Tim Potter [Tue, 5 Nov 2002 02:03:01 +0000 (02:03 +0000)]
Rerun autoconf.

21 years agoFix mysterious error message when running 'make python_{ext,install}'
Tim Potter [Tue, 5 Nov 2002 02:00:36 +0000 (02:00 +0000)]
Fix mysterious error message when running 'make python_{ext,install}'
without configuring with python.

21 years agoStart handling Big Endian machines as well as little endian.
Richard Sharpe [Tue, 5 Nov 2002 01:29:29 +0000 (01:29 +0000)]
Start handling Big Endian machines as well as little endian.

21 years agopytdbpack_unpack: Handle unpacking Buffers into (LEN, DATA): form list
Martin Pool [Tue, 5 Nov 2002 00:24:32 +0000 (00:24 +0000)]
pytdbpack_unpack: Handle unpacking Buffers into (LEN, DATA): form list
by appending, rather than preallocating.

21 years agoVFStest already has pop_common via smbd, so don't link it twice.
Andrew Bartlett [Mon, 4 Nov 2002 23:49:41 +0000 (23:49 +0000)]
VFStest already has pop_common via smbd, so don't link it twice.

Andrew Bartlett

21 years agoAdd more test cases that now work.
Martin Pool [Mon, 4 Nov 2002 23:10:47 +0000 (23:10 +0000)]
Add more test cases that now work.

21 years agopytdbpack_pack_data: Allow 'd' and 'w' formats to take either Integer
Martin Pool [Mon, 4 Nov 2002 23:08:53 +0000 (23:08 +0000)]
pytdbpack_pack_data: Allow 'd' and 'w' formats to take either Integer
or Long arguments.

21 years agoMake sure uint32 unpacking is unsigned, and generates a Python long so
Martin Pool [Mon, 4 Nov 2002 22:59:48 +0000 (22:59 +0000)]
Make sure uint32 unpacking is unsigned, and generates a Python long so
that it can represent all the unsigned values

21 years agoRe-add some tests which do work with both implementations
Martin Pool [Mon, 4 Nov 2002 22:50:24 +0000 (22:50 +0000)]
Re-add some tests which do work with both implementations

21 years agoComment out test cases where the old and new parser are different.
Martin Pool [Mon, 4 Nov 2002 22:48:06 +0000 (22:48 +0000)]
Comment out test cases where the old and new parser are different.

21 years agopytdbpack_calc_reqd_len: Correct calculation of packed length of
Martin Pool [Mon, 4 Nov 2002 22:29:03 +0000 (22:29 +0000)]
pytdbpack_calc_reqd_len: Correct calculation of packed length of
string types

21 years agoChange to representing buffers ('B') as (LEN, STRING) in Python,
Martin Pool [Mon, 4 Nov 2002 22:22:12 +0000 (22:22 +0000)]
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.

21 years agotest_pack_extra: Add additional cases.
Martin Pool [Mon, 4 Nov 2002 22:01:25 +0000 (22:01 +0000)]
test_pack_extra: Add additional cases.

test_pack_failures: Remove cases for which old code is too lax.

21 years agotest_pack_extra: Better way of testing packing with extra values.
Martin Pool [Mon, 4 Nov 2002 21:57:53 +0000 (21:57 +0000)]
test_pack_extra: Better way of testing packing with extra values.

21 years agopytdbpack_calc_reqd_len: It's no longer an error to supply more data
Martin Pool [Mon, 4 Nov 2002 21:56:24 +0000 (21:56 +0000)]
pytdbpack_calc_reqd_len: It's no longer an error to supply more data
values than are consumed.

21 years agoDoc
Martin Pool [Mon, 4 Nov 2002 20:34:50 +0000 (20:34 +0000)]
Doc

21 years agotest_pack_extra: The old code does not complain when there are too
Martin Pool [Mon, 4 Nov 2002 20:34:25 +0000 (20:34 +0000)]
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.

21 years agoSync with HEAD.
Tim Potter [Mon, 4 Nov 2002 20:33:16 +0000 (20:33 +0000)]
Sync with HEAD.

21 years agotest_pack_failures: The old code does not complain when there are too
Martin Pool [Mon, 4 Nov 2002 20:30:09 +0000 (20:30 +0000)]
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.

21 years agopytdbpack_calc_reqd_len: Make exception be thrown correctly when a
Martin Pool [Mon, 4 Nov 2002 20:22:03 +0000 (20:22 +0000)]
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.

21 years agotest_pack_failures: The old and new code is not exactly the same about
Martin Pool [Mon, 4 Nov 2002 20:04:16 +0000 (20:04 +0000)]
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.

21 years agotest_pack: Coercing a dictionary to a sequence as it is packed is not
Martin Pool [Mon, 4 Nov 2002 19:54:06 +0000 (19:54 +0000)]
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.

21 years agoSync to actual state
Jelmer Vernooij [Mon, 4 Nov 2002 19:38:15 +0000 (19:38 +0000)]
Sync to actual state

21 years agoAdd FIXME about --with-python
Martin Pool [Mon, 4 Nov 2002 19:36:34 +0000 (19:36 +0000)]
Add FIXME about --with-python

21 years agoLarge number of updates - new structure of the HOWTO, better names, introductions...
Jelmer Vernooij [Mon, 4 Nov 2002 18:25:25 +0000 (18:25 +0000)]
Large number of updates - new structure of the HOWTO, better names, introductions, updating to 3.0

21 years agoMove testsmbc.c to examples
Jelmer Vernooij [Mon, 4 Nov 2002 17:11:18 +0000 (17:11 +0000)]
Move testsmbc.c to examples

21 years agotestsmbc should only be in examples
Jelmer Vernooij [Mon, 4 Nov 2002 17:10:08 +0000 (17:10 +0000)]
testsmbc should only be in examples

21 years agoMove encryption algorithm explanation to dev-doc
Jelmer Vernooij [Mon, 4 Nov 2002 16:23:00 +0000 (16:23 +0000)]
Move encryption algorithm explanation to dev-doc