20 years agoIgnore bin directory.
Tim Potter [Thu, 11 Apr 2002 04:03:01 +0000 (04:03 +0000)]
Ignore bin directory.
(This used to be commit 8bb798ab3d7245e61530913d771d58f08e77a200)

20 years agoremoved unnecessary memset
Gerald Carter [Thu, 11 Apr 2002 03:15:02 +0000 (03:15 +0000)]
removed unnecessary memset
(This used to be commit 233a24792ea305e92c15b43f57839391ca91d1b6)

20 years agoCorrectly emulate NT in printer handle opening access rights.
Jeremy Allison [Thu, 11 Apr 2002 02:59:31 +0000 (02:59 +0000)]
Correctly emulate NT in printer handle opening access rights.
(This used to be commit 42ae2334f21402c347aee560f08fd8e730481169)

20 years agoThis split the mangling code up to allow for the possibility of multiple
Andrew Tridgell [Thu, 11 Apr 2002 02:20:56 +0000 (02:20 +0000)]
This split the mangling code up to allow for the possibility of multiple
mangling implementation, selectable using "mangling method = " in smb.conf

It also tidies the interface a little, although it is still nasty.
(This used to be commit be23d87a178e7d0691e7d942adf89bb3d2d533c2)

20 years agos/werror_str/dos_errstr/g to fix compile
Gerald Carter [Thu, 11 Apr 2002 02:13:56 +0000 (02:13 +0000)]
s/werror_str/dos_errstr/g to fix compile
(This used to be commit d7c9b00253499da047f30f71660dede3676d40ad)

20 years agomerge from 2.2
Gerald Carter [Thu, 11 Apr 2002 02:08:36 +0000 (02:08 +0000)]
merge from 2.2
(This used to be commit 7db47c6647d764739e395948699cf115c4da4c8d)

20 years agoWERROR merge from SAMBA_2_2
Gerald Carter [Thu, 11 Apr 2002 01:50:18 +0000 (01:50 +0000)]
WERROR merge from SAMBA_2_2
(This used to be commit 32dc5dbbfb16cb9fd6f953dbb8148f5228b453a4)

20 years agospecversion merge from SAMBA_2_2
Gerald Carter [Thu, 11 Apr 2002 01:48:38 +0000 (01:48 +0000)]
specversion merge from SAMBA_2_2
(This used to be commit d87aa35d482824df7b5a2e87240ae43c113cc730)

20 years agoAdded a whole bunch more permission constants.
Tim Potter [Thu, 11 Apr 2002 01:35:53 +0000 (01:35 +0000)]
Added a whole bunch more permission constants.
(This used to be commit f8673bd499c7c3993a5860d2ebe9ae2403105316)

20 years agoRemoved duplicate _LARGEFILE64_SOURCE added in error.
Jeremy Allison [Thu, 11 Apr 2002 00:42:38 +0000 (00:42 +0000)]
Removed duplicate _LARGEFILE64_SOURCE added in error.
(This used to be commit 678f4f455e7ed0a6fafa3ad30ddadd1917e741ef)

20 years agoEnsure VFS modules will build correctly by adding defines for CPPFLAGS
Jeremy Allison [Thu, 11 Apr 2002 00:37:31 +0000 (00:37 +0000)]
Ensure VFS modules will build correctly by adding defines for CPPFLAGS
defines into acconfig.h - only defined if seen.
(This used to be commit 9f2753a1496c51fd56c97984b8def46a651dbfc8)

20 years agoRename of ads_do_search_all2() to ads_do_search_all() and removal of
Jim McDonough [Wed, 10 Apr 2002 13:29:23 +0000 (13:29 +0000)]
Rename of ads_do_search_all2() to ads_do_search_all() and removal of
server sort controls.  Also put option externs in the net.h include.
(This used to be commit b69f11170c2b27016c44a98bc603d1c94ad7d4c2)

20 years agoAdd a few option externs for net_ads.c
Jim McDonough [Wed, 10 Apr 2002 13:28:28 +0000 (13:28 +0000)]
Add a few option externs for net_ads.c
(This used to be commit 4e3265c3c94583ac7ee48017d195ad98ecdfbc47)

20 years agoA few more updates:
Jim McDonough [Wed, 10 Apr 2002 13:28:03 +0000 (13:28 +0000)]
A few more updates:
- Add doxygen comments
- remove server sort control (ms implementation was not reliable)
- rename ads_do_search_all2() to ads_do_search_all_fn()
(This used to be commit 7aa5fa617221019de0f4565d07842df72673e154)

20 years agoAdd ads ldap server controls
Jim McDonough [Wed, 10 Apr 2002 13:25:40 +0000 (13:25 +0000)]
Add ads ldap server controls
(This used to be commit 9126f008ef542b80f0040f621aa28478be5c80a0)

20 years agoFixed missing alignment in spoolss_io_q_enumjobs() function.
Tim Potter [Wed, 10 Apr 2002 07:21:03 +0000 (07:21 +0000)]
Fixed missing alignment in spoolss_io_q_enumjobs() function.
(This used to be commit e878cdc9f59084f39c022f2faa140369f76e94ec)

20 years agoAdded cli_spoolss_enumjobs() function.
Tim Potter [Wed, 10 Apr 2002 07:19:37 +0000 (07:19 +0000)]
Added cli_spoolss_enumjobs() function.
(This used to be commit 952eb866f44ac0d8ba2032cf251d3a4298a750d3)

20 years agoAdded Shirish's client side caching policy change.
Jeremy Allison [Wed, 10 Apr 2002 01:04:13 +0000 (01:04 +0000)]
Added Shirish's client side caching policy change.
(This used to be commit 16015c07eab2e57fa3771051e3e08fde21757cfa)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

20 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'
(This used to be commit 26842f1ac051b030c1295b68244a1f9007d4eefb)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

20 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

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)

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

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

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

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

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

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

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

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

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

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

20 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.

(This used to be commit 638c692525c050ecdf414d461ef6b4aed3ce51db)

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

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

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

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

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

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

20 years agoUse m4-mode when editinging under emacs.
Tim Potter [Thu, 4 Apr 2002 05:47:41 +0000 (05:47 +0000)]
Use m4-mode when editinging 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
(This used to be commit 4caf71d5b28e003133bacca153278478d8245989)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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