kai/samba.git
20 years agoFix for bug #703, try lowercase netgroups lookups.
Jeremy Allison [Tue, 4 Nov 2003 18:24:30 +0000 (18:24 +0000)]
Fix for bug #703, try lowercase netgroups lookups.
Jeremy.
(This used to be commit b7ce6294bbff9ef82b34d900fe836ff2e3c5abe1)

20 years agoTDBSAM update code from Aur?lien Degr?mont <adegremont@idealx.com>.
Jeremy Allison [Mon, 3 Nov 2003 23:59:45 +0000 (23:59 +0000)]
TDBSAM update code from Aur?lien Degr?mont <adegremont@idealx.com>.
Adds support for an additional field (uint32) which represents the
lockout duration. I think this should be stored as an abolute
UNIX time_t that specifies when the lockout should end - set it
when the lockout is imposed. This new code also updates the on
disk tdb version on load. Being merged into HEAD so Simo can
add any other changes he wants before being back-ported to
SAMBA_3_0.
Jeremy.
(This used to be commit 0eea3f22aba25c1d0a8800bb1725238422cb30eb)

20 years agoFix for winbindd on HPUX from albert chin (china@thewrittenword.com)
Jeremy Allison [Mon, 3 Nov 2003 21:05:50 +0000 (21:05 +0000)]
Fix for winbindd on HPUX from albert chin (china@thewrittenword.com)
Jeremy.
(This used to be commit c2f38eb66578affb50cb15c73b297fb866be140b)

20 years agoremoving #include <compat.h> in hopes to avoid problems with apache header files...
Gerald Carter [Mon, 3 Nov 2003 19:23:05 +0000 (19:23 +0000)]
removing #include <compat.h> in hopes to avoid problems with apache header files; will watch the build farm on this to make sure things don't blow up
(This used to be commit b4d80ee74727a72aa8fe070d13e3ca5de71837ca)

20 years agoFrom 3_0:
Volker Lendecke [Mon, 3 Nov 2003 18:11:46 +0000 (18:11 +0000)]
From 3_0:

AC_CHECK_MEMBER seems to have problems for some versions of autoconf, at least
autoconf-2.53 on SLES8 does not correctly find the keyblock.

Volker
(This used to be commit f6cff956c441eec73360f71bbb4dd06f4f1ee897)

20 years agoFix duplicate libs problem in iconv detection code.
Tim Potter [Sun, 2 Nov 2003 16:31:38 +0000 (16:31 +0000)]
Fix duplicate libs problem in iconv detection code.
(This used to be commit a2feac08e89685c35a8cc18eaeac4c9316248f75)

20 years agoMerge of fix for bug 661 from 3.0
Tim Potter [Sun, 2 Nov 2003 04:16:14 +0000 (04:16 +0000)]
Merge of fix for bug 661 from 3.0
(This used to be commit c96d470af8dd9b5782d7c4f3e9fe5fa92f416f77)

20 years agoFrom 3_0:
Volker Lendecke [Sat, 1 Nov 2003 17:42:44 +0000 (17:42 +0000)]
From 3_0:

This binds the nmbd sending socket to the 'socket address'.

Hmmm. This is correct in 2.2. Obviously I did not test my 3.0 checkin at that
time. Now it hit me at a customer's site...

Volker
(This used to be commit b9179aed4d7e8ec95e0f8ff79e36403377773f0a)

20 years agoset- set-assword when invoking --set-auth-user and no pw
Gerald Carter [Fri, 31 Oct 2003 20:31:25 +0000 (20:31 +0000)]
set- set-assword when invoking --set-auth-user and no pw
is given (patch from Tom Dickson)
(This used to be commit aa2abd5800856120ddec6937955e961ff0c77c96)

20 years agoPatch from Aurélien Degrémont <adegremont@idealx.com>. "entry" is dependent
Jeremy Allison [Fri, 31 Oct 2003 19:16:57 +0000 (19:16 +0000)]
Patch from Aurélien Degrémont <adegremont@idealx.com>. "entry" is dependent
on "result", don't free result first.
Jeremy.
(This used to be commit 9b24715170c6ca5dd3d5df0675f430852ae6a50d)

20 years agoMerge from 3.0:
Tim Potter [Fri, 31 Oct 2003 03:17:01 +0000 (03:17 +0000)]
Merge from 3.0:

  Revision 1.50.2.12:

    Put in a work-around for ENOTSUP not being defined on OpenBSD.

  Revision 1.50.2.10-11

    Apply latest of Derrell Lippman's changes to libsmbclient.

    Commit Derrell's changes to libsmbclient plus a small change to
    configure.in to see if SGI and other platforms will build.
(This used to be commit e32826980eefeb501e4ae19c689d83153d9fe5e6)

