ira/wip.git
20 years agoAdded some command line argument checking and usage info.
Tim Potter [Wed, 1 Aug 2001 01:20:10 +0000 (01:20 +0000)]
Added some command line argument checking and usage info.
(This used to be commit a13eedf8bdefacfb569eb006d8c169247272ecf6)

20 years agoAdded and populated .cvsignore files for packaging subdirectories.
Tim Potter [Wed, 1 Aug 2001 01:00:53 +0000 (01:00 +0000)]
Added and populated .cvsignore files for packaging subdirectories.
(This used to be commit ec042f2af94a834226b59224ab28452b1cd6bf15)

20 years agoFix for rare tdb pattern store failure. Found & fixed by Rusty.
Jeremy Allison [Tue, 31 Jul 2001 00:03:24 +0000 (00:03 +0000)]
Fix for rare tdb pattern store failure. Found & fixed by Rusty.
Jeremy.
(This used to be commit aaa56bb3a3c5f0e4191c9b3efe9b8d92c22cf6c7)

20 years agoFixup error returns in updating driver db version.
Jeremy Allison [Mon, 30 Jul 2001 23:12:48 +0000 (23:12 +0000)]
Fixup error returns in updating driver db version.
Jeremy.
(This used to be commit 5bd39ce233fd14d01f434f39ce53e3e77b428845)

20 years agoAdded "use mmap" for HPUX.
Jeremy Allison [Mon, 30 Jul 2001 22:21:31 +0000 (22:21 +0000)]
Added "use mmap" for HPUX.
Jeremy.
(This used to be commit 840802f10677cb0009cb4df4c37c7d01aa5edacd)

20 years agoThrow out crappy (non-ascii unaware) mbtows stuff and use proper unicode
Jeremy Allison [Mon, 30 Jul 2001 20:25:35 +0000 (20:25 +0000)]
Throw out crappy (non-ascii unaware) mbtows stuff and use proper unicode
push calls. If this breaks authentication then good, it needed fixing anyway :-).
Jeremy.
(This used to be commit e3580b4033c551e215cb246d4e36c4870cb4a582)

20 years agouint -> uint32.
Jeremy Allison [Mon, 30 Jul 2001 17:53:39 +0000 (17:53 +0000)]
uint -> uint32.
Jeremy.
(This used to be commit 3e3155812c38cee65a5344a3879b07d27d160a1e)

20 years agoFixes for varargs problems with std c.
Jeremy Allison [Mon, 30 Jul 2001 17:52:26 +0000 (17:52 +0000)]
Fixes for varargs problems with std c.
Fix from Rick Lake <rwlake@anp.nl> for QNX.
Jeremy.
(This used to be commit c13b77eb35fe51403a51e1a146cedc643e550de7)

20 years agoIgnore some of the autoconf files.
Tim Potter [Mon, 30 Jul 2001 06:19:54 +0000 (06:19 +0000)]
Ignore some of the autoconf files.
(This used to be commit 51b0ed2c2184b22f4e0435fe09c7cb73bf7afc6d)

20 years agoFix invalid uid being used after logoff. Thanks to Nigel Williams
Jeremy Allison [Sat, 28 Jul 2001 01:46:47 +0000 (01:46 +0000)]
Fix invalid uid being used after logoff. Thanks to Nigel Williams
for this bug report.
Jeremy.
(This used to be commit 50d8e5b22f2c2c792e3a2d33e00a1c9caab48981)

20 years agoFix for potential crash bug with bad fid.
Jeremy Allison [Sat, 28 Jul 2001 01:26:44 +0000 (01:26 +0000)]
Fix for potential crash bug with bad fid.
Jeremy.
(This used to be commit 82f81c830db53ce507c2a8e65db962f931141afd)

20 years agoReturn an exit code when connect failed.
Tim Potter [Fri, 27 Jul 2001 22:54:50 +0000 (22:54 +0000)]
Return an exit code when connect failed.

Patch from Michael Sweet <mike@easysw.com>
(This used to be commit 2c7d09b38dceb58b85fe49efb7c7e3def84c587b)

20 years agobetter debug messages + fix typo in debug message
Simo Sorce [Thu, 26 Jul 2001 22:05:51 +0000 (22:05 +0000)]
better debug messages + fix typo in debug message
(This used to be commit b377f06fd90f607fa9e0e2e61981e835527b568c)

