sfrench/samba-autobuild/.git
14 years agor22330: For my own convenience (changes discussed some weeks ago with
Michael Adam [Wed, 18 Apr 2007 11:12:31 +0000 (11:12 +0000)]
r22330: For my own convenience (changes discussed some weeks ago with
Jerry, who basically didn't care - now I can commit them myself;-):

- Add a call to mkversion.sh to ensure sane version number even
  from a plain checkout.
- Add a "nodocs" switch to allow for calling make-tarball.sh without
  the need of having samba-docs and using-samba around.

14 years agor22327: Finish the gss-spnego part of the seal code. Now
Jeremy Allison [Wed, 18 Apr 2007 00:34:10 +0000 (00:34 +0000)]
r22327: Finish the gss-spnego part of the seal code. Now
for testing....
Jeremy.

14 years agor22321: BUG 4509: Makefile fix linking the sfu.so and rfc2307.so
Gerald Carter [Tue, 17 Apr 2007 21:32:59 +0000 (21:32 +0000)]
r22321: BUG 4509: Makefile fix linking the sfu.so and rfc2307.so
plugins in $libdir/nss_info to idmap/ad.so

14 years agor22320: Be more careful and check for the euid instead of the uid.
Lars Müller [Tue, 17 Apr 2007 18:35:10 +0000 (18:35 +0000)]
r22320: Be more careful and check for the euid instead of the uid.

Thx for the hint James!

14 years agor22318: If we're running as non root we might not be able to dump the core file
Lars Müller [Tue, 17 Apr 2007 17:17:19 +0000 (17:17 +0000)]
r22318: If we're running as non root we might not be able to dump the core file
to the corepath.

Even the chdir() will fail if the LOGFILEBASE path is set 0700.

If the currrent user doesn't have the permission to create the core file
we end with:
   unable to change to <LOGFILEBASE>
   refusing to dump core

The alternative would be to change the permissions of the directory.
But taht would not ensure core dumps are working out of the box.

14 years agor22317: add tdb_ prefix to non static function
Stefan Metzmacher [Tue, 17 Apr 2007 17:07:14 +0000 (17:07 +0000)]
r22317: add tdb_ prefix to non static function

metze

14 years agor22316: merge from samba4:
Stefan Metzmacher [Tue, 17 Apr 2007 17:03:38 +0000 (17:03 +0000)]
r22316: merge from samba4:

this function should be static

metze

14 years agor22315: move tdbback.c content into tdbbackup.c
Stefan Metzmacher [Tue, 17 Apr 2007 16:53:06 +0000 (16:53 +0000)]
r22315: move tdbback.c content into tdbbackup.c
and make the functions static.

also use libreplace headers in tdbbackup.c

metze

14 years agor22314: use libreplace headers
Stefan Metzmacher [Tue, 17 Apr 2007 16:36:24 +0000 (16:36 +0000)]
r22314: use libreplace headers

metze

14 years agor22313: as discussed with simo:
Stefan Metzmacher [Tue, 17 Apr 2007 16:06:20 +0000 (16:06 +0000)]
r22313: as discussed with simo:

remove the only usage of backup_tdb() in samba3.
As backup_tdb() will go completely soon.

metze

14 years agor22304: remove unused stuff completely to fix the build, sorry
Stefan Metzmacher [Tue, 17 Apr 2007 12:21:47 +0000 (12:21 +0000)]
r22304: remove unused stuff completely to fix the build, sorry

metze

14 years agor22302: fix the build when no shared-library support is detected
Stefan Metzmacher [Tue, 17 Apr 2007 10:07:12 +0000 (10:07 +0000)]
r22302: fix the build when no shared-library support is detected

metze

14 years agor22301: remove unused vars
Stefan Metzmacher [Tue, 17 Apr 2007 10:05:43 +0000 (10:05 +0000)]
r22301: remove unused vars

metze

14 years agor22298: move ZERO_*, ARRAY_SIZE and PTR_DIFF macros into libreplace
Stefan Metzmacher [Tue, 17 Apr 2007 08:03:29 +0000 (08:03 +0000)]
r22298: move ZERO_*, ARRAY_SIZE and PTR_DIFF macros into libreplace

metze

14 years agor22291: Fix off-by-one in tconX parsing.
Jeremy Allison [Tue, 17 Apr 2007 02:14:28 +0000 (02:14 +0000)]
r22291: Fix off-by-one in tconX parsing.
Jeremy.

14 years agor22285: Allow arbitrary bases in int and ulong parsing.
Jeremy Allison [Mon, 16 Apr 2007 22:42:45 +0000 (22:42 +0000)]
r22285: Allow arbitrary bases in int and ulong parsing.
Jeremy.

14 years agor22283: Remove very old bug where we assigned the online mode of
Gerald Carter [Mon, 16 Apr 2007 20:29:33 +0000 (20:29 +0000)]
r22283: Remove very old bug where we assigned the online mode of
the domain to queried to our own domain.

14 years agor22282: Fix last few name -> servicename changes.
Jeremy Allison [Mon, 16 Apr 2007 20:06:02 +0000 (20:06 +0000)]
r22282: Fix last few name -> servicename changes.
Jeremy.

14 years agor22280: merge from samba4:
Stefan Metzmacher [Mon, 16 Apr 2007 19:56:42 +0000 (19:56 +0000)]
r22280: merge from samba4:

add a lot more detailed strtoll() and strtoull() tests

metze

14 years agor22277: __location__ is defined in libreplace now
Stefan Metzmacher [Mon, 16 Apr 2007 19:51:30 +0000 (19:51 +0000)]
r22277: __location__ is defined in libreplace now

metze

14 years agor22276: Fix name -> servicename in messages.c
Jeremy Allison [Mon, 16 Apr 2007 19:47:41 +0000 (19:47 +0000)]
r22276: Fix name -> servicename in messages.c
Jeremy.

14 years agor22274: merge from samba4:
Stefan Metzmacher [Mon, 16 Apr 2007 19:46:06 +0000 (19:46 +0000)]
r22274: merge from samba4:

- provide __LINESTR__ macro
- add __STRINGSTRING() macro to really create a string of __LINE__
- fix __location__ macro

metze

14 years agor22271: merge from samba4:
Stefan Metzmacher [Mon, 16 Apr 2007 19:23:00 +0000 (19:23 +0000)]
r22271: merge from samba4:

provide __location__ in replace.h

and see how the build-farm likes this simpler version

metze

14 years agor22268: merge from samba4:
Stefan Metzmacher [Mon, 16 Apr 2007 19:15:57 +0000 (19:15 +0000)]
r22268: merge from samba4:

protect #define __location__ with an #ifndef

metze

14 years agor22266: Fix bug #4512 - we were returning a volume label greater than
Jeremy Allison [Mon, 16 Apr 2007 19:10:16 +0000 (19:10 +0000)]
r22266: Fix bug #4512 - we were returning a volume label greater than
32 unicode chars. Windows XP doesn't like that :-).
Jeremy

14 years agor22264: merge from samba4:
Stefan Metzmacher [Mon, 16 Apr 2007 12:43:54 +0000 (12:43 +0000)]
r22264: merge from samba4:

use AC_HAVE_DECL() because AC_CHECK_DECLS() defines to 1 or 0
and #ifndef doesn't work.

metze

14 years agor22262: fix the build on systems without GSS_C_NT_HOSTBASED_SERVICE
Stefan Metzmacher [Mon, 16 Apr 2007 12:00:08 +0000 (12:00 +0000)]
r22262: fix the build on systems without GSS_C_NT_HOSTBASED_SERVICE

metze

14 years agor22254: merge from samba4:
Stefan Metzmacher [Mon, 16 Apr 2007 09:44:00 +0000 (09:44 +0000)]
r22254: merge from samba4:

- make the strtoll tests more verbose
- add initial strtoull tests

metze

14 years agor22252: merge from samba4:
Stefan Metzmacher [Mon, 16 Apr 2007 09:20:52 +0000 (09:20 +0000)]
r22252: merge from samba4:

add prototype of setenv

metze

14 years agor22249: move tdb code to lib/tdb/ as in samba4
Stefan Metzmacher [Mon, 16 Apr 2007 08:20:13 +0000 (08:20 +0000)]
r22249: move tdb code to lib/tdb/ as in samba4

metze

14 years agor22247: merge from samba4:
Stefan Metzmacher [Mon, 16 Apr 2007 07:41:01 +0000 (07:41 +0000)]
r22247: merge from samba4:

only test strtoll once

metze

14 years agor22244: merge from samba4:
Stefan Metzmacher [Mon, 16 Apr 2007 06:30:08 +0000 (06:30 +0000)]
r22244: merge from samba4:

remove useless printf's

metze

14 years agor22240: merge from samba4:
Stefan Metzmacher [Mon, 16 Apr 2007 06:08:43 +0000 (06:08 +0000)]
r22240: merge from samba4:

use strlcpy instead of strcpy to make the IBM checker happy

metze

14 years agor22230: Let's just cast here, the 2 calls have different allocation mechanisms.
Simo Sorce [Sun, 15 Apr 2007 23:58:39 +0000 (23:58 +0000)]
r22230: Let's just cast here, the 2 calls have different allocation mechanisms.
We just let domname and name hang on the mem ctx until the call returns,
and the context will be destroyed.

Simo.

14 years agor22229: discard_const_p is in lib/replace now
Stefan Metzmacher [Sun, 15 Apr 2007 21:14:37 +0000 (21:14 +0000)]
r22229: discard_const_p is in lib/replace now

metze

14 years agor22227: merge from samba4:
Stefan Metzmacher [Sun, 15 Apr 2007 21:13:48 +0000 (21:13 +0000)]
r22227: merge from samba4:

move discard_const macros to librelace

metze

14 years agor22224: merge from samba4:
Stefan Metzmacher [Sun, 15 Apr 2007 20:57:48 +0000 (20:57 +0000)]
r22224: merge from samba4:

make comparing of struct tm more verbose and portable

metze

14 years agor22221: merge from samba4:
Stefan Metzmacher [Sun, 15 Apr 2007 20:12:09 +0000 (20:12 +0000)]
r22221: merge from samba4:

- libreplace unsetenv() and strptime() replacements

metze

14 years agor22214: Fix incompatible pointer type warnings. Simo, please check and merge to 3_0_25
Volker Lendecke [Sat, 14 Apr 2007 06:44:30 +0000 (06:44 +0000)]
r22214: Fix incompatible pointer type warnings. Simo, please check and merge to 3_0_25
if appropriate.

Volker

14 years agor22213: We can't use become_root() here, as it does DEBUG()
Volker Lendecke [Sat, 14 Apr 2007 06:40:47 +0000 (06:40 +0000)]
r22213: We can't use become_root() here, as it does DEBUG()
itself. become_root_uid_only did not :-)

Revert 21868, we need to find a better way.

Volker

14 years agor22212: Cope with signature errors on sessionsetupX logins
Jeremy Allison [Sat, 14 Apr 2007 00:53:38 +0000 (00:53 +0000)]
r22212: Cope with signature errors on sessionsetupX logins
where the server just reflects our signature back
to us. Allow the upper layer to see the real error.
Jeremy.

14 years agor22211: Don't return a value from void functions !
Jeremy Allison [Fri, 13 Apr 2007 22:56:27 +0000 (22:56 +0000)]
r22211: Don't return a value from void functions !
Jeremy.

14 years agor22210: Fix typo in testing for non-centry entries.
Jeremy Allison [Fri, 13 Apr 2007 22:42:21 +0000 (22:42 +0000)]
r22210: Fix typo in testing for non-centry entries.
Jeremy.

14 years agor22209: Fix the storage of time_t -> make it 64 bits (use the
Jeremy Allison [Fri, 13 Apr 2007 22:29:50 +0000 (22:29 +0000)]
r22209: Fix the storage of time_t -> make it 64 bits (use the
same load/store function as NTTIME). Add a version number
string to the winbindd cache so we can tell if it needs
upgrading. THIS WILL DELETE ANY EXISTING winbindd_cache.tdb
on first startup regardless of offline auth status. Once
this is done we're in good shape though.
Jeremy.

14 years agor22207: Fill in the validation functions. Now to test...
Jeremy Allison [Fri, 13 Apr 2007 01:46:47 +0000 (01:46 +0000)]
r22207: Fill in the validation functions. Now to test...
Jeremy.

14 years agor22206: Added boilerplate to be filled in for other validation functions.
Jeremy Allison [Fri, 13 Apr 2007 01:00:44 +0000 (01:00 +0000)]
r22206: Added boilerplate to be filled in for other validation functions.
Jeremy.

14 years agor22205: Add some flesh to the bones of the cache validation code.
Jeremy Allison [Fri, 13 Apr 2007 00:39:06 +0000 (00:39 +0000)]
r22205: Add some flesh to the bones of the cache validation code.
Jeremy

14 years agor22204: Workaround to quickly close bug #4508
Simo Sorce [Thu, 12 Apr 2007 21:10:06 +0000 (21:10 +0000)]
r22204: Workaround to quickly close bug #4508
This hack makes thing work, but we will need to try again to
make the getpw* calls fully async, that's the real fix.

14 years agor22202: Volker is clever :-). Use TDB_NOMMAP to prevent any wild pointer
Jeremy Allison [Thu, 12 Apr 2007 19:16:29 +0000 (19:16 +0000)]
r22202: Volker is clever :-). Use TDB_NOMMAP to prevent any wild pointer
problems when validating the winbindd cache. Wish I'd have
thought of that.
Jeremy.

