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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

22 years agoallow to rename an NT group
Jean-François Micouleau [Mon, 9 Jul 2001 18:15:28 +0000 (18:15 +0000)]
allow to rename an NT group
(This used to be commit 42fc4f4154ccf2e93322da6b0b234f8f846991dc)

22 years agofixed anonymous login in rpcclient
Andrew Tridgell [Sun, 8 Jul 2001 20:28:17 +0000 (20:28 +0000)]
fixed anonymous login in rpcclient
(This used to be commit b2a4a62b5ed581bf89fe20cdf427c1740fd73266)

22 years agoremoved remnants of libtool
Andrew Tridgell [Sun, 8 Jul 2001 19:18:06 +0000 (19:18 +0000)]
removed remnants of libtool
(This used to be commit abe01facea99f4cda76330d1265edde32b3c0a86)

22 years agoimproved the command line parsing of rpcclient
Andrew Tridgell [Sun, 8 Jul 2001 18:25:56 +0000 (18:25 +0000)]
improved the command line parsing of rpcclient
(This used to be commit 29d8f9bcb3f55365740a5bbafc75dd2dffc107a9)

22 years agoallow winbindd to run as non-root so we can test it more easily
Andrew Tridgell [Sun, 8 Jul 2001 18:25:19 +0000 (18:25 +0000)]
allow winbindd to run as non-root so we can test it more easily
(This used to be commit 001129e2153633dbd079889b11331e9c27786e5b)

22 years agoformatting fix
Andrew Tridgell [Sun, 8 Jul 2001 18:23:53 +0000 (18:23 +0000)]
formatting fix
(This used to be commit 3dc9fd076a2c4c352d51f7b9dfa8b570a231c9e2)

22 years agoadded sec_initial_uid() function so we can ask if a file is owned by
Andrew Tridgell [Sun, 8 Jul 2001 18:22:46 +0000 (18:22 +0000)]
added sec_initial_uid() function so we can ask if a file is owned by
the initial uid
(This used to be commit 9449544428c9c3153f9e757c57bccda382fa2882)

22 years agofixed the auto-initialisation of the iconv descriptors
Andrew Tridgell [Sun, 8 Jul 2001 18:22:04 +0000 (18:22 +0000)]
fixed the auto-initialisation of the iconv descriptors
(This used to be commit 66632782c583356550446638a832cc46a99f9f62)

22 years agoUpdate tests, start testing password server code, now I have it working and
Andrew Bartlett [Sun, 8 Jul 2001 14:24:29 +0000 (14:24 +0000)]
Update tests, start testing password server code, now I have it working and
know what it does...

Andrew Bartlett
(This used to be commit 51903dbfee2fa2b5d94b1d16ebdbb3356e13884d)