samba.git
17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

18 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)

18 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)

18 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)

18 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)

18 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)

18 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)

18 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)

18 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)

18 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)

18 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)

18 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)

18 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)

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

18 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)

18 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)

18 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)

18 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)

18 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)

18 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)

18 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)

18 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)

18 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)

18 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)

18 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)

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

18 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)

18 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)

18 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)

18 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)

18 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)

18 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)

18 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)

18 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)

18 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)

18 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)

18 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)

18 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)

18 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)

18 years agoUpdate manpages - make ready for 3.0
Jelmer Vernooij [Sat, 2 Nov 2002 00:16:36 +0000 (00:16 +0000)]
Update manpages - make ready for 3.0
(This used to be commit 1a06235f183c2dcc6efc056043252246a4f31139)

18 years agoAdd the changes to change the SIDs ...
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.
(This used to be commit 7eb89ba467a66190775943834683a42b693d2e3b)

18 years agoAdd more. Parse SIDs on the command line ... soon will actually mod the
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 ...
(This used to be commit dbc608ba7e591175cd02f4adfdcfecd1350526a5)

18 years agoFix a problem with spaces vs tabs
Richard Sharpe [Fri, 1 Nov 2002 05:41:56 +0000 (05:41 +0000)]
Fix a problem with spaces vs tabs
(This used to be commit 26857be78cda1e6d6cae9bc87d34cdad12492748)

18 years agoRevert that stupid one line change.
Richard Sharpe [Fri, 1 Nov 2002 05:29:11 +0000 (05:29 +0000)]
Revert that stupid one line change.
(This used to be commit 095af10ff2e549b82c646df5ed20cf05352a3994)

18 years agoFix small typo ...
Richard Sharpe [Fri, 1 Nov 2002 05:24:38 +0000 (05:24 +0000)]
Fix small typo ...
(This used to be commit 59735a5aac88b076320874f06056d50947396fb3)

18 years agoAdd more code to the profiles program and add Makefile.in support.
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.
(This used to be commit daefe52a56a7b977b8e561f8f668c42183de413b)

18 years agoTidyup of some DCERPC pipe connection debugs. The new LSA_DS stuff
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.
(This used to be commit bd64de3716ffa9c3ebec282aa5cc0f773d3d8096)

18 years agoFix slowdown because of enumerating all print queues on every smbd startup.
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.
(This used to be commit d05b147fb3f32031a202cf61703dc2fd969f4617)

