ira/wip.git
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.
(This used to be commit acecee6f2bb92c4992078f4fe2dfae4414f43482)

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)
(This used to be commit 090a2015eb9aa4ec68d80e972ae192d19afd536e)

21 years agoFix compiler warnings.
Tim Potter [Wed, 6 Nov 2002 20:13:02 +0000 (20:13 +0000)]
Fix compiler warnings.
(This used to be commit 3a68613e934e25f2ccfbf5afa5e26b5f47b40a53)

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
(This used to be commit 99a2e7fde1fd4e589035c273f40419ef322e097d)

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_?
(This used to be commit c13ed6c866fed43e5f83e083c377a1cd7d505061)

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
(This used to be commit 44c894531b09856a9a485912b05f08c59caa6a00)

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 '$'.
(This used to be commit dd73568f97ad51c93f096001058fd31fa14e88ae)

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 ('$')
(This used to be commit 2a492c4854d4c6469d8c7d21aa187fef6303b641)

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.
(This used to be commit 1e054e3db654801fbb5580211529cdfdea9ed686)

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

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.
(This used to be commit 48ed9dce0dab53066d3304baa0f24639a1f1755b)

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.
(This used to be commit 44db20f9f63d72c2e6e1f4ffedf72d75563369fb)

21 years agocorrect make
Jelmer Vernooij [Tue, 5 Nov 2002 22:28:45 +0000 (22:28 +0000)]
correct make
(This used to be commit 836bfb3a1bd0c91df8e39d22eb76740bda805310)

21 years agoMissed extern declaration.
Jeremy Allison [Tue, 5 Nov 2002 21:49:45 +0000 (21:49 +0000)]
Missed extern declaration.
Jeremy.
(This used to be commit e39e2b4c3488fbd9e9a08dd5629a672d1459e64e)

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.
(This used to be commit 075987f1db4de5e21ebf205a16a847ce0b2a926e)

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)
(This used to be commit 2e7a904856f616605e341c897d2be0f863c4b53d)

21 years ago'make everything' in docs
Jelmer Vernooij [Tue, 5 Nov 2002 21:41:04 +0000 (21:41 +0000)]
'make everything' in docs
(This used to be commit 960082d860c36419c63094be778decdadb061c1d)

21 years agoFix small syntax errors
Jelmer Vernooij [Tue, 5 Nov 2002 21:35:22 +0000 (21:35 +0000)]
Fix small syntax errors
(This used to be commit 7f9b0dbf5bddf6b49fdb8788ab6745ed46cb9cca)

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.
(This used to be commit 248067931a2a8eeee86ea343bddf96d2bd727dbf)

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.
(This used to be commit db67c5f7e53b231fe217a29a15888e8895ce2229)

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.
(This used to be commit 39136827d135c91e42ec2b36f420262b1b18093c)

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
(This used to be commit 2d38795d3a9258babccfe52420ed83ec5a1d3f51)

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
(This used to be commit b4f00ceaadc77158870ea2bd9d8a0e0845c89b7a)

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
(This used to be commit b0788c3e8e84bec13e2d2cbf733cd37e45c7afda)

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
(This used to be commit e8a77556477a0ec0c83786e0c66c2caaf473ea50)

21 years agoAdd pdb_xml docs
Jelmer Vernooij [Tue, 5 Nov 2002 17:11:23 +0000 (17:11 +0000)]
Add pdb_xml docs
(This used to be commit f92f10ef253615d453aca6cb093f65a3a0a62283)

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/
(This used to be commit b68106a79e4536fa82d75dd330d07dba51bfeaf4)

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
(This used to be commit 1c06377f84b170fe2a6476df13f1b2a0d39d0a92)

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
(This used to be commit 6642f6c5a9d6fa52a41a382850ed8bb3e1ebf701)

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
(This used to be commit 1d742e14ad18070aee654071d159b8b7410d6f86)

21 years agoRerun autoconf
Jelmer Vernooij [Tue, 5 Nov 2002 16:36:37 +0000 (16:36 +0000)]
Rerun autoconf
(This used to be commit 53736430f8b57dbad80cce62c2472e935cdd4dd9)

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/
(This used to be commit eb8965eeff3fb55d7041d9998b45da403ecb03a2)

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
(This used to be commit 570c3b2fab6368726213bb786e33902f261eb606)

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 *?
(This used to be commit 6b218da6453032339f2451a434d14894050dd1b5)

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.
(This used to be commit cf6d2d9d9e2adbbb7a547784cb11d05ed624e410)

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.
(This used to be commit 49a0ba46e6693bb819440d4ab40045afc4a7ae17)

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

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.
(This used to be commit f50051120f93b5f95f72dcb3df201979e6302f5b)

