Volker Lendecke [Mon, 14 Dec 2009 16:43:56 +0000 (17:43 +0100)]
s3: Avoid a memset(, 0, ) call
Karolin Seeger [Mon, 25 Jan 2010 10:28:46 +0000 (11:28 +0100)]
WHATSNEW: Update changes since 3.5.0rc1.
Karolin
William Jojo [Thu, 21 Jan 2010 13:21:03 +0000 (14:21 +0100)]
s3: Fix bug 7052: "DFS broken on AIX (maybe others)"
(cherry picked from commit
c531d00ab4444db19ff6ba4c60ebdcc8319949c6)
Volker Lendecke [Mon, 18 May 2009 14:04:04 +0000 (16:04 +0200)]
s3:pdb_ldap: Fix large paged search.
Fix bug #6981 (Paged Search with DirX LDAP server broken).
(cherry picked from commit
0a3b576c0a4298cbe600ad8943e401e3a0639359)
Karolin Seeger [Wed, 20 Jan 2010 12:34:50 +0000 (13:34 +0100)]
s3-docs: Fix typos.
Thanks to the Debian samba package maintainers
<pkg-samba-maint@lists.alioth.debian.org> for providing the patch!
Fix bug #7017 (Typos and spelling errors in manpages).
Karolin
(cherry picked from commit
e1e6b19acff6d8ba3b70c3ab474a85de8b6f6a6c)
Kai Blin [Tue, 19 Jan 2010 13:48:12 +0000 (14:48 +0100)]
s3 net/i18n: Update .po files
(cherry picked from commit
add4edcd063591839111d474543ceea847413f6f)
Part 9/9 of a fix for bug #7039 (German translation of net is not complete).
Kai Blin [Tue, 19 Jan 2010 10:43:54 +0000 (11:43 +0100)]
s3 net: Fix compile warnings
(cherry picked from commit
66de52c4f4527ef43cfaf11c55616ec7602cce85)
Part 8/9 of a fix for bug #7039 (German translation of net is not complete).
Kai Blin [Tue, 19 Jan 2010 09:06:26 +0000 (10:06 +0100)]
s3 net/i18n: update .po files
(cherry picked from commit
6d33bb25e1aab72bb3e12a0824a758bacba32672)
Part 7/9 of a fix for bug #7039 (German translation of net is not complete).
Kai Blin [Tue, 19 Jan 2010 08:23:42 +0000 (09:23 +0100)]
s3 net/i18n: Use only one spelling for "Usage:"
(cherry picked from commit
09bc13728fc76cf784914a4066c793c297e50cff)
Part 6/9 of a fix for bug #7039 (German translation of net is not complete).
Kai Blin [Tue, 19 Jan 2010 08:36:55 +0000 (09:36 +0100)]
s3 net: Fix compile error with WITH_DNS_UPDATES
bd3c922e2bc1a163efc1d8c9cb59578bebb79616 introduced a compile-time error
when building with WITH_DNS_UPDATES.
(cherry picked from commit
28b512f904cee5a79aefd0aca2d839dbe37e5519)
Part 5/9 of a fix for bug #7039 (German translation of net is not complete).
Björn Jacke [Mon, 18 Jan 2010 22:39:19 +0000 (23:39 +0100)]
s3/net: split up some printable stings to ease i18n
If we put strings like "Usage:" into separate _() macros and not the whole
"Usage:..." string we can cover much more messages by only one single
translation. The drawback is that the message in the sources looks less pretty.
(cherry picked from commit
bd3c922e2bc1a163efc1d8c9cb59578bebb79616)
Part 4/9 of a fix for bug #7039 (German translation of net is not complete).
Björn Jacke [Mon, 18 Jan 2010 21:07:55 +0000 (22:07 +0100)]
ѕ3/i18n/de: fix typo
(cherry picked from commit
fb7a4621134b9054f33ccb48d7d8c1e4e4960b9a)
Part 3/9 of a fix for bug #7039 (German translation of net is not complete).
Björn Jacke [Mon, 18 Jan 2010 22:25:41 +0000 (23:25 +0100)]
s3/i18n/de: improve some German translations
(cherry picked from commit
c3ef7a3d96763719de1df679d50fb8a00d1f7391)
Part 2/9 of a fix for bug #7039 (German translation of net is not complete).
André Hentschel [Thu, 14 Jan 2010 18:49:18 +0000 (19:49 +0100)]
net: Add German translation, specially for the command listing
Signed-off-by: Kai Blin <kai@samba.org>
(cherry picked from commit
46842a68618b4c9faba25580e68a286b97f9337e)
Part 1/9 of a fix for bug #7039 (German translation of net is not complete).
Karolin Seeger [Tue, 19 Jan 2010 11:39:49 +0000 (12:39 +0100)]
WHATSNEW: Update release notes.
Karolin
Stefan Metzmacher [Tue, 5 Jan 2010 12:30:42 +0000 (13:30 +0100)]
s3:pdb_ldap: restore Samba 3.0.x behavior and use the first "uid" value.
See bug #6157 for more details.
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit
25806f43ddee7e2653e907eea2c6fcc075960fa1)
(cherry picked from commit
ac224452b94865db346ed68dc517f84d40e6303c)
Stefan Metzmacher [Tue, 5 Jan 2010 12:30:19 +0000 (13:30 +0100)]
s3:smbldap: add smbldap_talloc_first_attribute()
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit
c992127f8a96c37940a6d298c7c6859c47f83d9b)
(cherry picked from commit
915b7552b71904baf6a452bdc1649e76d8286a14)
Karolin Seeger [Mon, 18 Jan 2010 10:44:10 +0000 (11:44 +0100)]
s3-docs: Adapt version number in man vfs_scannedonly.
Karolin
Olivier Sessink [Mon, 18 Jan 2010 10:40:33 +0000 (11:40 +0100)]
s3-docs: Add man page for vfs_scannedonly.
Fix bug #7028.
(cherry picked from commit
3fb359aa5698e393f37765ab279b5a4ba366f965)
Volker Lendecke [Sat, 16 Jan 2010 12:31:44 +0000 (13:31 +0100)]
s3: Fix a crash in libsmbclient used against the OpenSolaris CIFS server
A user has sent me a sniff where the OpenSolaris CIFS server returns "32" in
totalentries, but the array in ctr only contains 15 entries. Look at the right
delimiter for walking the array.
Fix bug #7046 (libsmbclient crash against OpenSolaris CIFS server).
Jeremy Allison [Sat, 16 Jan 2010 01:45:21 +0000 (17:45 -0800)]
Fix bug 7045 - Bad (non memory copying) interfaces in smbc_setXXXX calls.
In smbc_free_context libsmbclient just called free() on the string options
so it assumes the callers have malloced them before setting them via smbc_set
calls.
Change to correctly malloc/free string options to the library.
Protect against SMB_STRDUP of null.
Contains
2d41b1ab78639abe4ae030ff482573f464564dd7 and
f85b6ee90b88c7f7b2a92c8a5f3e2ebe59c1087b from master.
Jeremy
Jeremy Allison [Sun, 17 Jan 2010 01:03:06 +0000 (17:03 -0800)]
Modification of fix for bug 6876 - Delete of an object whose parent folder does not have delete rights fails even if the delete right is set on the object
Suggested by Volker. Reduce the surface area of the
become_root() unbecome_root() code to reduce the chance
of errors.
Jeremy.
(cherry picked from commit
98a495f1e674b7562a3d8b5dfc958ee95d256896)
Jeremy Allison [Wed, 13 Jan 2010 00:04:44 +0000 (16:04 -0800)]
Fix bug #6876 - Delete of an object whose parent folder does not have delete rights fails even if the delete right is set on the object.
Final fix for the vfs_acl_xattr and vfs_acl_tdb code.
Ensure we can delete a file even if the underlying POSIX
permissions don't allow it, if the Windows permissions do.
Jeremy.
(cherry picked from commit
47c1d9b39f292772e8d8f7a737ddff6c8bdfdeae)
Karolin Seeger [Fri, 15 Jan 2010 14:56:38 +0000 (15:56 +0100)]
WHATSNEW: Start 3.5.0rc2 release notes.
Karolin
Karolin Seeger [Fri, 15 Jan 2010 14:30:06 +0000 (15:30 +0100)]
VERSION: Raise version number up to 3.5.0rc2.
Karolin
Günther Deschner [Thu, 14 Jan 2010 18:34:26 +0000 (19:34 +0100)]
s3-libsmbclient: Fix crash bug in SMBC_parse_path().
Patch from Tim Waugh <twaugh@redhat.com>.
This resolves https://bugzilla.redhat.com/show_bug.cgi?id=552658
LIBSMBCLIENT-OPENDIR torture test checks this as well.
Guenther
(cherry picked from commit
e635b0074c55e0376495abe940355aa7b04f0b70)
Fix bug #7043 (SIGSEGV in "SMBC_parse_path").
Michael Adam [Tue, 12 Jan 2010 11:29:14 +0000 (12:29 +0100)]
docs: fix xml tag in the pdbedit manpage
Michael
(cherry picked from commit
3b58b2ac39a91c0c9f074abf079f700c7e886841)
Signed-off-by: Michael Adam <obnox@samba.org>
Fix bug #7041.
Günther Deschner [Fri, 8 Jan 2010 09:38:46 +0000 (10:38 +0100)]
s3-docs: mention -K option in pdbedit manpage.
Guenther
(cherry picked from commit
9bdd3d6c1b1aec536d87fb2e2d4e8495b3c88ee6)
Signed-off-by: Michael Adam <obnox@samba.org>
Jeremy Allison [Thu, 14 Jan 2010 23:39:30 +0000 (15:39 -0800)]
Fix bug #7036 - net rpc getsid fails in hardened windows environments.
Fix suggested by Dave.Daugherty@Centrify.com.
(cherry picked from commit
6653cc43233381a941cdd85550f04b087fe880ff)
Giovanni Bajo [Mon, 11 Jan 2010 21:18:40 +0000 (22:18 +0100)]
s3-lanman: Allow a level2 descriptor for a level1 NetShareGetInfo
Windows seems to allow this
http://lists.samba.org/archive/samba-technical/2009-November/068116.html
has a dump of this.
(cherry picked from commit
d75d14f8de0b1fe36028e605c9453631d9cd70bc)
Fix bug #7029 (NetShareEnum: disable sanity check for better compatibility with
Windows).
Olivier Sessink [Thu, 14 Jan 2010 20:13:14 +0000 (12:13 -0800)]
Part 4 of bug #7028 - include scannedonly VFS module
Fix some issues with handling names ending in '/'.
(cherry picked from commit
3c42e11ff398d0307a480d49191aae3bf9869cd9)
Jeremy Allison [Wed, 13 Jan 2010 05:18:36 +0000 (21:18 -0800)]
Fix two uses of strncat -> strlcat. Ensure proper use of strncpy when setting socket name.
Jeremy.
(cherry picked from commit
ed457e07b9bdc0acda9dc52307d8bc2118f32f06)
Volker Lendecke [Tue, 12 Jan 2010 21:58:51 +0000 (22:58 +0100)]
s3: Lift the version of the scannedonly VFS module (cherry picked from commit
2d4dda0688d5c88fb73ae17db970afe9d0f77f6a)
Olivier Sessink [Wed, 13 Jan 2010 22:53:27 +0000 (14:53 -0800)]
Bug #7028 part1
s3: Add the "scannedonly" vfs virus scanner interface module
Jeremy Allison [Wed, 13 Jan 2010 22:36:37 +0000 (14:36 -0800)]
Fix bug #7033 - SMBrmdir call always returns true, even on failure to delete a directory.
There is a codepath missing to propagate back error returns from the rmdir
POSIX call inside close_directory when delete on close is set. This means doing
an rmdir on a Windows command line will always report success, even when the
directory was not deleted. This fix adds that codepath back into Samba.
(This fix contains both
ce8dcbe91ba0252140a0e4f84ea4bc746259ddde and
105f876eb447e6839b9b19c2d264c4a168cf0cc9 from master).
Jeremy.
Volker Lendecke [Wed, 13 Jan 2010 11:20:26 +0000 (12:20 +0100)]
s3: Fix a winbind segfault in "trusted_domains"
We have to initialize domain->backend by calling "get_cache" before doing a
query
Thanks to Christian Ambach to find this :-)
(cherry picked from commit
026b23062eeee23dffeb627800b3cb6f55d89ad6)
Fix bug #7037.
SASAJIMA Toshihiro [Wed, 13 Jan 2010 05:43:23 +0000 (21:43 -0800)]
Fix bug #7034 - vfs_cap causes signal 11 (SIGSEGV) (cherry picked from commit
ca847952054f5bbde1d40ad4260589b6fcc9721d)
Volker Lendecke [Sat, 9 Jan 2010 19:22:00 +0000 (20:22 +0100)]
s3: Fix a segfault in winbindd_dual_ccache_ntlm_auth()
ntlmssp_update allocates the reply_blob as a child of ntlmssp_state. This means
with ntlmss_end() it will be gone. winbindd_dual_ccache_ntlm_auth used the blob
after the ntlmssp_end().
(cherry picked from commit
43c841b6bd92e987109df81b6b8a2b85f21b0181)
Addresses bug #7027 (winbindd crash in winbindd_dual_ccache_ntlm_auth due to
freed memory reference.)
Jeremy Allison [Fri, 8 Jan 2010 18:17:46 +0000 (10:17 -0800)]
Re-fix bug 5202 - cannot change ACLs on writable file with "dos filemode=yes"
This bug re-occurred for 3.3.x and above.
The reason is that to change a NT ACL we now have to open the file requesting
WRITE_DAC and WRITE_OWNER access. The mapping from POSIX "w" to NT permissions
in posix_acls doesn't add these bits when "dos filemode = yes", so even though
the permission or owner change would be allowed by the POSIX ACL code, the
NTCreateX call fails with ACCESS_DENIED now we always check NT permissions
first.
Added in the mapping from "w" to WRITE_DAC and WRITE_OWNER access.
Jeremy.
(cherry picked from commit
d7713d11a6dc2d66c820d7496bc45eb5fe527fbf)
Volker Lendecke [Thu, 7 Jan 2010 10:47:09 +0000 (11:47 +0100)]
s3: Lock down some srvsvc calls according to what w2k3 seems to do
Karolin Seeger [Thu, 7 Jan 2010 10:01:17 +0000 (11:01 +0100)]
WHATSNEW: Update changes.
Karolin
Stefan Metzmacher [Wed, 6 Jan 2010 13:39:43 +0000 (14:39 +0100)]
tdb: fix standalone 'make installdocs'
metze
(cherry picked from commit
c01f443ebca5e0b6f65fe8b3ab031da51dce2e89)
Brian Lu [Thu, 17 Dec 2009 06:39:09 +0000 (14:39 +0800)]
tdb: create symbol links to shared libraries see https://bugzilla.samba.org/show_bug.cgi?id=6991 for details
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit
0a3a6bb8f910df02cb429fdeacf0ab8d683e0b89)
Brian Lu [Thu, 17 Dec 2009 06:48:59 +0000 (14:48 +0800)]
talloc: create symbol links to shared libraries see https://bugzilla.samba.org/show_bug.cgi?id=6991 for details
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit
eff6022d51f578dfc48f1d66dd8ec1e860dfd7b3)
Brian Lu [Thu, 17 Dec 2009 06:55:57 +0000 (14:55 +0800)]
tevent: create symbol links to shared libraries see https://bugzilla.samba.org/show_bug.cgi?id=6991 for details
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit
f408d58d95f5ac10849742fdcdf7e6160196e8e0)
Jelmer Vernooij [Sun, 20 Dec 2009 17:01:24 +0000 (18:01 +0100)]
tdb: Also build and install tdb manpages from standalone tdb.
(cherry picked from commit
0110990f01390c80b8db423ba7eed486883219de)
(Version changed to 3.5)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Kamen Mazdrashki [Wed, 6 Jan 2010 11:40:33 +0000 (13:40 +0200)]
s4: Fix result check for getaddrinfo()
I think this completes commit
50feca550eed7828198b7c0fc5f0e5ddc863313d.
Now result should be handled correctly both for systems that
support EAI_NODATA but returns EAI_NONAME (as my Ubuntu 9.x)
and systems that doesn't support EAI_NODATA at all.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit
a2044b9a61d9c8ca66067b286ad9bc01cf0490b9)
Karolin Seeger [Thu, 7 Jan 2010 09:24:28 +0000 (10:24 +0100)]
WHATSNEW: Update changes since 3.5.0pre2.
Karolin
Günther Deschner [Wed, 6 Jan 2010 18:34:33 +0000 (19:34 +0100)]
s4-smbtorture: add test_ChangeID to RPC-SPOOLSS.
This tests ChangeID consistency between spoolss_GetPrinterData,
spoolss_GetPrinterDataEx and spoolss_GetPrinter (level 0).
Guenther
(cherry picked from commit
3dbe8603d967d9d1b13290ec0f0556c7323a7692)
Günther Deschner [Wed, 6 Jan 2010 18:33:39 +0000 (19:33 +0100)]
s4-smbtorture: add test_SetPrinter to RPC-SPOOLSS.
Guenther
(cherry picked from commit
7568f49134c548c470e99c51e237ad3e225d6488)
Günther Deschner [Wed, 6 Jan 2010 16:51:34 +0000 (17:51 +0100)]
s4-smbtorture: refactor test_GetPrinter in RPC-SPOOLSS.
Guenther
(cherry picked from commit
0457cf915b724e3afd54ab1b5c8b96dcb5b7550a)
Günther Deschner [Wed, 16 Dec 2009 20:22:50 +0000 (21:22 +0100)]
s3-net: use generated krb5.conf in 'net ads testjoin'
Guenther
(cherry picked from commit
475d296065d57f9b38b109203b40ed0b47a2ac7e)
Günther Deschner [Wed, 23 Dec 2009 09:33:13 +0000 (10:33 +0100)]
s3-docs: mention -M option and remove nonexisting -G option in pdbedit manpage.
Guenther
(cherry picked from commit
3b40ec83705f7ea61f4d4b88438493b6c197f222)
Jeremy Allison [Wed, 6 Jan 2010 21:11:00 +0000 (13:11 -0800)]
Second part of the fix for bug #7020 - smbd using 2G memory.
There was a second leak in the processing of the out_data.frag
prs_struct. It needs freeing once the current pdu has been returned
asynchronously.
Jeremy.
(cherry picked from commit
d5995eec7e5fd487b57b8805095ffbc74796411a)
Jeremy Allison [Tue, 5 Jan 2010 22:34:00 +0000 (14:34 -0800)]
Fix bug #7020 - smbd using 2G memory.
When deferring an async pipe writeX and readX transfer
the outstanding request struct onto the conn struct. This
needs freeing after the packet is finally processed.
Jeremy.
(cherry picked from commit
f6bd654a6c878111f0f0f4d07adb644fc3bbf224)
Bo Yang [Wed, 6 Jan 2010 11:13:59 +0000 (19:13 +0800)]
s3: List trusted domains from wcache when domain is offline.
Signed-off-by: Bo Yang <boyang@samba.org>
(cherry picked from commit
d06fb8e02706559e91c6d185427409bb093bb896)
Bo Yang [Wed, 6 Jan 2010 07:05:20 +0000 (15:05 +0800)]
s3: Make winbindd_cache.c aware of domain offline to avoid unnecessary backend query.
Signed-off-by: Bo Yang <boyang@samba.org>
(cherry picked from commit
133638c8aea7280d01b5a23150428977e9ff0e11)
Bo Yang [Wed, 6 Jan 2010 04:13:35 +0000 (12:13 +0800)]
s3: Fix infinite loop in NCACN_IP_TCP asa there is no timeout. Assume lsa_pipe_tcp is ok but network is down, then send request is ok, but select() on writeable fds loops forever since there is no response.
Signed-off-by: Bo Yang <boyang@samba.org>
(cherry picked from commit
36493bf2f6634b84c57107bcb86bcbf3e82e80fc)
Kai Blin [Tue, 5 Jan 2010 08:54:04 +0000 (09:54 +0100)]
s3 net: Fix up a share type translation and translate some more strings
(cherry picked from commit
da41f23bdad1ea3a1a49110217cfde3efcde5075)
Kai Blin [Tue, 5 Jan 2010 08:43:34 +0000 (09:43 +0100)]
s3 net: Add a few missing gettext calls.
Many many thanks to Adi Roiban from #ubuntu-translators for helping me find
and fix my problems with the translations.
(cherry picked from commit
9a9d737070bfde62f2d5a35ad25606da578f9f7e)
André Hentschel [Mon, 28 Dec 2009 01:58:40 +0000 (02:58 +0100)]
net: Add some German translation
Signed-off-by: Kai Blin <kai@samba.org>
(cherry picked from commit
b0dd364cdde107577c74a91f3a65989e97a2c073)
Karolin Seeger [Mon, 4 Jan 2010 15:36:14 +0000 (16:36 +0100)]
VERSION: Raise version number up to 3.5.0rc1.
Karolin
Karolin Seeger [Mon, 4 Jan 2010 13:42:46 +0000 (14:42 +0100)]
WHATSNEW: Update changes.
Karolin
Stefan Metzmacher [Mon, 4 Jan 2010 07:42:03 +0000 (08:42 +0100)]
s3: Happy New Year 2010
metze
(cherry picked from commit
2ed51fbc4c3ff576db31c0258a91dc6347aae670)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Jim McDonough [Wed, 30 Dec 2009 20:04:55 +0000 (15:04 -0500)]
Prevent NULL dereference if group has no members
Karolin Seeger [Tue, 29 Dec 2009 10:19:36 +0000 (11:19 +0100)]
WHATSNEW: Update changes.
Karolin
Volker Lendecke [Mon, 28 Dec 2009 22:35:25 +0000 (23:35 +0100)]
s3: Check for lp_winbind_trusted_domains_only in wb_gettoken()
This avoids one walk of the domain list
Volker Lendecke [Mon, 28 Dec 2009 22:14:43 +0000 (23:14 +0100)]
s3: Move a lp_winbind_trusted_domains_only() check to wb_getgrsid()
winbindd_getgrgid was not protected by this.
Volker Lendecke [Mon, 28 Dec 2009 14:51:36 +0000 (15:51 +0100)]
s3: Pass netr_DomainTrustList instead of names and sids through (*trusted_domains)
Volker Lendecke [Mon, 28 Dec 2009 14:27:42 +0000 (15:27 +0100)]
s3: Simplify winbindd_ads.c:trusted_domains()
No real code change, this just removes an indentation by turning
if ( NT_STATUS_IS_OK(result) && trusts.count) {
into
if (!NT_STATUS_IS_OK(result)) {
return result;
}
if (trusts.count == 0) {
return NT_STATUS_OK;
}
Volker Lendecke [Mon, 28 Dec 2009 13:56:58 +0000 (14:56 +0100)]
s3: Remove some unused code
Watch the #if 0 -- we never stored this in the cache anymore
Volker Lendecke [Mon, 28 Dec 2009 12:49:01 +0000 (13:49 +0100)]
s3: Simplify winbindd_list_trusted_domains() slightly
Volker Lendecke [Mon, 28 Dec 2009 09:57:01 +0000 (10:57 +0100)]
s3: Simplify "setup_domain_child" slightly
Volker Lendecke [Sat, 26 Dec 2009 17:00:32 +0000 (18:00 +0100)]
s3:winbind Make the normal client exit message a bit more understandable
Volker Lendecke [Sat, 26 Dec 2009 14:20:22 +0000 (15:20 +0100)]
s3: Fix a typo found by Matthias Dieter Wallnöfer <mdw@samba.org> -- thanks :-)
Volker Lendecke [Thu, 24 Dec 2009 11:56:09 +0000 (12:56 +0100)]
s3: Fix a bogus uninitialized variable warning
Volker Lendecke [Thu, 24 Dec 2009 11:52:24 +0000 (12:52 +0100)]
s3: Replace IS_DOMAIN_OFFLINE by a function
Volker Lendecke [Wed, 23 Dec 2009 14:22:09 +0000 (15:22 +0100)]
s3: Fix some nonempty blank lines
Volker Lendecke [Thu, 24 Dec 2009 11:52:00 +0000 (12:52 +0100)]
s3: winbindd_cli_state->getgrent_state is no longer used
Volker Lendecke [Thu, 24 Dec 2009 11:51:09 +0000 (12:51 +0100)]
s3: getgrent_state has been replaced by grent_state
Volker Lendecke [Thu, 24 Dec 2009 12:51:50 +0000 (13:51 +0100)]
s3: Remove unused delete_negative_conn_cache()
Volker Lendecke [Thu, 24 Dec 2009 12:50:39 +0000 (13:50 +0100)]
s3: Remove unused flush_negative_conn_cache()
Volker Lendecke [Thu, 24 Dec 2009 12:47:35 +0000 (13:47 +0100)]
s3: Remove some unnecessary variables from libsmb/conn_cache.c
Volker Lendecke [Thu, 24 Dec 2009 12:46:16 +0000 (13:46 +0100)]
s3: Fix a comment in conn_cache.c
Volker Lendecke [Thu, 24 Dec 2009 12:40:24 +0000 (13:40 +0100)]
s3: Fix a 64-bit error
Volker Lendecke [Thu, 24 Dec 2009 12:36:00 +0000 (13:36 +0100)]
s3: Remove some pointless SMB_ASSERTs
Volker Lendecke [Thu, 24 Dec 2009 12:14:18 +0000 (13:14 +0100)]
s3: Remove some pointless casts
Jeremy Allison [Thu, 24 Dec 2009 01:19:22 +0000 (17:19 -0800)]
Attempt to fix one of the last two bugs with the full Windows ACL support.
When returning an underlying ACL on a directory, normally on a
POSIX system it has no inheritable entries, which breaks the
Windows ACL when a user does a get/set of a Windows ACL on a
POSIX directory with no existing stored Windows ACL from
the Windows ACL editor. What happens is any new entry added
by the user gets set inheritable, but none of the others
entries are (as returned by default). So any new files then
only inherit the single new ACE entry (the one marked inheritable
by the ACL editor).
Fix this by faking up a default 3 element inheritable ACL that
represents what a user creating a POSIX file or directory will
get by default from the smbd code.
Jeremy.
(cherry picked from commit
6dcbb84d485b8a8ccf0c3a70d9f5f7e951aaf1c6)
Jeremy Allison [Thu, 24 Dec 2009 01:17:48 +0000 (17:17 -0800)]
The posix acl version of set_nt_acl() could set the stat_ex
struct in the fsp->fsp_name pointer incorrectly for a directory.
Fix this. Make map_canon_ace_perms() public.
Jeremy.
(cherry picked from commit
3d85b1ebe5e3484250b6810f1a45c1ba5a4900f7)
Suresh Jayaraman [Wed, 23 Dec 2009 16:45:20 +0000 (11:45 -0500)]
doc: update mount.cifs man page with nounix option
Change since last post:
- fix build error due to superfluous </para> tag.
- ensure it builds fine.
Also add a section on INODE NUMBERS that discusses inode numbers more
thoroughly and add reference to it in "nounix" and "noserverino"
options.
Thanks to Jeff Layton for explaining those details.
Signed-off-by: Suresh Jayaraman <sjayaraman@suse.de>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Volker Lendecke [Wed, 23 Dec 2009 12:10:55 +0000 (13:10 +0100)]
s3: wbinfo --ping-dc is not cacheable
Volker Lendecke [Wed, 23 Dec 2009 10:48:33 +0000 (11:48 +0100)]
s3: Remove some unused code
Volker Lendecke [Wed, 23 Dec 2009 10:39:10 +0000 (11:39 +0100)]
s3: Remove unused sendto_child()
Karolin Seeger [Wed, 23 Dec 2009 09:05:52 +0000 (10:05 +0100)]
WHATSNEW: Update changes.
Karolin
Volker Lendecke [Tue, 22 Dec 2009 15:06:17 +0000 (16:06 +0100)]
s3: Restore correct timeouts for SMB requests
Volker Lendecke [Tue, 22 Dec 2009 13:07:52 +0000 (14:07 +0100)]
s3: Remove a pointless else branch
Volker Lendecke [Tue, 22 Dec 2009 12:53:13 +0000 (13:53 +0100)]
s3: Move smb_splice_chain to smbd/process.c, its only user
Jeremy Allison [Tue, 22 Dec 2009 01:46:32 +0000 (17:46 -0800)]
Fix bug reported in mangle_hash code (no bugid yet).
Don't change the contents of a const string via a pointer
alias (or if you do, change it back.....).
Jeremy.
(cherry picked from commit
100168dfec533a7afd8f2dd246f1b66b11ad7162)
Volker Lendecke [Mon, 21 Dec 2009 20:50:43 +0000 (21:50 +0100)]
s3:winbind: Add a lower-cost alternative to wbinfo -t: wbinfo --ping-dc
This just does a NULL RPC call through an existing NETLOGON connection. If
someone knows an operation that "just works" and does not return NOT_SUPPORTED,
please tell me :-)
Volker Lendecke [Mon, 21 Dec 2009 21:34:55 +0000 (22:34 +0100)]
s3:winbindd: Fix a brown paper bag bug in wbinfo -t ...