sfrench/samba-autobuild/.git
19 years agofixed a return value for a help function
Andrew Tridgell [Wed, 10 Apr 2002 00:36:06 +0000 (00:36 +0000)]
fixed a return value for a help function
(This used to be commit da794d3bbd919e4a909f219d98b1411c1c2d60fd)

19 years agoMoved definition of winbind username/password secrets into secrets.h
Tim Potter [Wed, 10 Apr 2002 00:35:00 +0000 (00:35 +0000)]
Moved definition of winbind username/password secrets into secrets.h
(This used to be commit b618b5943d53f33e6f03d8d47cf87efc5e1ad3e5)

19 years agoWhen printing a tdb log message display "unnamed" instead of "unknown" if
Tim Potter [Tue, 9 Apr 2002 23:03:17 +0000 (23:03 +0000)]
When printing a tdb log message display "unnamed" instead of "unknown" if
the tdb has not been named.
(This used to be commit 3e7985c60ee9888285769f1eb0ec81f764c26d91)

19 years agoShirish pointed out more areas we should be doing roundups for allocation size.
Jeremy Allison [Tue, 9 Apr 2002 18:10:09 +0000 (18:10 +0000)]
Shirish pointed out more areas we should be doing roundups for allocation size.
Jeremy.
(This used to be commit cda9fccd629d084039af642d9177865d88553be6)

19 years agoFixed typo in debug statement.
Tim Potter [Tue, 9 Apr 2002 06:19:42 +0000 (06:19 +0000)]
Fixed typo in debug statement.
(This used to be commit 49e429a97ff2b6b1889937c998f67d73d35829e1)

19 years agoFixed some compiler warnings.
Tim Potter [Tue, 9 Apr 2002 05:59:46 +0000 (05:59 +0000)]
Fixed some compiler warnings.
(This used to be commit be6f955107429f1431c49c8b45fd623406a9d641)

19 years agoAdded WERR_INVALID_FORM_NAME constant.
Tim Potter [Tue, 9 Apr 2002 05:11:34 +0000 (05:11 +0000)]
Added WERR_INVALID_FORM_NAME constant.
(This used to be commit 908b70f3e23846d0b438a68e45e076e65016e95e)

19 years agoAdd a become_root()/unbecome_root() pair to allow acces to the passdb for
Andrew Bartlett [Tue, 9 Apr 2002 04:59:34 +0000 (04:59 +0000)]
Add a become_root()/unbecome_root() pair to allow acces to the passdb for
SID lookup.  This fixes a bug where SIDs (rather than names) are displayed in windows ACL lists
(This used to be commit e60c509813a9113cd76135b6ded3018ff04d49f2)

19 years agoFixed setform and addform functions.
Tim Potter [Tue, 9 Apr 2002 04:23:52 +0000 (04:23 +0000)]
Fixed setform and addform functions.
(This used to be commit ecba275cf75be3152c917329ba16d77bf4490259)

19 years agoAdded constants for form types and WERROR values.
Tim Potter [Tue, 9 Apr 2002 04:22:27 +0000 (04:22 +0000)]
Added constants for form types and WERROR values.
(This used to be commit 5ef5e805d5f51f6fc4cfcfea7f17adc8d1f6f6eb)

19 years agoThe useless_ptr must be non-zero for addform and setform client functions
Tim Potter [Tue, 9 Apr 2002 03:36:12 +0000 (03:36 +0000)]
The useless_ptr must be non-zero for addform and setform client functions
to work.

Note about setprinter level 1 not existing.
(This used to be commit 6367bfc4781a678923f1fba4681c9b7fc6bb9710)

19 years agoFix location of binaries and make sure they get there. Still experimental.
John Terpstra [Mon, 8 Apr 2002 20:10:08 +0000 (20:10 +0000)]
Fix location of binaries and make sure they get there. Still experimental.
(This used to be commit 24bc4e8e2c8f37167edb0e95a518bab6224e330d)

19 years agoa fix yet committed to 2.2 sometimes ago and reintroduced here!
Simo Sorce [Mon, 8 Apr 2002 09:29:28 +0000 (09:29 +0000)]
a fix yet committed to 2.2 sometimes ago and reintroduced here!
(This used to be commit aff7073dabb6253fea4729f52240a25f90206699)