20 years agoFix from Michael Davidson <md@caldera.com> for DEC OSF/1 ACLs (ie.
Jeremy Allison [Thu, 26 Jul 2001 21:16:39 +0000 (21:16 +0000)]
Fix from Michael Davidson <md@caldera.com> for DEC OSF/1 ACLs (ie.
Digital UNIX).
Jeremy.
(This used to be commit 324ba0512ec84bb173c72be3dfd2447e0dc30e26)

20 years agoAlways check fstat for error.
Jeremy Allison [Wed, 25 Jul 2001 18:59:56 +0000 (18:59 +0000)]
Always check fstat for error.
Jeremy.
(This used to be commit 34951876a1bfad5aa3fc3bd05b808e150f639a8a)

20 years agoExcellent patch from Anselm Kruis <A.Kruis@science-computing.de> to fix
Jeremy Allison [Wed, 25 Jul 2001 18:07:36 +0000 (18:07 +0000)]
Excellent patch from Anselm Kruis <A.Kruis@science-computing.de> to fix
problem with wrong token being used in current_user.
Jeremy.
(This used to be commit 2c7d2a1d533052d3556715439fcd66c5233d3137)

20 years agowe need to pull passwords in client charset for crypto to work
Andrew Tridgell [Wed, 25 Jul 2001 13:25:31 +0000 (13:25 +0000)]
we need to pull passwords in client charset for crypto to work
(This used to be commit 9a87d6f58fc005ddf2daf6fceb12a54fdc48f3b7)

20 years agoneed to push smb_search strings in client charset
Andrew Tridgell [Wed, 25 Jul 2001 13:19:14 +0000 (13:19 +0000)]
need to push smb_search strings in client charset
(This used to be commit df00e5dceae91f6ffca77704c4517b91fd796d32)

20 years agoHeld a shoot-out between NT_STATUS_NO_PROBLEMO and NT_STATUS_NOPROBLEMO.
Tim Potter [Wed, 25 Jul 2001 06:42:05 +0000 (06:42 +0000)]
Held a shoot-out between NT_STATUS_NO_PROBLEMO and NT_STATUS_NOPROBLEMO.
According to the incorruptible judges find and grep, the latter won.

Mmm - procrastination.  (-:
(This used to be commit 2e339403605177b15d5185a8fdd1b06f3f043168)

20 years ago- don't try to print pointers
Andrew Tridgell [Wed, 25 Jul 2001 06:29:26 +0000 (06:29 +0000)]
- don't try to print pointers
- removed some unused mangling code
(This used to be commit 36af1c0dc41f72ec6a5c671fd6b4f6eb2590b8b4)

20 years agoRe-ran autoconf.
Tim Potter [Wed, 25 Jul 2001 06:21:07 +0000 (06:21 +0000)]
Re-ran autoconf.
(This used to be commit 4ecc12e974cbc7edd0507cfb851f47f7f9c53d28)

20 years agoMerge of change machine account password race fix from appliance branch.
Tim Potter [Wed, 25 Jul 2001 06:16:27 +0000 (06:16 +0000)]
Merge ... change machine account password race fix from appliance branch.
(This used to be commit 6e698d65ecb13b0b46d15bce7e0314fa1a46a13a)

20 years agogot rid of INFO: msgs at debug level 1
Andrew Tridgell [Wed, 25 Jul 2001 04:10:23 +0000 (04:10 +0000)]
got rid of INFO: msgs at debug level 1
(This used to be commit e6773b08a4a1a54dca4a2e2ec5d4e9c43383b072)

20 years agonicer smbtree output
Andrew Tridgell [Wed, 25 Jul 2001 04:09:44 +0000 (04:09 +0000)]
nicer smbtree output
(This used to be commit b840d7d65e0e8e437e016318d7ee702db2fa561b)

20 years agoucs2 is always a multiple of 2 bytes
Andrew Tridgell [Wed, 25 Jul 2001 04:00:40 +0000 (04:00 +0000)]
ucs2 is always a multiple of 2 bytes
this gets rid of a bunch of iconv warnings
(This used to be commit 2ec59f731df6489756c5606ed63de90fb2a9241f)

20 years agoa better test for unix domain sockets
Andrew Tridgell [Wed, 25 Jul 2001 03:28:45 +0000 (03:28 +0000)]
a better test for unix domain sockets
(This used to be commit 7b3d030e1f869a842822d9a356a027cca6f3a725)

20 years agoadded a --with-libiconv=BASEDIR/ option to allow easier use of an
Andrew Tridgell [Wed, 25 Jul 2001 03:05:00 +0000 (03:05 +0000)]
added a --with-libiconv=BASEDIR/ option to allow easier use of an
alternative iconv library
(This used to be commit cfb6e67bb92f9d73aadabebae3ea5baeb07158a0)

20 years agobuild smbtree by default. It's a very useful utility.
Andrew Tridgell [Wed, 25 Jul 2001 01:41:45 +0000 (01:41 +0000)]
build smbtree by default. It's a very useful utility.
(This used to be commit e2ab5e09d0721114f441d7227d4a5be21e8a59c6)

20 years agoStore winbindd in the sbin directory. Make the winbind pam module also as
Tim Potter [Tue, 24 Jul 2001 23:30:13 +0000 (23:30 +0000)]
Store winbindd in the sbin directory.  Make the winbind pam module also as
a sbin program.

Currently the pam and nss modules are installed into @prefix@/sbin - I'm
not sure whether this is a good idea or not.  Perhaps they should be left
in the build tree and copied across as needed by hand or a packaging tool.
(This used to be commit 09af934c4aa295bec494740d94de76e5e4497887)

20 years agoConvert other parameters (read list, write list, valid users...) to the P_LIST format.
Simo Sorce [Tue, 24 Jul 2001 20:02:48 +0000 (20:02 +0000)]
Convert other parameters (read list, write list, valid users...) to the P_LIST format.
changed functions to use list instead of strings
addedd lp_list_substitute function
(This used to be commit 7257d07563ba21bd88733d5d2b4ec4829fab2507)

20 years agoMake sure that a shared library build of libsmbclient causes build
Richard Sharpe [Tue, 24 Jul 2001 12:17:00 +0000 (12:17 +0000)]
Make sure that a shared library build of libsmbclient causes build
breakage if there are problems. I will take this out tomorrow if it
causes too many problems.
(This used to be commit f4d9abcac7f8b8fc1b3d380b76fc8c95688b5d5d)

20 years agomake nsswitch target wasn't building the winbind pam module.
Tim Potter [Tue, 24 Jul 2001 06:54:58 +0000 (06:54 +0000)]
make nsswitch target wasn't building the winbind pam module.
(This used to be commit 2484f0fc39f931d9c50dff2b89c4d30536ac8c60)

20 years agoCommit an updated configure, but the build_farm should run autoconf!
Richard Sharpe [Tue, 24 Jul 2001 01:44:22 +0000 (01:44 +0000)]
Commit an updated configure, but the build_farm should run autoconf!
(This used to be commit 81e39790f64fbccc6bdd967635a22a2e0ca666cc)

20 years agoWe were making an assumption in the oplock
Jeremy Allison [Tue, 24 Jul 2001 01:18:43 +0000 (01:18 +0000)]
We were making an assumption in the oplock
break code path that was invalid (ie. we were assuming
we could infer a non-levelII oplock when such an oplock
was detected - this may no longer be valid once we've
processed the break process dealing with the break will
change the state of it anyway.
This prevents the state where we get the following packet
trace :

client                      server
NTcreate ->
                         <- NTcreate resp
NTcreate ->
                         <- break to level II
ok - broken ->
                         <- break to none

Thanks to Alan Romeril for providing the trace that allowed
me to track this down.

Jeremy.
(This used to be commit c343e4f49070011986fc2ed4acd4ce690d5f1d71)

20 years agoAnother fine mess, err, fine tune to the Slowaris build ...
Richard Sharpe [Tue, 24 Jul 2001 00:34:45 +0000 (00:34 +0000)]
Another fine mess, err, fine tune to the Slowaris build ...
(This used to be commit e8ee01eb779c1971fa269840cb14d2207b9d8569)

20 years agoMake the Slowaris build a bit nicer with cc
Richard Sharpe [Tue, 24 Jul 2001 00:18:20 +0000 (00:18 +0000)]
Make the Slowaris build a bit nicer with cc
(This used to be commit ea1a70fb42b3537524bbbf19b2d41a499411ff4e)

20 years agoFix case insensitive password change code.
Jeremy Allison [Mon, 23 Jul 2001 22:06:05 +0000 (22:06 +0000)]
Fix case insensitive password change code.
Fixed crash bug with un-zeroed talloced memory.
Jeremy.
(This used to be commit eea1c30df246e081e672d7132345d0fd35ad9841)

20 years agoSame fix for resume as for pause.
Jeremy Allison [Mon, 23 Jul 2001 20:47:55 +0000 (20:47 +0000)]
Same fix for resume as for pause.
Jeremy.i
(This used to be commit 9444fc554ba31ef516d0d98bbfe7f1af883e3970)

20 years agoFix for CUPS pause/restart code.
Jeremy Allison [Mon, 23 Jul 2001 20:40:16 +0000 (20:40 +0000)]
Fix for CUPS pause/restart code.
Jeremy.
(This used to be commit 592ef3d8eaea6421db758f39b694c84e8f66ec20)

20 years agoFix for cups compile.
Jeremy Allison [Mon, 23 Jul 2001 19:50:36 +0000 (19:50 +0000)]
Fix for cups compile.
Jeremy.
(This used to be commit e90ad081ada5f3e11abe833b16a6416025ebcea5)

20 years agoFix some fscked up things that I added to the Solaris CC build of shared libs
Richard Sharpe [Mon, 23 Jul 2001 14:13:19 +0000 (14:13 +0000)]
Fix some fscked up things that I added to the Solaris CC build of shared libs
(This used to be commit f214f6b5d5157782884f3325cb4e39713c454264)

20 years agoOne more possible fix for Solaris CC and GCC
Richard Sharpe [Mon, 23 Jul 2001 12:22:08 +0000 (12:22 +0000)]
One more possible fix for Solaris CC and GCC
(This used to be commit 98e5e022319a6c90a928fecab1ea27e55f74d98a)

20 years agoFix the POOBAD_CC on Slowaris so we can handle things correctly ...
Richard Sharpe [Mon, 23 Jul 2001 11:22:29 +0000 (11:22 +0000)]
Fix the POOBAD_CC on Slowaris so we can handle things correctly ...

Lets see how this goes.
(This used to be commit d63b03f7536abb0745ad2a084c44108a3c19a8b6)

20 years agoTry and build shared on SCO. Assume that it is like others, but uses
Richard Sharpe [Mon, 23 Jul 2001 07:22:11 +0000 (07:22 +0000)]
Try and build shared on SCO. Assume that it is like others, but uses
-KPIC, which it does!
(This used to be commit bc0317678299028cd9f9de8c0daf9f06318cce13)

20 years agoIn wb_samr_query_dispinfo() pass back the 32-bit status code from
Tim Potter [Mon, 23 Jul 2001 07:21:52 +0000 (07:21 +0000)]
In wb_samr_query_dispinfo() pass back the 32-bit status code from
cli_samr_query_dispinfo().
(This used to be commit d5f12bc53074d574a503e7183887fdcec9bb9dd4)

20 years agocli_samr_query_dispinfo() can return STATUS_MORE_ENTRIES which isn't an
Tim Potter [Mon, 23 Jul 2001 07:20:46 +0000 (07:20 +0000)]
cli_samr_query_dispinfo() can return STATUS_MORE_ENTRIES which isn't an
entry.
(This used to be commit 12e44e40298b5469f6f1fea3495cfa023305411d)

20 years agoOK, I think I have fscking IRIX figured out for building PIC code.
Richard Sharpe [Mon, 23 Jul 2001 07:18:03 +0000 (07:18 +0000)]
OK, I think I have fscking IRIX figured out for building PIC code.

You have to check which fsking compiler is used and do different things!
(This used to be commit f38b5ba1946327714e1c9cc3ff91b0063906bd9c)

20 years agoCall cli_samr_lookup_rids() in bunches of < 1000 rids to avoid crashing
Tim Potter [Mon, 23 Jul 2001 03:06:40 +0000 (03:06 +0000)]
Call cli_samr_lookup_rids() in bunches of < 1000 rids to avoid crashing
NT.  Note this can be done completely anonymously.
(This used to be commit 96bd7bdd0b4f6572c678c7b1bc5ffe733e632fda)

20 years agoAdded a warning debug if cli_samr_lookup_rids is called with more than 1000
Tim Potter [Mon, 23 Jul 2001 03:05:01 +0000 (03:05 +0000)]
Added a warning debug if cli_samr_lookup_rids is called with more than 1000
rids as this seems to crash LSASS.EXE more often than not.
(This used to be commit 375636b7630d117da5a57b51e11929c3a38646df)

20 years agoif EILSEQ doesn't exist then use EIO. It doesn't really matter what
Andrew Tridgell [Sun, 22 Jul 2001 10:50:21 +0000 (10:50 +0000)]
if EILSEQ doesn't exist then use EIO. It doesn't really matter what
error code we use, as long as its not another one that iconv() can
give.
(This used to be commit 2097abb76c1845a69a7136af388cef09243ca066)

20 years agochanged the iconv interface to go via ucs2 for all conversions. This
Andrew Tridgell [Sun, 22 Jul 2001 07:38:32 +0000 (07:38 +0000)]
changed the iconv interface to go via ucs2 for all conversions. This
fixes some problems wih some character sets and allows for using
internal charsets in conjunction with ionv charsets
this makes us slower but more correct. speed will come later.
(This used to be commit 594f84b4e39182dcf344c02dc0185376a2726395)

20 years agoswitch from UCS2 to UCS-2LE
Andrew Tridgell [Sun, 22 Jul 2001 00:27:30 +0000 (00:27 +0000)]
switch from UCS2 to UCS-2LE
(This used to be commit e236a3e29e4af24b20ec6af357ce67abf82b4528)

20 years agoThis patch fixes up a few issues where we would do lookups in the local system
Andrew Bartlett [Sat, 21 Jul 2001 02:23:19 +0000 (02:23 +0000)]
This patch fixes up a few issues where we would do lookups in the local system
on username we already know are perfectly valid, and in their final form.  In
particular we don't want to do a lookup for DOMAIN\nobody, it just does not
make sense, nor should we do map_username and the like if the username is as
specified in the vuid - we have done it already.

Andrew Bartlett
(This used to be commit 7cb517329b0fa2dec427a890a985c75cd467a3b0)

20 years agoThis should fix the build, I think tpot just missed the file for his CVS
Andrew Bartlett [Fri, 20 Jul 2001 10:06:35 +0000 (10:06 +0000)]
This should fix the build, I think tpot just missed the file for his CVS
commit.  It seems to work fine, but if its not the right fix then just yell.

Andrew Bartlett
(This used to be commit d5ebbe6c12313b717777f221af004104b4361d57)

20 years ago^$&%&*$&)% readline uses \n characters instead of letting the terminal wrap
Tim Potter [Fri, 20 Jul 2001 07:46:39 +0000 (07:46 +0000)]
^$&%&*$&)% readline uses \n characters instead of letting the terminal wrap
the screen.  This mucks up expect something severe.  )-:

Don't use readline if the CLI_NO_READLINE environment variable is set.
(This used to be commit f0b7593ef54f8f093018ee2a8325e6f4422a4bbd)

20 years agoIn cli_lsa_lookup_sids() don't append a separator character between domain
Tim Potter [Fri, 20 Jul 2001 06:25:12 +0000 (06:25 +0000)]
In cli_lsa_lookup_sids() don't append a separator character between domain
and name if there is no name.
(This used to be commit e0ebbc9ae3277a5a389eef021f32509a017cbd4d)

20 years agoStarted adding some help/usage info for rpcclient commands.
Tim Potter [Fri, 20 Jul 2001 04:38:58 +0000 (04:38 +0000)]
Started adding some help/usage info for rpcclient commands.
(This used to be commit 37052a1bcc5cd049918c3d5ac4c41c3a669290af)

20 years agoChanged the cli_lsa_lookup_sids() function to unpack the domain and user or
Tim Potter [Fri, 20 Jul 2001 01:35:00 +0000 (01:35 +0000)]
Changed the cli_lsa_lookup_sids() function to unpack the domain and user or
group using rpcstr_pull_unistr2_fstring rather than pull_ascii_fstring (!!)
(This used to be commit 2accab2589d8c3decc489fb6af8d65d437a506e7)