14 years agor22181: Fix for EISCON in open_any_socket_out from William Jojo
Jeremy Allison [Thu, 12 Apr 2007 01:09:19 +0000 (01:09 +0000)]
r22181: Fix for EISCON in open_any_socket_out from William Jojo
for bug #3632.
Jeremy.

14 years agor22175: sync packaging changes from SAMBA_3_0_25
Gerald Carter [Wed, 11 Apr 2007 12:54:00 +0000 (12:54 +0000)]
r22175: sync packaging changes from SAMBA_3_0_25

14 years agor22173: BUG 4491, 4501: Additional fixes for protecting against
Gerald Carter [Wed, 11 Apr 2007 12:32:58 +0000 (12:32 +0000)]
r22173: BUG 4491, 4501: Additional fixes for protecting against
crashes in allocate_id().

BUG 4501: Fix segv in idmap_ad caused by resetting the
entry iterator when parsing search results.

14 years agor22172: FSCTL_RECALL_FILE is 0x90117 according to my traces. Record it here.
Alexander Bokovoy [Wed, 11 Apr 2007 12:32:07 +0000 (12:32 +0000)]
r22172: FSCTL_RECALL_FILE is 0x90117 according to my traces. Record it here.

14 years agor22164: Fix missing lock count release in transaction cancel.
Jeremy Allison [Wed, 11 Apr 2007 05:27:00 +0000 (05:27 +0000)]
r22164: Fix missing lock count release in transaction cancel.
Found by Taj Khattra <taj.khattra@gmail.com>.
Jeremy.

