1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-23 09:57:40 +03:00

21972 Commits

Author SHA1 Message Date
Stefan Metzmacher
66b0a6cc51 r22264: merge from samba4:
use AC_HAVE_DECL() because AC_CHECK_DECLS() defines to 1 or 0
and #ifndef doesn't work.

metze
2007-10-10 12:19:23 -05:00
Stefan Metzmacher
402704b629 r22262: fix the build on systems without GSS_C_NT_HOSTBASED_SERVICE
metze
2007-10-10 12:19:22 -05:00
Stefan Metzmacher
9865d3165d r22254: merge from samba4:
- make the strtoll tests more verbose
- add initial strtoull tests

metze
2007-10-10 12:19:22 -05:00
Stefan Metzmacher
42ccfaf5e5 r22252: merge from samba4:
add prototype of setenv

metze
2007-10-10 12:19:22 -05:00
Stefan Metzmacher
c7def92a9c r22249: move tdb code to lib/tdb/ as in samba4
metze
2007-10-10 12:19:22 -05:00
Stefan Metzmacher
17088fd644 r22247: merge from samba4:
only test strtoll once

metze
2007-10-10 12:19:22 -05:00
Stefan Metzmacher
cf7c57eae5 r22244: merge from samba4:
remove useless printf's

metze
2007-10-10 12:19:22 -05:00
Stefan Metzmacher
fe4be25c30 r22240: merge from samba4:
use strlcpy instead of strcpy to make the IBM checker happy

metze
2007-10-10 12:19:22 -05:00
Simo Sorce
c38d8396c5 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.
2007-10-10 12:19:21 -05:00
Stefan Metzmacher
8dea4ebe98 r22229: discard_const_p is in lib/replace now
metze
2007-10-10 12:19:21 -05:00
Stefan Metzmacher
8f4a39127f r22227: merge from samba4:
move discard_const macros to librelace

metze
2007-10-10 12:19:21 -05:00
Stefan Metzmacher
29cbd75f22 r22224: merge from samba4:
make comparing of struct tm more verbose and portable

metze
2007-10-10 12:19:21 -05:00
Stefan Metzmacher
057c1c04d0 r22221: merge from samba4:
- libreplace unsetenv() and strptime() replacements

metze
2007-10-10 12:19:21 -05:00
Volker Lendecke
6a4f6c5177 r22214: Fix incompatible pointer type warnings. Simo, please check and merge to 3_0_25
if appropriate.

