ddiss/samba.git
13 years agos4/waf: add intl dependency for nss_winnbind
Björn Jacke [Wed, 1 Dec 2010 14:26:11 +0000 (15:26 +0100)]
s4/waf: add intl dependency for nss_winnbind

needed to fix a build issue on NetBSD and other platforms

Autobuild-User: Björn Jacke <bj@sernet.de>
Autobuild-Date: Wed Dec  1 16:15:19 CET 2010 on sn-devel-104
(cherry picked from commit ffc3f943cd9fbcc7dfdae6e843b2759a81e5b110)

13 years agos3-waf: add check for struct stat st_flags member.
Günther Deschner [Wed, 16 Feb 2011 21:15:20 +0000 (22:15 +0100)]
s3-waf: add check for struct stat st_flags member.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 16 23:04:35 CET 2011 on sn-devel-104
(cherry picked from commit 9e822f103298519db0671a1dced7d8a43cd96f6c)

13 years agos3-waf: add some missing checks for macosx.
Günther Deschner [Wed, 16 Feb 2011 20:58:47 +0000 (21:58 +0100)]
s3-waf: add some missing checks for macosx.

Guenther
(cherry picked from commit afb77d135e31b7aa5f6dbd10113b0bf43a734986)

13 years agos3-waf: add check for __NR_inotify_init declaration.
Günther Deschner [Wed, 16 Feb 2011 17:38:19 +0000 (18:38 +0100)]
s3-waf: add check for __NR_inotify_init declaration.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 16 19:28:18 CET 2011 on sn-devel-104
(cherry picked from commit 5d3f9569252cc329cd95b405768a93c4c19c4b4e)

13 years agos3-waf: add check for various sysconf() variables.
Günther Deschner [Wed, 16 Feb 2011 17:29:33 +0000 (18:29 +0100)]
s3-waf: add check for various sysconf() variables.

Guenther
(cherry picked from commit a029235b3e152988b6964c1cbdf2b20bbea9b55c)

13 years agos3-waf: add check for posix_fadvise().
Günther Deschner [Wed, 16 Feb 2011 16:55:26 +0000 (17:55 +0100)]
s3-waf: add check for posix_fadvise().

Guenther
(cherry picked from commit 9d78512b2bb85547f955552801d8770f92e0b2f5)

13 years agos3-waf: add check for hires timestamps in struct stat.
Günther Deschner [Wed, 16 Feb 2011 16:33:05 +0000 (17:33 +0100)]
s3-waf: add check for hires timestamps in struct stat.

Guenther
(cherry picked from commit 1cc0fb5a9aa9f7c90c27972b2c347fbcb3df5fe3)

13 years agos3-waf: add check for "struct flock64".
Günther Deschner [Wed, 16 Feb 2011 16:03:24 +0000 (17:03 +0100)]
s3-waf: add check for "struct flock64".

Guenther
(cherry picked from commit 3b3f13a7fb6816563ae1334e821ea37f9175b16e)

13 years agos3-waf: add check for broken (glibc2.1/x86) 64 bit fcntl locking.
Günther Deschner [Wed, 16 Feb 2011 15:52:45 +0000 (16:52 +0100)]
s3-waf: add check for broken (glibc2.1/x86) 64 bit fcntl locking.

Guenther
(cherry picked from commit 8701b0d6454f846472a186f1e44dd4a9368631f4)

13 years agos3-waf: add check for fcntl locking.
Günther Deschner [Wed, 16 Feb 2011 15:51:14 +0000 (16:51 +0100)]
s3-waf: add check for fcntl locking.

Guenther
(cherry picked from commit 4e32fd9d5cb9360fb32f765ba7018a8f609e287f)

13 years agos3-waf: add check for "struct dirent64".
Günther Deschner [Wed, 16 Feb 2011 15:42:33 +0000 (16:42 +0100)]
s3-waf: add check for "struct dirent64".

Guenther
(cherry picked from commit b3f76482d250511ddf3b75f276c48c51db939691)

13 years agos3-auth Fix memory leak in security=share and force user =
Andrew Bartlett [Fri, 11 Feb 2011 00:34:56 +0000 (11:34 +1100)]
s3-auth Fix memory leak in security=share and force user =

In these cases, the server_info was not stolen onto a long term memory
context, and so remained on the NULL context where it was created.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed Feb 16 01:08:19 CET 2011 on sn-devel-104
(cherry picked from commit 1354d3dc747344390302e3fd2a202ff372985a9c)

