samba.git
22 years agoDon't include py_spoolss_conv.h by default. We want to hide these
Tim Potter [Fri, 5 Apr 2002 04:49:39 +0000 (04:49 +0000)]
Don't include py_spoolss_conv.h by default.  We want to hide these
functions from method functions.
(This used to be commit bbf905e29e787ac350c0b4153c0b7050d8bf5734)

22 years agoAdded functions to return Python tuples (error code, error string)
Tim Potter [Fri, 5 Apr 2002 04:47:43 +0000 (04:47 +0000)]
Added functions to return Python tuples (error code, error string)
corresponding to NT and DOS errors.
(This used to be commit cb243e2766260f03de6b748d20734b8183cf192b)

22 years agoadd utils/net_help.c to bin/net build
Jim McDonough [Fri, 5 Apr 2002 01:36:50 +0000 (01:36 +0000)]
add utils/net_help.c to bin/net build
(This used to be commit f2a0e56b3c7b4bee21fc05efec0c0c738db44287)

22 years agoLots more net consistency work:
Jim McDonough [Fri, 5 Apr 2002 01:36:28 +0000 (01:36 +0000)]
Lots more net consistency work:
- Added net_help.c for unified help when possible
- Added net rpc user listing, delete, info commands
- Unified net user command to autodetect ads/rpc/rap (try in that order)
- Added generic routine for detecting rpc (protocol > PROTOCOL_NT1)
- I'm sure I forgot something.
(This used to be commit 9daa5788c822cf1ad20dc703e7f03b9ee82987bf)

22 years agoMake bin/nsstest as part of torture target.
Tim Potter [Thu, 4 Apr 2002 22:58:56 +0000 (22:58 +0000)]
Make bin/nsstest as part of torture target.
(This used to be commit dbb4dfcef74f21ef5badaa7a6f4cad52cf317ffb)

22 years agoFixed some compile warnings.
Tim Potter [Thu, 4 Apr 2002 22:56:39 +0000 (22:56 +0000)]
Fixed some compile warnings.
(This used to be commit fd8b3009eb3f3debc7a1dcf6a46437d87a341519)

22 years agoMore spelling.
Tim Potter [Thu, 4 Apr 2002 20:38:10 +0000 (20:38 +0000)]
More spelling.
(This used to be commit 21c3dff4109a6a4dc6a1b618a489e49e88743d42)

22 years agoMultiple changes:
Jim McDonough [Thu, 4 Apr 2002 16:53:07 +0000 (16:53 +0000)]
Multiple changes:
- Get rid of improper "Invalid option: d (100)" message when setting
  debug from commandline.
- Eliminate got_pass global and only use opt_password.  This enables
  re-use of password that may have been enetered in failed ads connect.
- Auto-detect method for net user command
- use new net_ads_check rather than lp_security==ADS test on net join
- Get rid of annoying debug level 0's
(This used to be commit 1280968000595c28ed62d9e74acecfdc84e33710)

22 years agoCleanups to make auto-detection of method on net user smoother.
Jim McDonough [Thu, 4 Apr 2002 16:48:23 +0000 (16:48 +0000)]
Cleanups to make auto-detection of method on net user smoother.
(This used to be commit 84ab1042a65e3c41a76f4726914140d505ef4625)

22 years agoMore updates for auto-detecting server connection method. Added net_ads_check()
Jim McDonough [Thu, 4 Apr 2002 16:47:24 +0000 (16:47 +0000)]
More updates for auto-detecting server connection method.  Added net_ads_check()
to make a connection (which stores the password in a global so it can be
used by rpc or rap function if ads fails) and close it to verify if ads
method should be used.
(This used to be commit 093297a27db9834cf8aea34302246af8997d9c66)

22 years agosmall change in name_resolve_bcast()
Jean-François Micouleau [Thu, 4 Apr 2002 15:50:28 +0000 (15:50 +0000)]
small change in name_resolve_bcast()
spotted by alexander bokovoy.

it shouldn't break anything. if it's wrong, feel free to revert but
explain why.

J.F.
(This used to be commit 638c692525c050ecdf414d461ef6b4aed3ce51db)

22 years agoIf compiling with Insure, mallocate a byte of memory and attach it to the
Tim Potter [Thu, 4 Apr 2002 06:55:32 +0000 (06:55 +0000)]
If compiling with Insure, mallocate a byte of memory and attach it to the
POLICY_HND structure when passing new handles back from the appropriate
cli_* functions.  When closing the policy handle free the memory.