20 years agoIt looks like the rpc client code in libsmb hasn't been converted to the
Tim Potter [Fri, 20 Jul 2001 01:32:56 +0000 (01:32 +0000)]
It looks like the rpc client code in libsmb hasn't been converted to the
new internal string stuff.  The main problem is that some unicode strings
are null terminated and some aren't.  There's no rhyme or reason to it -
some pipes have 99% of the strings terminated and some have 99%
unterminated.  To avoid having to actually know the termination policy, I
propose a set of functions that take a UNISTR2* and use the length
contained there.

Added rpcstr_pull_unistr2_string() function to convert a unicode string of
dubious termination to a fstring.
(This used to be commit e5b62b4961769e45bc377be6180ca61ef5f6c22e)

20 years agoMerged across rewritten version of winbindd_kill_connections(). This now
Tim Potter [Thu, 19 Jul 2001 09:18:23 +0000 (09:18 +0000)]
Merged across rewritten version of winbindd_kill_connections().  This now
works much better with trusted domains whose DCs cannot be reached.

I'm pretty impressed with how much faster winbindd is in HEAD rather than
TNG.  A lot fewer unecessary name lookups are performed and it feels a lot
zippier now.
(This used to be commit 36413784aec5819c83e5e469ce4c7bb5d468e980)