19 years agoReintroduce the 2.2 name mangling code, until we get are more flexible solution.
Andrew Bartlett [Mon, 8 Apr 2002 01:58:44 +0000 (01:58 +0000)]
Reintroduce the 2.2 name mangling code, until we get are more flexible solution.

Even for a hash/cache setup, this code needs some more work, in particular
it needs to use mangle_get_prefix() etc and to move to unicode internals.

Andrew Bartlett
(This used to be commit ad8aa470575c39fcbc7f1440bf1081d7ea31c0aa)

19 years agoFix up major logic reversal flaws in pdb_ldap.
Andrew Bartlett [Mon, 8 Apr 2002 01:52:44 +0000 (01:52 +0000)]
Fix up major logic reversal flaws in pdb_ldap.

WARNING: if you relied on these logic flaws, you will need to manually
edit your ldap backend (for things like account expries etc).

Now correctly retunes the information needed for 'must change at next login'
support.
(This used to be commit 26842f1ac051b030c1295b68244a1f9007d4eefb)

19 years agoSpelling.
Tim Potter [Sun, 7 Apr 2002 23:41:55 +0000 (23:41 +0000)]
Spelling.
(This used to be commit 423985ed569ac9692f3cb5872a15c74f983121b6)

19 years agoFix pathes.
John Terpstra [Sun, 7 Apr 2002 22:21:30 +0000 (22:21 +0000)]
Fix pathes.
(This used to be commit 729fa66f0e17ece372b64928a8adb42bffa171ec)

19 years agouint32 store and fectch functions, a signed int is not enough sometimes
Simo Sorce [Sun, 7 Apr 2002 22:04:39 +0000 (22:04 +0000)]
uint32 store and fectch functions, a signed int is not enough sometimes
(This used to be commit f07b2b3d5295202e0c8e530c43fae6d458b2cf2a)

19 years agobetter check of called function's return
Simo Sorce [Sun, 7 Apr 2002 22:02:09 +0000 (22:02 +0000)]
better check of called function's return
tdbtorture say it's ok
(This used to be commit af0fa4cf7c229fb908063bfcc3cbb214dae5ed0e)

19 years agoOops .. last update was committed before saving! Argh!
John Terpstra [Sun, 7 Apr 2002 21:20:32 +0000 (21:20 +0000)]
Oops .. last update was committed before saving! Argh!
(This used to be commit 90f7d4ac84d0466fc3acce31d8ab360f2ae9002f)

19 years agoUpdated because I want this for now - NOTE: This will change before release
John Terpstra [Sun, 7 Apr 2002 21:19:05 +0000 (21:19 +0000)]
Updated because I want this for now - NOTE: This will change before release
as this is NOT what we need to ship. This is experimental only at this time.
(This used to be commit 5c8ceaa4973bb7d82da886e03f24a972d978dcb7)

19 years agoAlways pass NT password as well as Lanman.
Jeremy Allison [Sat, 6 Apr 2002 01:25:57 +0000 (01:25 +0000)]
Always pass NT password as well as Lanman.
Jeremy.
(This used to be commit 146fb9d12bd3621087193f439e99c13d609ff658)

19 years agoFix Gerry bug - MajorVersion should be 2 not 3.
Jeremy Allison [Fri, 5 Apr 2002 22:41:39 +0000 (22:41 +0000)]
Fix Gerry bug - MajorVersion should be 2 not 3.
Jeremy.
(This used to be commit b8b88e863e3964231a85b4643a197d6d4d6b8f99)

19 years agoFixed up admin user / guest user lookup.
Jeremy Allison [Fri, 5 Apr 2002 22:37:55 +0000 (22:37 +0000)]
Fixed up admin user / guest user lookup.
Jeremy.
(This used to be commit 28ef07424f19652fdfa4ee79f1c69e0004fa39fe)

19 years agoUse the new ads_do_search_all2 function. It provides sorted results. We now
Jim McDonough [Fri, 5 Apr 2002 19:28:02 +0000 (19:28 +0000)]
Use the new ads_do_search_all2 function.  It provides sorted results.  We now
also filter out users that end in '$', which gives us the same results as
the net rpc user and net rap user.
(This used to be commit e3a813831276ec2aafa0caa4f4fed0785dcdb749)