13 years agoMerge branch 'v3-6-test' of ssh://git.samba.org/data/git/samba into v3-6-test
Jeremy Allison [Wed, 16 Feb 2011 01:22:32 +0000 (17:22 -0800)]
Merge branch 'v3-6-test' of ssh://git.samba.org/data/git/samba into v3-6-test

13 years agos3-librpc: move server_id marshalling to own helper file.
Günther Deschner [Tue, 15 Feb 2011 16:37:03 +0000 (17:37 +0100)]
s3-librpc: move server_id marshalling to own helper file.

(in preparation of merging struct server_id).

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 16 00:02:33 CET 2011 on sn-devel-104
(cherry picked from commit e34ba447ec8a54db744f0103d91ec05f7cfd60ce)

13 years agos3-waf: fix the build.
Günther Deschner [Tue, 15 Feb 2011 13:32:26 +0000 (14:32 +0100)]
s3-waf: fix the build.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb 15 15:24:11 CET 2011 on sn-devel-104
(cherry picked from commit 0085d6e21a131c76cef76d468bfed4fe5ece4eb6)

13 years agos3-amend: Don't overwrite existing values
Volker Lendecke [Tue, 15 Feb 2011 17:16:43 +0000 (18:16 +0100)]
s3-amend: Don't overwrite existing values

This saves a ton of tdb transactions on smbd startup

Andreas, Günther, please check!
(cherry picked from commit f56432c348d0243b43a8cce42c0a438902854272)

13 years agos3-selftest: move all skipped test to skiplist.
Günther Deschner [Tue, 15 Feb 2011 10:15:19 +0000 (11:15 +0100)]
s3-selftest: move all skipped test to skiplist.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb 15 12:52:22 CET 2011 on sn-devel-104
(cherry picked from commit 0bfdb3e2495a1f40ead2ee6b8ad70614f43fc939)

13 years agos3-waf: TLDAP is only needed by pdb_ads (and smbtorture).
Günther Deschner [Mon, 7 Feb 2011 13:27:55 +0000 (14:27 +0100)]
s3-waf: TLDAP is only needed by pdb_ads (and smbtorture).

Guenther
(cherry picked from commit a32f0ff2f095350197ffe3776c125681571e9f83)

13 years agos3: no need to globally include intl.h.
Günther Deschner [Mon, 14 Feb 2011 11:02:00 +0000 (12:02 +0100)]
s3: no need to globally include intl.h.

Guenther
(cherry picked from commit ca574482b889d42d9e8fbc6bea62acaa4bc15137)

13 years agos3-selftest: when skipping tests, use the selftest/skip file.
Günther Deschner [Mon, 14 Feb 2011 10:29:00 +0000 (11:29 +0100)]
s3-selftest: when skipping tests, use the selftest/skip file.

Guenther
(cherry picked from commit c575d30a32092665d104a06a12139528730b1287)

13 years agotdb: Fix a C++ warning
Volker Lendecke [Sat, 12 Feb 2011 16:30:11 +0000 (17:30 +0100)]
tdb: Fix a C++ warning

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Feb 12 19:50:55 CET 2011 on sn-devel-104
(cherry picked from commit 91cad71390bd2a0330891083c65d3f9000b74657)

13 years agoReturn NULL if tevent_add_fd() is passed a negative fd
Stephen Gallagher [Mon, 14 Feb 2011 15:29:49 +0000 (10:29 -0500)]
Return NULL if tevent_add_fd() is passed a negative fd

Autobuild-User: Simo Sorce <idra@samba.org>
Autobuild-Date: Mon Feb 14 17:47:03 CET 2011 on sn-devel-104
(cherry picked from commit d6a41c2723cda59b3cd6ae9a1e77b62f25067663)

13 years agos4-readline: remove leftover from readline merge.
Günther Deschner [Mon, 14 Feb 2011 12:37:59 +0000 (13:37 +0100)]
s4-readline: remove leftover from readline merge.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Feb 14 14:26:12 CET 2011 on sn-devel-104
(cherry picked from commit d3c082e53984fa8069180ed712030f8bd2a109ca)

13 years agos3-waf: add UTIL_TEVENT subsystem (as in ../lib/util/wscript)
Günther Deschner [Tue, 8 Feb 2011 07:56:45 +0000 (08:56 +0100)]
s3-waf: add UTIL_TEVENT subsystem (as in ../lib/util/wscript)

Guenther
(cherry picked from commit 89db591b2a79a85cc9127c67a2697bbc6f326ec6)

13 years agos3-librpc: no need to globally include endpointmapper headers.
Günther Deschner [Sat, 12 Feb 2011 02:09:41 +0000 (03:09 +0100)]
s3-librpc: no need to globally include endpointmapper headers.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Feb 14 12:31:56 CET 2011 on sn-devel-104
(cherry picked from commit b3ea56ae16a35adc974287b83d6061ce5ffe454e)

