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
Jeremy Allison
5ca824a682 Fixes to check for wraps which could cause coredumps.
Jeremy.
(This used to be commit 124a8ddae6)
2003-10-29 21:27:57 +00:00
Jeremy Allison
e893948e04 Don't log at level zero when chdir fails. Ensure correct error message is returned.
Jeremy.
(This used to be commit a7561336e7)
2003-10-28 18:32:01 +00:00
Jeremy Allison
3638769e02 Fix for bug #667. DFS filenames can now have arbitrary case.
Jeremy.
(This used to be commit cbefb5c4f9)
2003-10-28 00:51:19 +00:00
Tim Potter
0b86dcc634 Remove trailing comma on typedef enum. albert chin (china@thewrittenword.com)
(This used to be commit 65a4c2aa0a)
2003-10-27 23:42:38 +00:00
Jeremy Allison
3f3e389869 Missing UNIX -> DOS codepage conversion. Fix from Alexander Bokovoy <a.bokovoy@sam-solutions.net>.
Jeremy.
(This used to be commit f714998b44)
2003-10-27 20:09:12 +00:00
Jeremy Allison
99364f1615 Janitorial duty for tpot. Merge tdb error log fix.
Jeremy.
(This used to be commit 2186cbf28d)
2003-10-24 17:50:19 +00:00
Jim McDonough
e958f3b50e 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 e6d0211775)
2003-10-24 14:03:15 +00:00
Jim McDonough
65ae858c1b Add initshutdown pipe commands to rpcclient. Second part of fix to bug
#534
(This used to be commit 99f4fa5449)
2003-10-24 13:49:25 +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
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
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
Jim McDonough
2a09fe6cb4 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 32aa749bf1)
2003-10-23 14:33:21 +00:00
Jim McDonough
8e1dfc52b9 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 fb503bb418)
2003-10-23 13:47:21 +00:00
Volker Lendecke
49da8712d0 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 73fc6da6cf)
2003-10-23 13:46:32 +00:00
Richard Sharpe
0604336c3c 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 8e3d2708c5)
2003-10-23 06:35:45 +00:00
Jeremy Allison
2710c35e54 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 5c050a735f)
2003-10-22 23:38:18 +00:00
Jim McDonough
bca9e7d325 Be sure referent ID is updated for incoming structures, too.
(This used to be commit 00e0aba2cf)
2003-10-22 20:59:46 +00:00
Alexander Bokovoy
356e043767 Fix segfault in mount.cifs helper when there is no options specified during mount
(This used to be commit a3b6762601)
2003-10-22 15:52:36 +00:00
Volker Lendecke
2fef82e5df 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 198b01fc54)
2003-10-22 07:31:17 +00:00
Jeremy Allison
3029c5bbd8 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 8458f4c52f)
2003-10-21 23:14:39 +00:00
Jeremy Allison
db8e98175c 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 7fde193efe)
2003-10-21 21:18:58 +00:00
Jeremy Allison
af4263e46e Merge tridge's AIX fixes.
Jeremy.
(This used to be commit 96cefb4542)
2003-10-21 20:17:42 +00:00
Jim McDonough
989b57f783 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 73882e970a)
2003-10-21 17:59:08 +00:00
Jeremy Allison
630a77e50f Fix signing miss-sequence noticed by Stefan Metzmacher <metze@metzemix.de>
Jeremy.
(This used to be commit 419834edee)
2003-10-21 17:40:48 +00:00
Jim McDonough
7186340179 Fix typo
(This used to be commit 26956cdef9)
2003-10-21 16:27:46 +00:00
Gerald Carter
2e9e9ff31b call initgroups before becomming the user; patch from Fabio Cecchi
(This used to be commit e0db859a31)
2003-10-21 14:20:02 +00:00
Tim Potter
cc14d8c561 Merge of another fix from Monyo.
(This used to be commit 8d4d8aed2b)
2003-10-21 04:54:20 +00:00
Tim Potter
87a6e23fcc Merge of mmap blacklist fix from HEAD.
(This used to be commit ff29be16e7)
2003-10-21 04:46:23 +00:00
Tim Potter
8838f54497 Merge of krb5_keytab entry key vs keyblock member check from HEAD.
(This used to be commit 720f5e5629)
2003-10-21 04:45:33 +00:00
Tim Potter
043be81ec7 Merge of wrepld link fix.
(This used to be commit 9b13dae5a9)
2003-10-21 04:43:48 +00:00
Jim McDonough
6fe9423fc6 Update structures after ethereal showed some marshalling/unmarshalling
errors.
(This used to be commit 9d0f322a85)
2003-10-20 21:10:18 +00:00
Jeremy Allison
5fad0208ad Fixed typo spotted by Daniel Jarboe <daniel.jarboe@custserv.com>.
Jeremy.
(This used to be commit c68b6f64d9)
2003-10-20 21:02:05 +00:00
Jeremy Allison
72569b4f1e Merge Volker's fix.
It's a perfectly valid condition to have zero alias members.

Jeremy.
(This used to be commit aa7fb71357)
2003-10-20 19:04:06 +00:00
Jeremy Allison
9d959807ff 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 f67154fe41)
2003-10-20 19:02:04 +00:00
Jim McDonough
2cfb3e9b70 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 71dcdf54e6)
2003-10-20 18:35:12 +00:00
Jeremy Allison
f3121b19e4 Merge tridge's tdb updates.
Jeremy.
(This used to be commit f81fdcc935)
2003-10-20 18:05:22 +00:00
Gerald Carter
bfcb776abd 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 5ccf6baad7)
2003-10-20 16:50:14 +00:00
Gerald Carter
1db4a703a8 make sure we have a devmode before copying a string to the devicename; patch from metze
(This used to be commit 5479cb60c0)
2003-10-20 14:02:58 +00:00
Jelmer Vernooij
2f64342673 Compile libsmbclient with DYNEXP
(This used to be commit c8ec714119)
2003-10-19 23:30:09 +00:00
Jim McDonough
86102b0e15 Add epmapper commands to rpcclient
(This used to be commit 1d68e108a7)
2003-10-18 01:14:41 +00:00
Jim McDonough
18abf54675 Add epmapper client files to rpcclient build
(This used to be commit 747501893c)
2003-10-18 01:14:25 +00:00
Jim McDonough
2702510b46 Add client side code to do endpoint map queries. Currently does one
fixed query.  Updates to come soon.
(This used to be commit 3ca8240aff)
2003-10-18 01:13:01 +00:00
Jim McDonough
ba0c899510 Fix tower length calculations and add some const
(This used to be commit 2f84c6c9a1)
2003-10-18 01:07:37 +00:00
Jeremy Allison
b227a561f7 Typo broke win9x logins.
Jeremy.
(This used to be commit a7afbce998)
2003-10-17 21:19:17 +00:00
Jim McDonough
e6900132ca 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 e9fc15d58c)
2003-10-17 19:47:06 +00:00
Gerald Carter
1b259ab003 * fix some compile warnings in the gums code
* add server support for DsEnumerateDomainTrusts()
(This used to be commit 06bacf6e34)
2003-10-17 16:27:26 +00:00
Jim McDonough
a278f48c6a Add endpoint mapper parse code
(This used to be commit 5537ccf95a)
2003-10-17 15:07:53 +00:00
Jim McDonough
d807bc12fb Add epmapper pipe
(This used to be commit 041c17bd66)
2003-10-17 15:07:23 +00:00
Jim McDonough
a6ff6254da Add (un)marshalling code for endpoint mapper map operation
(This used to be commit bdd5158d9a)
2003-10-17 15:03:46 +00:00