20 years agoAdded some documentation for using -U with -j in order to join a domain
Tim Potter [Thu, 19 Jul 2001 09:06:50 +0000 (09:06 +0000)]
Added some documentation for using -U with -j in order to join a domain
without first having to create an account using the server manager.
(This used to be commit 5edfb53d7c3fe809256f080d5cd46ebc62c194fb)

20 years ago#ifdef'ed out some unused functions.
Tim Potter [Thu, 19 Jul 2001 07:44:59 +0000 (07:44 +0000)]
#ifdef'ed out some unused functions.
(This used to be commit ab5ccce2edd6118db0389701ff9e325ee1f818c7)

20 years agoReran autoconf.
Tim Potter [Thu, 19 Jul 2001 07:19:53 +0000 (07:19 +0000)]
Reran autoconf.
(This used to be commit fa4901eaf23004f16c529037491c1d809efb2905)

20 years agothe nss and pam modules in winbind don't have strchr_m() yet, so use
Andrew Tridgell [Wed, 18 Jul 2001 21:50:20 +0000 (21:50 +0000)]
the nss and pam modules in winbind don't have strchr_m() yet, so use
strchr() for the moment
(This used to be commit c2c1f2027e6e623bba59610e3aa41618773e6361)

20 years agoremoved some unnecessary code
Andrew Tridgell [Wed, 18 Jul 2001 21:48:36 +0000 (21:48 +0000)]
removed some unnecessary code
(This used to be commit 1436c9f424abbac2752e952172ddbdf15ec73f91)