13 years agos3: move some defines to a better place.
Günther Deschner [Sat, 12 Feb 2011 01:51:19 +0000 (02:51 +0100)]
s3: move some defines to a better place.

Guenther
(cherry picked from commit 80b4e1e9856ed180015e32af2d8762a9acd83910)

13 years agos3-proto: remove prototype for non-existing functions.
Günther Deschner [Sat, 12 Feb 2011 01:24:26 +0000 (02:24 +0100)]
s3-proto: remove prototype for non-existing functions.

Guenther
(cherry picked from commit f10cba1a0133199f1e7a6db0d70c50834e41b4bd)

13 years agos3-librpc: remove duplicate prototypes.
Günther Deschner [Sat, 12 Feb 2011 01:23:57 +0000 (02:23 +0100)]
s3-librpc: remove duplicate prototypes.

Guenther
(cherry picked from commit 9d9659896bd8d765a77b967d3c98806acc327bde)

13 years agos3: Make "smbpasswd <user>" work with pdb_ads
Volker Lendecke [Sat, 12 Feb 2011 13:28:40 +0000 (14:28 +0100)]
s3: Make "smbpasswd <user>" work with pdb_ads
(cherry picked from commit 22b69b2927bf10aa78be686894a425cfda02d916)

13 years agos3-waf: try to fix the netbsd build and add -lintl to the 'net' binary.
Günther Deschner [Fri, 11 Feb 2011 22:48:26 +0000 (23:48 +0100)]
s3-waf: try to fix the netbsd build and add -lintl to the 'net' binary.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Sat Feb 12 00:48:11 CET 2011 on sn-devel-104
(cherry picked from commit 13e820cd104d086603d83464b72581a1d4d4fc2f)

13 years agolibcli/auth: fix PAM_ERRORS subsystem build.
Günther Deschner [Fri, 11 Feb 2011 21:59:31 +0000 (22:59 +0100)]
libcli/auth: fix PAM_ERRORS subsystem build.

(waf-)god knows why, without this (fake) dependency, ./configure && make fails
while including replace.h while ./configure.developer && make succeeds...

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Feb 11 23:50:40 CET 2011 on sn-devel-104
(cherry picked from commit 3e9faf7efd5c424232503d3aa3950d272ad8d6e8)

13 years agos3: Skip the CHAIN1 tests
Volker Lendecke [Fri, 11 Feb 2011 14:49:00 +0000 (15:49 +0100)]
s3: Skip the CHAIN1 tests

They are broken with signing. I'll fix that.

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Feb 11 17:42:09 CET 2011 on sn-devel-104
(cherry picked from commit 822a5113241c2ec6c7d0dba4c0e9e1162d5c2c1f)

13 years agos3-waf: next attempt to fix cups and non-cups builds.
Günther Deschner [Fri, 11 Feb 2011 15:10:07 +0000 (16:10 +0100)]
s3-waf: next attempt to fix cups and non-cups builds.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Feb 11 16:57:40 CET 2011 on sn-devel-104
(cherry picked from commit 6531ac6a650a04a332082f38fe4ffabdaceec6de)

13 years agos3-rpc_server: fix some buildwarnings in non-developer mode.
Günther Deschner [Fri, 11 Feb 2011 15:04:28 +0000 (16:04 +0100)]
s3-rpc_server: fix some buildwarnings in non-developer mode.

Guenther
(cherry picked from commit 7ff5bf56c85851a58f80ed9122f0817f60d11d69)

13 years agos3-selftest: revamp selftest wscript with s4 one.
Günther Deschner [Fri, 11 Feb 2011 14:30:27 +0000 (15:30 +0100)]
s3-selftest: revamp selftest wscript with s4 one.

Guenther
(cherry picked from commit 16af2539dc94bb35a629bc5a16efae8dd8cb5f91)

13 years agos3-waf: try to deal with underlinked cups libraries.
Günther Deschner [Fri, 11 Feb 2011 13:37:13 +0000 (14:37 +0100)]
s3-waf: try to deal with underlinked cups libraries.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Feb 11 15:28:32 CET 2011 on sn-devel-104
(cherry picked from commit 414f39872dd2fa8541cfd93e3d3b22cc941c5477)

13 years agos3-waf: move all error mappings to errors subsystem.
Günther Deschner [Tue, 8 Feb 2011 21:37:09 +0000 (22:37 +0100)]
s3-waf: move all error mappings to errors subsystem.

