1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

12250 Commits

Author SHA1 Message Date
Richard Sharpe
7d517167f0 Minor comment updates ...
(This used to be commit d7a0c6da0b)
2003-11-05 19:16:56 +00:00
Tim Potter
f59bd26894 Merge of 64-bit printf warning fixes.
(This used to be commit a6cc763333)
2003-11-05 18:28:29 +00:00
Volker Lendecke
150fb8ea58 Compile tdbdump by default.
Volker
(This used to be commit 11da19dd5c)
2003-11-05 17:39:24 +00:00
Tim Potter
5033b016ca Merge from 3.0:
Revision 1.82.2.24:

	       Patch from James Henstridge to allow rpcclient adddriver
	       command to specify printer driver version.  Closes bug #514.
(This used to be commit b873832e33)
2003-11-05 17:37:08 +00:00
Tim Potter
596783105b Merge of some compiler warning fixes.
(This used to be commit 6a001dbd13)
2003-11-05 17:34:33 +00:00
Tim Potter
3c31d65d76 Merge of setenv->putenv for winbind client.
(This used to be commit a26d425f93)
2003-11-05 17:32:38 +00:00
Tim Potter
b216846e8f Merge from 3.0:
Revision 1.42.2.8:

	       Use the actual size of the buffer in strftime instead of a
	       made up value which just happens to be less than
	       sizeof(fstring).  Closes #713.
(This used to be commit 45c28f8a27)
2003-11-05 17:28:18 +00:00
Tim Potter
0467255bfe Merge from 3.0:
Revision 1.10.2.6:

	       Cast to fix warning on Solaris sendfile - check buildfarm
	       output to see if this works!  Bug #706.
(This used to be commit 06c4fc35a7)
2003-11-05 17:26:43 +00:00
Tim Potter
41847b388f Merge from 3.0:
Revision 1.16.2.6:

	       Add prototype for smbc_remove_unused_server() to fix
	       compiler warning.  Bug #706.
(This used to be commit 99f70d86fe)
2003-11-05 17:21:22 +00:00
Tim Potter
8e7a771577 Merge of uname cleanups from 3.0
(This used to be commit e7e17e6b4a)
2003-11-05 17:19:48 +00:00
Tim Potter
c4029527ef Merge from 3.0:
Revision 1.209.2.44:

		Fix crash bug in smbclient completion.  Closes bug #659.
(This used to be commit decc5d9a25)
2003-11-05 17:18:46 +00:00
Tim Potter
930245a0bc Merge from 3.0:
Revision 1.468.2.193:

	       Add ldaplibs to pdbedit link line.  Fixes bug #651.