Insure (and indeed other memory checkers) should detect handles that have
not been closed properly as memory leaks.  Unfortunately this can only be
done when the program terminates (set insure++.summarize leaks in your
.psrc file) rather than when the policy handle falls out of scope.

Looks like Jeremy has squished all the policy handle leaks at the moment
but more are bound to crop up later.
(This used to be commit 6dc80d625752f0a3ce6fd7b2278095529c6ec29f)

22 years agoSpelling.
Tim Potter [Thu, 4 Apr 2002 06:47:20 +0000 (06:47 +0000)]
Spelling.
(This used to be commit b43256df5367fd16a0f6dcdf94fdbe8932cb77c9)

22 years agoCall poptFreeContext() as appropriate.
Tim Potter [Thu, 4 Apr 2002 06:40:17 +0000 (06:40 +0000)]
Call poptFreeContext() as appropriate.

Clean up exit path code.
(This used to be commit 41157400e3f55879fd2f20d22beeed07f1c817f5)

22 years agooops
Tim Potter [Thu, 4 Apr 2002 06:11:22 +0000 (06:11 +0000)]
oops
(This used to be commit 6b20a809020821276b0330810317a4d10c9fdb5a)

22 years agoFixed memory leak in cli_lsa_enum_trust_dom(). Use talloc_strdup() instead
Tim Potter [Thu, 4 Apr 2002 06:10:22 +0000 (06:10 +0000)]
Fixed memory leak in cli_lsa_enum_trust_dom().  Use talloc_strdup() instead
of strdup().
(This used to be commit fb32f7199b8a487757b509555e5a69ec5cae8fbd)

22 years agoRerun autoconf.
Tim Potter [Thu, 4 Apr 2002 05:48:27 +0000 (05:48 +0000)]
Rerun autoconf.
(This used to be commit a627d698124ade6014b10827493dc3b3963f5534)

22 years agoUse m4-mode when editinging configure.in under emacs.
Tim Potter [Thu, 4 Apr 2002 05:47:41 +0000 (05:47 +0000)]
Use m4-mode when editinging configure.in under emacs.

Use $CC instead of $SHLD for the "test whether building a shared library
actually works".  At the moment this is failing as $SHLD (and $LDSHFLAGS -
look at the value this is set to for Solaris) are designed to be used from
a Makefile and not within configure so this test will always fail!

Tridge has suggested moving to libtool^H^H^H^H^H a shell script that
invokes the right linker with the right args and solves this problem
nicely.
(This used to be commit 4caf71d5b28e003133bacca153278478d8245989)

22 years agoAlso look for libinsure.so where the full version installs it.
Tim Potter [Thu, 4 Apr 2002 04:54:44 +0000 (04:54 +0000)]
Also look for libinsure.so where the full version installs it.
(This used to be commit 2bf6595a2a5527ff64f9083f2434aa344c9637d9)

22 years agoFree popt context after argument parsing.
Tim Potter [Thu, 4 Apr 2002 04:29:09 +0000 (04:29 +0000)]
Free popt context after argument parsing.
(This used to be commit f287f62962feca6dac8747d16676dc64723eb5b1)

22 years agoFixed memory leak in make_pdb_context_name()
Tim Potter [Thu, 4 Apr 2002 03:53:43 +0000 (03:53 +0000)]
Fixed memory leak in make_pdb_context_name()

Some reformatting and spelling fixes.
(This used to be commit a0f7bbad11a0c0f1ecd930626289c5ff493b0f1d)

22 years agoAdd non-ads version of net_ads_help for build on non-ads machines.
Jim McDonough [Thu, 4 Apr 2002 03:14:25 +0000 (03:14 +0000)]
Add non-ads version of net_ads_help for build on non-ads machines.
(This used to be commit dd7c20e5331116fd8cf9656a0f2406957b812bbb)

22 years agoCorrect error string function call to ads_errstr()
Jim McDonough [Thu, 4 Apr 2002 03:06:22 +0000 (03:06 +0000)]
Correct error string function call to ads_errstr()
(This used to be commit d7317ca8da4b04804f4d01752cef56ec5a9c3418)