20 years agoFix the PIC flag for IRIX
Richard Sharpe [Wed, 18 Jul 2001 02:58:19 +0000 (02:58 +0000)]
Fix the PIC flag for IRIX
(This used to be commit 6a7645f90b8c89fa5a74c0f2eb7667228f6d8c06)

20 years agodon't test for root ownership of profile shared memory segment
Herb Lewis [Wed, 18 Jul 2001 01:13:16 +0000 (01:13 +0000)]
don't test for root ownership of profile shared memory segment
(This used to be commit d7023b881a3e36199f20dba36bd930454d5131cb)

20 years agoTidied up calling yield_connection on connection allocation fail.
Jeremy Allison [Tue, 17 Jul 2001 22:04:46 +0000 (22:04 +0000)]
Tidied up calling yield_connection on connection allocation fail.
Restore debug message to level zero.
Jeremy.
(This used to be commit 0b13f495b31887d526b46a48a812fa3fd418ce8e)

20 years agoConnection record not existing is not a debug level 0.
Jeremy Allison [Tue, 17 Jul 2001 21:32:33 +0000 (21:32 +0000)]
Connection record not existing is not a debug level 0.
Jeremy.
(This used to be commit d7da59f54eed69d50490205d6233bf4801c16998)

20 years agoFixes from Jens-Uwe.Walther@force.de to make the -l option behave
Jeremy Allison [Tue, 17 Jul 2001 20:42:59 +0000 (20:42 +0000)]
Fixes from Jens-Uwe.Walther@force.de to make the -l option behave
consistently.
Jeremy.
(This used to be commit f591ca9f25c54d3cdd0b76df472411e44c95ea47)

20 years agomove the global_machine_password_needs_changing where we need it.
Simo Sorce [Tue, 17 Jul 2001 08:34:12 +0000 (08:34 +0000)]
move the global_machine_password_needs_changing where we need it.
(This used to be commit 8a2f6fbacd275acc7b356169f4022df4860a813e)

20 years agoFix usermanager for domains - we were returning no memory when we
Jeremy Allison [Tue, 17 Jul 2001 02:26:04 +0000 (02:26 +0000)]
Fix usermanager for domains - we were returning no memory when we
should have been returning empty space at end of enumeration.
Jeremy.
(This used to be commit 175c6406925cbd798c3aa049912ab63802f44de4)

20 years agoiFix from "Shahms E. King" <shahms@shahms.com> to get cups user name
Jeremy Allison [Tue, 17 Jul 2001 00:39:07 +0000 (00:39 +0000)]
iFix from "Shahms E. King" <shahms@shahms.com> to get cups user name
right.
Jeremy.
(This used to be commit 34244c2a8d02d09b60dfba30b239b9764b60d35a)

20 years agoFix for incorrect creation of print job names, based on a patch by
Jeremy Allison [Mon, 16 Jul 2001 23:39:26 +0000 (23:39 +0000)]
Fix for incorrect creation of print job names, based on a patch by
José M.Rodríguez <josemi@iies.es>
Jeremy.
(This used to be commit 7ebf284ef7597ee347deb5245d6ba222a102f55d)

20 years agoFix from bernd@arresum.inka.de for broken krb configure.
Jeremy Allison [Mon, 16 Jul 2001 22:58:47 +0000 (22:58 +0000)]
Fix from bernd@arresum.inka.de for broken krb configure.
Jeremy.
(This used to be commit 956e2a4e3783beec13b1baddb6384deac60389a9)

20 years agoFix from Jim Vopni - muliple definitions of "letter".
Jeremy Allison [Mon, 16 Jul 2001 19:36:44 +0000 (19:36 +0000)]
Fix from Jim Vopni - muliple definitions of "letter".
Jeremy.
(This used to be commit 5aa3b18f69646669c8548d1f49214a47dcb39a36)

20 years agoTest if machine password has expired.
Simo Sorce [Mon, 16 Jul 2001 12:16:48 +0000 (12:16 +0000)]
Test if machine password has expired.
This test was lost somehow...
(This used to be commit 065d8f69d5f4a8ffc062bc5592386ee1ac652969)

