ira/wip.git
23 years agoa few cleanups while mergeing the passdb code into 2.2
Gerald Carter [Thu, 9 Aug 2001 15:53:49 +0000 (15:53 +0000)]
a few cleanups while mergeing the passdb code into 2.2

23 years agoTry to set the socket options early for some OSs (like Sol 8) where they
Andrew Bartlett [Thu, 9 Aug 2001 12:52:05 +0000 (12:52 +0000)]
Try to set the socket options early for some OSs (like Sol 8) where they
can't be set after the listen().

Andrew Bartlett

23 years agoLink fix for smbpasswd.
Tim Potter [Thu, 9 Aug 2001 03:41:18 +0000 (03:41 +0000)]
Link fix for smbpasswd.

23 years agoChange all realloc() statements to Realloc() (ecxept for tdb.c)
Simo Sorce [Wed, 8 Aug 2001 16:54:16 +0000 (16:54 +0000)]
Change all realloc() statements to Realloc() (ecxept for tdb.c)
changed some code to exploit the fact that Realloc(NULL, size) == malloc(size)
fixed some possible mem leaks, or seg faults.

thanks to andreas moroder (mallocs not checked in client/client.c, client/smbumount.c)

23 years agoSome better debugs for our security=server code. I want to track down why
Andrew Bartlett [Wed, 8 Aug 2001 03:25:47 +0000 (03:25 +0000)]
Some better debugs for our security=server code.  I want to track down why
we occasionally don't make the connection to the server.

23 years agoMerge of modesty patch from 2.2 spec file.
Tim Potter [Wed, 8 Aug 2001 03:21:43 +0000 (03:21 +0000)]
Merge of modesty patch from 2.2 spec file.

23 years agoFactored out common rpc pipe initialisation and shutdown code.
Tim Potter [Wed, 8 Aug 2001 03:18:49 +0000 (03:18 +0000)]
Factored out common rpc pipe initialisation and shutdown code.

23 years agoPatch for having spaces in tdb keys, NULL termination fixes and other
Tim Potter [Tue, 7 Aug 2001 23:21:45 +0000 (23:21 +0000)]
Patch for having spaces in tdb keys, NULL termination fixes and other
stuff.  From Andrew Esh <AEsh@tricord.com>

23 years agoUpdate to work with no crypt available, just like it will in Samba.
Jeremy Allison [Tue, 7 Aug 2001 19:48:54 +0000 (19:48 +0000)]
Update to work with no crypt available, just like it will in Samba.
Jermey.

23 years agomerge from 2.2
Gerald Carter [Tue, 7 Aug 2001 19:34:38 +0000 (19:34 +0000)]
merge from 2.2

23 years agoAlways return NT_STATUS_DISK_FULL, even for quota errors.
Jeremy Allison [Tue, 7 Aug 2001 19:18:27 +0000 (19:18 +0000)]
Always return NT_STATUS_DISK_FULL, even for quota errors.
Jeremy.

23 years agoAdded fixes to return correct error codes on space allocation fail.
Jeremy Allison [Tue, 7 Aug 2001 01:19:32 +0000 (01:19 +0000)]
Added fixes to return correct error codes on space allocation fail.
Jeremy.

23 years agoCorrectly report amount written in debug when allocation space.
Jeremy Allison [Tue, 7 Aug 2001 00:36:10 +0000 (00:36 +0000)]
Correctly report amount written in debug when allocation space.
Jeremy.

23 years agoA collection of fixes/cleanups to the security descriptor code by
Tim Potter [Tue, 7 Aug 2001 00:01:41 +0000 (00:01 +0000)]
A collection of fixes/cleanups to the security descriptor code by
matt_zinkevicius@hp.com

23 years agoFixed another possible memleak in cli_initialise()
Tim Potter [Mon, 6 Aug 2001 23:29:25 +0000 (23:29 +0000)]
Fixed another possible memleak in cli_initialise()

23 years agoAdded Gerald's lanman printing only change to HEAD.
Jeremy Allison [Mon, 6 Aug 2001 22:39:51 +0000 (22:39 +0000)]
Added Gerald's lanman printing only change to HEAD.
Jeremy.

23 years agoFix for getting allocate_file_space to return the correct errno.
Jeremy Allison [Mon, 6 Aug 2001 19:21:23 +0000 (19:21 +0000)]
Fix for getting allocate_file_space to return the correct errno.
Jeremy.

23 years agoRecord the NT_STATUS constant rather than its number in the logfiles
Andrew Bartlett [Mon, 6 Aug 2001 09:35:08 +0000 (09:35 +0000)]
Record the NT_STATUS constant rather than its number in the logfiles

Fix typo in lmhosts manpage

23 years agoStop HP/UX building shared libraries for the moment ...
Richard Sharpe [Mon, 6 Aug 2001 08:52:39 +0000 (08:52 +0000)]
Stop HP/UX building shared libraries for the moment ...