Guenther
(cherry picked from commit 59c8839dec275fd252e4570cbc9561f66a689a56)

13 years agowaf: pure cosmetic reformatting of the two samba-util object lists (to ease comparing).
Günther Deschner [Tue, 8 Feb 2011 00:04:57 +0000 (01:04 +0100)]
waf: pure cosmetic reformatting of the two samba-util object lists (to ease comparing).

Guenther
(cherry picked from commit 3eb7e125ab2488221a70fdf5fb7ddcb9194a5b6a)

13 years agos4-build: fixed export of krb5pac.h, needed by other public headers
Andrew Tridgell [Thu, 10 Feb 2011 23:39:37 +0000 (10:39 +1100)]
s4-build: fixed export of krb5pac.h, needed by other public headers

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Fri Feb 11 01:45:55 CET 2011 on sn-devel-104
(cherry picked from commit 5507d6850fa2872c65b0a0e2fcac59e8db7f6bf4)

13 years agos4-waf Don't include ../librpc in paths
Andrew Bartlett [Fri, 4 Feb 2011 04:28:32 +0000 (15:28 +1100)]
s4-waf Don't include ../librpc in paths

The paths here are relative to the librpc directory the wscript_build
file is in, and so these don't actually change anything.

Andrew Bartlett
(cherry picked from commit 4ae013c01b2936e7fd80e674a617f10b54179010)

13 years agos3-waf: use bld.env.HAVE_LDAP in some more places, hopefully fixes the builds w/o...
Günther Deschner [Fri, 11 Feb 2011 11:09:25 +0000 (12:09 +0100)]
s3-waf: use bld.env.HAVE_LDAP in some more places, hopefully fixes the builds w/o ldap.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Feb 11 13:08:38 CET 2011 on sn-devel-104
(cherry picked from commit 8015514c5b19acf37e6121eefdc8464fb89e60c2)

13 years agos3-waf: rework the way SMBLDAP subsystem is built a little.
Günther Deschner [Fri, 11 Feb 2011 11:07:39 +0000 (12:07 +0100)]
s3-waf: rework the way SMBLDAP subsystem is built a little.

Guenther
(cherry picked from commit 1bad50f648fff0a145d56bf3094c14b6e0845fa2)

13 years agowaf: substitute '/' in -D static defines as well.
Günther Deschner [Fri, 11 Feb 2011 11:05:10 +0000 (12:05 +0100)]
waf: substitute '/' in -D static defines as well.

Tridge, please check.

Guenther
(cherry picked from commit d08ddf08a8f008909e3cf4ff1c1933566f1ec275)

13 years agos3-libsmb: fix ifdef check in ads_dc_name.
Günther Deschner [Fri, 11 Feb 2011 10:16:08 +0000 (11:16 +0100)]
s3-libsmb: fix ifdef check in ads_dc_name.

We are accessing an LDAP structure here, so we better check that LDAP support
was there as well as Kerberos support.

Guenther
(cherry picked from commit e4bf69285b25f709740fc688b304e2f000112380)

13 years agos3-libnet: fix a WITH_ADS / HAVE_ADS mismatch.
Günther Deschner [Fri, 11 Feb 2011 10:14:57 +0000 (11:14 +0100)]
s3-libnet: fix a WITH_ADS / HAVE_ADS mismatch.

Guenther
(cherry picked from commit c7d0850ee8d938c8742d62cc887ed784ec8b1b25)

13 years agos3-libads: make ads_guess_service_principal static.
Günther Deschner [Fri, 11 Feb 2011 10:14:27 +0000 (11:14 +0100)]
s3-libads: make ads_guess_service_principal static.

Guenther
(cherry picked from commit f076c76260f24e15be11394ea0bb9456564dda49)

13 years agos3: Avoid a select call per smb
Volker Lendecke [Fri, 11 Feb 2011 10:25:13 +0000 (11:25 +0100)]
s3: Avoid a select call per smb

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Feb 11 12:13:54 CET 2011 on sn-devel-104
(cherry picked from commit 16229e4cefb01c3bdf1cb1cef81f0eab1f1cc0e6)

13 years agos3-waf: try to deal with system w/o ldap; also move module processing to the end...
Günther Deschner [Fri, 11 Feb 2011 00:31:37 +0000 (01:31 +0100)]
s3-waf: try to deal with system w/o ldap; also move module processing to the end of wscript.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Feb 11 02:30:40 CET 2011 on sn-devel-104
(cherry picked from commit 44f2344a927fb28fa698de4ac6378b92d4333062)

