Jelmer Vernooij [Tue, 5 Nov 2002 18:48:59 +0000 (18:48 +0000)]
Add note about obsolete section
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
Jelmer Vernooij [Tue, 5 Nov 2002 17:18:30 +0000 (17:18 +0000)]
Don't generate ../examples/pdb/{xml,mysql}/configure
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
Jelmer Vernooij [Tue, 5 Nov 2002 17:11:23 +0000 (17:11 +0000)]
Add pdb_xml docs
Jelmer Vernooij [Tue, 5 Nov 2002 17:08:32 +0000 (17:08 +0000)]
Move pdb_xml to source/
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
Jelmer Vernooij [Tue, 5 Nov 2002 16:55:21 +0000 (16:55 +0000)]
Convert pdb_mysql docs to sgml
Jelmer Vernooij [Tue, 5 Nov 2002 16:48:23 +0000 (16:48 +0000)]
Move pdb_mysql to source/passdb
Jelmer Vernooij [Tue, 5 Nov 2002 16:36:37 +0000 (16:36 +0000)]
Rerun autoconf
Jelmer Vernooij [Tue, 5 Nov 2002 16:33:26 +0000 (16:33 +0000)]
Add support to build plugins in source/
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
Richard Sharpe [Tue, 5 Nov 2002 04:23:48 +0000 (04:23 +0000)]
See if char * makes the Irix C compiler happier than void *?
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.
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.
Martin Pool [Tue, 5 Nov 2002 02:52:01 +0000 (02:52 +0000)]
Update test cases.
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.
Tim Potter [Tue, 5 Nov 2002 02:03:01 +0000 (02:03 +0000)]
Rerun autoconf.
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.
Richard Sharpe [Tue, 5 Nov 2002 01:29:29 +0000 (01:29 +0000)]
Start handling Big Endian machines as well as little endian.
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.
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
Martin Pool [Mon, 4 Nov 2002 23:10:47 +0000 (23:10 +0000)]
Add more test cases that now work.
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.
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
Martin Pool [Mon, 4 Nov 2002 22:50:24 +0000 (22:50 +0000)]
Re-add some tests which do work with both implementations
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.
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
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.
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.
Martin Pool [Mon, 4 Nov 2002 21:57:53 +0000 (21:57 +0000)]
test_pack_extra: Better way of testing packing with extra values.
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.
Martin Pool [Mon, 4 Nov 2002 20:34:50 +0000 (20:34 +0000)]
Doc
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.
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.
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.
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.
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.
Jelmer Vernooij [Mon, 4 Nov 2002 19:38:15 +0000 (19:38 +0000)]
Sync to actual state
Martin Pool [Mon, 4 Nov 2002 19:36:34 +0000 (19:36 +0000)]
Add FIXME about --with-python
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
Jelmer Vernooij [Mon, 4 Nov 2002 17:11:18 +0000 (17:11 +0000)]
Move testsmbc.c to examples
Jelmer Vernooij [Mon, 4 Nov 2002 17:10:08 +0000 (17:10 +0000)]
testsmbc should only be in examples
Jelmer Vernooij [Mon, 4 Nov 2002 16:23:00 +0000 (16:23 +0000)]
Move encryption algorithm explanation to dev-doc
Jelmer Vernooij [Mon, 4 Nov 2002 16:20:15 +0000 (16:20 +0000)]
Move explanation of encryption algorithm to dev-doc
Jelmer Vernooij [Mon, 4 Nov 2002 15:43:21 +0000 (15:43 +0000)]
Add @BUILD_POPT@ to smbclient
Jelmer Vernooij [Mon, 4 Nov 2002 15:04:26 +0000 (15:04 +0000)]
Don't pass any booleans 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
Jelmer Vernooij [Mon, 4 Nov 2002 14:50:08 +0000 (14:50 +0000)]
Handle -p correctly
Jelmer Vernooij [Mon, 4 Nov 2002 14:36:34 +0000 (14:36 +0000)]
Adapt to metze's PDB_SET patch
Jelmer Vernooij [Mon, 4 Nov 2002 14:08:11 +0000 (14:08 +0000)]
Make IRIX happy
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
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...).
Andrew Bartlett [Mon, 4 Nov 2002 12:47:07 +0000 (12:47 +0000)]
Fix debug
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
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
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
Richard Sharpe [Mon, 4 Nov 2002 02:01:48 +0000 (02:01 +0000)]
The fixes from Tom plus a minor update from me.
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
Andrew Tridgell [Sun, 3 Nov 2002 13:33:00 +0000 (13:33 +0000)]
make_server_info_guest() can need root for the ldapsam backend
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
Jelmer Vernooij [Sat, 2 Nov 2002 18:58:55 +0000 (18:58 +0000)]
Remove obsolete function usage and some unused variables
Jelmer Vernooij [Sat, 2 Nov 2002 16:40:14 +0000 (16:40 +0000)]
Remove dummy function I used for testing
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
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
Andrew Bartlett [Sat, 2 Nov 2002 11:35:43 +0000 (11:35 +0000)]
Fix typo
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.
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.
Richard Sharpe [Sat, 2 Nov 2002 06:21:10 +0000 (06:21 +0000)]
Make sure that %u is used for SID elements ...
Andrew Bartlett [Sat, 2 Nov 2002 03:37:26 +0000 (03:37 +0000)]
Return the result code, not false (0 == success) on error...
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
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.
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?)
Jelmer Vernooij [Sat, 2 Nov 2002 01:07:27 +0000 (01:07 +0000)]
Add popt_common_socket_options
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.
Tim Potter [Sat, 2 Nov 2002 00:45:19 +0000 (00:45 +0000)]
Display pipe name in rpc bind failure debug.
Jelmer Vernooij [Sat, 2 Nov 2002 00:44:19 +0000 (00:44 +0000)]
Convert to popt
Jelmer Vernooij [Sat, 2 Nov 2002 00:20:29 +0000 (00:20 +0000)]
Initial updating of Diagnosis
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
Jelmer Vernooij [Sat, 2 Nov 2002 00:16:36 +0000 (00:16 +0000)]
Update manpages - make ready for 3.0
Richard Sharpe [Fri, 1 Nov 2002 08:53:28 +0000 (08:53 +0000)]
Add the changes to change the SIDs ...
You must make two passes over NTUSER.DAT, one for the OWNER SID and one for
GROUP SID.
I have not tested this yet ... that is, I have not tried to use this on
a Win2K etc server.
Richard Sharpe [Fri, 1 Nov 2002 07:43:54 +0000 (07:43 +0000)]
Add more. Parse SIDs on the command line ... soon will actually mod the
SecDescs in the NTUSER.DAT ...
Richard Sharpe [Fri, 1 Nov 2002 05:41:56 +0000 (05:41 +0000)]
Fix a problem with spaces vs tabs
Richard Sharpe [Fri, 1 Nov 2002 05:29:11 +0000 (05:29 +0000)]
Revert that stupid one line change.
Richard Sharpe [Fri, 1 Nov 2002 05:24:38 +0000 (05:24 +0000)]
Fix small typo ...
Richard Sharpe [Fri, 1 Nov 2002 05:06:19 +0000 (05:06 +0000)]
Add more code to the profiles program and add Makefile.in support.
Tim Potter [Fri, 1 Nov 2002 00:38:26 +0000 (00:38 +0000)]
Tidyup of some DCERPC pipe connection debugs. The new LSA_DS stuff
generates some errors we haven't seen before which are inappropriately
logged at level 0.
Jeremy Allison [Thu, 31 Oct 2002 23:41:02 +0000 (23:41 +0000)]
Fix slowdown because of enumerating all print queues on every smbd startup.
Jeremy.
Jelmer Vernooij [Thu, 31 Oct 2002 22:00:20 +0000 (22:00 +0000)]
Add initial upgrading doc (doesn't contain much currently)
Start using more entities
Jim McDonough [Thu, 31 Oct 2002 19:20:33 +0000 (19:20 +0000)]
Re-enable use of existing kerberos tickets.
Jeremy Allison [Thu, 31 Oct 2002 18:43:05 +0000 (18:43 +0000)]
Check the long_archi name is not null.
Jeremy.
Jelmer Vernooij [Thu, 31 Oct 2002 18:08:45 +0000 (18:08 +0000)]
add smb_load_modules() to load a list of modules - does this function look ok ?
Volker Lendecke [Thu, 31 Oct 2002 17:34:49 +0000 (17:34 +0000)]
search & replace doesn't always work reliably :-)
Volker
Richard Sharpe [Thu, 31 Oct 2002 17:27:47 +0000 (17:27 +0000)]
Add a small utility that can print out the SEC DESCs in NTUSER.DAT.
This is an early, messy version of the code, but it illustrates what can
be done. It currently only prints the Owner SID, Group SID, and Perms and
SID from each ACE.
Once more work is done, it could actually walk the SEC DESCs and ACEs and
change the SIDS ...
John Terpstra [Thu, 31 Oct 2002 04:17:29 +0000 (04:17 +0000)]
Another Buchan Milne patch that escaped the last commit.
John Terpstra [Thu, 31 Oct 2002 04:16:26 +0000 (04:16 +0000)]
Applied Buchan Milne's patches.
Jelmer Vernooij [Wed, 30 Oct 2002 19:23:22 +0000 (19:23 +0000)]
Rerun autoconf
Jim McDonough [Wed, 30 Oct 2002 18:18:25 +0000 (18:18 +0000)]
Fix build. Don't use BSD setenv. Use POSIX putenv.
Jeremy, it wasn't me!!!!!!
Jelmer Vernooij [Wed, 30 Oct 2002 17:50:36 +0000 (17:50 +0000)]
use sys_dlopen instead of dlopen (thanks to jra for noticing)
Tim Potter [Wed, 30 Oct 2002 14:52:53 +0000 (14:52 +0000)]
Fix boog in argument list for nt_create_andx.