23 years agoWe don't use indent in the HEAD branch.
Tim Potter [Mon, 6 Aug 2001 02:35:14 +0000 (02:35 +0000)]
We don't use indent in the HEAD branch.

23 years agoCleaned up error handling in cli_initialise() to fix a memleak found by
Tim Potter [Mon, 6 Aug 2001 02:18:40 +0000 (02:18 +0000)]
Cleaned up error handling in cli_initialise() to fix a memleak found by
Claudia Moroder <claudiamoroder@st-ulrich.suedtirol.net>

23 years agoChanged lone malloc() call to talloc(). Spotted by
Tim Potter [Mon, 6 Aug 2001 02:13:23 +0000 (02:13 +0000)]
Changed lone malloc() call to talloc().  Spotted by
Claudia Moroder <claudiamoroder@st-ulrich.suedtirol.net>

23 years agoAdded smbtree to list of ignored files.
Tim Potter [Mon, 6 Aug 2001 02:10:59 +0000 (02:10 +0000)]
Added smbtree to list of ignored files.

23 years agome stupid.
Simo Sorce [Sun, 5 Aug 2001 16:05:40 +0000 (16:05 +0000)]
me stupid.
never commit without building.
sorry.

23 years agoAnother winbind test - fill in later.
Tim Potter [Sun, 5 Aug 2001 11:19:34 +0000 (11:19 +0000)]
Another winbind test - fill in later.

23 years agoSome fixes about malloc/Realloc and mem leak
Simo Sorce [Sun, 5 Aug 2001 10:10:16 +0000 (10:10 +0000)]
Some fixes about malloc/Realloc and mem leak
thanks to andreas moroder

23 years agoPrint an error message if database could not be opened.
Volker Lendecke [Sat, 4 Aug 2001 18:17:30 +0000 (18:17 +0000)]
Print an error message if database could not be opened.

Volker

23 years agoExtra debug to see what errno is on write fail.
Jeremy Allison [Sat, 4 Aug 2001 00:24:54 +0000 (00:24 +0000)]
Extra debug to see what errno is on write fail.
Jeremy.

23 years agoThe write zero bytes is an allocate, not set EOF.
Jeremy Allison [Fri, 3 Aug 2001 19:32:33 +0000 (19:32 +0000)]
The write zero bytes is an allocate, not set EOF.
Jeremy.

23 years agoAdded include guards...
Jeremy Allison [Fri, 3 Aug 2001 17:28:18 +0000 (17:28 +0000)]
Added include guards...
We may need to rename this file smbauth.h, as auth.h
is so generic it will probably conflict with system header
files on some systems.
Jeremy.

23 years agoThis is the fix for the PAM bug I probably introduced in the previous commit,
Andrew Bartlett [Fri, 3 Aug 2001 13:24:38 +0000 (13:24 +0000)]
This is the fix for the PAM bug I probably introduced in the previous commit,
which I will confirm once I can find a box it would break on in the first place.

(this is the pam accounts as nobody thing we had with 2.2.0)

Andrew Bartlett

23 years agoThis is my 'Authentication Rewrite' version 1.01, mostly as submitted to
Andrew Bartlett [Fri, 3 Aug 2001 13:09:23 +0000 (13:09 +0000)]
This is my 'Authentication Rewrite' version 1.01, mostly as submitted to
samba-technical a few weeks ago.

The idea here is to standardize the checking of user names and passwords,
thereby ensuring that all authtentications pass the same standards.  The
interface currently implemented in as

nt_status = check_password(user_info, server_info)

where user_info contains (mostly) the authentication data, and server_info
contains things like the user-id they got, and their resolved user name.

The current ugliness with the way the structures are created will be killed
the next revision, when they will be created and malloced by creator functions.

This patch also includes the first implementation of NTLMv2 in HEAD, but which
needs some more testing.  We also add a hack to allow plaintext passwords to be
compared with smbpasswd, not the system password database.

Finally, this patch probably reintroduces the PAM accounts bug we had in
2.2.0, I'll fix that once this hits the tree.  (I've just finished testing
it on a wide variety of platforms, so I want to get this patch in).

23 years agoFix for smbpasswd set_userinfo24 was in the wrong place!
Tim Potter [Fri, 3 Aug 2001 03:43:24 +0000 (03:43 +0000)]
Fix for smbpasswd set_userinfo24 was in the wrong place!

23 years agoAllow smbpasswd to join a W2K hosted AD domain.
Jeremy Allison [Thu, 2 Aug 2001 23:48:51 +0000 (23:48 +0000)]
Allow smbpasswd to join a W2K hosted AD domain.
Jeremy.

23 years agoPut HPUX on mmap blacklist.
Jeremy Allison [Thu, 2 Aug 2001 20:52:57 +0000 (20:52 +0000)]
Put HPUX on mmap blacklist.
Jeremy.

