]>
git.ipfire.org Git - thirdparty/samba.git/log
Stefan Metzmacher [Fri, 23 May 2008 11:59:53 +0000 (13:59 +0200)]
libwbclient: rename MAXSUBAUTHS => WBC_MAXSUBAUTHS
metze
Stefan Metzmacher [Fri, 23 May 2008 09:52:31 +0000 (11:52 +0200)]
build: add symbol versioning when we build with gnu ld
There's --enable-symbol-versioning=no to disable it.
metze
Stefan Metzmacher [Fri, 23 May 2008 10:45:37 +0000 (12:45 +0200)]
build: autogenerate exports/libwbclient.syms
metze
Stefan Metzmacher [Fri, 23 May 2008 10:04:21 +0000 (12:04 +0200)]
build: autogenerate exports/libtalloc.syms
metze
Stefan Metzmacher [Fri, 23 May 2008 09:39:23 +0000 (11:39 +0200)]
build: pass .syms extention via @SYMSEXT@ from configure
metze
Stefan Metzmacher [Thu, 22 May 2008 15:15:32 +0000 (17:15 +0200)]
build: autogenerate exports/libnetapi.syms
metze
Stefan Metzmacher [Fri, 23 May 2008 06:40:24 +0000 (08:40 +0200)]
Revert "build: add symbol versioning to libtalloc and libwbclient"
This reverts commit
ec4e8954402280c12c08cad0cb7cd9d3acb14152 .
metze
Stefan Metzmacher [Fri, 23 May 2008 06:40:09 +0000 (08:40 +0200)]
Revert "build: add symbol versioning to libtdb via script/mksyms.*"
This reverts commit
7b2f25dd78f8e67b2ac4b5cd333fb788669fd2d3 .
metze
Stefan Metzmacher [Fri, 23 May 2008 06:39:54 +0000 (08:39 +0200)]
Revert "build: fix dependencies for the generated libtdb.syms file"
This reverts commit
2e934c72d2f02abf3a1c54d1cfd9921be0f55903 .
metze
Stefan Metzmacher [Fri, 23 May 2008 06:39:22 +0000 (08:39 +0200)]
Revert "build: autogenerate exports/libnetapi.syms"
This reverts commit
92b05ed38dce0780c6fbdc7b971240fb563e5890 .
metze
Jeremy Allison [Thu, 22 May 2008 23:23:07 +0000 (16:23 -0700)]
Remove MAX_SESS_ENTRIES and MAX_CONN_ENTRIES limits
as they are no longer needed now we have IDL marshalling.
Change the calculation of the 32-bit fileid we return
to a Windows client. We can't just use the generation
count as it starts at zero for every smbd - and this
command must enumerate all files open across all smbds.
We'd really like combination of process-id + dev + inode +
generation count to be unique, but as we can't fit that
into 32 bits just use 16 bits of pid + generation count.
Jeremy.
Jeremy Allison [Thu, 22 May 2008 21:36:09 +0000 (14:36 -0700)]
Arggh. Got the path/user the wrong way around. IDL is correct :-).
Jeremy.
Jeremy Allison [Thu, 22 May 2008 21:28:13 +0000 (14:28 -0700)]
Fix 2 bugs with displaying open file state. Firstly
the IDL is documented incorrectly in the MS-DOCS.
Username and path need to be reversed (yes I will
raise this with MS). Secondly, we need to check
access_mask for the permissions, not share_access
(share_access are the deny modes).
Jeremy.
Stefan Metzmacher [Thu, 22 May 2008 15:15:32 +0000 (17:15 +0200)]
build: autogenerate exports/libnetapi.syms
metze
Stefan Metzmacher [Thu, 22 May 2008 14:29:26 +0000 (16:29 +0200)]
build: fix dependencies for the generated libtdb.syms file
metze
Stefan Metzmacher [Thu, 22 May 2008 14:27:22 +0000 (16:27 +0200)]
build: add symbol versioning to libtdb via script/mksyms.*
metze
Stefan Metzmacher [Thu, 22 May 2008 14:18:53 +0000 (16:18 +0200)]
build: add symbol versioning to libtalloc and libwbclient
metze
Stefan Metzmacher [Thu, 22 May 2008 14:14:51 +0000 (16:14 +0200)]
library-versions: use the same version for talloc and tdb as for the standalone builds
metze
Stefan Metzmacher [Thu, 22 May 2008 13:00:19 +0000 (15:00 +0200)]
libreplace: we need to use AC_TRY_LINK() to make sure HAVE_IPV6 is correctly detected
metze
(cherry picked from commit
84b5652d3e5766521436e4c7d59615b08b2bb198 )
Stefan Metzmacher [Wed, 21 May 2008 20:32:21 +0000 (22:32 +0200)]
configure: samba_cv_unixsocket was renamed into libreplace_cv_HAVE_UNIXSOCKET
metze
Stefan Metzmacher [Wed, 21 May 2008 20:31:08 +0000 (22:31 +0200)]
configure: remove HAVE_IPV6 test as LIBREPLACE_NETWORK_CHECKS already have this
metze
Stefan Metzmacher [Wed, 21 May 2008 19:27:45 +0000 (21:27 +0200)]
libreplace: add test for HAVE_IPV6
Samba can later just check libreplace_cv_HAVE_IPV6 = yes.
metze
(cherry picked from commit
e835e7eebcc064ce0813814796828f15ad112fbd )
Gerald (Jerry) Carter [Wed, 21 May 2008 17:54:43 +0000 (12:54 -0500)]
Work around iconv conversion failure from generated smb.conf.5 on Ubuntu 8.04.
Have no idea why the previous sequence of characters was causing
iconv to choke on my Ubuntu 8.04. Reword the entry some
for clarity and to advoid this failure.
(cherry picked from commit
b0b4bd2466658deacb1de3d58154bcc8d198d675 )
Jeremy Allison [Wed, 21 May 2008 19:39:08 +0000 (12:39 -0700)]
Fix bug #5479, print spool shares require max_xmit to
be adhered to.
Jeremy.
Günther Deschner [Tue, 29 Apr 2008 18:11:02 +0000 (20:11 +0200)]
netapi: fix returned name buffer in NetGetJoinInformation_r().
Guenther
(cherry picked from commit
0e8e05d556a7f84e500cca3fa858f9b4a9522a5f )
Günther Deschner [Fri, 16 May 2008 10:11:43 +0000 (12:11 +0200)]
netdomjoin-gui: before prompting for creds (for receiving joinable ous), find a dc.
Guenther
(cherry picked from commit
ae60695a349bccd1128e6c439664b0607627ef23 )
Günther Deschner [Wed, 7 May 2008 23:07:10 +0000 (01:07 +0200)]
netdomjoin-gui: before prompting for creds, ask dsgetdcname for a dc.
Guenther
(cherry picked from commit
47146effc1c2bca516d4fbccf221b5b0e02737bf )
Kai Blin [Wed, 21 May 2008 07:34:02 +0000 (09:34 +0200)]
net: Display net rpc trustdom usage from net rpc trustdom
Jeremy Allison [Tue, 20 May 2008 21:18:58 +0000 (14:18 -0700)]
Convert in_transaction to a bool. Add the same fix Volker
used for tdb_traverse() to tdb_traverse_read().
Jeremy.
Volker Lendecke [Tue, 20 May 2008 19:54:36 +0000 (21:54 +0200)]
Fix nesting tdb_traverse in a transaction
Calling tdb_traverse inside a transaction led to the transaction lock being
held indefinitely. This was caused by the tdb_transaction_lock/unlock inside
tdb_traverse: The transaction code holds the global lock at offset
TRANSACTION_LOCK. The call to tdb_transaction_lock does nothing because the
transaction_lock is already being held. tdb_transaction_unlock inside tdb_wrap
resets tdb->have_transaction_lock but does not release the kernel-level fcntl
lock. transaction_commit later on does not release that fcntl lock either,
because tdb->have_transaction_lock was already reset by tdb_transaction().
This patch does fix that problem for me. An alternative would be to make
tdb->have_transaction_lock a counter that can cope with proper nesting, maybe
in other places as well.
Volker
Jeremy Allison [Tue, 20 May 2008 19:10:01 +0000 (12:10 -0700)]
Fix bug #5477 - recvfile code was broken.
Jeremy.
Volker Lendecke [Tue, 20 May 2008 16:35:23 +0000 (18:35 +0200)]
Fix memcache_flush()
I have no idea what I've been smoking when I checked this in :-(
Karolin, this fixes the join bug 3.0.28->3.2.0rc1
Please merge!
Thanks,
Volker
Günther Deschner [Tue, 20 May 2008 15:48:39 +0000 (17:48 +0200)]
Fix typo.
Guenther
Volker Lendecke [Tue, 20 May 2008 15:29:40 +0000 (17:29 +0200)]
Fix a valgrind error in _samr_LookupNames
Günther Deschner [Tue, 20 May 2008 12:32:14 +0000 (14:32 +0200)]
Revert "Actually connect to RPC."
This reverts commit
3082534454ff936ac0b78b5a2c72c9b060e21244 .
Conflicts:
source/librpc/rpc/dcerpc.c
source/librpc/rpc/dcerpc.h
source/rpc_parse/parse_rpc.c
Günther Deschner [Tue, 20 May 2008 12:23:23 +0000 (14:23 +0200)]
Revert "Reconcile ndr_syntax_id used by pidl-generated code and Samba3's RFC_IFACE."
This reverts commit
7bea00dca1ee08ef731dfa73110ef9c190a29919 .
Günther Deschner [Tue, 20 May 2008 12:21:24 +0000 (14:21 +0200)]
Revert "rpc_parse: Use UUIDs from librpc/gen_ndr/ when possible to reduce"
This reverts commit
428654b473ba44b2f5340eefef0d4fcd51aff558 .
Günther Deschner [Tue, 20 May 2008 09:44:46 +0000 (11:44 +0200)]
Revert "Re-run make idl."
This reverts commit
fe7203090c0c51e4561a3b5ce0d5d131d280ba8e .
Günther Deschner [Tue, 20 May 2008 09:33:12 +0000 (11:33 +0200)]
Revert "Re-run make idl."
This reverts commit
0d8181dab75887231a168f910203e53ec54fa4eb .
Günther Deschner [Tue, 20 May 2008 09:32:18 +0000 (11:32 +0200)]
Revert "No need to compose CLI_SERVER_NAME_SLASH in "net rpc service" anymore."
This reverts commit
b5291d477381521cd4b71674616f8c9899007002 .
Günther Deschner [Tue, 20 May 2008 09:32:05 +0000 (11:32 +0200)]
Revert "Move svc_status_string() out of rpc_client/cli_svcctl.c"
This reverts commit
2860ae2eb2cb99b4febb352f516b3fa9fbd2abbb .
Günther Deschner [Tue, 20 May 2008 09:29:42 +0000 (11:29 +0200)]
Revert "Fix IDL for svcctl_EnumDependentServicesW()."
This reverts commit
46bfded43dcabdd2302d82920fb2a37c41e58126 .
Günther Deschner [Tue, 20 May 2008 09:28:17 +0000 (11:28 +0200)]
Revert "Re-run make idl."
This reverts commit
f67632f9b244800007bfaef9cc2ab932fda78b3c .
Conflicts:
source/librpc/gen_ndr/cli_ntsvcs.c
Günther Deschner [Tue, 20 May 2008 09:25:56 +0000 (11:25 +0200)]
Revert "Comment out some svcctl headers which are now defined in IDL."
This reverts commit
2201a8118c6abae3425dd5728af129bb8f71b564 .
Günther Deschner [Tue, 20 May 2008 09:25:30 +0000 (11:25 +0200)]
Revert "Fill in IDL for PNP_GetDeviceRegProp."
This reverts commit
b1b6e93aa1f1b6d80969b6e5dd8f723e21ae8ce8 .
Günther Deschner [Tue, 20 May 2008 09:24:58 +0000 (11:24 +0200)]
Revert "Add svcctl_MgrAccessMask and svcctl_ServiceAccessMask."
This reverts commit
eeb7c7d9d0c9f7ac171641bc8cafe20db704fdc4 .
Günther Deschner [Tue, 20 May 2008 09:23:13 +0000 (11:23 +0200)]
Revert "Use pidl for _svcctl_EnumDependentServicesW()."
This reverts commit
988291a9c07c055213f8979ebe75bb392811008d .
Günther Deschner [Tue, 20 May 2008 09:22:43 +0000 (11:22 +0200)]
Revert "Remove unused marshalling for SVCCTL_ENUM_DEPENDENT_SERVICES."
This reverts commit
5838d81346a51ef1e996bab938533ae2097f7e47 .
Günther Deschner [Tue, 20 May 2008 09:21:41 +0000 (11:21 +0200)]
Revert "Add ntsvcs_getdevregprop command to rpcclient."
This reverts commit
4abe30fdae511422dccd04d0287d962192beadcb .
Karolin Seeger [Sun, 4 May 2008 04:48:31 +0000 (06:48 +0200)]
Developer's Guide: Fix typos.
Karolin
(cherry picked from commit
e206ffb8562c821735555c9b426d76e49986fefe )
Karolin Seeger [Tue, 20 May 2008 09:03:33 +0000 (11:03 +0200)]
man pages: Add documentation for new cluster parameters.
Karolin
(cherry picked from commit
029875d8c9b2f9448f5299faaa3a48e8bccbca53 )
Günther Deschner [Tue, 29 Apr 2008 18:13:22 +0000 (20:13 +0200)]
_netr_LogonSamLogon: fix lm session key length.
Thanks Volker for pointing this out.
Guenther
(cherry picked from commit
7ccca9a004c7a4794781cbd7c703c53a0481bd51 )
Günther Deschner [Fri, 16 May 2008 11:24:15 +0000 (13:24 +0200)]
Fix Bug #5461 and implement a very basic _samr_GetDisplayEnumerationIndex().
Citrix PM cannot use a Samba DC when having more then 900 groups as citrix
insists on calling _samr_GetDisplayEnumerationIndex() after receiving the first
900 groups via _samr_QueryDisplayInfo() to get the continuation index.
Guenther
(cherry picked from commit
1c4adc8dda68eae9839bdff843aadf8c98dd9e87 )
Karolin Seeger [Tue, 20 May 2008 06:51:15 +0000 (08:51 +0200)]
WHATSNEW: Update changes since 3.2.0pre3.
Karolin
Jeremy Allison [Mon, 19 May 2008 20:11:27 +0000 (13:11 -0700)]
Restructuring of code to fix #5460. Remove search
by name code from conn, we were already doing the
same check in the dfs_redirect() function, so move
it into parse_dfs_path() instead.
Jeremy.
Karolin Seeger [Mon, 19 May 2008 09:53:47 +0000 (11:53 +0200)]
VERSION: Raise version from pre3 to rc1.
Karolin
Karolin Seeger [Mon, 19 May 2008 08:30:15 +0000 (10:30 +0200)]
WHATSNEW: Fix typo.
ctdb socket -> ctdbd socket
Karolin
Kai Blin [Sun, 18 May 2008 00:26:32 +0000 (02:26 +0200)]
configure: Fix comment to match the current iconv check.
Stefan Metzmacher [Fri, 16 May 2008 10:50:16 +0000 (12:50 +0200)]
configure: make use of LIBREPLACE_NETWORK_LIBS instead of redoing the tests
metze
Stefan Metzmacher [Fri, 16 May 2008 10:48:57 +0000 (12:48 +0200)]
configure: remove some header checks which are already done by AC_LIBREPLACE_NETWORK_CHECKS
metze
Stefan Metzmacher [Fri, 16 May 2008 10:46:10 +0000 (12:46 +0200)]
lib/replace: move sys/sockio.h and sys/un.h checks into AC_LIBREPLACE_NETWORK_CHECKS
metze
(cherry picked from commit
7f26a5425e706a97cc07c5139b3fea4fde9e4020 )
Stefan Metzmacher [Fri, 16 May 2008 10:33:11 +0000 (12:33 +0200)]
configure: remove unused configure checks for HAVE_SOCK_SIN_LEN and HAVE_UNIXSOCKET and rely on libreplace
metze
Stefan Metzmacher [Fri, 16 May 2008 10:29:21 +0000 (12:29 +0200)]
lib/replace: add checks for HAVE_SOCK_SIN_LEN and HAVE_UNIXSOCKET
Moved from the samba specific locations
metze
(cherry picked from commit
e674128ee2f11596f358ed46104c9d25eb2f754f )
Stefan Metzmacher [Fri, 16 May 2008 10:16:05 +0000 (12:16 +0200)]
configure: remove unused configure check for HAVE_WORKING_AF_LOCAL
metze
Karolin Seeger [Fri, 16 May 2008 12:06:55 +0000 (14:06 +0200)]
WHATSNEW: Add 'smb encrypt' to the list of new parameters.
Karolin
Stefan Metzmacher [Thu, 8 May 2008 09:01:09 +0000 (11:01 +0200)]
libreplace: try to fix the build on HP-UX which has if_nametoindex() in -lipv6
metze
(cherry picked from commit
da2179ee5d5b6094ab63a9d9d6a8d59893937087 )
Stefan Metzmacher [Thu, 8 May 2008 08:39:41 +0000 (10:39 +0200)]
libreplace: make sure system/network.h is only used when AC_LIBREPLACE_NETWORK_CHECKS was used
metze
(cherry picked from commit
3fddd36e119f73a5021370450f9687ef9d252bab )
Stefan Metzmacher [Thu, 8 May 2008 08:32:19 +0000 (10:32 +0200)]
libreplace: export LIBREPLACE_NETWORK_OBJS and LIBREPLACE_NETWORK_LIBS vars
metze
(cherry picked from commit
aa7ef1af746319a3d771decd0ec03dabe8b8ad28 )
Stefan Metzmacher [Thu, 8 May 2008 08:27:23 +0000 (10:27 +0200)]
libreplace: include inet_ntoa.o when the system one is broken
metze
(cherry picked from commit
67845d3471711d24069636d0d4032f9d53748334 )
Stefan Metzmacher [Thu, 8 May 2008 08:08:42 +0000 (10:08 +0200)]
libreplace: merge getifaddrs.m4 into libreplace_network.m4
metze
(cherry picked from commit
0234d397fefee8e1d0dcd3402f748c2251021c90 )
Stefan Metzmacher [Thu, 8 May 2008 08:06:39 +0000 (10:06 +0200)]
libreplace: merge getaddrinfo.m4 into libreplace_network.m4
metze
(cherry picked from commit
64591d064dc3da6074f0f7539911a6e433d9cc43 )
Stefan Metzmacher [Thu, 8 May 2008 08:04:51 +0000 (10:04 +0200)]
libreplace: merge socketpair.m4 into libreplace_network.m4
metze
(cherry picked from commit
f9f8f93adcc7161ebb18f5a0bf28c73d951a15ad )
Stefan Metzmacher [Thu, 8 May 2008 08:02:21 +0000 (10:02 +0200)]
libreplace: merge inet_pton.m4 into libreplace_network.m4
metze
(cherry picked from commit
3a70274c908e31453942b442351eab8423c1a53d )
Stefan Metzmacher [Thu, 8 May 2008 08:00:58 +0000 (10:00 +0200)]
libreplace: merge inet_ntop.m4 into libreplace_network.m4
metze
(cherry picked from commit
223ef6c08efb52251d0a772bb0c481b2803cf0ce )
Stefan Metzmacher [Thu, 8 May 2008 07:59:16 +0000 (09:59 +0200)]
libreplace: merge inet_aton.m4 into libreplace_network.m4
metze
(cherry picked from commit
fba00736c870f449c0eee32fe0d7b0d539dca51f )
Stefan Metzmacher [Thu, 8 May 2008 07:58:07 +0000 (09:58 +0200)]
libreplace: merge inet_ntoa.m4 into libreplace_network.m4
metze
(cherry picked from commit
82e826253b6d18832931dbb5c1dda009889bf9e0 )
Stefan Metzmacher [Thu, 8 May 2008 07:56:10 +0000 (09:56 +0200)]
libreplace: merge socket.m4 into libreplace_network.m4
metze
(cherry picked from commit
c70eba87dbbac6c2c1e68c343cdd410577c1686f )
Jelmer Vernooij [Thu, 8 May 2008 11:43:45 +0000 (13:43 +0200)]
William Jojo [Thu, 8 May 2008 10:41:57 +0000 (12:41 +0200)]
Add undefined symbol flag for AIX.
(cherry picked from commit
dabdf24e86f038e3afc67532fa5bf60a37992161 )
Stefan Metzmacher [Wed, 7 May 2008 15:38:41 +0000 (17:38 +0200)]
libreplace: also use AC_LIBREPLACE_NETWORK_CHECKS for the standalone build
metze
(cherry picked from commit
04f4523ed032946b8f0e74ac6f7458010159e3bb )
Stefan Metzmacher [Wed, 7 May 2008 15:20:38 +0000 (17:20 +0200)]
libreplace: use AC_LIBREPLACE_NETWORK_CHECKS only for samba
metze
Stefan Metzmacher [Wed, 7 May 2008 15:15:36 +0000 (17:15 +0200)]
libreplace: use AC_LIBREPLACE_NETWORK_CHECKS only for samba
metze
(cherry picked from commit
3451b54bf7f5e37a589ec261d28c2a8b6f9788ed )
Stefan Metzmacher [Wed, 7 May 2008 14:50:19 +0000 (16:50 +0200)]
libreplace: split out network checks into a AC_LIBREPLACE_NETWORK_CHECKS macro
Note: moving it out of AC_LIBREPLACE_BROKEN_CHECKS will be the next step
metze
(cherry picked from commit
55a904b1d7aeca849d450e371b18afca5b0c6218 )
Stefan Metzmacher [Wed, 7 May 2008 11:10:31 +0000 (13:10 +0200)]
libreplace: always provide utime() and utimes()
I'd like to also provide futimes(), but it seems
that some systems doesn't support a it at kernel level.
If someone knows how to write a portable replacement
for futimes() please tell me...
metze
(cherry picked from commit
a9604fe4a323dccb537cf02ea7594437b4995803 )
Stefan Metzmacher [Tue, 6 May 2008 10:38:55 +0000 (12:38 +0200)]
libreplace: check how portable utimes() and futimes() are
metze
(cherry picked from commit
8798ce3c744025b94973784dcb44d099427ef190 )
Karolin Seeger [Fri, 16 May 2008 07:29:42 +0000 (09:29 +0200)]
WHATSNEW: Fix typo.
mangle map -> mangled map
Karolin
Karolin Seeger [Fri, 16 May 2008 07:27:20 +0000 (09:27 +0200)]
man pages: Remove man page for 'mangled map'.
'mangled map' has been removed with
dee8beba7a92b8a3f68bbcc59fd0a827f68c7736 .
Karolin
Karolin Seeger [Thu, 15 May 2008 08:38:33 +0000 (10:38 +0200)]
WHATSNEW: Remove trailing whitespace.
Karolin
Karolin Seeger [Thu, 15 May 2008 08:36:26 +0000 (10:36 +0200)]
WHATSNEW: Update changes since 3.2.0pre3.
Karolin
Günther Deschner [Wed, 14 May 2008 21:50:25 +0000 (23:50 +0200)]
Fix Bug #5465 (joining with createcomputer=ou1/ou2/ou3).
Guenther
(cherry picked from commit
f3251ba03a69c2fd0335861177159a32b2bc9477 )
Jeremy Allison [Wed, 14 May 2008 21:11:26 +0000 (14:11 -0700)]
Fix bug #5464. Pointed out by Herb @ Connectathon. In fork_domain_child() we call :
CatchChild();
*before* we fork the domain child. This call establishes a signal handler that
eats SIGCLD signals and doesn't call sys_select_signal() as the main daemon
SIGCLD handler should do. This causes the parent to ignore dead children and
time out, instead of calling winbind_child_died() on receipt of the signal. The
correct fix is to move the CatchChild call into the child code after the fork.
Jeremy.
Jeremy Allison [Wed, 14 May 2008 21:09:02 +0000 (14:09 -0700)]
Ensure we don't keep searching for sharename if it's
not the start of the list.
Jeremy.
Kai Blin [Mon, 12 May 2008 12:39:03 +0000 (14:39 +0200)]
configure: Kill linker warnings about 32bit libs on 64bit Linux.
Karolin Seeger [Wed, 14 May 2008 12:34:14 +0000 (14:34 +0200)]
WHATSNEW: Update changes since 3.2.0pre3.
Karolin
Jim McDonough [Tue, 13 May 2008 20:57:01 +0000 (16:57 -0400)]
Enable winbind child processes to do something with signals,
in particular closing and reopening logs on SIGHUP.
Conflicts:
source/winbindd/winbindd.c
Jeremy Allison [Tue, 13 May 2008 22:25:14 +0000 (15:25 -0700)]
Fix debug message.
Jeremy.
Jeremy Allison [Tue, 13 May 2008 22:02:53 +0000 (15:02 -0700)]
Second part of patch for bug #5460. Cope with pathnames
that don't look like \xxx\yyy, cope with arbitrary length.
Jeremy.
Jeremy Allison [Tue, 13 May 2008 21:03:21 +0000 (14:03 -0700)]
Fix bug #5460. The problem is RHEL5.0 shipped a CIFS client
that sets the DFS bit on pathnames but doesn't
send DFS paths. This causes lookups to fail as
the smbd/msdfs.c code now just eats the first
two parts of the pathname and uses the rest as
the local path. The previous hostname check
used to protect us from that as we knew that
when the hostname was invalid it was a local
path (and a broken client).
I didn't want to put that check back in, but
came up with another idea - even though the
hostname can be a different one, the sharename
must be valid on this machine. So we can check
for a valid sharename instead.
Jeremy.
Volker Lendecke [Tue, 13 May 2008 14:23:19 +0000 (16:23 +0200)]
Fix signing problem in the client with transs requests
This is a different fix than Jeremy put into 3-0-test with
040db1ce85 and other
branches with different hashes. Jeremy, I think your fix led to bug 5436, so I
reverted your fix. This fixes the original problem I found with the transs
requests for large rpc queries in a different way. Please check!
Thanks,
Volker
Volker Lendecke [Tue, 13 May 2008 14:56:06 +0000 (16:56 +0200)]
Revert "Fix signing bug found by Volker. That one was *subtle*."
This reverts commit
816aea6c1a426eb2450061b847729e22bdac33a0 .