14 years agor22163: Pure reformatting. I hate 4 space tabstops :-).
Jeremy Allison [Wed, 11 Apr 2007 05:05:33 +0000 (05:05 +0000)]
r22163: Pure reformatting. I hate 4 space tabstops :-).
Jeremy.

14 years agor22159: BUG 4501 (second half of fix): Just disable the
Gerald Carter [Tue, 10 Apr 2007 22:59:42 +0000 (22:59 +0000)]
r22159: BUG 4501 (second half of fix): Just disable the
uid/gid allocation if no idmap alloca backend has been
defined and we are not using a 3.0.24 idmap backend
compatible configuration.

14 years agor22158: BUG 4501 (partial): Fix a crash caused by not using the
Gerald Carter [Tue, 10 Apr 2007 21:14:44 +0000 (21:14 +0000)]
r22158: BUG 4501 (partial): Fix a crash caused by not using the
nss_info_{rfc2307,sfu} plugin with idmap_ad.

14 years agor22157: Fix bug #3634 - stop nmbd segfaulting with bad interface line.
Jeremy Allison [Tue, 10 Apr 2007 20:35:30 +0000 (20:35 +0000)]
r22157: Fix bug #3634 - stop nmbd segfaulting with bad interface line.
Jeremy.

14 years agor22155: Fixed warning #4498 from jason@ncac.gwu.edu.
Jeremy Allison [Tue, 10 Apr 2007 18:21:37 +0000 (18:21 +0000)]
r22155: Fixed warning #4498 from jason@ncac.gwu.edu.
Jeremy.