20 years agoWhitespace syncup with 3.0
Tim Potter [Fri, 31 Oct 2003 03:02:31 +0000 (03:02 +0000)]
Whitespace syncup with 3.0
(This used to be commit 9746ef376d2a52ef6ef6b84421d6b7e988a6ca13)

20 years agoFormatting syncup with 3.0
Tim Potter [Fri, 31 Oct 2003 03:00:33 +0000 (03:00 +0000)]
Formatting syncup with 3.0
(This used to be commit 98881672f5c094181be7988b4d39b451f292e423)

20 years agoFix another unused warning.
Tim Potter [Fri, 31 Oct 2003 02:58:32 +0000 (02:58 +0000)]
Fix another unused warning.
(This used to be commit 9032e6eb2b4c7ed3d0689b95ed318cdf7ec048d7)

20 years agoFix spelling mistake.
Tim Potter [Fri, 31 Oct 2003 02:57:02 +0000 (02:57 +0000)]
Fix spelling mistake.
(This used to be commit cbd95c5a74bef4a6c8fd54a8fc24a50f11678cb7)

20 years agoMerge from 3.0:
Tim Potter [Fri, 31 Oct 2003 02:56:11 +0000 (02:56 +0000)]
Merge from 3.0:

  Revision 1.45.2.23:

    Changed output so all debug output goes to stderr, and all file processing
    goes to stdout.

    Note: This change permits use of testparm processing of smb.conf to be
    redirected into a file that can be used as an smb.conf file. ie: All
    information that should not be in smb.conf will be on stderr, all pertinent
    smb.conf info will go to stdout.

    Example of use:
A fully documented smb.conf.master file can be maintained.
To create smb.conf do:
testparm -s > smb.conf
(This used to be commit f323b932f932a576d42a018a3e16b45758121891)

20 years agoFix some unused variable warnings.
Tim Potter [Fri, 31 Oct 2003 02:53:07 +0000 (02:53 +0000)]
Fix some unused variable warnings.
(This used to be commit 512a81c9fd4490cb6f9b1cc88cdb9238d21decb1)

20 years agoMerge from 3.0:
Tim Potter [Fri, 31 Oct 2003 01:42:21 +0000 (01:42 +0000)]
Merge from 3.0:

  Revision 1.2.2.5:

    Remove some unused variables uncovered by the build farm.
(This used to be commit c0585399ac3b6adb22b514478ba44e3c8a96b050)

20 years agoSync up with 3.0
Tim Potter [Fri, 31 Oct 2003 01:35:02 +0000 (01:35 +0000)]
Sync up with 3.0
(This used to be commit 3cd8acb6c362bca82d7268aa283d3f6360b24604)

20 years agoSync up some indentation.
Tim Potter [Fri, 31 Oct 2003 01:31:31 +0000 (01:31 +0000)]
Sync up some indentation.
(This used to be commit 160903f99782673a3ff147450d33f4a4ff88a666)

20 years agoMerge from 3.0: Sync up comments.
Tim Potter [Fri, 31 Oct 2003 01:18:41 +0000 (01:18 +0000)]
Merge from 3.0: Sync up comments.
(This used to be commit c00bd547c875a1eba3b8c427f4fed0b61ae987c5)

20 years agoMerge of some fixes from 3.0:
Tim Potter [Fri, 31 Oct 2003 01:17:37 +0000 (01:17 +0000)]
Merge of some fixes from 3.0:

  - Revision 1.468.2.187

      CP* modules are not related to development

  - Revision 1.468.2.191

      Compile fix for tdbbackup when Samba needs to override non-C99
      compliant implementations of snprintf

Sync up formatting for PAM_WINBIND_PICOBJ variable.
(This used to be commit b4f3c8d2f62e6d75a5c01529190e71289dea8df5)

20 years agoAdd string to uuid fn. Thanks aliguori.
Jim McDonough [Thu, 30 Oct 2003 23:43:18 +0000 (23:43 +0000)]
Add string to uuid fn.  Thanks aliguori.
(This used to be commit 5f9fe8304f037f91fa765e64580a7119aeb201dd)

20 years agoIf nothing to do, return success. Fix from Aur?lien Degr?mont <adegremont@idealx...
Jeremy Allison [Thu, 30 Oct 2003 20:09:44 +0000 (20:09 +0000)]
If nothing to do, return success. Fix from Aur?lien Degr?mont <adegremont@idealx.com>
Jeremy.
(This used to be commit a92555e6060294afcfecc075bfac5c836f150b01)

20 years agoLast of the GUID->struct uuid changes.
Jim McDonough [Thu, 30 Oct 2003 18:13:25 +0000 (18:13 +0000)]
Last of the GUID->struct uuid changes.

GUID has been removed.  If you are dealing with a flattened version of a
[gu]uid, use UUID_FLAT.  smb_pack_uuid and smb_unpack_uuid will switch
between the two.