20 years agoA few tweaks around linking libsmbclient
Richard Sharpe [Sat, 14 Jul 2001 02:52:41 +0000 (02:52 +0000)]
A few tweaks around linking libsmbclient
(This used to be commit 83334fc474008d9f338204e73eacc5665e26bf0c)

20 years agoChanged instances of TRUE, FALSE to True, False as some compilers don't
Tim Potter [Thu, 12 Jul 2001 22:27:00 +0000 (22:27 +0000)]
Changed instances of TRUE, FALSE to True, False as some compilers don't
have the first set of symbols.
(This used to be commit ad0cbfbd790bc5d6003ffcff2835d82fb0140625)

20 years agoRemoved unused variable.
Tim Potter [Thu, 12 Jul 2001 22:19:39 +0000 (22:19 +0000)]
Removed unused variable.
(This used to be commit 914e78f05356c66665ede6948ec18814c2c2c503)

20 years agoFix a stupid error in passing options to CC under AIX
Richard Sharpe [Thu, 12 Jul 2001 07:23:14 +0000 (07:23 +0000)]
Fix a stupid error in passing options to CC under AIX
(This used to be commit b8b5603e0f789014a1237c358db478cf6211e215)

20 years agoToomas Soome's fix for joining a domain the old way.
Jeremy Allison [Wed, 11 Jul 2001 18:52:43 +0000 (18:52 +0000)]
Toomas Soome's fix for joining a domain the old way.
Jeremy.
(This used to be commit 8db233c8b5866df2b3f9f4ed64e7de95807cf371)

20 years agoSome minor doco on what the build_farm dir does
Andrew Bartlett [Wed, 11 Jul 2001 10:53:41 +0000 (10:53 +0000)]
Some minor doco on what the build_farm dir does
(This used to be commit 9bfc480bda8ee3478d17d657cf2fc1a846707130)

20 years agoI think this was just a typo... If there was some method to the madness then
Andrew Bartlett [Wed, 11 Jul 2001 10:03:34 +0000 (10:03 +0000)]
I think this was just a typo...  If there was some method to the madness then
please yell, but the build has been broken for long enough.

Andrew Bartlett
(This used to be commit 93ff9f6101b8569aa375ac805a5efd94bbaa19f2)

20 years agoThis backs out my last change, which broke some of the finer points of RPC
Andrew Bartlett [Wed, 11 Jul 2001 04:27:03 +0000 (04:27 +0000)]
This backs out my last change, which broke some of the finer points of RPC
coding :-).  I'll be more carfull in this area in future.

This does not back out the cli_login change, so domain logons still work, but
only for english.

Andrew Bartlett
(This used to be commit bd3c2a0cddc71daa4165e1a0916208d0c650d55a)

20 years agoA serious set of changes to build libsmbclienmt. Copied much ofthis from
Richard Sharpe [Wed, 11 Jul 2001 01:58:37 +0000 (01:58 +0000)]
A serious set of changes to build libsmbclienmt. Copied much ofthis from
CUPS.
(This used to be commit 7b392f9f6873c3a1ddd26f619f7827e0a9ce180a)

20 years agoAndrew B and I were commiting the same fix at the same time in different
Christopher R. Hertel [Tue, 10 Jul 2001 18:05:29 +0000 (18:05 +0000)]
Andrew B and I were commiting the same fix at the same time in different
trees.  This change simply brings HEAD and 2.2 in line with one another.
Otherwise the code would be differnt but the meaning would be the same,
which is awkward.
Chris 'fifty-seven commits per line changed' Hertel -)-----
(This used to be commit bbf14e2d4e054e2af4f9cbbb05b86f6ac41084c6)

20 years agoFix tree breakage, the last change was entirly non-portable, and we already
Andrew Bartlett [Tue, 10 Jul 2001 17:14:52 +0000 (17:14 +0000)]
Fix tree breakage, the last change was entirly non-portable, and we already
have this nice variable to do exactly this...
(This used to be commit cad6f53433a9345c06ae94c5ef63434e72a2daea)

20 years agoThis fixes security=domain, which has been broke since the big charset
Andrew Bartlett [Tue, 10 Jul 2001 17:02:02 +0000 (17:02 +0000)]
This fixes security=domain, which has been broke since the big charset
changeover.  For my own sainity I have created a new function to fill out both
the header and buffer for a string in an RPC struct.  This DOES NOT take a
length argument, only the actual string to be placed.

The RPC code is currently littered with code that does init_uni_hdr() followed
immidiatly by init_unistr2(), and often the length argument is wrong.  (It was
for the code I changed, even before the charset stuff).  Another bug where we
made strings AT LEAST MAX_UNICODE_LEN long hid this bug.

