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

15079 Commits

Author SHA1 Message Date
Tim Potter
cedc634118 Fix typo in debug statement.
(This used to be commit 66e5043553)
2003-11-04 19:53:37 +00:00
Tim Potter
f95e40197f Generate 64-bit clean printf's for build options.
(This used to be commit 1814c29b7d)
2003-11-04 19:47:40 +00:00
Jeremy Allison
b3b7cf12a0 Fix for bug #703, try lowercase netgroups lookups.
Jeremy.
(This used to be commit 8b06385e00)
2003-11-04 18:24:33 +00:00
Tim Potter
e4f1a321a4 Fix missing bracket in quota quote - my fault.
(This used to be commit fc30b6b547)
2003-11-04 14:59:27 +00:00
Tim Potter
82f8a8aabd Use a static string instead of malloced one in winbind_{off,on}() utility
functions.
(This used to be commit 7710232ba2)
2003-11-04 05:49:23 +00:00
Jeremy Allison
181df301cd Fix for winbindd on HPUX from albert chin (china@thewrittenword.com)
Jeremy.
(This used to be commit 119a89246b)
2003-11-03 21:05:47 +00:00
Gerald Carter
7c55d23cbf 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 e92583cecd)
2003-11-03 19:22:32 +00:00
Volker Lendecke
a64c70d74a 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 c4f36a250a)
2003-11-03 18:11:00 +00:00
Tim Potter
fbb8f131c2 Fix more 64-bit printf warnings.
(This used to be commit 23443e3aa0)
2003-11-03 14:34:25 +00:00
Tim Potter
490dbaec81 Fix some uninitialised variable warnings.
(This used to be commit 68945027b5)
2003-11-03 14:21:10 +00:00
Tim Potter
c8e84154af Printf fixes for 64-bit size_t.
(This used to be commit 8e2c543ebf)
2003-11-02 17:10:12 +00:00
Tim Potter
db2a7d0a7f Tidy up calls to uname so as not to produce output on stderr if
the command line argument being called isn't valid.
(This used to be commit d43922eade)
2003-11-02 16:54:21 +00:00
Tim Potter
1f05df2b36 Use putenv() instead of setenv() in the winbind_{off,on}() functions. Some
platforms don't have setenv().
(This used to be commit a8b487c4cb)
2003-11-02 16:22:28 +00:00
Tim Potter
31e6157dfd Add prototype for smbc_remove_unused_server() to fix compiler warning.
Bug #706.
(This used to be commit eaf69b1ae7)
2003-11-02 14:15:36 +00:00
Tim Potter
0dd2e07ea5 Cast to fix warning on Solaris sendfile - check buildfarm output
to see if this works!  Bug #706.
(This used to be commit 67ab91825d)
2003-11-02 13:59:37 +00:00
Tim Potter
17131bb446 Whoops - missed a place where HAVE_STAT_ST_{BLOCKS,BLOCKSIZE} guards
should be present.
(This used to be commit 08aa3f712c)
2003-11-02 04:14:25 +00:00
Tim Potter
14c05904b8 Re-order link command for smbd, rpcclient and smbpasswd to ensure $LDFLAGS
occurs before any library specification.  Closes bug #661.
(This used to be commit 7af7fa9be2)
2003-11-02 04:05:47 +00:00
Volker Lendecke
13fe54264e 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 a0e741aa68)
2003-11-01 17:41:16 +00:00
Gerald Carter
94713905d1 prompt for password when invoking --set-auth-user and no pw
is given (patch from Tom Dickson)
(This used to be commit ca18ec0f90)
2003-10-31 20:29:18 +00:00
Jeremy Allison
732fecd3a0 Patch from Aurlien Degrmont <adegremont@idealx.com>. "entry" is dependent
on "result", don't free result first.
Jeremy.
(This used to be commit c61a230c5a)
2003-10-31 19:16:59 +00:00
Tim Potter
ff700f3303 Sync up formatting of the va list stuff - the HEAD version was nicer.
(This used to be commit 6917391fbb)
2003-10-31 01:30:02 +00:00
Jeremy Allison
f23c2ff0a0 If nothing to do, return success. Fix from Aur?lien Degr?mont <adegremont@idealx.com>
Jeremy.
(This used to be commit aa668a0206)
2003-10-30 20:09:13 +00:00
Gerald Carter
057c031d06 bug 696; check for an invalid fid before dereferencing the fsp pointer
(This used to be commit f5229d5d62)
2003-10-30 15:57:52 +00:00
Jeremy Allison
b7d72a3ce9 Check for nsswitch.h. Patch from albert chin (china@thewrittenword.com).
Jeremy.
(This used to be commit ce1024cc10)
2003-10-30 00:07:48 +00:00
Jeremy Allison
231124ced9 Fixes to check for wraps which could cause coredumps.
Jeremy.
(This used to be commit ad06edd1bb)
2003-10-29 21:28:00 +00:00
Tim Potter
fdb2f57f62 Compile fix for tdbbackup when Samba needs to override non-C99
compliant implementations of snprintf.
(This used to be commit a38ab77b70)
2003-10-29 06:17:33 +00:00
Andrew Tridgell
059181a169 parameterise the listen backlog in smbd and make it larger by default. A backlog of 5 is way too small these days.
(This used to be commit bbb92d2b0e)
2003-10-29 04:58:48 +00:00
Jeremy Allison
2e46c7648b Don't log at level zero when chdir fails. Ensure correct error message is returned.
Jeremy.
(This used to be commit 26bfe37a10)
2003-10-28 18:32:03 +00:00
Alexander Bokovoy
80ebb3782a Update WHATSNEW.txt with proper version from release branch
(This used to be commit 4534ba5a9f)
2003-10-28 11:04:08 +00:00
Jeremy Allison
0ce2c6ecb8 Fix for bug #667. DFS filenames can now have arbitrary case.
Jeremy.
(This used to be commit 74148111e1)
2003-10-28 00:51:21 +00:00
Tim Potter
4ebe9f9167 Remove trailing comma on typedef enum. albert chin (china@thewrittenword.com)
(This used to be commit 67dd1c4366)
2003-10-27 23:43:15 +00:00
Jeremy Allison
472df57e7b Missing UNIX -> DOS codepage conversion. Fix from Alexander Bokovoy <a.bokovoy@sam-solutions.net>.
Jeremy.
(This used to be commit 8b9b635bd2)
2003-10-27 20:09:15 +00:00
Richard Sharpe
55f8ca432b Remove some unused variables uncovered by the build farm.
(This used to be commit 084e4678c0)
2003-10-27 06:51:39 +00:00
Richard Sharpe
15b14fc857 Put in a work-around for ENOTSUP not being defined on OpenBSD.
(This used to be commit ca3d98d08b)
2003-10-25 04:13:32 +00:00
Richard Sharpe
966a448f93 Apply these patches as well ... not sure if they all build. They don't on
FreeBSD 4.3. They might on Linux.
(This used to be commit 1f115c95d6)
2003-10-24 20:24:05 +00:00
Richard Sharpe
b0ead3a03d Apply latest of Derrell Lippman's changes to libsmbclient.
(This used to be commit 84e620e5ba)
2003-10-24 18:58:41 +00:00
Richard Sharpe
f3ea6329ba Fix one other place VA_COPY is defined ... should fix NetBSD build.
(This used to be commit fb69597629)
2003-10-24 17:58:30 +00:00
Richard Sharpe
2f84a990bc 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 cf9311044c)
2003-10-24 17:01:19 +00:00
Richard Sharpe
d0833280da Some spelling mistakes in aclocal.m4 and the va_copy fixups in configure.in
and lib/snprintf. Check for va_copy first, and then look for __va_copy.
(This used to be commit 8b592740b6)
2003-10-24 16:08:03 +00:00
Jim McDonough
debbecb23c 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 e660b04e8f)
2003-10-24 14:03:18 +00:00
Jim McDonough
3d8e3f314b Add initshutdown pipe commands to rpcclient. Second part of fix to bug
#534
(This used to be commit 4e86243ea1)
2003-10-24 13:49:29 +00:00
Jim McDonough
d2523233ea 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 0e10a05dff)
2003-10-24 13:38:16 +00:00
cvs2svn Import User
6440c4b34d This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit e569418861) 2003-10-24 13:38:14 +00:00
Jim McDonough
6258550534 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 532fab74c1)
2003-10-24 13:38:13 +00:00
Richard Sharpe
261c0028dc 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 4ab7947e60)
2003-10-24 05:47:39 +00:00
Tim Potter
11bbf14d58 Add some debugs in the error paths for tdb_brlock() to help track down
a locking problem on HPUX.
(This used to be commit 2d03d81f75)
2003-10-24 05:44:19 +00:00
Jeremy Allison
7967eeb659 Andrew Bartlett patch to cope with Exchange 5.5 cleartext pop password auth.
Jeremy.
(This used to be commit 2d09d8c9d9)
2003-10-24 01:19:23 +00:00
Jeremy Allison
ab8f9387b7 Andrew Bartlett patch to cope with Exchange 5.5 cleartext pop password auth.
Jeremy.
(This used to be commit 46e66ee950)
2003-10-24 01:18:56 +00:00
Volker Lendecke
a36be30e08 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 8a75e2dfb6)
2003-10-23 16:51:08 +00:00
Volker Lendecke
4f62277d89 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 556c62f935)
2003-10-23 16:49:46 +00:00