(This used to be commit 079e00d103)
2003-11-05 17:17:35 +00:00
Richard Sharpe
018a3cc508 Apply the changes that Derrell Lipman supplied ...
(This used to be commit 600e056a33)
2003-11-05 16:58:25 +00:00
Gerald Carter
3d6f780010 make sure that we expand %H (from vl); bug 612
(This used to be commit d1cf39e2ec)
2003-11-05 04:34:44 +00:00
Gerald Carter
34bbe8d2d3 added note about stripping comments from LDIF; bug 642
(This used to be commit 41aefed932)
2003-11-05 04:17:57 +00:00
Jeremy Allison
7c92ebb502 Fix coredump in cli_get_backup_list.
Jeremy.
(This used to be commit 13d32f561b)
2003-11-05 00:17:17 +00:00
Jeremy Allison
0c94d59205 Fix for bug #771. Fix packet length for browse list reply.
Jeremy.
(This used to be commit dfea28a773)
2003-11-05 00:12:53 +00:00
Jeremy Allison
7b64564fbe Fix for bug #703, try lowercase netgroups lookups.
Jeremy.
(This used to be commit b7ce6294bb)
2003-11-04 18:24:30 +00:00
Jeremy Allison
3d7fe18881 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 0eea3f22ab)
2003-11-03 23:59:45 +00:00
Jeremy Allison
c8e7fc1fcd Fix for winbindd on HPUX from albert chin (china@thewrittenword.com)
Jeremy.
(This used to be commit c2f38eb665)
2003-11-03 21:05:50 +00:00
Gerald Carter
d789f3bcb5 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 b4d80ee747)
2003-11-03 19:23:05 +00:00
Volker Lendecke
26ec85d00f 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 f6cff956c4)
2003-11-03 18:11:46 +00:00
Tim Potter
1ae80ade5e Fix duplicate libs problem in iconv detection code.
(This used to be commit a2feac08e8)
2003-11-02 16:31:38 +00:00
Tim Potter
b5e7ec9fcc Merge of fix for bug 661 from 3.0
(This used to be commit c96d470af8)
2003-11-02 04:16:14 +00:00
Volker Lendecke
e45d0f8f46 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 b9179aed4d)
2003-11-01 17:42:44 +00:00
Gerald Carter
f943812aae set- set-assword when invoking --set-auth-user and no pw
is given (patch from Tom Dickson)
(This used to be commit aa2abd5800)
2003-10-31 20:31:25 +00:00
Jeremy Allison
73a9e080cd Patch from Aurlien Degrmont <adegremont@idealx.com>. "entry" is dependent
on "result", don't free result first.
Jeremy.
(This used to be commit 9b24715170)
2003-10-31 19:16:57 +00:00
Tim Potter
b99fb9397f 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 e32826980e)
2003-10-31 03:17:01 +00:00
Tim Potter
088820404b Whitespace syncup with 3.0
(This used to be commit 9746ef376d)
2003-10-31 03:02:31 +00:00
Tim Potter
3c8ecd3af1 Formatting syncup with 3.0
(This used to be commit 98881672f5)
2003-10-31 03:00:33 +00:00
Tim Potter
3bf7bb2bcd Fix another unused warning.
(This used to be commit 9032e6eb2b)
2003-10-31 02:58:32 +00:00
Tim Potter
b0f93e3e65 Fix spelling mistake.
(This used to be commit cbd95c5a74)
2003-10-31 02:57:02 +00:00
Tim Potter
adcd3e42b4 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 f323b932f9)
2003-10-31 02:56:11 +00:00
Tim Potter
956a16d6ef Fix some unused variable warnings.
(This used to be commit 512a81c9fd)
2003-10-31 02:53:07 +00:00
Tim Potter
a51e72a19b Merge from 3.0:
Revision 1.2.2.5:

    Remove some unused variables uncovered by the build farm.
(This used to be commit c0585399ac)
2003-10-31 01:42:21 +00:00
Tim Potter
c6ac467d39 Sync up with 3.0
(This used to be commit 3cd8acb6c3)
2003-10-31 01:35:02 +00:00
Tim Potter
483dc4feb5 Sync up some indentation.
(This used to be commit 160903f997)
2003-10-31 01:31:31 +00:00
Tim Potter
64b97d0aa9 Merge from 3.0: Sync up comments.
(This used to be commit c00bd547c8)
2003-10-31 01:18:41 +00:00
Tim Potter
b7047b3539 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 b4f3c8d2f6)
2003-10-31 01:17:37 +00:00
Jim McDonough
8270b9bd29 Add string to uuid fn. Thanks aliguori.
(This used to be commit 5f9fe8304f)
2003-10-30 23:43:18 +00:00
Jeremy Allison
29f33e8287 If nothing to do, return success. Fix from Aur?lien Degr?mont <adegremont@idealx.com>
Jeremy.
(This used to be commit a92555e606)
2003-10-30 20:09:44 +00:00
Jim McDonough
2e65aa1b28 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 001e9d0e81)
2003-10-30 18:13:25 +00:00
Jim McDonough
bff3e7feee Nearing the end of the GUID -> struct uuid changes.
(This used to be commit 0e8fcfac70)
2003-10-30 17:50:56 +00:00
Jim McDonough
4f22327e21 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 5d2bb079b6)
2003-10-30 17:37:21 +00:00
Jim McDonough
bb971b44b8 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 671b434cc4)
2003-10-30 17:17:51 +00:00
Jim McDonough
1587245a05 Another round of GUID->struct uuid.
Takes care of the lsass pipe
(This used to be commit 3dca3efa4b)
2003-10-30 17:07:32 +00:00
Jim McDonough
523444b7b6 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 1532b5d2e3)
2003-10-30 16:38:39 +00:00
Gerald Carter
11e6f4b518 bug 696; check for an invalid fid before dereferencing the fsp pointer
(This used to be commit 2cc43e760b)
2003-10-30 16:01:02 +00:00
Jeremy Allison
bc3ab60c96 Check for nsswitch.h. Patch from albert chin (china@thewrittenword.com).
Jeremy.
(This used to be commit 8d29faaa63)
2003-10-30 00:07:46 +00:00
Jeremy Allison
5a1515f453 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 58b8f67394)
2003-10-29 23:01:02 +00:00