1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-25 06:04:04 +03:00

15048 Commits

Author SHA1 Message Date
Jeremy Allison
472df57e7b Missing UNIX -> DOS codepage conversion. Fix from Alexander Bokovoy <a.bokovoy@sam-solutions.net>.
Jeremy.
(This used to be commit 8b9b635bd2759642c25fe0cea5eefbbe5af44193)
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 084e4678c0876ebd6e756192866103ae037f3258)
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 ca3d98d08bfe2c5c8a0f1a0d17160800f85d84b7)
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 1f115c95d635377a36c0a3a1f56b4b8def04fd7e)
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 84e620e5ba65c040df1c0ebdcf39fa5648dd37d9)
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 fb69597629bad305f227b5bab62e0f170d3c164c)
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 cf9311044c372695592db1b95b814b0870b8cf29)
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 8b592740b6294555c461d7eee003e2bd5f4352a4)
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 e660b04e8f2446bb8a6590e9afcb5ab49f90a701)
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 4e86243ea1d4bbe96720caaaf02300f5e15bee5a)
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 0e10a05dff6828630bdaa9c350e19eec8621e776)
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 e569418861a867437cd5e2cce87ad82e752da3fb) 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 532fab74c12d8c55872c2bad2abead2647f919d7)
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 4ab7947e601e61cacd7ff541ee881850d9808387)
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 2d03d81f753fd819086d24a92eec5503f70246a0)
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 2d09d8c9d973f5f414d31f749db12328ff315de7)
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 46e66ee950eee035ad008c189cd2378f734af605)
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 8a75e2dfb6ee9099e7f9a970c522e71ab144d919)
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 556c62f93535c606122b22e7e843d9da9a1cd438)
2003-10-23 16:49:46 +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 32aa749bf1328e43af629ade30b3fdc11dd5e3ec)
2003-10-23 14:33:21 +00:00
Jim McDonough
c3125b6e2f 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 8ef7ac22ef1a60dca0a2d01dc6ff4ba14bc1549a)
2003-10-23 14:33:19 +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 fb503bb418fcbee20d2218650904b26b512106ed)
2003-10-23 13:47:21 +00:00
Jim McDonough
a804eee9ec 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 3cec478b82359c527065c3a8d44daae96b7ac57e)
2003-10-23 13:47:17 +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 73fc6da6cf2b52f65c3dbfb7705899e6cbea447a)
2003-10-23 13:46:32 +00:00
Volker Lendecke
e78cf62248 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 e5dbf2441c2ce7e7cb62f2538786e38bb8c8bdd9)
2003-10-23 13:45:48 +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 8e3d2708c5e5a9968aeb9a6fe6c828aa8a5b22a9)
2003-10-23 06:35:45 +00:00
Jeremy Allison
bb0598faf5 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 d7e35dfb9283d560d0ed2ab231f36ed92767dace)
2003-10-22 23:38:20 +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 5c050a735f86927c7ef2a98b6f3a56abe39e4674)
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 00e0aba2cf97e686a0b6b4d7bab50afbc5e97ac1)
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 a3b67626018ade2a823311b65202ab7f488ca0a7)
2003-10-22 15:52:36 +00:00
Alexander Bokovoy
3531647574 Fix segfault in mount.cifs helper when there is no options specified during mount
(This used to be commit fb87388a9fe959ecb01d88e2f974b077bac0a34d)
2003-10-22 15:41:08 +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 198b01fc54ce7a5beeddc680b30da291639b4eda)
2003-10-22 07:31:17 +00:00
Volker Lendecke
57c1a70451 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 1337338522242a430b3c5655ffdff3f701fbfcce)
2003-10-22 07:29:18 +00:00
Jeremy Allison
5114dee271 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 7eaae388b35cb3d20cdd968b00d65c88fcee5878)
2003-10-21 23:14:41 +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 8458f4c52f32ef192287ddb8371638f42a370c6f)
2003-10-21 23:14:39 +00:00
Jeremy Allison
f589164ed9 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 06aa434c3fdb139e3f3143d19413556945cbcd4f)
2003-10-21 21:19:00 +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 7fde193efeb856ec325d5d563f1e710c45dc65d7)
2003-10-21 21:18:58 +00:00
Jeremy Allison
af4263e46e Merge tridge's AIX fixes.
Jeremy.
(This used to be commit 96cefb4542debd8902d9bc0cd09bb01c7a41cc69)
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 73882e970a3aea1c3c9f34779b4220bbf28f6dad)
2003-10-21 17:59:08 +00:00
Jeremy Allison
3fe18a46a3 Fix signing miss-sequence noticed by Stefan Metzmacher <metze@metzemix.de>
Jeremy.
(This used to be commit 63f331564396e7a4f16dce95bb98d3b6c4b75351)
2003-10-21 17:40:58 +00:00
Jeremy Allison
630a77e50f Fix signing miss-sequence noticed by Stefan Metzmacher <metze@metzemix.de>
Jeremy.
(This used to be commit 419834edee09567c8523ad3afba674a12504282d)
2003-10-21 17:40:48 +00:00
Jim McDonough
7186340179 Fix typo
(This used to be commit 26956cdef902819f94616c33694641752f0f14e9)
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 e0db859a312207d961e3a581dfd15d9701bca16d)
2003-10-21 14:20:02 +00:00
Gerald Carter
da8048b4fa call initgroups before becomming the user; patch from Fabio Cecchi
(This used to be commit 5a8dbccd66911642fabb6b8b38fff4477b76c3a1)
2003-10-21 14:19:32 +00:00
Andrew Tridgell
7c6c6b6628 fixed a number of bugs and memory leaks in the AIX winbind shim
(This used to be commit f0a0771c02404c91cd64961f85622022a4e56b2f)
2003-10-21 12:18:08 +00:00
Tim Potter
cc14d8c561 Merge of another fix from Monyo.
(This used to be commit 8d4d8aed2baa4b81bde9b30399f946062fc14094)
2003-10-21 04:54:20 +00:00
Tim Potter
87a6e23fcc Merge of mmap blacklist fix from HEAD.
(This used to be commit ff29be16e74361b02b0b7fbd83e393d68ae5b897)
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 720f5e5629c54e851c3e9026dc88676795e44c8e)
2003-10-21 04:45:33 +00:00
Tim Potter
043be81ec7 Merge of wrepld link fix.
(This used to be commit 9b13dae5a9cec827f854d5d0eb77eb16709b39b9)
2003-10-21 04:43:48 +00:00
Tim Potter
bafcc8497d Merge of spelling fix from HEAD.
(This used to be commit 1482933089bd1e6114ad29d77ce229482f2d161b)
2003-10-21 04:38:23 +00:00