14 years agor22154: Make struct smbdb_ctx an opaque pointer so users of the API
Jeremy Allison [Tue, 10 Apr 2007 18:12:25 +0000 (18:12 +0000)]
r22154: Make struct smbdb_ctx an opaque pointer so users of the API
don't need to have tdb.h.
Jeremy.

14 years agor22153: fix LDAP SASL "GSSAPI" bind against w2k3, this isn't critical
Stefan Metzmacher [Tue, 10 Apr 2007 16:04:22 +0000 (16:04 +0000)]
r22153: fix LDAP SASL "GSSAPI" bind against w2k3, this isn't critical
because we try "GSS-SPNEGO" first and all windows version support
that.

metze

14 years agor22151: remove netgr functions from libreplace they're not used
Stefan Metzmacher [Tue, 10 Apr 2007 15:59:39 +0000 (15:59 +0000)]
r22151: remove netgr functions from libreplace they're not used
in samba4 currently and samba3 has explicit configure checks for them.

should fix bug #4496

metze

14 years agor22149: BUG 4500: patch from Jorge Santos <jorge_a_santos@hotmail.com>
Gerald Carter [Tue, 10 Apr 2007 15:41:23 +0000 (15:41 +0000)]
r22149: BUG 4500: patch from Jorge Santos <jorge_a_santos@hotmail.com>
to fix compile bug ni quotas.c (typo calling unbecome_root()).