13 years agos3-selftest: remove some more unused test functions.
Günther Deschner [Thu, 10 Feb 2011 22:38:08 +0000 (23:38 +0100)]
s3-selftest: remove some more unused test functions.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Feb 11 00:33:58 CET 2011 on sn-devel-104
(cherry picked from commit 06d4e4cb2e80d5e8965877e1f71e42a6342351fc)

13 years agos3-waf: try to fix the {net|free|open}bsd build.
Günther Deschner [Thu, 10 Feb 2011 22:37:52 +0000 (23:37 +0100)]
s3-waf: try to fix the {net|free|open}bsd build.

Guenther
(cherry picked from commit 6bc6d5dcfb27fba14ea32b4c07cbce012386e9b5)

13 years agos3-selftest: run the three net tests individually.
Günther Deschner [Thu, 10 Feb 2011 21:43:38 +0000 (22:43 +0100)]
s3-selftest: run the three net tests individually.

Guenther
(cherry picked from commit 961f6295a9cdbaf63c83e49386c2732737c2d4df)

13 years agos3-waf: dont try to redefine 'pam', we checked above...
Günther Deschner [Thu, 10 Feb 2011 21:42:58 +0000 (22:42 +0100)]
s3-waf: dont try to redefine 'pam', we checked above...

Found by solaris waf buildfarm build.

Guenther
(cherry picked from commit 80d87e68dee28cde8f897dc9cbd5207b62491f8e)

13 years agos3-rpc_server: move services into individual directories.
Günther Deschner [Tue, 8 Feb 2011 13:17:14 +0000 (14:17 +0100)]
s3-rpc_server: move services into individual directories.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Feb 10 22:13:17 CET 2011 on sn-devel-104
(cherry picked from commit 4063bde3edd15b241f2b93bb5aedfef57ec4df91)

13 years agos3-waf: do not make pam support mandatory.
Günther Deschner [Thu, 10 Feb 2011 20:10:53 +0000 (21:10 +0100)]
s3-waf: do not make pam support mandatory.

Guenther
(cherry picked from commit 1fc14a6543bfc5f087ed0ddf02bc7ce28a4d9ed4)

13 years agos3: Add more checks and better fallback to addrchange
Volker Lendecke [Fri, 11 Feb 2011 07:44:36 +0000 (08:44 +0100)]
s3: Add more checks and better fallback to addrchange

From http://netsplit.com/2011/02/09/the-proc-connector-and-socket-filters/ I
learned a bit more about netlink...

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Feb 11 10:47:09 CET 2011 on sn-devel-104
(cherry picked from commit 90c8de54a002d2038a1382c0d147026921a64227)

13 years agos3: Align the args in tldap_modify
Volker Lendecke [Thu, 10 Feb 2011 21:21:19 +0000 (22:21 +0100)]
s3: Align the args in tldap_modify

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Feb 10 23:20:05 CET 2011 on sn-devel-104

13 years agos3: Align tldap_add and tldap_add_send
Volker Lendecke [Thu, 10 Feb 2011 21:12:14 +0000 (22:12 +0100)]
s3: Align tldap_add and tldap_add_send

13 years agos3-waf: fix cups checks when lib is there but headers aren't.
Günther Deschner [Thu, 10 Feb 2011 19:37:02 +0000 (20:37 +0100)]
s3-waf: fix cups checks when lib is there but headers aren't.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Feb 10 21:24:37 CET 2011 on sn-devel-104
(cherry picked from commit 4de3e733da8d37a16bce0fb7383d176f8a7ac0b1)

13 years agos3-waf: better checks for gssapi support.
Günther Deschner [Thu, 10 Feb 2011 17:23:12 +0000 (18:23 +0100)]
s3-waf: better checks for gssapi support.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Feb 10 19:24:12 CET 2011 on sn-devel-104
(cherry picked from commit 5ecda05967211834d085e5cdc7ea1862acf6fcc5)

13 years agos3-system: fix malloc/talloc mismatch in sys_popen().
Günther Deschner [Thu, 10 Feb 2011 17:01:46 +0000 (18:01 +0100)]
s3-system: fix malloc/talloc mismatch in sys_popen().

Guenther
(cherry picked from commit fa0c6c1a9e9c853d3f3bf66ff20ed5a024c68924)

13 years agos3-oldtest: remove unused tests_all.sh file.
Günther Deschner [Thu, 10 Feb 2011 16:46:22 +0000 (17:46 +0100)]
s3-oldtest: remove unused tests_all.sh file.

Guenther
(cherry picked from commit 97b03d5bfb820be521ce3314dbb09e6558e7c11e)

