Stefan Metzmacher [Mon, 25 Apr 2011 15:35:44 +0000 (17:35 +0200)]
WHATSNEW: %i and %I no langer contain IPv4 mapped IPv6 addresses
metze
Karolin Seeger [Tue, 26 Apr 2011 17:58:48 +0000 (19:58 +0200)]
WHATSNEW: Update changes since pre2.
Karolin
Günther Deschner [Tue, 26 Apr 2011 12:58:01 +0000 (14:58 +0200)]
s3-utils: Fix Bug #8106. Fix the build of smbget on HP NonStop.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Apr 26 16:41:17 CEST 2011 on sn-devel-104
(cherry picked from commit
633dbabe912f43fd4199453720fab299ccfefe03)
Günther Deschner [Thu, 21 Apr 2011 22:49:54 +0000 (00:49 +0200)]
s3-waf: try to fix the build on sunos5.
Guenther
(cherry picked from commit
0e003515703469e9f66f5119d401366697cdb767)
Günther Deschner [Thu, 21 Apr 2011 22:49:28 +0000 (00:49 +0200)]
s3-waf: fix typo in comment.
Guenther
(cherry picked from commit
a505806aa088470c74ad3fbffac223d5400481fc)
Volker Lendecke [Tue, 26 Apr 2011 10:40:07 +0000 (12:40 +0200)]
s3: Fix a typo
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Apr 26 13:31:08 CEST 2011 on sn-devel-104
(cherry picked from commit
77ea148f7fca0b3d19fa5d4ec99010bba55c618d)
Volker Lendecke [Mon, 25 Apr 2011 18:05:31 +0000 (20:05 +0200)]
s3: Allow unlimited parallelism in pthreadpool
(cherry picked from commit
dbc36befb5459cd59ffe2527261886ec962ea941)
Volker Lendecke [Mon, 25 Apr 2011 16:29:59 +0000 (18:29 +0200)]
s3: Remove unused code
This is done in name_query_send these days
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Apr 25 19:24:58 CEST 2011 on sn-devel-104
(cherry picked from commit
80c395aef44785497387d8c41eb767efa435bf3e)
Volker Lendecke [Mon, 25 Apr 2011 15:37:08 +0000 (17:37 +0200)]
s3: Move setting the name_query timeout
An async caller might want a different timeout behaviour
(cherry picked from commit
a3d35ac44b53b8a79eac5c927ff771c1c6ceec12)
Jeremy Allison [Mon, 25 Apr 2011 19:45:49 +0000 (12:45 -0700)]
No longer need to call SMB_VFS_LSTAT - check name hasn't changed above is sufficient.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Mon Apr 25 23:35:37 CEST 2011 on sn-devel-104
(cherry picked from commit
d00f1febd50b4779e8c5588055ee1f601448550c)
Jeremy Allison [Fri, 22 Apr 2011 05:29:06 +0000 (22:29 -0700)]
Correctly detect and deny symlinks anywhere in a path (not just the last component) if "follow symlinks = no".
(cherry picked from commit
eeb24c17739dd0bccf561b142841a7d2e560cdd0)
Jeremy Allison [Mon, 25 Apr 2011 20:12:23 +0000 (13:12 -0700)]
s3-selftest Rename s3 DC environment to s3dc
This should avoid a clash with the s4 DC environment in a future
combined 'make test'.
Andrew Bartlett [Mon, 18 Apr 2011 03:44:36 +0000 (13:44 +1000)]
selftest: put the target on the environment
This will allow us to have a 'switch' target type that creates
environments from Samba3 or Samba4 as required.
Andrew Bartlett
(cherry picked from commit
d041ed233d1b10604ef1b9f7f1e68f6f5cd96132)
Volker Lendecke [Sun, 24 Apr 2011 08:36:56 +0000 (10:36 +0200)]
s3: Run pthreadpooltest in make test
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Apr 25 10:39:12 CEST 2011 on sn-devel-104
(cherry picked from commit
422b2fa0d064f2afeeec400223bb8a47deecc4a5)
Volker Lendecke [Sat, 23 Apr 2011 14:49:04 +0000 (16:49 +0200)]
s3: Add pthreadpooltest to main build
(cherry picked from commit
39375de8354b676904e1fea097a68178acd987e4)
Volker Lendecke [Sun, 24 Apr 2011 08:09:45 +0000 (10:09 +0200)]
s3: pthreadpool_sig_fd->pthreadpool_signal_fd
(cherry picked from commit
f4a0f856f31291dd316a937f8060d2f205e8d4d6)
Volker Lendecke [Sat, 23 Apr 2011 20:25:36 +0000 (22:25 +0200)]
s3: Tiny doc for pthreadpool
(cherry picked from commit
3c405f5e1d81d33a01ab822aeba93634338d5b25)
Volker Lendecke [Fri, 22 Apr 2011 09:47:11 +0000 (11:47 +0200)]
s3: Many pthreadpool fixes
In particular, this makes it fork-safe
(cherry picked from commit
62689d8166b8e070f855e6910470796dd7e1b2c8)
Volker Lendecke [Sat, 23 Apr 2011 08:31:14 +0000 (10:31 +0200)]
s3: Fix Coverity ID 2478, UNINIT
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Apr 23 14:11:22 CEST 2011 on sn-devel-104
(cherry picked from commit
123e5c1a75a7e6cfe245af05d2954ab126238acf)
Stefan Metzmacher [Sat, 23 Apr 2011 22:00:40 +0000 (00:00 +0200)]
s3:rpc_client: map fault codes to NTSTATUS with dcerpc_fault_to_nt_status()
Most fault codes have a NTSTATUS representation, so use that.
This brings the fault handling in common with the source4/librpc/rpc code,
which make it possible to share more highlevel code, between source3 and
source4 as the error checking can be the same now.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sun Apr 24 10:44:53 CEST 2011 on sn-devel-104
(cherry picked from commit
f7bc84409a7a6736ec2cf1110dd7200a954e3b7e)
Stefan Metzmacher [Sat, 23 Apr 2011 21:57:19 +0000 (23:57 +0200)]
s3:winbindd: let winbindd_lookup_names() use dcerpc_binding_handle functions
metze
(cherry picked from commit
e7cf7204e60552b45952325f343ea894fda21346)
Stefan Metzmacher [Sat, 23 Apr 2011 21:56:27 +0000 (23:56 +0200)]
s3:winbindd: let winbindd_lookup_sids() dcerpc_binding_handle functions
metze
(cherry picked from commit
7309daa532c9689d64ce3f33da522f23635213d6)
Stefan Metzmacher [Mon, 25 Apr 2011 15:40:25 +0000 (17:40 +0200)]
docs-xml/smb.conf.5: %i and %I no longer contain IPv4 mapped IPv6 addresses
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Apr 25 18:38:16 CEST 2011 on sn-devel-104
(cherry picked from commit
7269e455a7d4f659777b4ab7db5d8b68376c8d19)
Stefan Metzmacher [Sat, 23 Apr 2011 09:29:51 +0000 (11:29 +0200)]
s3:lib/util_sock: listen on IPv6 addresses with IPV6_ONLY (bug #7383)
This avoids getting IPv4 addresses as mapped IPv6 addresses
(e.g. ::ffff:192.168.0.1).
Before the bahavior was inconsistent between operating system
and distributions. Some system have IPV6_ONLY as default.
Now we consistently get AF_INET for IPv4 addresses and AF_INET6
for IPv6 addresses.
It also makes it possible to listen only on IPv6 now
as "::" doesn't imply "0.0.0.0" anymore. Which also
avoids confusing log messages that we were not able to
bind to "0.0.0.0".
metze
(cherry picked from commit
a3a38ee90ab4ab2be68ac71d9c581daa6b9ee189)
Stefan Metzmacher [Sun, 24 Apr 2011 19:20:19 +0000 (21:20 +0200)]
s3:lib/access: normalize IPv4 mapped IPv6 addresses in both directions (bug #7383)
metze
(cherry picked from commit
4bfe2d5655d97fbc7e65744425b5a098e77f5ba1)
Stefan Metzmacher [Sat, 23 Apr 2011 09:01:34 +0000 (11:01 +0200)]
lib/util: add RBVAL, RBVALS, RSBVAL and RSRBVALS macros
They pull and push [u]int64_t values in big endian.
metze
(cherry picked from commit
c0441b17e6580de65d87d28bfd9ae72d09a3508f)
Stefan Metzmacher [Sat, 23 Apr 2011 09:15:30 +0000 (11:15 +0200)]
s3:includes: simplify INO_T_VAL macros
metze
(cherry picked from commit
5b327085775f279976c66cdd5f105132fda0965a)
Stefan Metzmacher [Sat, 23 Apr 2011 09:10:05 +0000 (11:10 +0200)]
s3:includes: simplify BIG_UINT macros
metze
(cherry picked from commit
d7aa2eb7b664c10551cb45c36d3b564d829e9d44)
Stefan Metzmacher [Sat, 23 Apr 2011 08:30:59 +0000 (10:30 +0200)]
s3:smbd/trans2: make use of BVAL() and remove ugly LARGE_SMB_OFF_T ifdef's
We rely on uint64_t for a long time now...
metze
(cherry picked from commit
9127e555ab043000adc516a9177e43812e52fd4b)
Stefan Metzmacher [Sat, 23 Apr 2011 08:17:27 +0000 (10:17 +0200)]
s3:include/vfs.h: remove very old hints for vfs modules with interface version < 8
The interface version is at 28 now, and this defines cause problem
on some systems, e.g. Tru64 defines vfs_init in the system headers.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sat Apr 23 12:07:35 CEST 2011 on sn-devel-104
(cherry picked from commit
64e7fba1be0d2897c5cee40b41f869bd9e5b272a)
Stefan Metzmacher [Sat, 23 Apr 2011 08:30:59 +0000 (10:30 +0200)]
s3:smbd/nttrans: make use of BVAL() and remove ugly LARGE_SMB_OFF_T ifdef's
We rely on uint64_t for a long time now...
metze
(cherry picked from commit
4a4a774e61aa5d95fa4c90485c538629ce5d0c92)
Stefan Metzmacher [Sat, 23 Apr 2011 08:27:37 +0000 (10:27 +0200)]
s3:lib/sysquota: remove ugly LARGE_SMB_OFF_T ifdef's
We rely on uint64_t for a long time now...
metze
(cherry picked from commit
5186209277e0fec5c9f0c4df2ac57a5e16f74470)
Stefan Metzmacher [Sat, 23 Apr 2011 08:22:32 +0000 (10:22 +0200)]
s3:libsmb: make use of BVAL() and remove ugly LARGE_SMB_OFF_T ifdef's
We rely on uint64_t for a long time now...
metze
(cherry picked from commit
75ad18037955b1e787e48648a09b0016b1cdce8f)
Karolin Seeger [Mon, 25 Apr 2011 17:31:32 +0000 (19:31 +0200)]
WHATSNEW: Update changes since pre2.
Karolin
Karolin Seeger [Mon, 25 Apr 2011 17:22:44 +0000 (19:22 +0200)]
WHATSNEW: Add changes since pre2.
Karolin
Volker Lendecke [Sun, 17 Apr 2011 18:16:07 +0000 (20:16 +0200)]
s3: Add a 10-second timeout for the 445 or netbios connection to a DC
(cherry picked from commit
23a6af46c84cd9b738af403d80c5187d858eac03)
Volker Lendecke [Fri, 22 Apr 2011 08:05:42 +0000 (10:05 +0200)]
s3: Fix Coverity ID 2047, UNUSED_VALUE
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Apr 22 10:53:24 CEST 2011 on sn-devel-104
(cherry picked from commit
b48e22347d9b2d0b3b128197b4ef662558b0f2e9)
Volker Lendecke [Fri, 22 Apr 2011 07:51:42 +0000 (09:51 +0200)]
s3: Fix Coverity ID 2325, RESOURCE_LEAK
(cherry picked from commit
726fa732facef55da6a27750f9daf12145db6639)
Volker Lendecke [Fri, 22 Apr 2011 07:48:10 +0000 (09:48 +0200)]
s3: Fix Coverity ID 2336, NULL_RETURNS
(cherry picked from commit
f9e3af71d391027de353f0240f70e425e766c0e5)
Volker Lendecke [Fri, 22 Apr 2011 07:45:54 +0000 (09:45 +0200)]
s3: Fix Coverity ID 2335, CHECKED_RETURN
(cherry picked from commit
018595e2587b5b5dd90bf318a1cf8b675e47b66b)
Volker Lendecke [Fri, 22 Apr 2011 07:41:52 +0000 (09:41 +0200)]
asn1: Fix Coverity ID 2299, CHECKED_RETURN
(cherry picked from commit
4981adcca37391b6745f10f5849fedd7c944410d)
Volker Lendecke [Fri, 22 Apr 2011 07:39:37 +0000 (09:39 +0200)]
s3: Fix Coverity ID 2307, NULL_RETURNS
(cherry picked from commit
3e8a8fad59cfdd053ad96afc39ea7d6e98b91764)
Volker Lendecke [Fri, 22 Apr 2011 07:34:35 +0000 (09:34 +0200)]
s3: Fix Coverity ID 986, BUFFER_SIZE_WARNING
strncpy can leave the destination unterminated
(cherry picked from commit
9a0676d5c947033ac41f700be9ba92ab1666814e)
Volker Lendecke [Thu, 21 Apr 2011 20:09:27 +0000 (22:09 +0200)]
s3: Fix Coverity ID 1340, NULL_RETURNS
(cherry picked from commit
7e7ad53cbd77ce2201fd46bd2c08a601725f9f5b)
Jeremy Allison [Fri, 22 Apr 2011 00:25:13 +0000 (17:25 -0700)]
Cosmetic. Fix bad indentation.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Apr 22 03:16:43 CEST 2011 on sn-devel-104
(cherry picked from commit
e919e767fb846fc91160cf44cbc838a9b4f2a832)
Jeremy Allison [Fri, 22 Apr 2011 00:22:44 +0000 (17:22 -0700)]
Fix compiler warning in debug message.
(cherry picked from commit
644046f064d73ff97f95a7dfbc5fca199f0dd973)
Jeremy Allison [Thu, 21 Apr 2011 23:50:49 +0000 (16:50 -0700)]
Remove duplicate code - move to parent_dirname() as a common function.
(cherry picked from commit
20baa11f33c5282c609258e21a07c7255df7ae30)
Günther Deschner [Wed, 20 Apr 2011 20:55:25 +0000 (22:55 +0200)]
s3-vfs: rename open function to open_fn.
This should finally fix the AIX build and allow to remove AIX specific ifdefs.
Guenther
Signed-off-by: Jeremy Allison <jra@samba.org>
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Apr 21 02:01:20 CEST 2011 on sn-devel-104
(cherry picked from commit
c7073f8b545976719bfdba7b7bbd460d595041d5)
Günther Deschner [Wed, 20 Apr 2011 16:21:25 +0000 (18:21 +0200)]
s3-build: move MAP_FILE define to the only place used.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Apr 20 19:16:47 CEST 2011 on sn-devel-104
(cherry picked from commit
0b89ce671250daddc86400ef4e1996c37c126025)
Günther Deschner [Wed, 20 Apr 2011 15:53:43 +0000 (17:53 +0200)]
s4-smbtorture: restructure documentname handling in spoolss test a bit.
Guenther
(cherry picked from commit
c8f9515f193e634da2ef01c525e2a05a3d519862)
Günther Deschner [Wed, 20 Apr 2011 15:19:15 +0000 (17:19 +0200)]
s3-spoolss: fix debug statement in spoolss_addprinterex_level_2().
Guenther
(cherry picked from commit
0cf9b47725b50fd916a7ca56ca3f7e9c9263411a)
Günther Deschner [Wed, 20 Apr 2011 15:54:24 +0000 (17:54 +0200)]
s3-smbd: fix the AIX 5.3 build.
(AIX defines open to be open64)
Guenther
(cherry picked from commit
ae61a5c3d05192457f5a0b24dd9bd34317df566f)
Simo Sorce [Sun, 10 Apr 2011 02:21:35 +0000 (22:21 -0400)]
tdb_backup: avoid transaction on backup file, use lockall
Transactions have the side effect of generating bigger files.
By removing the transaction files get as much as 30% smaller.
Autobuild-User: Simo Sorce <idra@samba.org>
Autobuild-Date: Tue Apr 19 23:34:37 CEST 2011 on sn-devel-104
(cherry picked from commit
1804d9a64662d37f6c7c50bdd7b8edd80f42192b)
Sergey Korsak [Mon, 18 Apr 2011 12:48:47 +0000 (14:48 +0200)]
Fix Bug #8099 setpwent() actually does endpwent() and vice versa on FreeBSD
Signed-off-by: Günther Deschner <gd@samba.org>
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Apr 19 19:15:14 CEST 2011 on sn-devel-104
(cherry picked from commit
9bf3dc3ca796f2b90acf7e21b0eefdce444147e1)
Rusty Russell [Tue, 19 Apr 2011 11:30:59 +0000 (21:00 +0930)]
tdb: make sure we skip over recovery area correctly.
If it's really the recovery area, we can trust the rec_len field, and
don't have to go groping for bitpatterns.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-User: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-Date: Tue Apr 19 14:15:22 CEST 2011 on sn-devel-104
(cherry picked from commit
36cfa7b79e36d880cdbf24d0769558be44d0edda)
Simo Sorce [Mon, 18 Apr 2011 12:45:11 +0000 (22:15 +0930)]
tdb_expand: limit the expansion with huge records
ldb can create huge records when saving indexes.
Limit the tdb expansion to avoid consuming a lot of memory for
no good reason if the record being saved is huge.
(cherry picked from commit
cb884186a55c9ef8aca6ee48b16423b3c881e689)
Rusty Russell [Mon, 18 Apr 2011 12:45:11 +0000 (22:15 +0930)]
tdb: tdb_repack() only when it's worthwhile.
tdb_repack() is expensive and consumes memory, so we can spend some
effort to see if it's worthwhile. In particular, tdbbackup doesn't
need to repack: it started with an empty database!
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(cherry picked from commit
094ab60053bcc0bc3542af8144e394d83270053e)
Rusty Russell [Mon, 18 Apr 2011 12:45:11 +0000 (22:15 +0930)]
tdb: fix transaction recovery area for converted tdbs.
This is why macros are dangerous; these were converting the pointers, not the
things pointed to!
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(cherry picked from commit
6aa72dae8fc341de5b497f831ded1f8f519fa8fb)
Jeremy Allison [Mon, 18 Apr 2011 21:32:11 +0000 (14:32 -0700)]
Fix bug 8088 - rpccli_samr_chng_pswd_auth_crap segfaults if any input blobs are null.
Correct fix - ensure we have enough length, and correctly null out
passed in structs if not.
Jeremy.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Tue Apr 19 00:17:08 CEST 2011 on sn-devel-104
(cherry picked from commit
bde2bcc8efd735d08b55ac3083d7b0f6490100d0)
Günther Deschner [Fri, 15 Apr 2011 10:39:15 +0000 (12:39 +0200)]
s3-build: fix the --with-profiling-data build on mac os x.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Apr 15 13:33:43 CEST 2011 on sn-devel-104
(cherry picked from commit
0e18a59ed0aa48a8a9dee856faf05c1ad624e264)
Kai Blin [Mon, 18 Apr 2011 12:55:51 +0000 (14:55 +0200)]
s3 waf: Mimic the autoconf check for netgrent
The autoconf check for netgrent headers makes sure that the compiler flag used
(-Werror-implicit-function-declaration) is recognized by the compiler before
using it for the test. Mimic this behaviour in the waf checks.
Thanks to gd for noticing this.
Signed-off-by: Günther Deschner <gd@samba.org>
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Apr 18 16:24:15 CEST 2011 on sn-devel-104
(cherry picked from commit
c2a62e854632dcae69a5ae911b6ab11e272d0a81)
Kai Blin [Mon, 18 Apr 2011 12:48:47 +0000 (14:48 +0200)]
s3 autobuild: Fix CFLAG check for netgrent tests
In
45ac8ffd I accidently added the wrong flag check. Fix this.
Thanks to gd for noticing.
Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit
d09f02909f6adae1d68264bd3790c77fcee5e80d)
Volker Lendecke [Thu, 14 Apr 2011 09:06:00 +0000 (11:06 +0200)]
s3: Fix a typo
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Apr 14 11:55:56 CEST 2011 on sn-devel-104
(cherry picked from commit
15d6c7070770b3146c510996ab24afbdf8034ee8)
Volker Lendecke [Sat, 16 Apr 2011 13:27:53 +0000 (15:27 +0200)]
s3: Remove an unused variable
(cherry picked from commit
35c71231accaa2f24a70f4066b967fa4999428f1)
Volker Lendecke [Sat, 2 Apr 2011 14:02:23 +0000 (16:02 +0200)]
s3: Use tevent_req_nterror properly in a few places
(cherry picked from commit
10a552a9570bd274796639ba80d46d2d22828271)
Volker Lendecke [Sat, 2 Apr 2011 21:53:27 +0000 (23:53 +0200)]
s3: guest sesssetup is only 13 words
(cherry picked from commit
69650a2aaa8649570261df7efccb35ad76d7cfc1)
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Apr 16 16:20:08 CEST 2011 on sn-devel-104
(cherry picked from commit
ca5dcf241289fb3489bf9da9ea5dfd1de0a67fab)
Volker Lendecke [Sun, 17 Apr 2011 09:32:28 +0000 (11:32 +0200)]
s3: Use \0 instead of NULL when 0-terminating a string
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Apr 17 12:26:15 CEST 2011 on sn-devel-104
(cherry picked from commit
0bf7c9646413673e24cfea94eb74dce88f79c470)
Jeremy Allison [Fri, 15 Apr 2011 23:30:17 +0000 (16:30 -0700)]
Trying to track down the SMB2 error. Add an invariant test.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Apr 16 02:15:38 CEST 2011 on sn-devel-104
(cherry picked from commit
82fdad8a4c1e45d171a75b133eff8f9768edd682)
Volker Lendecke [Mon, 18 Apr 2011 11:53:51 +0000 (13:53 +0200)]
s3: Fix the build of vfs_gpfs.c
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Apr 18 14:40:07 CEST 2011 on sn-devel-104
(cherry picked from commit
83a0b94cf8c3a1a96d6060c21f0c93dfb67640d8)
Jeremy Allison [Fri, 15 Apr 2011 17:49:34 +0000 (10:49 -0700)]
Use handle based xattr set if available.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Apr 15 22:11:12 CEST 2011 on sn-devel-104
(cherry picked from commit
e49893c68ef29f71ac6301f3955a7404e9c6daba)
Jeremy Allison [Fri, 15 Apr 2011 19:21:39 +0000 (12:21 -0700)]
Ensure vfs_chown_fsp() is safe against races.
(cherry picked from commit
525ccd589ede79e97e83699629a1d98538855803)
Volker Lendecke [Thu, 7 Apr 2011 20:03:49 +0000 (22:03 +0200)]
s3: Fix bug 8066, wrong output in smbget
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Apr 15 09:32:55 CEST 2011 on sn-devel-104
(cherry picked from commit
53f50c2268122e648a09e4b0643cd29fcc7a4bfd)
Jeremy Allison [Thu, 14 Apr 2011 20:56:05 +0000 (13:56 -0700)]
Ensure change_dir_owner_to_parent() can't be raced.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Apr 14 23:39:55 CEST 2011 on sn-devel-104
(cherry picked from commit
4389bf4bc94eefe034e7551371e6e43cca8d8bdb)
Jeremy Allison [Thu, 14 Apr 2011 20:20:08 +0000 (13:20 -0700)]
Fix bug #8083 - "inherit owner = yes" doesn't interact correctly with vfs_acl_xattr or vfs_acl_tdb module.
If "inherit owner = yes", pass in the directory owner and group
owner as the target for CREATOR_OWNER and CREATOR_GROUP substitutions,
and also as the owner and primary group of the new security descriptor
being applied to the object.
Jeremy.
(cherry picked from commit
182eea9ae26804d7f4eedcfa09eef0342ec3db5a)
Jeremy Allison [Thu, 14 Apr 2011 19:49:58 +0000 (12:49 -0700)]
Optimization for change_file_owner_to_parent() and change_dir_owner_to_parent()
Don't do the chown if the owner is already correct.
(cherry picked from commit
9c2ba9436d1abe66c493a512702101f631946cdf)
Volker Lendecke [Tue, 12 Apr 2011 08:48:03 +0000 (10:48 +0200)]
s3: Fix Coverity ID 2471: UNINIT
Signed-off-by: Günther Deschner <gd@samba.org>
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Apr 14 16:22:58 CEST 2011 on sn-devel-104
(cherry picked from commit
d9c1d1f709ba49e57762456e529e283825a4fd7a)
Volker Lendecke [Thu, 14 Apr 2011 12:05:43 +0000 (14:05 +0200)]
s3: Fix smbd with the async echo responder
We need to read from the echo socket, pass the socket to read
from down to the read routines
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Apr 14 15:34:36 CEST 2011 on sn-devel-104
(cherry picked from commit
8b5d163d89651764981521178bc00352397f10f3)
Günther Deschner [Thu, 14 Apr 2011 09:43:31 +0000 (11:43 +0200)]
s3-build: make sure we pick up system tdb and talloc via #include.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Apr 14 12:56:28 CEST 2011 on sn-devel-104
(cherry picked from commit
7ece43b15e11ccff6181266d53c88c14271167c2)
Günther Deschner [Wed, 13 Apr 2011 22:52:45 +0000 (00:52 +0200)]
s3-includes: move readahead prototype to its only user.
Guenther
(cherry picked from commit
daea6a4b8cf48c96718d6f757d01c430d1811446)
Günther Deschner [Wed, 13 Apr 2011 22:36:23 +0000 (00:36 +0200)]
s3: only include smb profiling where needed.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Apr 14 01:31:39 CEST 2011 on sn-devel-104
(cherry picked from commit
165521e20d8aea1e35cc68e39ced57de64f8e560)
Günther Deschner [Wed, 13 Apr 2011 22:17:29 +0000 (00:17 +0200)]
s3-waf: add --with-profiling-data configure option.
Guenther
(cherry picked from commit
1b4d27d45a55c66ed20de64c2fe299583a710ddd)
Günther Deschner [Wed, 13 Apr 2011 22:04:08 +0000 (00:04 +0200)]
s3: fix the build of --with-profiling-data.
Guenther
(cherry picked from commit
bae2ce805478099c1f436e42cd2f47b3ca0caefd)
Günther Deschner [Wed, 13 Apr 2011 21:48:33 +0000 (23:48 +0200)]
s3-includes: only include acl prototypes when needed.
Guenther
(cherry picked from commit
321587e44a337e8c47ed3a3c22dd1243d06d8a26)
Günther Deschner [Wed, 13 Apr 2011 21:34:51 +0000 (23:34 +0200)]
s3-includes: absolutely no need to globally include debugparse.h
Guenther
(cherry picked from commit
c4331f6fcfa68822193a7ac9697d14bf8e0cde3b)
Günther Deschner [Wed, 13 Apr 2011 21:34:25 +0000 (23:34 +0200)]
s3-includes: include lib/util/debug.h headers in includes.h not smb.h
Guenther
(cherry picked from commit
b4e4b60719061a04f8b21a6fd9212f1411e6a3f6)
Günther Deschner [Wed, 13 Apr 2011 21:33:49 +0000 (23:33 +0200)]
s3-includes: remove unused schema_types enum.
Guenther
(cherry picked from commit
76d4ede6db5479c4d1436f249ddfeb355762ebc5)
Günther Deschner [Wed, 13 Apr 2011 21:03:56 +0000 (23:03 +0200)]
s3-includes: move struct pipe_open_rec to srvsvc rpc server.
Guenther
(cherry picked from commit
e7821116d12b94635e7a1709f60809264d397025)
Günther Deschner [Wed, 13 Apr 2011 12:32:55 +0000 (14:32 +0200)]
s3-build: finally remove references to ndr and dcerpc headers that were included globally.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Apr 13 23:07:05 CEST 2011 on sn-devel-104
(cherry picked from commit
c3d89911642a9d6bbcba9e51fa93e5254cd7b2fc)
Günther Deschner [Wed, 13 Apr 2011 12:32:16 +0000 (14:32 +0200)]
s3-rpc_client: add and use rpc_client/rpc_client.h.
Guenther
(cherry picked from commit
9824e2e5ee336aa6c72fb121935f364f3d8fea6e)
Günther Deschner [Wed, 13 Apr 2011 11:33:30 +0000 (13:33 +0200)]
s3-netapi: remove two shadowed variables.
Guenther
(cherry picked from commit
d2d976d8351c4bf7557a7bd8509db4a644de913d)
Jeremy Allison [Wed, 13 Apr 2011 21:53:26 +0000 (14:53 -0700)]
Fix WAF build for sids2xids.
Volker Lendecke [Mon, 11 Apr 2011 15:26:35 +0000 (17:26 +0200)]
s3: Add a test for sid2xids
Signed-off-by: Jeremy Allison <jra@samba.org>
Volker Lendecke [Tue, 12 Apr 2011 11:32:20 +0000 (13:32 +0200)]
s3: Add some debug to winbindd_sids_to_xids
Signed-off-by: Jeremy Allison <jra@samba.org>
Volker Lendecke [Wed, 23 Mar 2011 17:31:38 +0000 (18:31 +0100)]
s3: Use wbcSidsToUnixIds in create_local_token
Signed-off-by: Jeremy Allison <jra@samba.org>
Volker Lendecke [Wed, 23 Mar 2011 17:31:17 +0000 (18:31 +0100)]
nsswitch: Add wbinfo --sids-to-unix-ids
Signed-off-by: Jeremy Allison <jra@samba.org>
Volker Lendecke [Wed, 23 Mar 2011 17:30:32 +0000 (18:30 +0100)]
libwbclient: Add wbcSidsToUnixIds
Signed-off-by: Jeremy Allison <jra@samba.org>
Volker Lendecke [Wed, 23 Mar 2011 17:29:45 +0000 (18:29 +0100)]
s3: Export WINBINDD_SIDS_TO_XIDS via the winbind pipe
Signed-off-by: Jeremy Allison <jra@samba.org>
Volker Lendecke [Wed, 23 Mar 2011 17:18:13 +0000 (18:18 +0100)]
s3: Add wbint_Sids2UnixIDs idl & implementation
Signed-off-by: Jeremy Allison <jra@samba.org>
Volker Lendecke [Wed, 23 Mar 2011 17:15:34 +0000 (18:15 +0100)]
s3: Make idmap_find_domain public
Signed-off-by: Jeremy Allison <jra@samba.org>
Volker Lendecke [Tue, 22 Mar 2011 15:37:41 +0000 (16:37 +0100)]
s3: Add is_domain_online
Signed-off-by: Jeremy Allison <jra@samba.org>