21 years agoRerun autoconf.
Tim Potter [Tue, 5 Nov 2002 02:03:01 +0000 (02:03 +0000)]
Rerun autoconf.
(This used to be commit fd9aff634be7d6e59995cc44c6b08a7ae442747a)

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.
(This used to be commit 01a89690a2e9d234188704c04e58b5dfa2e7d1f3)

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.
(This used to be commit 8f45315b913a9574dfeedaadf5560d143b38ca05)

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.
(This used to be commit d72b144e03b9a9cb3d676527ddc5b2d0e1ef42f8)

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
(This used to be commit c70a3191d4ba8864f026a2ba6b35b9e415541aa7)

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.
(This used to be commit 7827536c15ac27ebcc4e9c342be6e203248195f6)

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.
(This used to be commit 2085595565b99295d04a6663aad1ccac5bc1b657)

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
(This used to be commit 2593e1588355643bb76a9b8869573fe38fd3bc3e)

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
(This used to be commit a9c2817c79f675b82ace4e21df7fa123f9a995c3)

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.
(This used to be commit 6be885da2ca0ee41db86c46625301b51858061af)

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
(This used to be commit 30525aee33237f5b17e1067a96d09b7ee0a516a6)

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.
(This used to be commit 20d88a7d1e2a6d2daca29c5ffff3781197a97b57)

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.
(This used to be commit 631945a03a3bf4982177bc22ebccf096b2bb5b6c)

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.
(This used to be commit 12c3bb99a5f870b01ef389ddad1073fc92d2362c)

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.
(This used to be commit 0c1cfe559877d51090409d67f983a82bbbbaa7e2)

21 years agoDoc
Martin Pool [Mon, 4 Nov 2002 20:34:50 +0000 (20:34 +0000)]
Doc
(This used to be commit 21e41866425c6f8bf04b08b3edd5bf70caf56e32)

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.
(This used to be commit b0143e77d64f6af977395cf39e50f35e46486157)

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.
(This used to be commit 04cad599f40faf234b40090806bcd1ac0473470f)

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.
(This used to be commit 1b681bd524764deaef657ef41c39d037ac7dcc7b)

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.
(This used to be commit 5ade138bb815d3184fa57ff9cb548f78405059c5)

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.
(This used to be commit ed0e4a670d4d62b63afdaf7d9f13e39b98cdf1b2)

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

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
(This used to be commit 96741a251c731d71126dcf9c706f7bb7c954f6e7)

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
(This used to be commit dfc3d55493c40201244a9e44b89868f7128c6f85)

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
(This used to be commit fdd70614d2dc29f6a676c30e254a0bf024687fb4)

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
(This used to be commit 7aad086c9a20c4c700dfce3f81d89ab982702198)

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
(This used to be commit ea026d74c1d8696e45c6bddc5b1b0029e7e41507)

21 years agoMove explanation of encryption algorithm to dev-doc
Jelmer Vernooij [Mon, 4 Nov 2002 16:20:15 +0000 (16:20 +0000)]
Move explanation of encryption algorithm to dev-doc
(This used to be commit b279cc065385d45b8a16e220fb13b278d5921b1f)

21 years agoAdd @BUILD_POPT@ to smbclient
Jelmer Vernooij [Mon, 4 Nov 2002 15:43:21 +0000 (15:43 +0000)]
Add @BUILD_POPT@ to smbclient
(This used to be commit 24dd3886e8783b09094c3b32b4184055cd06e8c2)

21 years agoDon't pass any booleans to pdb_set_* functions
Jelmer Vernooij [Mon, 4 Nov 2002 15:04:26 +0000 (15:04 +0000)]
Don't pass any booleans to pdb_set_* functions
(This used to be commit 91f9c9e1d8b490eb384198ff012f65e22f834c39)

21 years agoDon't pass true to pdb_set_* functions
Jelmer Vernooij [Mon, 4 Nov 2002 15:03:58 +0000 (15:03 +0000)]
Don't pass true to pdb_set_* functions
(This used to be commit e803bfde3d0b199155a87975e8af65f13babe692)

21 years agoHandle -p correctly
Jelmer Vernooij [Mon, 4 Nov 2002 14:50:08 +0000 (14:50 +0000)]
Handle -p correctly
(This used to be commit b69d5fffd97890f80df6675fb71bc230aacc8234)

21 years agoAdapt to metze's PDB_SET patch
Jelmer Vernooij [Mon, 4 Nov 2002 14:36:34 +0000 (14:36 +0000)]
Adapt to metze's PDB_SET patch
(This used to be commit 33c7a296b3bdfab276ed91ea77077eedbeed3757)