13 years agos3-rpc_client: Fixed an uninitialized variable.
Andreas Schneider [Wed, 9 Feb 2011 08:46:43 +0000 (09:46 +0100)]
s3-rpc_client: Fixed an uninitialized variable.

Signed-off-by: Günther Deschner <gd@samba.org>
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Feb 10 18:32:08 CET 2011 on sn-devel-104
(cherry picked from commit da9cd736d2e9e32de9b5259aa06f9cf4634377bc)

13 years agos3-rpc_client: Added dcerpc_winreg_int_openkey() which dectects the hive.
Andreas Schneider [Tue, 8 Feb 2011 10:54:15 +0000 (11:54 +0100)]
s3-rpc_client: Added dcerpc_winreg_int_openkey() which dectects the hive.

Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit 8cffe147eb609fe6aef05124d2ba93ec21b88715)

13 years agos3-rpc_client: Fixed winreg int documentation.
Andreas Schneider [Tue, 8 Feb 2011 10:53:40 +0000 (11:53 +0100)]
s3-rpc_client: Fixed winreg int documentation.

Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit 8ed5808390ccb449c7c6dfdc510101c1ad8feb4c)

13 years agos3-rpc_server: Fixed possible segfaults in svcctl server.
Andreas Schneider [Tue, 8 Feb 2011 14:33:51 +0000 (15:33 +0100)]
s3-rpc_server: Fixed possible segfaults in svcctl server.

Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit f0a90551b279c2dc7ab9d4c0e4b16b3e724548e2)

13 years agos3:smbd: fix switch indentation level in get_ea_dos_attribute()
Michael Adam [Thu, 10 Feb 2011 15:09:34 +0000 (16:09 +0100)]
s3:smbd: fix switch indentation level in get_ea_dos_attribute()

Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Thu Feb 10 17:46:12 CET 2011 on sn-devel-104

13 years agonsswitch: fix a segfault in the krb5 locator plugin
Christian Ambach [Thu, 10 Feb 2011 14:55:50 +0000 (15:55 +0100)]
nsswitch: fix a segfault in the krb5 locator plugin

after the number of retries was exceeded, the loop did not
    bail out correctly with an error and went on using a null pointer

13 years agos3: Slightly simplify winbind_write_sock
Volker Lendecke [Thu, 10 Feb 2011 13:59:39 +0000 (14:59 +0100)]
s3: Slightly simplify winbind_write_sock

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Feb 10 17:00:46 CET 2011 on sn-devel-104

13 years agos3: Fix some nonempty blank lines
Volker Lendecke [Thu, 10 Feb 2011 10:00:18 +0000 (11:00 +0100)]
s3: Fix some nonempty blank lines

13 years agoreplace: Add missing eval to m4 script
Sumit Bose [Tue, 8 Feb 2011 09:55:06 +0000 (10:55 +0100)]
replace: Add missing eval to m4 script

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Feb 10 16:14:21 CET 2011 on sn-devel-104
(cherry picked from commit d02b5cd65574a3f0af3fa73439af251e728c87d8)

13 years agosocket_wrapper: avoid c++ style comments.
Günther Deschner [Thu, 10 Feb 2011 13:20:34 +0000 (14:20 +0100)]
socket_wrapper: avoid c++ style comments.

Seen on the aix s3-waf build where it causes the build to fail.

Guenther
(cherry picked from commit 2f6d76a95fea8aa1696c039516818d9e3bfe35d1)

13 years agolibwbclient: doxygen: mark wbcSetGidHwm deprecated
Michael Adam [Thu, 10 Feb 2011 11:48:01 +0000 (12:48 +0100)]
libwbclient: doxygen: mark wbcSetGidHwm deprecated

Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Thu Feb 10 14:42:24 CET 2011 on sn-devel-104

13 years agolibwbclient: doxygen: mark wbcSetUidHwm deprecated
Michael Adam [Thu, 10 Feb 2011 11:48:01 +0000 (12:48 +0100)]
libwbclient: doxygen: mark wbcSetUidHwm deprecated

13 years agolibwbclient: doxygen: mark wbcRemoveGidMapping deprecated
Michael Adam [Thu, 10 Feb 2011 11:48:01 +0000 (12:48 +0100)]
libwbclient: doxygen: mark wbcRemoveGidMapping deprecated

13 years agolibwbclient: doxygen: mark wbcRemoveUidMapping deprecated
Michael Adam [Thu, 10 Feb 2011 11:48:01 +0000 (12:48 +0100)]
libwbclient: doxygen: mark wbcRemoveUidMapping deprecated