14 years agor22148: Fix gpfs module on posix-acl test. Adds gpfsacl_sys_set_fd (calls
Jim McDonough [Tue, 10 Apr 2007 15:41:22 +0000 (15:41 +0000)]
r22148: Fix gpfs module on posix-acl test.  Adds gpfsacl_sys_set_fd (calls
_file).  Thanks to Gomati Mohanan.

14 years agor22147: Next try
Volker Lendecke [Tue, 10 Apr 2007 07:36:58 +0000 (07:36 +0000)]
r22147: Next try

14 years agor22146: Attempt to fix the build
Volker Lendecke [Tue, 10 Apr 2007 07:33:14 +0000 (07:33 +0000)]
r22146: Attempt to fix the build

14 years agor22145: Fix bug #4494 - reported by Kevin Jamieson <bugzilla@kevinjamieson.com>.
Jeremy Allison [Mon, 9 Apr 2007 21:01:46 +0000 (21:01 +0000)]
r22145: Fix bug #4494 - reported by Kevin Jamieson <bugzilla@kevinjamieson.com>.
If returning a mapped UNIX error from sendfile, don't call chain_reply.
Jeremy.

14 years agor22135: Check in most of Michael Adam's net conf utility. A good share of this patch
Volker Lendecke [Mon, 9 Apr 2007 10:38:55 +0000 (10:38 +0000)]
r22135: Check in most of Michael Adam's net conf utility. A good share of this patch
is moving functions around to fix some linker dependencies for the registry.

Michael, I've renamed your auth_utils2.c to token_utils.c.

Thanks!

Volker

14 years agor22132: I hate inefficiency. Don't call conv_str_size()
Jeremy Allison [Sun, 8 Apr 2007 19:41:47 +0000 (19:41 +0000)]
r22132: I hate inefficiency. Don't call conv_str_size()
on every pread/sendfile call, initialize these
variables in an allocated struct at connection
time and just refer to them directly.
Jeremy.

14 years agor22130: - Ensure that the libsmbclient example programs link with the libsmbclient
Derrell Lipman [Sun, 8 Apr 2007 16:41:24 +0000 (16:41 +0000)]
r22130: - Ensure that the libsmbclient example programs link with the libsmbclient
  library that's part of the current tree, not with whatever happens to have
  been previously installed.

14 years agor22129: Fix the nttrans create extended response for pipes
Jeremy Allison [Sun, 8 Apr 2007 04:54:44 +0000 (04:54 +0000)]
r22129: Fix the nttrans create extended response for pipes
and files (tested with Win32 code). Bug #4404 should
now be dead :-).
Jeremy.

14 years agor22128: Fix the pipe open response with EXTENDED_RESPONSE_REQUIRED
Jeremy Allison [Sun, 8 Apr 2007 00:47:49 +0000 (00:47 +0000)]
r22128: Fix the pipe open response with EXTENDED_RESPONSE_REQUIRED
set. Only the NTTrans create left to fix for csc.
Jeremy.

14 years agor22127: Wrap the AC_TRY_RUN detection for Linux getgrouplist in an
James Peach [Sat, 7 Apr 2007 21:13:29 +0000 (21:13 +0000)]
r22127: Wrap the AC_TRY_RUN detection for Linux getgrouplist in an
AC_CACHE_CHECK, so it can be cross-compiled.