21 years agoMake IRIX happy
Jelmer Vernooij [Mon, 4 Nov 2002 14:08:11 +0000 (14:08 +0000)]
Make IRIX happy
(This used to be commit aeb94bb0d7ad84b52a5f729a3e83f4fb00005771)

21 years agoBecouse lib/popt_common.c uses POPT, we must not include it in LIB, we must
Andrew Bartlett [Mon, 4 Nov 2002 13:39:40 +0000 (13:39 +0000)]
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)

21 years agoAllow 'normal' accounts in the non-unix-account range for smbpasswd - I hope
Andrew Bartlett [Mon, 4 Nov 2002 13:15:53 +0000 (13:15 +0000)]
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)

21 years agoFix debug
Andrew Bartlett [Mon, 4 Nov 2002 12:47:07 +0000 (12:47 +0000)]
Fix debug
(This used to be commit 5b5b8de70e46a15e9fb9b47c7af6cb0133f41217)

21 years agoMove to the use of the 'initialised' flag, rather than the fact the pointer is
Andrew Bartlett [Mon, 4 Nov 2002 12:36:37 +0000 (12:36 +0000)]
Move to the use of the 'initialised' flag, rather than the fact the pointer is
NULL.

Andrew Bartlett
(This used to be commit 2115335857acd2c4f5c89b95227b3762f4c052b0)

21 years agoTry to fix popt dependencies - we were linking to popt before we built with it.
Andrew Bartlett [Mon, 4 Nov 2002 12:02:48 +0000 (12:02 +0000)]
Try to fix popt dependencies - we were linking to popt before we built with it.

Andrew Bartlett
(This used to be commit dd9c6214d1976d87679735ea392b1a76463206a4)

21 years agoAny conversion to POPT must *always* add @BUILD_POPT@ or it just won't work on
Andrew Bartlett [Mon, 4 Nov 2002 02:49:20 +0000 (02:49 +0000)]
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)

21 years agoThe fixes from Tom plus a minor update from me.
Richard Sharpe [Mon, 4 Nov 2002 02:01:48 +0000 (02:01 +0000)]
The fixes from Tom plus a minor update from me.
(This used to be commit 6db6a48711f51ee6add32953506cd5db33939a1b)

21 years agoExtra little fix to vl's patch. Make sure the passdb and testparm messages
Andrew Bartlett [Sun, 3 Nov 2002 14:13:43 +0000 (14:13 +0000)]
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)

21 years agomake_server_info_guest() can need root for the ldapsam backend
Andrew Tridgell [Sun, 3 Nov 2002 13:33:00 +0000 (13:33 +0000)]
make_server_info_guest() can need root for the ldapsam backend
(This used to be commit 918099f09618136c371e199803f5895f9cb702be)

21 years agoForce algorithmic rid base to sane values and talk about it.
Volker Lendecke [Sun, 3 Nov 2002 12:54:12 +0000 (12:54 +0000)]
Force algorithmic rid base to sane values and talk about it.

Volker
(This used to be commit ce5b2d991b42bbf6865ff75194f8ee4b46694841)

21 years agoRemove obsolete function usage and some unused variables
Jelmer Vernooij [Sat, 2 Nov 2002 18:58:55 +0000 (18:58 +0000)]
Remove obsolete function usage and some unused variables
(This used to be commit 162431a88ccb0811ae9873ce4ceda11d2f1de8b7)

21 years agoRemove dummy function I used for testing
Jelmer Vernooij [Sat, 2 Nov 2002 16:40:14 +0000 (16:40 +0000)]
Remove dummy function I used for testing
(This used to be commit 15c71551db038071d981ca4e37ef505004e79b89)

21 years agoConvert to popt.
Jelmer Vernooij [Sat, 2 Nov 2002 16:36:39 +0000 (16:36 +0000)]
Convert to popt.
Removed -o and -a options - these have been broken since 2.2 without complaints from users
(This used to be commit c8589a567b96dacc0b6c88c91b34f8211532bbfa)

21 years agoAdd more options to popt_common and use them. Current ones are:
Jelmer Vernooij [Sat, 2 Nov 2002 16:16:15 +0000 (16:16 +0000)]
Add more options to popt_common and use them. Current ones are:
 -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)

21 years agoFix typo
Andrew Bartlett [Sat, 2 Nov 2002 11:35:43 +0000 (11:35 +0000)]
Fix typo
(This used to be commit 5c6041f713f1931072aa25f49e8210c4c7e36ba9)

21 years agoClean up this a little - add comments describing a bit of what is going on
Andrew Bartlett [Sat, 2 Nov 2002 07:54:04 +0000 (07:54 +0000)]
Clean up this a little - add comments describing a bit of what is going on
here.
(This used to be commit 88455313f6551a75eff4df2f0ba91430948c1c78)