Volker
2007-10-10 12:19:20 -05:00
Volker Lendecke
629f966714 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
2007-10-10 12:19:20 -05:00
Jeremy Allison
6cf0b93b1d 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.
2007-10-10 12:19:20 -05:00
Jeremy Allison
1dd8d3a723 r22211: Don't return a value from void functions !
Jeremy.
2007-10-10 12:19:20 -05:00
Jeremy Allison
b89ecbcac6 r22210: Fix typo in testing for non-centry entries.
Jeremy.
2007-10-10 12:19:20 -05:00
Jeremy Allison
c52c7f91af 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.
2007-10-10 12:19:19 -05:00
Jeremy Allison
fc2b9e860e r22207: Fill in the validation functions. Now to test...
Jeremy.
2007-10-10 12:19:19 -05:00
Jeremy Allison
9be463eb0c r22206: Added boilerplate to be filled in for other validation functions.
Jeremy.
2007-10-10 12:19:19 -05:00
Jeremy Allison
b773ea2c8a r22205: Add some flesh to the bones of the cache validation code.
Jeremy
2007-10-10 12:19:19 -05:00
Simo Sorce
2552859b3d 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.
2007-10-10 12:19:19 -05:00
Jeremy Allison
6b0a8cbbb8 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.
2007-10-10 12:19:19 -05:00
Jeremy Allison
7979a5a350 r22181: Fix for EISCON in open_any_socket_out from William Jojo
for bug #3632.
Jeremy.
2007-10-10 12:19:19 -05:00
Gerald Carter
057db32558 r22175: sync packaging changes from SAMBA_3_0_25 2007-10-10 12:19:18 -05:00
Gerald Carter
bd6ebbfb9f 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.
2007-10-10 12:19:18 -05:00
Alexander Bokovoy
f36bc61d17 r22172: FSCTL_RECALL_FILE is 0x90117 according to my traces. Record it here. 2007-10-10 12:19:18 -05:00
Jeremy Allison
a014a6c30d r22164: Fix missing lock count release in transaction cancel.
Found by Taj Khattra <taj.khattra@gmail.com>.
Jeremy.
2007-10-10 12:19:18 -05:00
Jeremy Allison
99abe96b2b r22163: Pure reformatting. I hate 4 space tabstops :-).
Jeremy.
2007-10-10 12:19:18 -05:00
Gerald Carter
0b700456f4 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.
2007-10-10 12:19:18 -05:00
Gerald Carter
f640f056bf r22158: BUG 4501 (partial): Fix a crash caused by not using the
nss_info_{rfc2307,sfu} plugin with idmap_ad.
2007-10-10 12:19:17 -05:00
Jeremy Allison
c3e2207cb4 r22157: Fix bug #3634 - stop nmbd segfaulting with bad interface line.
Jeremy.
2007-10-10 12:19:17 -05:00
Jeremy Allison
f1b22c9527 r22155: Fixed warning #4498 from jason@ncac.gwu.edu.
Jeremy.
2007-10-10 12:19:17 -05:00
Jeremy Allison
512542c90a r22154: Make struct smbdb_ctx an opaque pointer so users of the API
don't need to have tdb.h.
Jeremy.
2007-10-10 12:19:17 -05:00
Stefan Metzmacher
34a5badbde 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
2007-10-10 12:19:17 -05:00
Stefan Metzmacher
7f61b3f009 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
2007-10-10 12:19:17 -05:00
Gerald Carter
22d550d62b r22149: BUG 4500: patch from Jorge Santos <jorge_a_santos@hotmail.com>
to fix compile bug ni quotas.c (typo calling unbecome_root()).
2007-10-10 12:19:16 -05:00
Jim McDonough
859269c949 r22148: Fix gpfs module on posix-acl test. Adds gpfsacl_sys_set_fd (calls
_file).  Thanks to Gomati Mohanan.
2007-10-10 12:19:16 -05:00
Volker Lendecke
42f4232155 r22147: Next try 2007-10-10 12:19:16 -05:00
Volker Lendecke
825255c760 r22146: Attempt to fix the build 2007-10-10 12:19:16 -05:00
Jeremy Allison
38404c990d 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.
2007-10-10 12:19:16 -05:00
Volker Lendecke
9de16f25c1 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
2007-10-10 12:19:16 -05:00
Jeremy Allison
85df3fca68 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.
2007-10-10 12:19:15 -05:00
Derrell Lipman
c65621e0b7 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.
2007-10-10 12:19:15 -05:00
Jeremy Allison
40a86a5666 r22129: Fix the nttrans create extended response for pipes
and files (tested with Win32 code). Bug #4404 should
now be dead :-).
Jeremy.
2007-10-10 12:19:15 -05:00
Jeremy Allison
7856db9fce r22128: Fix the pipe open response with EXTENDED_RESPONSE_REQUIRED
set. Only the NTTrans create left to fix for csc.
Jeremy.
2007-10-10 12:19:15 -05:00
James Peach
f9fb07d2f9 r22127: Wrap the AC_TRY_RUN detection for Linux getgrouplist in an
AC_CACHE_CHECK, so it can be cross-compiled.
2007-10-10 12:19:15 -05:00
Volker Lendecke
3be234effa r22126: Fix a bogus uninitialized variable warning 2007-10-10 12:19:15 -05:00
Volker Lendecke
1c0ceb5fe2 r22125: Fix a warning 2007-10-10 12:19:14 -05:00