I'm not sure exactly what the genparse stuff is doing here, so I just
switched it to a UUID_FLAT (no functional change), but I suspect this
may not be the right way to go.
(This used to be commit 001e9d0e814109a26d598001b3c23dfdb04510ff)

20 years agoNearing the end of the GUID -> struct uuid changes.
Jim McDonough [Thu, 30 Oct 2003 17:50:56 +0000 (17:50 +0000)]
Nearing the end of the GUID -> struct uuid changes.
(This used to be commit 0e8fcfac702515f8870c979262bf881d1155efdc)

20 years agoOk, nearing the end of the GUID->struct uuid changes.
Jim McDonough [Thu, 30 Oct 2003 17:37:21 +0000 (17:37 +0000)]
Ok, nearing the end of the GUID->struct uuid changes.

Takes care of secdescs.

Had to move the uuid marshall/unmarshalling code to parse_misc, because
it's needed outside of parse_rpc.c (for no-auth calls)
(This used to be commit 5d2bb079b65ccfec14604d8dcf0ce789d1795b46)

20 years agoMore GUID->struct uuid changes.
Jim McDonough [Thu, 30 Oct 2003 17:17:51 +0000 (17:17 +0000)]
More GUID->struct uuid changes.

Printer publishing now uses struct uuid.  Also changes ads_pull_guid to
unpack it from the wire format.
(This used to be commit 671b434cc4b422144ab8f5858ae9c2179de701e1)

20 years agoAnother round of GUID->struct uuid.
Jim McDonough [Thu, 30 Oct 2003 17:07:32 +0000 (17:07 +0000)]
Another round of GUID->struct uuid.

Takes care of the lsass pipe
(This used to be commit 3dca3efa4b427fa3094a8cd392fe5744b5f6f6a8)

20 years agoFirst round of merging various UUID structures.
Jim McDonough [Thu, 30 Oct 2003 16:38:39 +0000 (16:38 +0000)]
First round of merging various UUID structures.

This eliminates RPC_UUID.  It creates the following struct:

struct uuid
{
  uint32 time_low;
  uint16 time_mid;
  uint16 time_hi_and_version;
  uint8  clock_seq[2];
  uint8  node[6];
};
which replaces RPC_UUID and various random struct uuid definitions

and a flat version:
#define UUID_FLAT_SIZE 16
typedef struct uuid_flat
{
uint8 info[UUID_FLAT_SIZE];
} UUID_FLAT;

which pretty much looks like GUID (which I will start eliminating).

I want us to use the FLAT one only on the wire (perhaps in files, too?), and
I want it to be obvious to the coder that it is the FLAT version.

This leaves a couple of compiler warnings, where GUID isn't completely
replaced by FLAT_UUID yet...I'll get to those soon.
(This used to be commit 1532b5d2e3c61df232b16394acedf6eac387588b)

20 years agobug 696; check for an invalid fid before dereferencing the fsp pointer
Gerald Carter [Thu, 30 Oct 2003 16:01:02 +0000 (16:01 +0000)]
bug 696; check for an invalid fid before dereferencing the fsp pointer
(This used to be commit 2cc43e760b02f2088a0222d1f5080913a96f3e5a)

20 years agoCheck for nsswitch.h. Patch from albert chin (china@thewrittenword.com).
Jeremy Allison [Thu, 30 Oct 2003 00:07:46 +0000 (00:07 +0000)]
Check for nsswitch.h. Patch from albert chin (china@thewrittenword.com).
Jeremy.
(This used to be commit 8d29faaa6396a46e8754ead32f6fd545e567ba46)

20 years agoJanitor for tridge.
Jeremy Allison [Wed, 29 Oct 2003 23:01:02 +0000 (23:01 +0000)]
Janitor for tridge.
parameterise the listen backlog in smbd and make it larger by default. A backlog of 5 is way too small these days.
Jeremy.
(This used to be commit 58b8f673945ad114d056dd79f509c93ab42b96d1)

20 years agoFixes to check for wraps which could cause coredumps.
Jeremy Allison [Wed, 29 Oct 2003 21:27:57 +0000 (21:27 +0000)]
Fixes to check for wraps which could cause coredumps.
Jeremy.
(This used to be commit 124a8ddae63adff4f601242a8e6d05abcaf4d9bf)

20 years agoDon't log at level zero when chdir fails. Ensure correct error message is returned.
Jeremy Allison [Tue, 28 Oct 2003 18:32:01 +0000 (18:32 +0000)]
Don't log at level zero when chdir fails. Ensure correct error message is returned.
Jeremy.
(This used to be commit a7561336e770405572c13a4607b0e808225e8916)

20 years agoFix for bug #667. DFS filenames can now have arbitrary case.
Jeremy Allison [Tue, 28 Oct 2003 00:51:19 +0000 (00:51 +0000)]
Fix for bug #667. DFS filenames can now have arbitrary case.
Jeremy.
(This used to be commit cbefb5c4f983ca49fcc563111d8704d3770daf81)