13 years agolibwbclient: doxygen: mark wbcSetGidMapping deprecated
Michael Adam [Thu, 10 Feb 2011 11:48:01 +0000 (12:48 +0100)]
libwbclient: doxygen: mark wbcSetGidMapping deprecated

13 years agolibwbclient: doxygen: mark wbcSetUidMapping deprecated
Michael Adam [Thu, 10 Feb 2011 11:48:01 +0000 (12:48 +0100)]
libwbclient: doxygen: mark wbcSetUidMapping deprecated

13 years agoRevert "libwbclient: bump the libwbclient SOVER 0 -> 1 due to ABI changes"
Michael Adam [Thu, 10 Feb 2011 10:08:02 +0000 (11:08 +0100)]
Revert "libwbclient: bump the libwbclient SOVER 0 -> 1 due to ABI changes"

This reverts commit 5dd63c6c1439f5dde00e56144c38771d81455ada.

Undo the library version bump.

13 years agoRevert "wbinfo: remove --set-uid-mapping - winbindd does not implement that any more."
Michael Adam [Thu, 10 Feb 2011 10:04:51 +0000 (11:04 +0100)]
Revert "wbinfo: remove --set-uid-mapping - winbindd does not implement that any more."

This reverts commit 0e90d01d53ee197a6451b7c55c2afa74e0d8b0bb.

Undo the library version bump.

13 years agoRevert "wbinfo: remove --set-gid-mapping - winbindd does not implement that any more."
Michael Adam [Thu, 10 Feb 2011 10:04:47 +0000 (11:04 +0100)]
Revert "wbinfo: remove --set-gid-mapping - winbindd does not implement that any more."

This reverts commit 9de1fd4352346cb71b232b7198155e157396f6ec.

Undo the library version bump.

13 years agoRevert "wbinfo: remove --remove-uid-mapping - winbindd does not implement that any...
Michael Adam [Thu, 10 Feb 2011 10:04:44 +0000 (11:04 +0100)]
Revert "wbinfo: remove --remove-uid-mapping - winbindd does not implement that any more."

This reverts commit 36e2baa8da3de559ce0f6c927f6262a8e4648a97.

Undo the library version bump.

13 years agoRevert "wbinfo: remove --remove-gid-mapping - winbindd does not implement that any...
Michael Adam [Thu, 10 Feb 2011 10:04:41 +0000 (11:04 +0100)]
Revert "wbinfo: remove --remove-gid-mapping - winbindd does not implement that any more."

This reverts commit 48ad64aa78568c4ce743345448c9d39305752d73.

Undo the library version bump.

13 years agoRevert "libwbclient: remove two unused defines"
Michael Adam [Thu, 10 Feb 2011 10:04:35 +0000 (11:04 +0100)]
Revert "libwbclient: remove two unused defines"

This reverts commit 58bf6f9ff0b29df14eee2900fb847b96ef28411f.

Undo the library version bump.

13 years agoRevert "libwbclient: remove wbcSetUidMapping() - not implemented any more"
Michael Adam [Thu, 10 Feb 2011 10:04:32 +0000 (11:04 +0100)]
Revert "libwbclient: remove wbcSetUidMapping() - not implemented any more"

This reverts commit 25a0dc44f7e180d96dcccb8701e9817ecfd54955.

Undo the library version bump.

13 years agoRevert "libwbclient: remove wbcSetGidMapping() - not implemented any more"
Michael Adam [Thu, 10 Feb 2011 10:04:27 +0000 (11:04 +0100)]
Revert "libwbclient: remove wbcSetGidMapping() - not implemented any more"

This reverts commit 52e1be2139d370bf0ce99371bc9ab73db41c6236.

Undo the library version bump.

13 years agoRevert "libwbclient: remove wbcRemoveUidMapping() - not implemented any more"
Michael Adam [Thu, 10 Feb 2011 10:04:23 +0000 (11:04 +0100)]
Revert "libwbclient: remove wbcRemoveUidMapping() - not implemented any more"

This reverts commit 1ed5961df2da73b61666a4565d0633e34f72d04d.

Undo the library version bump.

13 years agoRevert "libwbclient: remove wbcRemoveGidMapping() - not implemented any more"
Michael Adam [Thu, 10 Feb 2011 10:04:19 +0000 (11:04 +0100)]
Revert "libwbclient: remove wbcRemoveGidMapping() - not implemented any more"

This reverts commit 393c866c517636e94b48ca6030a57b712892d568.

Undo the library version bump.

13 years agoRevert "libwbclient: remove wbcSetUidHwm() - not implemented any more"
Michael Adam [Thu, 10 Feb 2011 10:04:15 +0000 (11:04 +0100)]
Revert "libwbclient: remove wbcSetUidHwm() - not implemented any more"