19 years agoSeveral updates to get server side sorting going:
Jim McDonough [Fri, 5 Apr 2002 19:26:52 +0000 (19:26 +0000)]
Several updates to get server side sorting going:
- Added sort control to ads_do_paged_search.  It allows a char * to be passed
  as the sort key.  If NULL, no sort is done.
- fixed a bug in the processing of controls (loop wasn't incremented properly)
- Added ads_do_search_all2, which funs a function that is passed in against
  each entry.  No ldapmessage structures are returned.  Allows results to
  be processed as the come in on each page.

I'd like ads_do_search_all2 to replace ads_do_search_all, but there's some
work to be done in winbindd_ads.c first.

Also, perhaps now we can do async ldap searches?  Allow us to process a
page while the server retrieves the next one?
(This used to be commit 95bec4c8bae0e29f816ec0751bf66404e1f2098e)

19 years agoMerge from 2.2
Volker Lendecke [Fri, 5 Apr 2002 17:02:34 +0000 (17:02 +0000)]
Merge from 2.2
(This used to be commit 4b69834eb722c647426d1d1495eb53f8b9b5ba7e)

19 years agoNew version of patch.
Tim Potter [Fri, 5 Apr 2002 05:56:44 +0000 (05:56 +0000)]
New version of patch.
(This used to be commit 50f331ff33413842590f960d2ab1b11cdbece358)

19 years agomake proto
Tim Potter [Fri, 5 Apr 2002 05:55:44 +0000 (05:55 +0000)]
make proto
(This used to be commit 0448c12a56fe508b72be4ce43d2c4d1eb16c5943)

19 years agoAdded new files for drivers, forms and ports conversion routines.
Tim Potter [Fri, 5 Apr 2002 05:55:23 +0000 (05:55 +0000)]
Added new files for drivers, forms and ports conversion routines.
(This used to be commit f9f1d80f6e8c34a24602a83eb7d1fb2c892b662f)

19 years agoFixed dodgy looking prototypes for py_to_* functions.
Tim Potter [Fri, 5 Apr 2002 05:52:20 +0000 (05:52 +0000)]
Fixed dodgy looking prototypes for py_to_* functions.
(This used to be commit 847e310921802f5793f6cd170e6baf939151be89)

19 years agoRemoved unused label.
Tim Potter [Fri, 5 Apr 2002 05:49:33 +0000 (05:49 +0000)]
Removed unused label.
(This used to be commit e0a209bf291553ec85dbd56cffab2a97440cea28)

19 years agoConverted drivers, forms and ports functions to use new conversion routines
Tim Potter [Fri, 5 Apr 2002 05:48:01 +0000 (05:48 +0000)]
Converted drivers, forms and ports functions to use new conversion routines
and exception throwing.
(This used to be commit ed0a6480f75b3eefc52bc3311d8c3816abefcff2)

19 years agoAdded py_spoolss_printers_conv.c to spoolss extension.
Tim Potter [Fri, 5 Apr 2002 04:57:06 +0000 (04:57 +0000)]
Added py_spoolss_printers_conv.c to spoolss extension.
(This used to be commit d1e2356f13de8598237926d093069832f1393c36)

19 years agomake proto
Tim Potter [Fri, 5 Apr 2002 04:55:26 +0000 (04:55 +0000)]
make proto
(This used to be commit c8278b0a929c779dd234a1e617bb0f3d2a039cfe)

19 years agoNew routines to convert between structures and python dictionaries. We now
Tim Potter [Fri, 5 Apr 2002 04:54:48 +0000 (04:54 +0000)]
New routines to convert between structures and python dictionaries.  We now
hide to_struct() and from_struct() from the caller so we can add custom
fields nicely.
(This used to be commit 07d79f4aa8de8e7a08555a62faafd79573a95e74)

19 years agoThrow a spoolss.werror exception when the rpc client routines return
Tim Potter [Fri, 5 Apr 2002 04:53:20 +0000 (04:53 +0000)]
Throw a spoolss.werror exception when the rpc client routines return
errors.

Move to new system of converting between structures and python
dictionaries.  Lots of stuff moved to py_spoolss_printers_conv.c

Setprinter level 2 kind of works now.
(This used to be commit abe39ebcc125362125f0f900102b0f8d6011324b)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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