20 years agoRemove trailing comma on typedef enum. albert chin (china@thewrittenword.com)
Tim Potter [Mon, 27 Oct 2003 23:42:38 +0000 (23:42 +0000)]
Remove trailing comma on typedef enum.  albert chin (china@thewrittenword.com)
(This used to be commit 65a4c2aa0af4572ef7da0f7907ee144faba39031)

20 years agoMissing UNIX -> DOS codepage conversion. Fix from Alexander Bokovoy <a.bokovoy@sam...
Jeremy Allison [Mon, 27 Oct 2003 20:09:12 +0000 (20:09 +0000)]
Missing UNIX -> DOS codepage conversion. Fix from Alexander Bokovoy <a.bokovoy@sam-solutions.net>.
Jeremy.
(This used to be commit f714998b44c6a1082943a399ce3b0ce316efc3a0)

20 years agoJanitorial duty for tpot. Merge tdb error log fix.
Jeremy Allison [Fri, 24 Oct 2003 17:50:19 +0000 (17:50 +0000)]
Janitorial duty for tpot. Merge tdb error log fix.
Jeremy.
(This used to be commit 2186cbf28db496b97b39b81eb1932690c6094cd8)

20 years agoAdd shutdown abort try over initshutdown pipe first, then fall back to
Jim McDonough [Fri, 24 Oct 2003 14:03:15 +0000 (14:03 +0000)]
Add shutdown abort try over initshutdown pipe first, then fall back to
winreg pipe if it doesn't work.  Fixes bug #534.

I will go back and add the same logic for the shutdown itself, even though
that works so far against win2k (haven't tested all win clients).
(This used to be commit e6d02117755d92d1b5ce029bf659d0fbe1a55585)

20 years agoAdd initshutdown pipe commands to rpcclient. Second part of fix to bug
Jim McDonough [Fri, 24 Oct 2003 13:49:25 +0000 (13:49 +0000)]
Add initshutdown pipe commands to rpcclient.  Second part of fix to bug
#534
(This used to be commit 99f4fa54497ba1c0fc0ba39d51b3ce201a8e6cd2)

20 years agoNew files for support of initshutdown pipe. Win2k doesn't respond properly
Jim McDonough [Fri, 24 Oct 2003 13:38:13 +0000 (13:38 +0000)]
New files for support of initshutdown pipe.  Win2k doesn't respond properly
to all requests on the winreg pipe, so we need to handle this new pipe.

First part of fix for bug #534
(This used to be commit 532fab74c12d8c55872c2bad2abead2647f919d7)

20 years agoCheck for va_copy before you check for __va_copy, since va_copy is the
Richard Sharpe [Fri, 24 Oct 2003 05:47:39 +0000 (05:47 +0000)]
Check for va_copy before you check for __va_copy, since va_copy is the
actual standard, and __va_copy was the proposed standard.
(This used to be commit 4ab7947e601e61cacd7ff541ee881850d9808387)

20 years agoAndrew Bartlett patch to cope with Exchange 5.5 cleartext pop password auth.
Jeremy Allison [Fri, 24 Oct 2003 01:19:23 +0000 (01:19 +0000)]
Andrew Bartlett patch to cope with Exchange 5.5 cleartext pop password auth.
Jeremy.
(This used to be commit 2d09d8c9d973f5f414d31f749db12328ff315de7)

20 years agoMerge from 3_0:
Volker Lendecke [Thu, 23 Oct 2003 16:51:08 +0000 (16:51 +0000)]
Merge from 3_0:

After a phonecall with jra finally commit this.

This changes our behaviour when the setresuid call is available. We now not
only change the effective uid but also the real uid when becoming
unprivileged. This is mainly for improved AFS compatibility, as AFS selects
the token to send to the server based on the real uid of the process.

I tested this with a W2k server with two non-root 'runas' sessions. They come
in via a single smbd as two different users using two session setups. Samba on
Linux can still switch between the two uids, proved by two different files
created via those sessions.

Volker
(This used to be commit 8a75e2dfb6ee9099e7f9a970c522e71ab144d919)

20 years agoFix bug 451. Stop net -P from prompting for machine account password.
Jim McDonough [Thu, 23 Oct 2003 14:33:21 +0000 (14:33 +0000)]
Fix bug 451.  Stop net -P from prompting for machine account password.
Based on work by Ken Cross (kcross@nssolutions.com).
(This used to be commit 32aa749bf1328e43af629ade30b3fdc11dd5e3ec)

20 years agoVolker's fix for bug #668. Change the \n after the password prompt to go
Jim McDonough [Thu, 23 Oct 2003 13:47:21 +0000 (13:47 +0000)]
Volker's fix for bug #668.  Change the \n after the password prompt to go
to tty instead of stdout.
(This used to be commit fb503bb418fcbee20d2218650904b26b512106ed)

20 years agoMerge from 3_0:
Volker Lendecke [Thu, 23 Oct 2003 13:46:32 +0000 (13:46 +0000)]
Merge from 3_0:

According to Ethereal we have a 32-Bit quantity here. And with SSVAL valgrind
reports an unitialized read which is obviously correct. And I hate valgrind
errors ;-)