This reverts commit 6558323c84cdd929716c59ba66d2ae6b699931d2.

Undo the library version bump.

13 years agoRevert "libwbclient: remove wbcSetGidHwm() - not implemented any more"
Michael Adam [Thu, 10 Feb 2011 10:04:11 +0000 (11:04 +0100)]
Revert "libwbclient: remove wbcSetGidHwm() - not implemented any more"

This reverts commit 68a9b726be84aaaaa340f19e175da448409430b3.

Undo the library version bump.

13 years agoRevert "libwbclient: bump version to 0.6 -> 1.0 due to ABI change (removed symbols)"
Michael Adam [Thu, 10 Feb 2011 10:04:06 +0000 (11:04 +0100)]
Revert "libwbclient: bump version to 0.6 -> 1.0 due to ABI change (removed symbols)"

This reverts commit 128bed20c4570fa23bea4d0d49deae811a67a624.

Undo the library version bump.

13 years agoRevert "nsswitch: libwbclient has vnum 1 now."
Michael Adam [Thu, 10 Feb 2011 10:03:59 +0000 (11:03 +0100)]
Revert "nsswitch: libwbclient has vnum 1 now."

This reverts commit c9cb42a27634a0a711d48762c779c6b2f7c338e2.

Undo the library version bump.

13 years agoRevert "nsswitch: remove unused code from wbinfo.c"
Michael Adam [Thu, 10 Feb 2011 09:59:18 +0000 (10:59 +0100)]
Revert "nsswitch: remove unused code from wbinfo.c"

This reverts commit 3bdd2efff8d11448275965b464ac194a2ee0d3ae.

Undo the library version bump.

13 years agolibrpc: move preg.idl to main directory.
Günther Deschner [Thu, 10 Feb 2011 11:54:27 +0000 (12:54 +0100)]
librpc: move preg.idl to main directory.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Feb 10 13:56:49 CET 2011 on sn-devel-104
(cherry picked from commit ad0a3185ce4d9918597d1de3decb9080b88277ef)

13 years agos3-waf: fix krb5 checks logic.
Günther Deschner [Thu, 10 Feb 2011 11:42:47 +0000 (12:42 +0100)]
s3-waf: fix krb5 checks logic.

Guenther
(cherry picked from commit 7de21e62946fdd74250be56bd33e9598237307c5)

13 years agos3: give ../librpc/ndr/util.c its own header.
Günther Deschner [Wed, 9 Feb 2011 23:11:38 +0000 (00:11 +0100)]
s3: give ../librpc/ndr/util.c its own header.

Guenther
(cherry picked from commit fdd4d56405544b8c25fa3f24889726cb98506345)

13 years agoPut OpenDir() back the way it was - don't overload with an fsp arg. Create OpenDir_fs...
Jeremy Allison [Thu, 10 Feb 2011 00:31:06 +0000 (16:31 -0800)]
Put OpenDir() back the way it was - don't overload with an fsp arg. Create OpenDir_fsp for new usage.
(cherry picked from commit 558eeb860e3e3475f5ab39c52fab3414b5b8b478)

13 years agoMake it clear we're using the open file pathname.
Jeremy Allison [Wed, 9 Feb 2011 23:06:40 +0000 (15:06 -0800)]
Make it clear we're using the open file pathname.
(cherry picked from commit 417621d799436c2583514ede02301cf1bb30efb2)

13 years agoAllow SMB2_FIND to actually use the open fd handle if we support fdopendir. Fallback...
Jeremy Allison [Wed, 9 Feb 2011 23:05:58 +0000 (15:05 -0800)]
Allow SMB2_FIND to actually use the open fd handle if we support fdopendir. Fallback to pathname opendir if not.
(cherry picked from commit 1607ebfe8632fa13c5ffb466b8c9f416d7ab20aa)

13 years agoCorrectly plumb in VFS_FDOPENDIR.
Jeremy Allison [Wed, 9 Feb 2011 23:00:56 +0000 (15:00 -0800)]
Correctly plumb in VFS_FDOPENDIR.
(cherry picked from commit 61c1f312d2665197d34245537a8f5b641bda1243)

13 years agos3-waf: make ads support detection a little more robust.
Günther Deschner [Wed, 9 Feb 2011 21:43:41 +0000 (22:43 +0100)]
s3-waf: make ads support detection a little more robust.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb  9 23:38:50 CET 2011 on sn-devel-104
(cherry picked from commit d0406ab7f035c7a777b9494712e7b9b52df95a19)