This works for loopback connections to Samba, and can't be any more broke than
it was before :-).  (We had double and revese conversions, fun...).

In particular this makes us multibyte complient.

In any case, if there are no objections I will slowly convert other bits of
code to the same system.
(This used to be commit cf1d1cd9d6362f6e32ed9c2f6d2f6f25c47705ad)

20 years agoFix from John Malmberg. When I added the additional information to the
Christopher R. Hertel [Tue, 10 Jul 2001 16:10:04 +0000 (16:10 +0000)]
Fix from John Malmberg.  When I added the additional information to the
debug block that reports multiple query responses I did not notice that
the local answer_ip variable was only selectively set.

Chris -)-----
(This used to be commit 22ea0770d87b2faece2e5dfc098ccf27f4da155f)

20 years agoTry to avoid clashes with OpenSSL when built --with-ssl, they also have md5.h,
Andrew Bartlett [Tue, 10 Jul 2001 10:27:52 +0000 (10:27 +0000)]
Try to avoid clashes with OpenSSL when built --with-ssl, they also have md5.h,
but with a more 'interesting' licence.
(This used to be commit 9c9fe2674de0f35da67ba2c3b59861f087932934)

20 years agoChange the order of the -fPIC and -KPIC tests to ensure that UnixWare
Richard Sharpe [Tue, 10 Jul 2001 07:14:24 +0000 (07:14 +0000)]
Change the order of the -fPIC  and  -KPIC tests to ensure that UnixWare
is handled.
(This used to be commit 7631bade9c52c7ebde0c7170a5d4d4ade6bb723c)

20 years agomuch better handling of broken DNS servers
Andrew Tridgell [Tue, 10 Jul 2001 02:53:48 +0000 (02:53 +0000)]
much better handling of broken DNS servers
we no longer lookup our own name when we create a socket in
open_socket_in(). That makes things work much better with the
broken DNS server at VA
(This used to be commit a83d506e5cd6cef23298211b2fe4e0e25c9e5f48)

20 years agoadded winbind_exclude_domain() so smbd can tell the winbind client
Andrew Tridgell [Tue, 10 Jul 2001 02:28:17 +0000 (02:28 +0000)]
added winbind_exclude_domain() so smbd can tell the winbind client
code not to do lookups for a particular domain. This allows winbind to
operate on a Samba PDC
(This used to be commit d472ee3a690fb6db03fd4536e4093a18fc37ddbb)

20 years agoRemoved unused local variables.
Tim Potter [Tue, 10 Jul 2001 00:02:40 +0000 (00:02 +0000)]
Removed unused local variables.
(This used to be commit fa1dfb681b2c7e2de59d6b439ceea738d6f11aff)

20 years agoimplement:
Jean-François Micouleau [Mon, 9 Jul 2001 18:32:54 +0000 (18:32 +0000)]
implement:
LSA_ENUM_PRIVS
LSA_PRIV_GET_DISPNAME
LSA_ENUM_ACCOUNTS
LSA_OPENACCOUNT
LSA_ENUMPRIVSACCOUNT
LSA_GETSYSTEMACCOUNT

It's a work in progress. nobody should expect it to work

J.F.
(This used to be commit 3056357cd8d4b2460f73ba8a8931a143f07fa2a6)

20 years agoadd query user info level 20 (for RAS)
Jean-François Micouleau [Mon, 9 Jul 2001 18:25:40 +0000 (18:25 +0000)]
add query user info level 20 (for RAS)
add query dominfo level 5
some cleanup, don't free talloced memory.
implement delete domain and local groups.

J.F.
(This used to be commit 3f14dda2a21850edfd540be2624867e5f70a382c)

20 years agowhen converting ascii to unicode, if the ascii string is NULL, don't
Jean-François Micouleau [Mon, 9 Jul 2001 18:21:03 +0000 (18:21 +0000)]
when converting ascii to unicode, if the ascii string is NULL, don't
convert it, rpcstr_push doesn't like it.
(This used to be commit a8006e6f3eb1e06f4d48727de31e1229d6eef58a)

20 years agosplit the nt_drivers.tdb in 3 separate tdb files. Should speed-up lookups
Jean-François Micouleau [Mon, 9 Jul 2001 18:19:04 +0000 (18:19 +0000)]
split the nt_drivers.tdb in 3 separate tdb files. Should speed-up lookups

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

20 years agowhen retrieving by sid fill also the map.sid field
Jean-François Micouleau [Mon, 9 Jul 2001 18:17:00 +0000 (18:17 +0000)]
when retrieving by sid fill also the map.sid field
(This used to be commit f47797fa9595fb19d9e29ef43c5d0135268db455)