Volker
(This used to be commit 73fc6da6cf2b52f65c3dbfb7705899e6cbea447a)

20 years agoApply the changes to libsmbclient that derrell has contributed. Fix some
Richard Sharpe [Thu, 23 Oct 2003 06:35:45 +0000 (06:35 +0000)]
Apply the changes to libsmbclient that derrell has contributed. Fix some
of the problems with this.

From: Derrell.Lipman@unwireduniverse.com
(This used to be commit 8e3d2708c5e5a9968aeb9a6fe6c828aa8a5b22a9)

20 years agoPut strcasecmp/strncasecmp on the banned list (except for needed calls
Jeremy Allison [Wed, 22 Oct 2003 23:38:18 +0000 (23:38 +0000)]
Put strcasecmp/strncasecmp on the banned list (except for needed calls
in iconv.c and nsswitch/). Using them means you're not thinking about multibyte at
all and I really want to discourage that.
Jeremy.
(This used to be commit 5c050a735f86927c7ef2a98b6f3a56abe39e4674)

20 years agoBe sure referent ID is updated for incoming structures, too.
Jim McDonough [Wed, 22 Oct 2003 20:59:46 +0000 (20:59 +0000)]
Be sure referent ID is updated for incoming structures, too.
(This used to be commit 00e0aba2cf97e686a0b6b4d7bab50afbc5e97ac1)

20 years agoFix segfault in mount.cifs helper when there is no options specified during mount
Alexander Bokovoy [Wed, 22 Oct 2003 15:52:36 +0000 (15:52 +0000)]
Fix segfault in mount.cifs helper when there is no options specified during mount
(This used to be commit a3b67626018ade2a823311b65202ab7f488ca0a7)

20 years agoMerge from 3_0:
Volker Lendecke [Wed, 22 Oct 2003 07:31:17 +0000 (07:31 +0000)]
Merge from 3_0:

In cli_lsa_lookup_sids don't leave the domain field uninitialized if
some sid could not be mapped. Otherwise this call is unnecessarily
complicated to call.

Volker
(This used to be commit 198b01fc54ce7a5beeddc680b30da291639b4eda)

20 years agoFix for bug #64, Win9x Nexus tools not working against Samba3.0. Missing
Jeremy Allison [Tue, 21 Oct 2003 23:14:39 +0000 (23:14 +0000)]
Fix for bug #64, Win9x Nexus tools not working against Samba3.0. Missing
map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
Jeremy.
(This used to be commit 8458f4c52f32ef192287ddb8371638f42a370c6f)

20 years agoPatch from Stefan Metzmacher <metze@metzemix.de> to fix signing problems
Jeremy Allison [Tue, 21 Oct 2003 21:18:58 +0000 (21:18 +0000)]
Patch from Stefan Metzmacher <metze@metzemix.de> to fix signing problems
when reverse connecting back to a client for printer notify.
Jeremy.
(This used to be commit 7fde193efeb856ec325d5d563f1e710c45dc65d7)

20 years agoMerge tridge's AIX fixes.
Jeremy Allison [Tue, 21 Oct 2003 20:17:42 +0000 (20:17 +0000)]
Merge tridge's AIX fixes.
Jeremy.
(This used to be commit 96cefb4542debd8902d9bc0cd09bb01c7a41cc69)

20 years agoAdd server side support for epmapper pipe. Currently only does a fixed
Jim McDonough [Tue, 21 Oct 2003 17:59:08 +0000 (17:59 +0000)]
Add server side support for epmapper pipe.  Currently only does a fixed
mapping, but this is the base for changes to come.
(This used to be commit 73882e970a3aea1c3c9f34779b4220bbf28f6dad)

20 years agoFix signing miss-sequence noticed by Stefan Metzmacher <metze@metzemix.de>
Jeremy Allison [Tue, 21 Oct 2003 17:40:48 +0000 (17:40 +0000)]
Fix signing miss-sequence noticed by Stefan Metzmacher <metze@metzemix.de>
Jeremy.
(This used to be commit 419834edee09567c8523ad3afba674a12504282d)

20 years agoFix typo
Jim McDonough [Tue, 21 Oct 2003 16:27:46 +0000 (16:27 +0000)]
Fix typo
(This used to be commit 26956cdef902819f94616c33694641752f0f14e9)

20 years agocall initgroups before becomming the user; patch from Fabio Cecchi
Gerald Carter [Tue, 21 Oct 2003 14:20:02 +0000 (14:20 +0000)]
call initgroups before becomming the user; patch from Fabio Cecchi
(This used to be commit e0db859a312207d961e3a581dfd15d9701bca16d)

20 years agoMerge of another fix from Monyo.
Tim Potter [Tue, 21 Oct 2003 04:54:20 +0000 (04:54 +0000)]
Merge of another fix from Monyo.
(This used to be commit 8d4d8aed2baa4b81bde9b30399f946062fc14094)

20 years agoMerge of mmap blacklist fix from HEAD.
Tim Potter [Tue, 21 Oct 2003 04:46:23 +0000 (04:46 +0000)]
Merge of mmap blacklist fix from HEAD.
(This used to be commit ff29be16e74361b02b0b7fbd83e393d68ae5b897)

20 years agoMerge of krb5_keytab entry key vs keyblock member check from HEAD.
Tim Potter [Tue, 21 Oct 2003 04:45:33 +0000 (04:45 +0000)]
Merge ... krb5_keytab entry key vs keyblock member check from HEAD.
(This used to be commit 720f5e5629c54e851c3e9026dc88676795e44c8e)

20 years agoMerge of wrepld link fix.
Tim Potter [Tue, 21 Oct 2003 04:43:48 +0000 (04:43 +0000)]
Merge of wrepld link fix.
(This used to be commit 9b13dae5a9cec827f854d5d0eb77eb16709b39b9)

20 years agoUpdate structures after ethereal showed some marshalling/unmarshalling
Jim McDonough [Mon, 20 Oct 2003 21:10:18 +0000 (21:10 +0000)]
Update structures after ethereal showed some marshalling/unmarshalling
errors.
(This used to be commit 9d0f322a851f487cea320e57076213435e5c6481)

20 years agoFixed typo spotted by Daniel Jarboe <daniel.jarboe@custserv.com>.
Jeremy Allison [Mon, 20 Oct 2003 21:02:05 +0000 (21:02 +0000)]
Fixed typo spotted by Daniel Jarboe <daniel.jarboe@custserv.com>.
Jeremy.
(This used to be commit c68b6f64d9eb0808ce834e23174d1d6218b814b8)

20 years agoMerge Volker's fix.
Jeremy Allison [Mon, 20 Oct 2003 19:04:06 +0000 (19:04 +0000)]
Merge Volker's fix.

It's a perfectly valid condition to have zero alias members.

Jeremy.
(This used to be commit aa7fb71357921c9d1fa1d32e5eaff912428e4fdf)

20 years agoMerge Volker's fix.
Jeremy Allison [Mon, 20 Oct 2003 19:02:04 +0000 (19:02 +0000)]
Merge Volker's fix.

We are doing NT error codes now.... If we have an NT error, report that
back the same way we handle the DOS error. Although I don't see why
BUFFER_TOO_SMALL should not be handled as an error, simply copy the logic.

This is only called from smbcacls and smbcquotas.

Jeremy.
(This used to be commit f67154fe41d7d458a11dfb9b2f0c6c26609c9a72)

20 years agoSeveral updates:
Jim McDonough [Mon, 20 Oct 2003 18:35:12 +0000 (18:35 +0000)]
Several updates:
- add support for named pipe and netbios queries in parse code
- fix map request structure...unknown byte was alignment
- add sample of named pipe over netbios query in rpcclient (comment only)
(This used to be commit 71dcdf54e60204d6b499d25d8759ed20fc7a021a)

20 years agoMerge tridge's tdb updates.
Jeremy Allison [Mon, 20 Oct 2003 18:05:22 +0000 (18:05 +0000)]
Merge tridge's tdb updates.
Jeremy.
(This used to be commit f81fdcc935317f66d562d485a40948c2a8bcbb21)

20 years agomore 2.2.x compatibility fixes - allow user looksup in the kerb5
Gerald Carter [Mon, 20 Oct 2003 16:50:14 +0000 (16:50 +0000)]
more 2.2.x compatibility fixes - allow user looksup in the kerb5
sesssetup to fall back to 'user' instaed of failing is REA.LM\user
doesn't exist.

also fix include line in smb_acls.h as requested by metze
(This used to be commit 5ccf6baad7ffb1f992aaf24b41ef5c83362cf613)

20 years agomake sure we have a devmode before copying a string to the devicename; patch from...
Gerald Carter [Mon, 20 Oct 2003 14:02:58 +0000 (14:02 +0000)]
make sure we have a devmode before copying a string to the devicename; patch from metze
(This used to be commit 5479cb60c038969270353b9ff7a8e9967e066dfd)

20 years agoCompile libsmbclient with DYNEXP
Jelmer Vernooij [Sun, 19 Oct 2003 23:30:09 +0000 (23:30 +0000)]
Compile libsmbclient with DYNEXP
(This used to be commit c8ec714119a620af3481e40a94c361704ecbc39b)

20 years agoAdd epmapper commands to rpcclient
Jim McDonough [Sat, 18 Oct 2003 01:14:41 +0000 (01:14 +0000)]
Add epmapper commands to rpcclient
(This used to be commit 1d68e108a744ae0e5df4d8d092a3b48fc4441ace)

20 years agoAdd epmapper client files to rpcclient build
Jim McDonough [Sat, 18 Oct 2003 01:14:25 +0000 (01:14 +0000)]
Add epmapper client files to rpcclient build
(This used to be commit 747501893c1d9b591c81a0e819f28d0102d596a5)

20 years agoAdd client side code to do endpoint map queries. Currently does one
Jim McDonough [Sat, 18 Oct 2003 01:13:01 +0000 (01:13 +0000)]
Add client side code to do endpoint map queries.  Currently does one
fixed query.  Updates to come soon.
(This used to be commit 3ca8240affba20bb26749354f59b83799b4f1e44)

20 years agoFix tower length calculations and add some const
Jim McDonough [Sat, 18 Oct 2003 01:07:37 +0000 (01:07 +0000)]
Fix tower length calculations and add some const
(This used to be commit 2f84c6c9a1c292535e73721a8bcdb27aaa2b2b46)

20 years agoTypo broke win9x logins.
Jeremy Allison [Fri, 17 Oct 2003 21:19:17 +0000 (21:19 +0000)]
Typo broke win9x logins.
Jeremy.
(This used to be commit a7afbce99830bffb8795e7dc2c80baeeba7dcd0a)

20 years agouuid itself might not be aligned (as is the case in epm map requests), so
Jim McDonough [Fri, 17 Oct 2003 19:47:06 +0000 (19:47 +0000)]
uuid itself might not be aligned (as is the case in epm map requests), so
it needs to be aligned outside the smb_io_rpc_uuid() call if a specific
rpc or struct needs it that way.
(This used to be commit e9fc15d58c52c12438c1f9c69394c11f76ce72d8)

20 years ago* fix some compile warnings in the gums code
Gerald Carter [Fri, 17 Oct 2003 16:27:26 +0000 (16:27 +0000)]
* fix some compile warnings in the gums code
* add server support for DsEnumerateDomainTrusts()
(This used to be commit 06bacf6e3434db5bd09b48f84206441712e69a63)

20 years agoAdd endpoint mapper parse code
Jim McDonough [Fri, 17 Oct 2003 15:07:53 +0000 (15:07 +0000)]
Add endpoint mapper parse code
(This used to be commit 5537ccf95ae8c8d737cbcf9e5575b80b6b7bac6f)

20 years agoAdd epmapper pipe
Jim McDonough [Fri, 17 Oct 2003 15:07:23 +0000 (15:07 +0000)]
Add epmapper pipe
(This used to be commit 041c17bd665ea5fa771b111d7008036fb3e7b72f)

20 years agoAdd (un)marshalling code for endpoint mapper map operation
Jim McDonough [Fri, 17 Oct 2003 15:03:46 +0000 (15:03 +0000)]
Add (un)marshalling code for endpoint mapper map operation
(This used to be commit bdd5158d9a45f4b935ea0fa495c0d83bc5ca96f8)

20 years agoAdd endpoint mapper rpc definitions
Jim McDonough [Fri, 17 Oct 2003 15:02:38 +0000 (15:02 +0000)]
Add endpoint mapper rpc definitions
(This used to be commit e604a9c0788a006663e7f939059c4120c1df3648)

20 years agoRemove DEBUG statement from wb_common.c as it should not be there.
Richard Sharpe [Thu, 16 Oct 2003 22:03:34 +0000 (22:03 +0000)]
Remove DEBUG statement from wb_common.c as it should not be there.
(This used to be commit 51f12170affd87cdff23118ed16f85dd97914f0c)

20 years agoTidyup wrap checking.
Jeremy Allison [Thu, 16 Oct 2003 20:44:41 +0000 (20:44 +0000)]
Tidyup wrap checking.
Jeremy.
(This used to be commit 707554bcce91f33d0931f9d99050aab50765f5ff)

20 years agoFix buggy data_len calculation in echo. Add paranoia debug message.
Jeremy Allison [Thu, 16 Oct 2003 18:17:41 +0000 (18:17 +0000)]
Fix buggy data_len calculation in echo. Add paranoia debug message.
Jeremy.
(This used to be commit 8fb05cfa3afd9777c161271c4c3cec0d6d5150f2)

20 years agoEnsure error code path doesn't free unmalloced memory. Bug #628.
Jeremy Allison [Thu, 16 Oct 2003 00:45:14 +0000 (00:45 +0000)]
Ensure error code path doesn't free unmalloced memory. Bug #628.
Jeremy.
(This used to be commit ef183bf00f5bad9f9c898067b48ebe052beddc82)

20 years agocreated a new target: genparse
Simo Sorce [Wed, 15 Oct 2003 17:41:25 +0000 (17:41 +0000)]
created a new target: genparse
this target will build parse file with genstruct
it is the duty of the developer to commit updated files
this is made to make build platforms independent of a working perl
installation as always been with samba

so currently you need to run:
  make genparse
and commit:
  cvs ci include/tdbsam2_parse_info.h
if you change anything in genparse/genstruct code or tdbsam2 code.

Simo.
(This used to be commit 7e2d5da2dcfad32b733c28535490e98e578bcc3a)

20 years agoupdating version in copyright
Gerald Carter [Tue, 14 Oct 2003 22:41:30 +0000 (22:41 +0000)]
updating version in copyright
(This used to be commit 63ff13b2093aed43468c0ff2a49db7f22cffe587)

20 years agoEnable us to see what sequence number we were expecting when we fail a sign
Jeremy Allison [Tue, 14 Oct 2003 17:02:09 +0000 (17:02 +0000)]
Enable us to see what sequence number we were expecting when we fail a sign
(should help track down out of sequence bugs).
Jeremy.
(This used to be commit c6a36d4e486bf1aa384adf7db37878e485476216)

20 years agofix typo
Simo Sorce [Tue, 14 Oct 2003 07:50:36 +0000 (07:50 +0000)]
fix typo
(This used to be commit 2d46b2a0e7de21158003968b630ebcd40bde7e44)

20 years agosorry folks, forgot to cvs add/remove before commit.
Simo Sorce [Tue, 14 Oct 2003 07:43:41 +0000 (07:43 +0000)]
sorry folks, forgot to cvs add/remove before commit.
(This used to be commit 0ed85e6a2dff0953dbbd5ff4723ef6941ec32850)

20 years agoDelete unused label to fix compiler warning.
Tim Potter [Tue, 14 Oct 2003 04:00:39 +0000 (04:00 +0000)]
Delete unused label to fix compiler warning.
(This used to be commit e982dd5bc4c7c0215bd4f2daf13da506c00b7cb9)

20 years agoEnclose usage of st_blksize and st_blocks struct stat members in
Tim Potter [Tue, 14 Oct 2003 04:00:08 +0000 (04:00 +0000)]
Enclose usage of st_blksize and st_blocks struct stat members in
#ifdef HAVE_STAT_ST_BLKSIZE and #ifdef HAVE_STAT_ST_BLOCKS,
respectively.

Fixes bug 550 reported by Joachim Schmitz <schmitz@hp.com>.
(This used to be commit 3d777f5389ed6b4ab8c42eb110d41f7df309bead)

20 years agoSet errno = ENOSYS if mmap not supported.
Tim Potter [Tue, 14 Oct 2003 03:39:29 +0000 (03:39 +0000)]
Set errno = ENOSYS if mmap not supported.

From Joachim Schmitz <schmitz@hp.com>
(This used to be commit a94b91ee28fccba952e557f84886ff60251100b7)

20 years agoUse @PICSUFFIX@ instead of .po in Makefile.in since we have gone to
Tim Potter [Tue, 14 Oct 2003 03:13:21 +0000 (03:13 +0000)]
Use @PICSUFFIX@ instead of .po in Makefile.in since we have gone to
the trouble of detecting what the PIC suffix should actually be.

Change PICFLAG in configure.in to PICFLAGS for consistency.

Patches from Joachim Schmitz <schmitz@hp.com> for bug 574.
(This used to be commit 0abe1964f7de184d836b167dbc581454e6ec9df8)

20 years agoIgnore autogenerated tdbsam2_parse_info.h
Tim Potter [Tue, 14 Oct 2003 02:55:13 +0000 (02:55 +0000)]
Ignore autogenerated tdbsam2_parse_info.h
(This used to be commit bb2b8906a05109d5ba8ffff6c250d90d8658d444)

20 years agoPut back the changes that Simo reverted and fix a speling mistak.
Richard Sharpe [Mon, 13 Oct 2003 23:14:46 +0000 (23:14 +0000)]
Put back the changes that Simo reverted and fix a speling mistak.
(This used to be commit 72b1f727754e2f9f54facba8615032c8118d928c)

20 years agoSo here it is a non-intrusive patch with my latest work on gums (the
Simo Sorce [Mon, 13 Oct 2003 21:26:10 +0000 (21:26 +0000)]
So here it is a non-intrusive patch with my latest work on gums (the
laternative to the current passdb).
Currently it is run through a comatibility module in the passdb layer, with
a subset of the functionality it may provide.
It is still work in progress, but as someone asked me about it, and as it
should make no difference to the normal code, I tought it was a good idea to
put it into.
It adds a dependency on perl. I know it is not very nice, but I'm sure we
will work out a solution for that.

As always blame me if I break something, but try to fix yourself, as I am
busy-busy-busy :-)

Simo.
(This used to be commit 7b3c94b5cfc1a9ceb430613353a937345f2eda74)