23 years agoAdded mmap fix to pass lock test from HP.
Jeremy Allison [Thu, 2 Aug 2001 20:17:40 +0000 (20:17 +0000)]
Added mmap fix to pass lock test from HP.
Ok - now we're no longer trying to reach a silly 1k loc target,
change the formatting to be *readable* - eg.
change if (x) y else z to be :
if (x)
    y
else
    z

and other compact sillyness. Oh look - when I did this I found
some areas where we *WEREN'T CHECKING SYSTEM CALL ERROR RETURNS !!!!*
CompSci 101 guys....... :-).
Jeremy.

23 years agochanged --with-profile to --with-profiling-data to "stop the madness!"
Gerald Carter [Thu, 2 Aug 2001 14:33:32 +0000 (14:33 +0000)]
changed --with-profile to --with-profiling-data to "stop the madness!"
of people somehow thinking this was related to user profiles.
Hope this is ok Herb.

jerry

23 years agoAdded "strict allocate" per share parameter. This causes actual on-disk allocation
Jeremy Allison [Wed, 1 Aug 2001 22:13:50 +0000 (22:13 +0000)]
Added "strict allocate" per share parameter. This causes actual on-disk allocation
to be done. Without it just does the ftruncate.
Jeremy.

23 years agoOops. Typo.
Jeremy Allison [Wed, 1 Aug 2001 17:43:57 +0000 (17:43 +0000)]
Oops. Typo.
Jeremy.

23 years agoPidfile check can be read-only. Removed old ifdef in password.c
Jeremy Allison [Wed, 1 Aug 2001 17:32:45 +0000 (17:32 +0000)]
Pidfile check can be read-only. Removed old ifdef in password.c
Jeremy.

23 years agoModifying spec files is PITA.
Tim Potter [Wed, 1 Aug 2001 06:03:54 +0000 (06:03 +0000)]
Modifying spec files is PITA.

 - Install winbind daemon, client programs, nss and pam libraries
 - Removed codepage stuff so spec file works with current HEAD branch

23 years agoTweaked the installdirs target to ignore errors. This allows RPMS to be
Tim Potter [Wed, 1 Aug 2001 05:55:01 +0000 (05:55 +0000)]
Tweaked the installdirs target to ignore errors.  This allows RPMS to be
built as non-root user, assuming you have permissions set up properly
in your /usr/src/redhat directory.

Added nsswitch sub-target to all target.

23 years agoReran autoconf.
Tim Potter [Wed, 1 Aug 2001 03:19:58 +0000 (03:19 +0000)]
Reran autoconf.

23 years agoAdded autogenerated spec files for various rpm versions.
Tim Potter [Wed, 1 Aug 2001 02:39:13 +0000 (02:39 +0000)]
Added autogenerated spec files for various rpm versions.

23 years agoRewrite of winbind autoconf fragment.
Tim Potter [Wed, 1 Aug 2001 02:30:33 +0000 (02:30 +0000)]
Rewrite of winbind autoconf fragment.

 - can now use --with-winbind to force compilation on systems that are
   not linux or solaris (-:

 - don't compile winbind if the unix domain socket test fails

 - compile right number of bits if --with-pam used

23 years agoFixed up compilation of pam_winbind.so to be consistent with value of
Tim Potter [Wed, 1 Aug 2001 02:12:36 +0000 (02:12 +0000)]
Fixed up compilation of pam_winbind.so to be consistent with value of
--with-pam passed to configure.

Fixed nsswitch target to compile the sbin and lib winbind targets.

Winbind still doesn't install its lib targets (libnss_winbind.so and
pam_winbind.so) properly - the install script is a big mess.  )-:

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

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

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

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

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

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

23 years agouint -> uint32.
Jeremy Allison [Mon, 30 Jul 2001 17:53:39 +0000 (17:53 +0000)]
uint -> uint32.
Jeremy.

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

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

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

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

23 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>

23 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

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

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

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

23 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

23 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

23 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.  (-:

23 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

23 years agoRe-ran autoconf.
Tim Potter [Wed, 25 Jul 2001 06:21:07 +0000 (06:21 +0000)]
Re-ran autoconf.

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

23 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

23 years agonicer smbtree output
Andrew Tridgell [Wed, 25 Jul 2001 04:09:44 +0000 (04:09 +0000)]
nicer smbtree output

23 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

23 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

23 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

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

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

23 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

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

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

23 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!

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

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

23 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

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

23 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

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

23 years agoFix for cups compile.
Jeremy Allison [Mon, 23 Jul 2001 19:50:36 +0000 (19:50 +0000)]
Fix for cups compile.
Jeremy.

23 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

23 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

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

23 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!

23 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().

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

23 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!

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

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

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

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

23 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

23 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

23 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