22 years agoFix up conversion code from old winbindd versions (some testing needed).
Jeremy Allison [Thu, 4 Apr 2002 03:03:39 +0000 (03:03 +0000)]
Fix up conversion code from old winbindd versions (some testing needed).
Added time based cache size check (#ifdef'ed out by default, just didn't
want to lose the code).
Jeremy.
(This used to be commit b2350ed36c42827c417ea4a3dd0668a4a631a090)

22 years agoTry harder next time to not duplicate function...take ads_err2string back
Jim McDonough [Thu, 4 Apr 2002 03:03:00 +0000 (03:03 +0000)]
Try harder next time to not duplicate function...take ads_err2string back
out since it's already in ads_errstr() in ads_status.c
(This used to be commit 0475126ffb69f0485fd31511cb13d98df74a8d5b)

22 years agoAdd ability to get specific net ads subcommand help. Not all have been
Jim McDonough [Thu, 4 Apr 2002 02:54:47 +0000 (02:54 +0000)]
Add ability to get specific net ads subcommand help.  Not all have been
implemented yet...
(This used to be commit 24c6bf4e8b6d519340d5f9f3353ffc6b5f7520b3)

22 years agoAdd net ads user subcommands: add delete info. Also make user listing format
Jim McDonough [Thu, 4 Apr 2002 02:53:42 +0000 (02:53 +0000)]
Add net ads user subcommands: add delete info.  Also make user listing format
consistent with rap version.
(This used to be commit f6eb7c0c7ec83a3674d56f0e222b900887327319)

22 years agoAdd libads/ldap_user.c to build for ads user management.
Jim McDonough [Thu, 4 Apr 2002 02:52:09 +0000 (02:52 +0000)]
Add libads/ldap_user.c to build for ads user management.
(This used to be commit a1cdcdb138ddf05387fa65897ffe5b34aee75ae0)

22 years agoContains functions to manage/view AD user accounts via ldap. Initially has fns
Jim McDonough [Thu, 4 Apr 2002 02:51:02 +0000 (02:51 +0000)]
Contains functions to manage/view AD user accounts via ldap.  Initially has fns
to find and add a user.
(This used to be commit 773303a284825af89d70ea633004fc30225e7a85)

22 years agoAdd ads_err2string() function for generating error strings from an ADS_STATUS.
Jim McDonough [Thu, 4 Apr 2002 02:49:30 +0000 (02:49 +0000)]
Add ads_err2string() function for generating error strings from an ADS_STATUS.
I've got the cases besides gssapi...anyone know how to get those?
(This used to be commit c937e1352207ad90e8257ad6c9f8b7c9cf92030d)