18 years agoAdd initial upgrading doc (doesn't contain much currently)
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
(This used to be commit 6c442fe5c90902718d9a381e6b2518c0b4aab3de)

18 years agoRe-enable use of existing kerberos tickets.
Jim McDonough [Thu, 31 Oct 2002 19:20:33 +0000 (19:20 +0000)]
Re-enable use of existing kerberos tickets.
(This used to be commit 6ec5dce69834e72e458a8acff7d1790cbdd46d67)

18 years agoCheck the long_archi name is not null.
Jeremy Allison [Thu, 31 Oct 2002 18:43:05 +0000 (18:43 +0000)]
Check the long_archi name is not null.
Jeremy.
(This used to be commit 9e47aa32ed96faff4a68a8e360c1353fc011adf1)

18 years agoadd smb_load_modules() to load a list of modules - does this function look ok ?
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 ?
(This used to be commit a82dbb3c22e6cb2096efb87c12a6006642806aac)

18 years agosearch & replace doesn't always work reliably :-)
Volker Lendecke [Thu, 31 Oct 2002 17:34:49 +0000 (17:34 +0000)]
search & replace doesn't always work reliably :-)

Volker
(This used to be commit 54115fd16ff10d1958153268dfd0f22f3c400bb5)

18 years agoAdd a small utility that can print out the SEC DESCs in NTUSER.DAT.
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 ...
(This used to be commit 322151509c255aa288627ae239661154ab0c83d5)

18 years agoAnother Buchan Milne patch that escaped the last commit.
John Terpstra [Thu, 31 Oct 2002 04:17:29 +0000 (04:17 +0000)]
Another Buchan Milne patch that escaped the last commit.
(This used to be commit 4cfa5425201087f579fa4091ce3fbf83e76a7d1a)

18 years agoApplied Buchan Milne's patches.
John Terpstra [Thu, 31 Oct 2002 04:16:26 +0000 (04:16 +0000)]
Applied Buchan Milne's patches.
(This used to be commit ce5a7084540feff7354d2005e25cef581ad500db)

18 years agoRerun autoconf
Jelmer Vernooij [Wed, 30 Oct 2002 19:23:22 +0000 (19:23 +0000)]
Rerun autoconf
(This used to be commit ff10786c9d4662af355c12cc7363092dc5187e99)

18 years agoFix build. Don't use BSD setenv. Use POSIX putenv.
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!!!!!!
(This used to be commit 00d4e5c67b8a3b8eafa56fd46fbaf4922030dd81)

18 years agouse sys_dlopen instead of dlopen (thanks to jra for noticing)
Jelmer Vernooij [Wed, 30 Oct 2002 17:50:36 +0000 (17:50 +0000)]
use sys_dlopen instead of dlopen (thanks to jra for noticing)
(This used to be commit 86eb0a25b1df8ca25872f9846a74d0f13a4ad045)

18 years agoFix boog in argument list for nt_create_andx.
Tim Potter [Wed, 30 Oct 2002 14:52:53 +0000 (14:52 +0000)]
Fix boog in argument list for nt_create_andx.
(This used to be commit 6945e89e2d10743635f01420c83d405a2d4cb356)

18 years agoThe locking description in this doc is outdated - note that
Jelmer Vernooij [Wed, 30 Oct 2002 12:50:47 +0000 (12:50 +0000)]
The locking description in this doc is outdated - note that
(This used to be commit 125c2fea550a88cf28fa82281b69a25b644edc4a)

18 years ago- Remove RTLD_GLOBAL
Jelmer Vernooij [Wed, 30 Oct 2002 12:07:49 +0000 (12:07 +0000)]
- Remove RTLD_GLOBAL
- make smb_load_module() return the return value of init_module()
(This used to be commit a8d2dd8d009797486105188f8fdb898a65bb25b0)

18 years agoadded a timegm() function for systems that don't have it
Andrew Tridgell [Wed, 30 Oct 2002 12:03:40 +0000 (12:03 +0000)]
added a timegm() function for systems that don't have it
(This used to be commit 732bc4519f1119100607cc84400e8f84e0c0ba9d)

18 years agoAdd init_module_function typedef for new module system
Jelmer Vernooij [Wed, 30 Oct 2002 12:01:19 +0000 (12:01 +0000)]
Add init_module_function typedef for new module system
(This used to be commit 4d1206be5275a8af7dfb612f1747fba484a7d017)

18 years agoAdd initial vesion of new module system
Jelmer Vernooij [Wed, 30 Oct 2002 11:52:36 +0000 (11:52 +0000)]
Add initial vesion of new module system
(This used to be commit b5d05d3ec6808465d27e15db2a9ff48804e2e78e)

18 years agoNot sure why this is here - so off it goes.
John Terpstra [Wed, 30 Oct 2002 04:04:00 +0000 (04:04 +0000)]
Not sure why this is here - so off it goes.
(This used to be commit f50b2c854ef7eaec7c6b9154fc9c1af7cb08e152)

18 years agoAdding Buchan Milne's updates from HEAD.
John Terpstra [Wed, 30 Oct 2002 03:54:19 +0000 (03:54 +0000)]
Adding Buchan Milne's updates from HEAD.
(This used to be commit e55e4c8dd66fd156a385c93f43c07bf778e2e764)

18 years agoAdding Buchan Milne's updates.
John Terpstra [Wed, 30 Oct 2002 03:50:23 +0000 (03:50 +0000)]
Adding Buchan Milne's updates.
(This used to be commit d816c35c1d8db343c76a32a6d01952d2c192b092)

18 years agoAdded Buchan Milne's DESTDIR patch.
John Terpstra [Wed, 30 Oct 2002 03:29:01 +0000 (03:29 +0000)]
Added Buchan Milne's DESTDIR patch.
(This used to be commit d134d66f989026821b29b24c8c15a112213b61d6)

18 years agoAdd autom4te.cache (used by newer autoconfs)
Jelmer Vernooij [Tue, 29 Oct 2002 21:46:36 +0000 (21:46 +0000)]
Add autom4te.cache (used by newer autoconfs)
(This used to be commit 94647051adc223e17997cd6688da0c71b7ea870a)

18 years agoWe also support security = server
Jelmer Vernooij [Tue, 29 Oct 2002 16:20:06 +0000 (16:20 +0000)]
We also support security = server
(This used to be commit 5bd2c390e883ced39ca89d0180d87a35ce396e96)

18 years ago2.2 was the previous release - don't talk about it like it's current
Jelmer Vernooij [Tue, 29 Oct 2002 16:19:32 +0000 (16:19 +0000)]
2.2 was the previous release - don't talk about it like it's current
(This used to be commit 752ef9463dc8b60cb0069344c3e30f65290270a1)

18 years agoSmall markup fixes
Jelmer Vernooij [Tue, 29 Oct 2002 16:18:10 +0000 (16:18 +0000)]
Small markup fixes
(This used to be commit c11b611bacc51ba57943cfd7988743194facaae2)

18 years ago-E doesn't take arguments
Jelmer Vernooij [Tue, 29 Oct 2002 16:16:37 +0000 (16:16 +0000)]
-E doesn't take arguments
(This used to be commit 932b364de79407b3996061c0ae66117d39045e4d)

18 years agoSync with actual changes
Jelmer Vernooij [Tue, 29 Oct 2002 16:12:57 +0000 (16:12 +0000)]
Sync with actual changes
(This used to be commit 706a87e774a2a976edb40c07b2a8a22cc9309ca1)

18 years agoFix a nice little memory leak in our uid changing code.
Andrew Bartlett [Tue, 29 Oct 2002 08:21:40 +0000 (08:21 +0000)]
Fix a nice little memory leak in our uid changing code.

Andrew Bartlett
(This used to be commit 5c4967c70dfab78733ef21e3a5eaf252a5958613)

18 years agoAdded close and unlink functions.
Tim Potter [Tue, 29 Oct 2002 04:39:33 +0000 (04:39 +0000)]
Added close and unlink functions.
(This used to be commit 3a7f8a568e9d1608c2a065e0b98488e2d068911c)

18 years agoFix fd leak with kernel change notify.
Jeremy Allison [Mon, 28 Oct 2002 22:04:47 +0000 (22:04 +0000)]
Fix fd leak with kernel change notify.
Jeremy.
(This used to be commit 78df2c916ae3940f0124912f99b1e0ca3914fff5)

18 years agoFix typo (-s -> -S)
Jelmer Vernooij [Mon, 28 Oct 2002 19:57:33 +0000 (19:57 +0000)]
Fix typo (-s -> -S)
(This used to be commit 522b7470a3dbe61f522f65fa2b1aeac4bc1d36c3)

18 years agoUpdate info on ldap suffix (thanks metze)
Jelmer Vernooij [Mon, 28 Oct 2002 19:54:11 +0000 (19:54 +0000)]
Update info on ldap suffix (thanks metze)
(This used to be commit 257a1ff880d58a262169885336e5090d986e7d3c)

18 years agodocument ldap suffix
Jelmer Vernooij [Mon, 28 Oct 2002 19:24:48 +0000 (19:24 +0000)]
document ldap suffix
(This used to be commit 85eeb8870f5a1e04c607fbcc18f8da50eb7a694f)

18 years agoImplement 'net maxrid'. Needed to find the maximum current rid to
Volker Lendecke [Mon, 28 Oct 2002 12:55:22 +0000 (12:55 +0000)]
Implement 'net maxrid'. Needed to find the maximum current rid to
set 'algorithmic rid base' correctly after a 'net rpc vampire'.

Volker
(This used to be commit 5c0869be321852919dba1566c6bcab02e4657541)

18 years agoRemove make_printerdef from binary install process.
John Terpstra [Sun, 27 Oct 2002 00:04:13 +0000 (00:04 +0000)]
Remove make_printerdef from binary install process.
(This used to be commit 73c28c527d1030d1656362474c14d49581efdbeb)

18 years agoFix bug in '-d'
Jelmer Vernooij [Sat, 26 Oct 2002 14:49:30 +0000 (14:49 +0000)]
Fix bug in '-d'
(This used to be commit 8c15db105addbafd822d96d29ff1692566b92267)

18 years agoOne more step towards to better PDC.
Andrew Bartlett [Sat, 26 Oct 2002 01:47:38 +0000 (01:47 +0000)]
One more step towards to better PDC.

This patch, from "Stefan (metze) Metzmacher" <metze@metzemix.de> implements an
LDAP connection cache.  This removes the quite silly situation where every
single passdb operation involved a new LDAP connection.

The hope is that this will give us a decent performance boost in some usrmgr
related activities, and in the sid->name/sid->uid code.

The remaining things I think are 'todo' for pdb_ldap (in the near term) are:
 - intergrate volker's next_rid patch for NUA accounts,
 - add a 'trust ldap ids' option (remove Get_Pwnam() hit on enumerations).
 - put the group mapping actually into ldap
 - Schema fixes and do utf8 conversion
 - server failover (try a second server for the rebind on fail)
 - ensure we block between an 'add' and the ldap master replicating to our
   local slave (mezte found this issue, kills domain joins)

Andrew Bartlett
(This used to be commit 3418da16456511490beb0d1045fff24576b48273)

18 years agoMake sure that we always return False if the password change never returns.
Andrew Bartlett [Sat, 26 Oct 2002 00:59:21 +0000 (00:59 +0000)]
Make sure that we always return False if the password change never returns.

(A stuck 'unix passowrd sync' was gettting reported as 'success', causing
all sorts of fun)

Andrew Bartlett
(This used to be commit b0d5745bb53b16e92160a6bdd2b984afb0e982ee)

18 years agoUpdates to winbind's PAM client and server - make the debug logs
Andrew Bartlett [Sat, 26 Oct 2002 00:55:14 +0000 (00:55 +0000)]
Updates to winbind's PAM client and server - make the debug logs
work a bit better for password changing.

Andrew Bartlett
(This used to be commit 425782ba32554b90d592493a1928a926e492bb2a)

18 years agoFix problem where an fd would be left open for every printer queue.
Jeremy Allison [Sat, 26 Oct 2002 00:29:21 +0000 (00:29 +0000)]
Fix problem where an fd would be left open for every printer queue.
Jeremy.
(This used to be commit 997c234e15a5f8d742320359a53e15a27661d456)

18 years agoPURGE_PRINTER fix from APP_HEAD
Gerald Carter [Fri, 25 Oct 2002 22:17:29 +0000 (22:17 +0000)]
PURGE_PRINTER fix from APP_HEAD
(This used to be commit 8af12875b0608b83187e4156843e37097de4cd13)

18 years agoFix memory leak (patch by Steve Langasek)
Jelmer Vernooij [Fri, 25 Oct 2002 02:37:11 +0000 (02:37 +0000)]
Fix memory leak (patch by Steve Langasek)
(This used to be commit 06362586cb754bd6bc89b50b966737958286ca2e)

18 years agoOnly run free_private_data when it's specified (reported by Steve Langasek aka vorlon)
Jelmer Vernooij [Fri, 25 Oct 2002 00:36:28 +0000 (00:36 +0000)]
Only run free_private_data when it's specified (reported by Steve Langasek aka vorlon)
(This used to be commit 9efa98b4a65a38df922ce3b83f5fde631cb70844)

18 years agoDocument -P and -V (patch from Guenther Deschner <gd@suse.de>)
Jelmer Vernooij [Thu, 24 Oct 2002 13:30:45 +0000 (13:30 +0000)]
Document -P and -V (patch from Guenther Deschner <gd@suse.de>)
(This used to be commit 5845f17c927a84ba502c834b3a38499959b7ae40)

18 years agoReverted a fix from Volker (sorry). We need to move this fix to the correct
Jeremy Allison [Wed, 23 Oct 2002 22:23:39 +0000 (22:23 +0000)]
Reverted a fix from Volker (sorry). We need to move this fix to the correct
place.
Jeremy.
(This used to be commit e46e38beabe8ae5b1ba1941dcffecbc89165ce2a)