14 years agor22126: Fix a bogus uninitialized variable warning
Volker Lendecke [Sat, 7 Apr 2007 19:35:13 +0000 (19:35 +0000)]
r22126: Fix a bogus uninitialized variable warning

14 years agor22125: Fix a warning
Volker Lendecke [Sat, 7 Apr 2007 13:22:49 +0000 (13:22 +0000)]
r22125: Fix a warning

14 years agor22124: Wow - NTCreateX sets the word count to 42, but returns 50 on
Jeremy Allison [Sat, 7 Apr 2007 06:59:32 +0000 (06:59 +0000)]
r22124: Wow - NTCreateX sets the word count to 42, but returns 50 on
the wire. Strange.... But now we're returning Windows compatible
extended info. Next to fix the pipe returns and NTTrans Creates.
Jeremy.

14 years agor22123: Try and fix the csc (#4404) bug by supporting the extended
Jeremy Allison [Sat, 7 Apr 2007 06:38:45 +0000 (06:38 +0000)]
r22123: Try and fix the csc (#4404) bug by supporting the extended
response to NTCreateX - need to fix this also for
pipe open and NTTransCreate as well so this isn't
finished.
Jeremy.

14 years agor22122: Start to fix csc issue with Vista. Make smbd support
Jeremy Allison [Sat, 7 Apr 2007 05:49:24 +0000 (05:49 +0000)]
r22122: Start to fix csc issue with Vista. Make smbd support
the extended 7 word response for tconX rather than the
3 word one we supported previously.
Jeremy.

14 years agor22113: Fix core dump when configfile in same directory.
Jeremy Allison [Fri, 6 Apr 2007 22:08:44 +0000 (22:08 +0000)]
r22113: Fix core dump when configfile in same directory.
From Steven Danneman <steven.danneman@isilon.com>.
Jeremy.

14 years agor22112: Fix memleak pointed out by Steven Danneman <steven.danneman@isilon.com>.
Jeremy Allison [Fri, 6 Apr 2007 21:55:44 +0000 (21:55 +0000)]
r22112: Fix memleak pointed out by Steven Danneman <steven.danneman@isilon.com>.
Jeremy.

14 years agor22111: Allow readahead params to use size suffixes as K,M, etc.
Jeremy Allison [Fri, 6 Apr 2007 21:12:44 +0000 (21:12 +0000)]
r22111: Allow readahead params to use size suffixes as K,M, etc.
Jeremy.

14 years agor22110: don't cache the S-1-22-{1,2} domain SID/uig/gid lookups in idmap_cache
Gerald Carter [Fri, 6 Apr 2007 21:05:55 +0000 (21:05 +0000)]
r22110: don't cache the S-1-22-{1,2} domain SID/uig/gid lookups in idmap_cache

14 years agor22109: Readonly is automatically set in the generic init code, let's just log the...
Simo Sorce [Fri, 6 Apr 2007 19:55:45 +0000 (19:55 +0000)]
r22109: Readonly is automatically set in the generic init code, let's just log the fact there
and remove the specific, but redundant, code in idmap_ad.c

14 years agor22108: Fix from <don.mccall@hp.com> to try and fix the HPUX builds.
Jeremy Allison [Fri, 6 Apr 2007 19:38:35 +0000 (19:38 +0000)]
r22108: Fix from <don.mccall@hp.com> to try and fix the HPUX builds.
Jeremy.

14 years agor22107: Fix typo.
James Peach [Fri, 6 Apr 2007 19:17:15 +0000 (19:17 +0000)]
r22107: Fix typo.

14 years agor22106: Fix the module name - it's vfs_readahead not vfs_linux_readahead.
Jeremy Allison [Fri, 6 Apr 2007 19:09:53 +0000 (19:09 +0000)]
r22106: Fix the module name - it's vfs_readahead not vfs_linux_readahead.
Jeremy.

14 years agor22105: Added vfs_readahead module that appears to do wonderful things
Jeremy Allison [Fri, 6 Apr 2007 18:56:47 +0000 (18:56 +0000)]
r22105: Added vfs_readahead module that appears to do wonderful things
for copying files from Samba when using Windows Vista Windows
explorer.... :-). By default if you add this I can go on my
vmware sessions from 7MB/sec to 12MB/sec (+1 extra MB/sec if
I turn sendfile on).
Jeremy.

14 years agor22104: BUG 4439: Fix the object picket on x64 WIndopws XP/2003.
Gerald Carter [Fri, 6 Apr 2007 18:52:30 +0000 (18:52 +0000)]
r22104: BUG 4439: Fix the object picket on x64 WIndopws XP/2003.
Enable the DsRoleGetPrimaryDomainInfo() server code.
Tested by Win2000/XP/2003/Vista (x86) and WinXP (x64)

14 years agor22103: No code change. This is a spring time end of line clesnup checkin.
Lars Müller [Fri, 6 Apr 2007 16:42:37 +0000 (16:42 +0000)]
r22103: No code change.  This is a spring time end of line clesnup checkin.

14 years agor22102: Remove obsoleted SHLIBS_PROGS from {Makefile,configure}.in.
Lars Müller [Fri, 6 Apr 2007 16:27:28 +0000 (16:27 +0000)]
r22102: Remove obsoleted SHLIBS_PROGS from {Makefile,configure}.in.

As NSS_MODULES is added to the all rule the resulting set of binaries
are the same.

14 years agor22101: remove RedHat 9 packaging files after annoncement on the samba ml
Gerald Carter [Fri, 6 Apr 2007 16:23:55 +0000 (16:23 +0000)]
r22101: remove RedHat 9 packaging files after annoncement on the samba ml

14 years agor22099: Revert parts of revision 22056 as proto_exists is not required by
Lars Müller [Fri, 6 Apr 2007 15:39:34 +0000 (15:39 +0000)]
r22099: Revert parts of revision 22056 as proto_exists is not required by
@WINBIND_NSS@, bin/pam_winbind.@SHLIBEXT@, and bin/pam_smbpass.@SHLIBEXT@.

14 years agor22097: Add detection for linux readahead() syscall.
Jeremy Allison [Fri, 6 Apr 2007 01:09:19 +0000 (01:09 +0000)]
r22097: Add detection for linux readahead() syscall.
Jeremy.

14 years agor22096: become_root_uid_only() is unneeded - it's only used in
Jeremy Allison [Thu, 5 Apr 2007 23:56:10 +0000 (23:56 +0000)]
r22096: become_root_uid_only() is unneeded - it's only used in
messages.c. Refactor to use become_root() instead and
make it local to messages.c
Jeremy.

14 years agor22095: BUG 4484: Add more checks to set %a for Vista clients (based on absence of...
Gerald Carter [Thu, 5 Apr 2007 19:56:08 +0000 (19:56 +0000)]
r22095: BUG 4484: Add more checks to set %a for Vista clients (based on absence of native OS and Lanman strings in the session setup request)

14 years agor22094: Clarify that SMB_VFS_LOCK should not be used to get lock status.
James Peach [Thu, 5 Apr 2007 19:49:29 +0000 (19:49 +0000)]
r22094: Clarify that SMB_VFS_LOCK should not be used to get lock status.

14 years agor22093: send also the correct OID_KERBEROS5 not only the broken
Stefan Metzmacher [Thu, 5 Apr 2007 12:36:10 +0000 (12:36 +0000)]
r22093: send also the correct OID_KERBEROS5 not only the broken
OID_KERBEROS_OLD one.

metze

14 years agor22092: - make spnego_parse_auth_response() more generic and
Stefan Metzmacher [Thu, 5 Apr 2007 12:30:23 +0000 (12:30 +0000)]
r22092: - make spnego_parse_auth_response() more generic and
  not specific for NTLMSSP
- it's possible that the server sends a mechOID and authdata
  if negResult != SPNEGO_NEG_RESULT_INCOMPLETE, but we still
  force the mechOID to be present if negResult == SPNEGO_NEG_RESULT_INCOMPLETE

metze

14 years agor22091: Fix an uninitialized variable warning
Volker Lendecke [Thu, 5 Apr 2007 11:13:25 +0000 (11:13 +0000)]
r22091: Fix an uninitialized variable warning

14 years agor22080: Fix directory recycle module bug #4486.
Jeremy Allison [Wed, 4 Apr 2007 23:33:07 +0000 (23:33 +0000)]
r22080: Fix directory recycle module bug #4486.
Jeremy.