22 years agoFixed the handle leak in the connection management code (this code is crap
Jeremy Allison [Thu, 4 Apr 2002 02:39:57 +0000 (02:39 +0000)]
Fixed the handle leak in the connection management code (this code is crap
and should be rewritten, just not now... :-).
Jeremy.
(This used to be commit 5de792e7e9c2ad1422ac146caba632baa3f4e5c5)

22 years agoRerun autoconf.
Tim Potter [Thu, 4 Apr 2002 02:32:08 +0000 (02:32 +0000)]
Rerun autoconf.
(This used to be commit 5c4ce2129f30112d7df1e5f0afd60ae6a96cd807)

22 years agoAdd -D__INSURE__ to the CPPFLAGS if CC=insure.
Tim Potter [Thu, 4 Apr 2002 02:30:54 +0000 (02:30 +0000)]
Add -D__INSURE__ to the CPPFLAGS if CC=insure.
(This used to be commit fb80ff968cd7634704770586d1918b477579164b)

22 years agoMore winbind for HPUX updates from Don Mccall. I think JRA has already
Andrew Bartlett [Wed, 3 Apr 2002 21:39:01 +0000 (21:39 +0000)]
More winbind for HPUX updates from Don Mccall.  I think JRA has already
applied these to 2.2.

Andrew Bartlett
(This used to be commit 51fe3324dda6b1f9a9a45deda7a76b1fff35399a)

22 years agoreorder useage message a little. -L is not a root-only or local mode option.
Herb Lewis [Wed, 3 Apr 2002 16:44:15 +0000 (16:44 +0000)]
reorder useage message a little. -L is not a root-only or local mode option.
(This used to be commit 020d6fa2f780099d662de1a456838ec0ac4d3ca7)

22 years agoStart to make argument ordering consistent.
Tim Potter [Wed, 3 Apr 2002 04:47:44 +0000 (04:47 +0000)]
Start to make argument ordering consistent.
(This used to be commit e84cc7ea84042b2460baef32a39448d620612bbc)

22 years agoDocstring updates.
Tim Potter [Wed, 3 Apr 2002 04:40:35 +0000 (04:40 +0000)]
Docstring updates.
(This used to be commit f05c3c6fc5047c87906a5677b2559acf13bf6678)

22 years agoUse Py_InitModule3() instead of Py_InitModule4() when we only want to set
Tim Potter [Wed, 3 Apr 2002 04:38:59 +0000 (04:38 +0000)]
Use Py_InitModule3() instead of Py_InitModule4() when we only want to set
the docstring for the module.

Doc updates.
(This used to be commit ba5364b30688924d6b69b9fc39a398441a6149e7)

22 years agoremoving unused files....
Gerald Carter [Wed, 3 Apr 2002 03:06:22 +0000 (03:06 +0000)]
removing unused files....
(This used to be commit 3d542abdb1805bf746eb9a7ef41fc904534f4edb)

22 years agoFixed C++ comments.
Tim Potter [Wed, 3 Apr 2002 02:51:42 +0000 (02:51 +0000)]
Fixed C++ comments.
(This used to be commit ca56042c032e95ff3e1e40ae9e89a0b847d83081)

22 years agoadded "list <pipe>" command to display the available commands
Gerald Carter [Tue, 2 Apr 2002 23:28:40 +0000 (23:28 +0000)]
added "list <pipe>" command to display the available commands
one a single pipe
(This used to be commit b73a8416d31c0ec7975ba022f5c425a581497b72)

22 years agoFix continual scanning of smb.conf if an include file doesn't exist. Found
Jeremy Allison [Tue, 2 Apr 2002 19:56:54 +0000 (19:56 +0000)]
Fix continual scanning of smb.conf if an include file doesn't exist. Found
by Herb.
Jeremy.
(This used to be commit f4f2a62740625495fa2dae03751829a4528713cc)

22 years agoFixed the error bad path for recursive mkdir so mkdir \a\b\c\d works.
Jeremy Allison [Tue, 2 Apr 2002 19:34:36 +0000 (19:34 +0000)]
Fixed the error bad path for recursive mkdir so mkdir \a\b\c\d works.
Forward ported some of the code tidyups from 2.2.
Jeremy.
(This used to be commit 2475c09b354cc7b5f4ce384e4497207d30f619bb)

22 years agoFix from Stefan "metze" Metzmacher <metze@metzemix.de> to prevent us
Jeremy Allison [Tue, 2 Apr 2002 07:45:19 +0000 (07:45 +0000)]
Fix from Stefan "metze" Metzmacher <metze@metzemix.de> to prevent us
overwriting an old MACHINE.SID sid.
Jeremy.
(This used to be commit 896d4fac98460778f72378b084a76d5aab11462e)

22 years agoreadd -c config file change from 2.2 - works with -L mode now as well.
Herb Lewis [Tue, 2 Apr 2002 06:18:13 +0000 (06:18 +0000)]
readd -c config file change from 2.2 - works with -L mode now as well.
(This used to be commit af4c3734b5d617352597b1b964745f5b0d334b2d)

22 years agomerge from 2.2 - build winbindd and libsmbclient
Herb Lewis [Tue, 2 Apr 2002 05:54:55 +0000 (05:54 +0000)]
merge from 2.2 - build winbindd and libsmbclient
(This used to be commit 23f61938b6021effa9de90ab8c97e182ccd8701b)

22 years agosome mergee from SAMBA_2_2. Does compile, but needs some more testing.
Gerald Carter [Tue, 2 Apr 2002 01:10:41 +0000 (01:10 +0000)]
some mergee from SAMBA_2_2.  Does compile, but needs some more testing.
This is an intermediate check-in.  More to come....
(This used to be commit 5b9b152971aa635d484cde45413a7880424ee22d)

22 years ago* merges from SAMBA_2_2
Gerald Carter [Mon, 1 Apr 2002 15:19:05 +0000 (15:19 +0000)]
* merges from SAMBA_2_2
* addedd "private dir" to smb.conf.5.sgml
* regenerated man pages, HOWTOs, etc...
(This used to be commit 3b29006e35a991d20cda1c92d535ef016099d0d4)

22 years agonot all versions of gcc support -rdynamic
Andrew Tridgell [Mon, 1 Apr 2002 09:52:36 +0000 (09:52 +0000)]
not all versions of gcc support -rdynamic

for example, gcc 2.95.2 on sco1 doesn't
(This used to be commit aa7eab724558af6d2b00975ed13f7407301eafa9)

22 years agotry to get the summary test working on OpenBSD
Andrew Tridgell [Mon, 1 Apr 2002 07:29:43 +0000 (07:29 +0000)]
try to get the summary test working on OpenBSD
(This used to be commit 63702ca3a42670941bcb08b4214fa7e7c38fc1f0)

22 years agocope with a missing PAM define
Andrew Tridgell [Mon, 1 Apr 2002 07:16:06 +0000 (07:16 +0000)]
cope with a missing PAM define
(This used to be commit e5c3648fe721d659c8b90a6987998ada4790592b)

22 years agoreverted Herbs smbpasswd commit as it completely broke setting a
Andrew Tridgell [Mon, 1 Apr 2002 02:04:11 +0000 (02:04 +0000)]
reverted Herbs smbpasswd commit as it completely broke setting a
password
(This used to be commit a5807d5784dc903f1ea38a9825240a505688b7be)

22 years agoRemoved unused variable.
Tim Potter [Sun, 31 Mar 2002 06:00:37 +0000 (06:00 +0000)]
Removed unused variable.
(This used to be commit 3e58e9dbabc4e4a1289ff6a43ddbb5de37b02515)

22 years agoModified programs installed to /usr/bin and /usr/sbin
John Terpstra [Sun, 31 Mar 2002 00:00:21 +0000 (00:00 +0000)]
Modified programs installed to /usr/bin and /usr/sbin
Note: This is a developmental (read experiemental) SPEC file and NOT for production use.
(This used to be commit a4d31b24375fba97e161056cdbda30228ac522d2)

22 years agoAdded smbwrapper and everything to build options.
John Terpstra [Sat, 30 Mar 2002 20:28:17 +0000 (20:28 +0000)]
Added smbwrapper and everything to build options.
(This used to be commit 2744d917e45d795a835073162687d9fab69a8639)

22 years agoAdded build option for "everything". Changed build options for libsmbclient.
John Terpstra [Sat, 30 Mar 2002 20:26:50 +0000 (20:26 +0000)]
Added build option for "everything". Changed build options for libsmbclient.
(This used to be commit 32f292cc587d3db002490a609be29b9e20c00fd4)

22 years agomerge from 2.2 - allow -c option to specify smb.conf file
Herb Lewis [Sat, 30 Mar 2002 05:57:36 +0000 (05:57 +0000)]
merge from 2.2 - allow -c option to specify smb.conf file
(This used to be commit fc15b56d29b4474032f4d9136313afee60e70cbf)

22 years agoHack to share pipe handles between lsa and samr pipes as NT4.x usrmgr
Jeremy Allison [Sat, 30 Mar 2002 00:45:26 +0000 (00:45 +0000)]
Hack to share pipe handles between lsa and samr pipes as NT4.x usrmgr
insists on re-using an lsa handle opened on a pipe then closed - this
keeps them around so long as a samr pipe is also open.
Jeremy.
(This used to be commit f029bd348c8c16a8774c3fb4f7f1d76470c7688f)

22 years agosync with 2.2 branch
Herb Lewis [Fri, 29 Mar 2002 21:55:52 +0000 (21:55 +0000)]
sync with 2.2 branch
(This used to be commit d72d0972bd7e6699ddf39afc71de4ea838cb0816)

22 years agoDon't core dump listing thousands of users in usrmgr.
Jeremy Allison [Fri, 29 Mar 2002 21:50:21 +0000 (21:50 +0000)]
Don't core dump listing thousands of users in usrmgr.
Jeremy.
(This used to be commit c6566fa5fadf37a2b133e7be1f13c0de93efab34)

22 years agoRe-implemented net ads user and net ads group to use the new
Jim McDonough [Fri, 29 Mar 2002 21:09:44 +0000 (21:09 +0000)]
Re-implemented net ads user and net ads group to use the new
ads_process_results function.  Also made sure net rap user and net ads
user display the same thing, to make auto-transport-detection smoother.
(This used to be commit 4cf42c07ec5deb14921fabfbd52a8a3345a730c9)

22 years agoAdded ads_process_results(), which takes a function that is called for each
Jim McDonough [Fri, 29 Mar 2002 21:06:33 +0000 (21:06 +0000)]
Added ads_process_results(), which takes a function that is called for each
entry returned from a search, and applies it to the results.  Re-structured
ads_dump to use this, plus changed the ber_free in ads_dump from (b,1) to
(b,0), in accordance with openldap manpages.  Also allows proper free of
result using ldap_msgfree afterwards, so you can do something with the
results after an ads_dump.
(This used to be commit f01f02fc569b4f5101a37d3b493f2fe2d2b2677a)

22 years agoEnsure we return a parseable value if invalid handle given.
Jeremy Allison [Fri, 29 Mar 2002 20:37:56 +0000 (20:37 +0000)]
Ensure we return a parseable value if invalid handle given.
Jeremy.
(This used to be commit f169f3f4df81537426f708d68da44e0fc40ad15e)

22 years agomerge winbindd WINS changes from 2.2
Herb Lewis [Fri, 29 Mar 2002 15:37:39 +0000 (15:37 +0000)]
merge winbindd WINS changes from 2.2
(This used to be commit 205399dc17e464360b0152538329b9e111b0e7f4)

22 years agoadded shutdown to smbd
Jean-François Micouleau [Fri, 29 Mar 2002 14:28:38 +0000 (14:28 +0000)]
added shutdown to smbd

J.F.
(This used to be commit 51a5bbfee71e064c73283a090e9e922a31b1e21b)

22 years agonmbd handle shutdown message.
Jean-François Micouleau [Fri, 29 Mar 2002 13:58:32 +0000 (13:58 +0000)]
nmbd handle shutdown message.

J.F.
(This used to be commit c33459f7018a2522158b20261ab8c100fdde9034)

22 years agoadded a shutdown command to smbcontrol.
Jean-François Micouleau [Fri, 29 Mar 2002 13:49:48 +0000 (13:49 +0000)]
added a shutdown command to smbcontrol.

have to add the server side now.

J.F.
(This used to be commit b83f87d6811dbad2c254cd5add4bbedb3196c629)

22 years agoFix to stop PERMANENT_NAMES being added when nmbd starts up and WINS
Jeremy Allison [Fri, 29 Mar 2002 00:57:35 +0000 (00:57 +0000)]
Fix to stop PERMANENT_NAMES being added when nmbd starts up and WINS
server is down. Keep adding refreshible names instead.
Jeremy.
(This used to be commit f25fcd99fa0d0ec2095d9db42145d236c14748e0)

22 years agoRefresh from sgml source. HTML doesn't come out ok on mine, though, so
Jim McDonough [Thu, 28 Mar 2002 16:45:42 +0000 (16:45 +0000)]
Refresh from sgml source.  HTML doesn't come out ok on mine, though, so
someone should really re-run it.  It's a newer version of Docbook2X
than Jerry is running...and something we need has changed.
(This used to be commit 81c5648b3c3179e0dcac7c0cc1a2adc76d922298)

22 years agomerge from SAMBA_2_2
Gerald Carter [Thu, 28 Mar 2002 16:44:26 +0000 (16:44 +0000)]
merge from SAMBA_2_2
(This used to be commit 606450f3cbe028a526ec6db9cea59d65324c3314)

22 years agoAborted experiment to avoid namespace pollution and prototype hell and
Tim Potter [Thu, 28 Mar 2002 04:14:43 +0000 (04:14 +0000)]
Aborted experiment to avoid namespace pollution and prototype hell and
moved to 'make proto' based solution.
(This used to be commit 1e48f872a494228e82fd32c789b3dcea6b014211)

22 years agoAdded another return type.
Tim Potter [Thu, 28 Mar 2002 04:12:39 +0000 (04:12 +0000)]
Added another return type.
(This used to be commit 9b2777d3bcef92b10cdc43a4c1e90beb48382a17)

22 years agoUse headername when closing off include file guards.
Tim Potter [Thu, 28 Mar 2002 03:43:54 +0000 (03:43 +0000)]
Use headername when closing off include file guards.
(This used to be commit 5bf5bffdd557cec3588e8d7a95b6cf75d00e616f)

22 years agoUse winbind separator in sid_to_name() function.
Tim Potter [Thu, 28 Mar 2002 03:22:41 +0000 (03:22 +0000)]
Use winbind separator in sid_to_name() function.

Implemented auth() and auth_crap() functions.

Expanded docstrings for exported functions, with examples.  Now 'pydoc
winbind' returns a nice looking manual page!

Wrote module docstring.
(This used to be commit 26a7333347e630d2f5ff9d017536d21ac4ecaa81)

22 years agoa dodgy fix for a dodgy race condition in smbtorture child startup
Andrew Tridgell [Thu, 28 Mar 2002 02:42:25 +0000 (02:42 +0000)]
a dodgy fix for a dodgy race condition in smbtorture child startup
(This used to be commit 30febde783bcacc111f559473dc15baee66db350)

22 years agoEnsure that setting file length can return disk full on failure.
Jeremy Allison [Thu, 28 Mar 2002 01:00:31 +0000 (01:00 +0000)]
Ensure that setting file length can return disk full on failure.
Jeremy.
(This used to be commit 14e2beca9b8fa1c8d893013f52f42b2721a82758)

22 years agoUpdated version.
Tim Potter [Thu, 28 Mar 2002 00:08:47 +0000 (00:08 +0000)]
Updated version.
(This used to be commit a66e04711a2a9d4514df52addb1256a008eff880)

22 years agoScript to generate patch to Makefile.in and configure.in
Tim Potter [Thu, 28 Mar 2002 00:04:45 +0000 (00:04 +0000)]
Script to generate patch to Makefile.in and configure.in

Run like:

python/mkpatch
(This used to be commit 54f2aa437a9c7bf9f6743a31f70fbd56ecda3173)

22 years agoAdded sys_adminlog() system for info the appliance admins really
Jeremy Allison [Wed, 27 Mar 2002 23:17:50 +0000 (23:17 +0000)]
Added sys_adminlog() system for info the appliance admins really
need to know about. Different from the DEBUG system.
Jeremy.
(This used to be commit 74eac41c681f92a6da0ae2167f031e021862e0d8)

22 years agomerge from 2.2 - don't check local passdb if -r option used
Herb Lewis [Wed, 27 Mar 2002 19:20:48 +0000 (19:20 +0000)]
merge from 2.2 - don't check local passdb if -r option used
(This used to be commit 15df51e8def01009f2ec1e2d08c3129ac39dabdf)

22 years agomerge from SAMBA_2_2
Gerald Carter [Wed, 27 Mar 2002 17:39:01 +0000 (17:39 +0000)]
merge from SAMBA_2_2
(This used to be commit fe099006bbd1103edb5804d70743b211bbc584fb)

22 years agoUpdated for long flags from popt conversion, as well as version number.
Jim McDonough [Wed, 27 Mar 2002 16:36:24 +0000 (16:36 +0000)]
Updated for long flags from popt conversion, as well as version number.

Once again, can someone run docbook on this?
(This used to be commit dc77ad423da65cc1135674085494a28678ec4b6f)

22 years agoUpdate smbstatus manpage source. Includes corrections of some flags,
Jim McDonough [Wed, 27 Mar 2002 16:02:26 +0000 (16:02 +0000)]
Update smbstatus manpage source.  Includes corrections of some flags,
addition of long flags from conversion to popt, and update of the version
number.  Can someone with working docbook do the magic to this thing?
(This used to be commit e074f10622329ba6588078f8c640fbc29f536c5b)

22 years agoTold make to build nsswitch/pam_winbind.so - someone changed the Makefile
John Terpstra [Wed, 27 Mar 2002 08:54:37 +0000 (08:54 +0000)]
Told make to build nsswitch/pam_winbind.so - someone changed the Makefile
and not it has to be separately specified, but that's OK.
(This used to be commit e87646306f87a6d1e11a082924e15139feacd3eb)

22 years agoConverted to #include *.c format.
Tim Potter [Wed, 27 Mar 2002 05:36:13 +0000 (05:36 +0000)]
Converted to #include *.c format.
(This used to be commit 992cbfe98b4131f0aef96da3ddeee00d3d4a1fb1)

22 years agoBroke out stuff into other files.
Tim Potter [Wed, 27 Mar 2002 05:33:19 +0000 (05:33 +0000)]
Broke out stuff into other files.
(This used to be commit 9eb3eb8513e82ec11cb8db671cfb5be45619d3fd)

22 years agoMoved pyconv definitions across.
Tim Potter [Wed, 27 Mar 2002 05:28:42 +0000 (05:28 +0000)]
Moved pyconv definitions across.

Fixed misc compile problems.
(This used to be commit 723bfa1a857b4c3e114b7e510c8f991ba73c1ba1)

22 years agoFixed bug in guards.
Tim Potter [Wed, 27 Mar 2002 05:27:08 +0000 (05:27 +0000)]
Fixed bug in guards.
(This used to be commit 22990c3dda92278ad813dd20bebb243ed38388aa)

22 years agoConverted to #include *.c format to avoid namespace pollution and
Tim Potter [Wed, 27 Mar 2002 05:25:57 +0000 (05:25 +0000)]
Converted to #include *.c format to avoid namespace pollution and
header file madness.
(This used to be commit 0f179ebf7e35b12b99b58cc42e16efa5b50230a4)

22 years agoMoved general printer related calls here.
Tim Potter [Wed, 27 Mar 2002 05:25:13 +0000 (05:25 +0000)]
Moved general printer related calls here.
(This used to be commit eb8cd68bc9c7c7c52a066479712c93e62f0ba5d5)

22 years agoMoved printer driver related calls here.
Tim Potter [Wed, 27 Mar 2002 05:23:42 +0000 (05:23 +0000)]
Moved printer driver related calls here.
(This used to be commit d4b8000e1f2780a805a5ddf8e13906b4146d65e7)

22 years agoWhoops, left the paged control not critical in the paged search...kind of
Jim McDonough [Wed, 27 Mar 2002 03:09:50 +0000 (03:09 +0000)]
Whoops, left the paged control not critical in the paged search...kind of
defeats the purpose.
(This used to be commit 71806c49b366faf2466eee7352c71fcdfefd8cc1)

22 years agoRemoved HAVE_LIBDL from most places (except system.c). Added checks for
Jeremy Allison [Wed, 27 Mar 2002 03:00:39 +0000 (03:00 +0000)]
Removed HAVE_LIBDL from most places (except system.c). Added checks for
dlopen & friends into configure.in. This should help building on *BSD
where dl*** calls are in libc.
Jeremy
(This used to be commit ac1baba35d7a399bf800ced49a4384e39955e3eb)

22 years agoAdd server control to prevent referrals in paged searches. This keeps
Jim McDonough [Wed, 27 Mar 2002 02:58:58 +0000 (02:58 +0000)]
Add server control to prevent referrals in paged searches.  This keeps
the scope limited to the domain at hand, and also keeps the openldap
libs happy, since they don't currently chase referrals and return
server controls properly at the same time.
(This used to be commit 2bebc8a391bd80bd0e5adbedb3757fb4279ec414)

22 years agoAllow hosts allow/deny to use xx.xx.xx.xx/yy syntax.
Jeremy Allison [Wed, 27 Mar 2002 01:56:31 +0000 (01:56 +0000)]
Allow hosts allow/deny to use xx.xx.xx.xx/yy syntax.
Jeremy.
(This used to be commit ea60c50109462b35825be1dd3cc6b28f739a1b59)

22 years agoIn msleep - never sleep for more than 1 second. Cope with time changes.
Jeremy Allison [Wed, 27 Mar 2002 00:39:26 +0000 (00:39 +0000)]
In msleep - never sleep for more than 1 second. Cope with time changes.
Jeremy.
(This used to be commit 9fb6a475264f465e30a23c34b5c9266921d135d1)

22 years agoMoved debug messages for grabbing/releasing mutex.
Jeremy Allison [Wed, 27 Mar 2002 00:02:49 +0000 (00:02 +0000)]
Moved debug messages for grabbing/releasing mutex.
Jeremy.
(This used to be commit e144c174eafc18f236c848b8f3a2c6382796f5a9)

22 years agoUnblock sigusr1 on startup.
Tim Potter [Tue, 26 Mar 2002 23:04:06 +0000 (23:04 +0000)]
Unblock sigusr1 on startup.
(This used to be commit f1cb5ff6c41cabc02da84d56c1a6d95fa434d484)

22 years agoDon't hold the mutex for more than 20 seconds.
Jeremy Allison [Tue, 26 Mar 2002 22:36:27 +0000 (22:36 +0000)]
Don't hold the mutex for more than 20 seconds.
Jeremy.
(This used to be commit 1b9f1a368f2f37700cef357ab4bbc0389ec06378)

22 years agoAdded code for smb messaging. winbindd now responds to the smbcontrol
Tim Potter [Tue, 26 Mar 2002 22:33:06 +0000 (22:33 +0000)]
Added code for smb messaging.  winbindd now responds to the smbcontrol
ping, debug and pool-usage messages.
(This used to be commit 144f0481c8b05956bdc96461a82d530fa85e3c72)