21 years agoAdd a 'ldap trust ids' option that lets pdb_ldap check for posixAccount
Andrew Bartlett [Sat, 2 Nov 2002 07:09:17 +0000 (07:09 +0000)]
Add a 'ldap trust ids' option that lets pdb_ldap check for posixAccount
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)

21 years agoMake sure that %u is used for SID elements ...
Richard Sharpe [Sat, 2 Nov 2002 06:21:10 +0000 (06:21 +0000)]
Make sure that %u is used for SID elements ...
(This used to be commit 82f6b264037a2f1b882dc75bc43c6c8b41477270)

21 years agoReturn the result code, not false (0 == success) on error...
Andrew Bartlett [Sat, 2 Nov 2002 03:37:26 +0000 (03:37 +0000)]
Return the result code, not false (0 == success) on error...
(This used to be commit f91c363bc05d1c82ad8a99a5c0d59b46cf820aac)

21 years agoFixes for pdb_ldap:
Andrew Bartlett [Sat, 2 Nov 2002 03:14:27 +0000 (03:14 +0000)]
Fixes for pdb_ldap:

 - Default is now for start-tls, on the ldap (not ldaps) port
 - We check for 'I am currently root' in the right place now, and don't
   accidentily use a cached connection.
 - We don't loop on failure to be root, or some other errors.

 - A bit cleaner error reporting for add/modify.

 - Both the OpenLDAP and manual URI parsing tested.

Andrew Bartlett
(This used to be commit cfa1e459d727764feddcfdd8c9c0404282e2d0e8)

21 years agoFix --set-auth-user command to delete entries from the secrets file when an
Tim Potter [Sat, 2 Nov 2002 01:51:34 +0000 (01:51 +0000)]
Fix --set-auth-user command to delete entries from the secrets file when an
empty username/password is passed on the command line.  Previously we were
leaving the domain name set and the password set to a NULL character.

Added a --get-auth-user command to display the restrict anonymous username
information.  Can only be run successfully by root.
(This used to be commit 0bb9bc196207fb35c9de6accbe101937a687762f)

21 years agoSome winbindd cleanups I made trying to fix cr1020:
Tim Potter [Sat, 2 Nov 2002 01:35:18 +0000 (01:35 +0000)]
Some winbindd cleanups I made trying to fix cr1020:

 - move winbindd client handling into accessor functions in
   winbindd_util.c

 - move some winbindd socket routines into accessor functions in
   winbindd_utils.c

(The deadlock situation mentioned in the appliance branch is probably
not applicable since we don't clear the connection cache on SIGHUP.
Perhaps we should?)
(This used to be commit 846b5494942c73e68616e7eae0d2fd5ae4b2bc05)

21 years agoAdd popt_common_socket_options
Jelmer Vernooij [Sat, 2 Nov 2002 01:07:27 +0000 (01:07 +0000)]
Add popt_common_socket_options
(This used to be commit a15434314fd8cd88eab40e7cbc8f06a7d0d0169e)

21 years agoHandle the case where the password used in RPC connections (for restrict
Tim Potter [Sat, 2 Nov 2002 01:05:47 +0000 (01:05 +0000)]
Handle the case where the password used in RPC connections (for restrict
anonymous support) is blank.
(This used to be commit 7badccda46a0837dd9da802b44c2fbcb4f38845a)

21 years agoDisplay pipe name in rpc bind failure debug.
Tim Potter [Sat, 2 Nov 2002 00:45:19 +0000 (00:45 +0000)]
Display pipe name in rpc bind failure debug.
(This used to be commit 62ab0f8cbe7c517084383bdc9a8c97404ad27147)

21 years agoConvert to popt
Jelmer Vernooij [Sat, 2 Nov 2002 00:44:19 +0000 (00:44 +0000)]
Convert to popt
(This used to be commit 9ea7440ac4a3dbb98e34ccb8ee78e0bd782fa704)

21 years agoInitial updating of Diagnosis
Jelmer Vernooij [Sat, 2 Nov 2002 00:20:29 +0000 (00:20 +0000)]
Initial updating of Diagnosis
(This used to be commit 4fc8f1d3f29e36c8c1a04d6907c4bed3d6547e35)

21 years agoUpdate status of docs - some more manpages are now up-to-date
Jelmer Vernooij [Sat, 2 Nov 2002 00:17:21 +0000 (00:17 +0000)]
Update status of docs - some more manpages are now up-to-date
(This used to be commit 675226f1a1e2cc424f24bb2f22c730185db0c949)