Günther Deschner [Wed, 27 Feb 2008 23:05:23 +0000 (00:05 +0100)]
Use pidl for _svcctl_QueryServiceObjectSecurity().
Guenther
Günther Deschner [Wed, 27 Feb 2008 23:03:00 +0000 (00:03 +0100)]
Re-run make idl.
Guenther
Günther Deschner [Wed, 27 Feb 2008 23:03:20 +0000 (00:03 +0100)]
Fill in IDL for svcctl_QueryServiceObjectSecurity.
Guenther
Volker Lendecke [Wed, 27 Feb 2008 21:46:27 +0000 (22:46 +0100)]
Add some entries to WHATSNEW
If this is too much self-praising, feel free to revert :-)
Stefan Metzmacher [Wed, 27 Feb 2008 19:03:42 +0000 (20:03 +0100)]
remove unused unixinfo.idl and generated files
The idl in this version uses pidl specific non NDR types...
metze
Günther Deschner [Wed, 27 Feb 2008 18:38:48 +0000 (19:38 +0100)]
Add my copyright.
Guenther
Günther Deschner [Wed, 27 Feb 2008 17:49:17 +0000 (18:49 +0100)]
Cosmetics: make check_bind_req() debug statements a little nicer.
Guenther
Günther Deschner [Wed, 27 Feb 2008 17:48:02 +0000 (18:48 +0100)]
Remove unused BRS marshalling headers.
Guenther
Günther Deschner [Wed, 27 Feb 2008 15:54:01 +0000 (16:54 +0100)]
Remove unneeded rpc_samr.h.
Guenther
Günther Deschner [Wed, 27 Feb 2008 16:15:09 +0000 (17:15 +0100)]
Re-run make idl.
Guenther
Günther Deschner [Wed, 27 Feb 2008 15:52:39 +0000 (16:52 +0100)]
Move MAX_SAM_ENTRIES defines to samr rpc_server and to samr.idl.
Guenther
Günther Deschner [Wed, 27 Feb 2008 16:14:22 +0000 (17:14 +0100)]
Re-run make idl.
Guenther
Günther Deschner [Wed, 27 Feb 2008 15:49:44 +0000 (16:49 +0100)]
Move PASS_*_CHANGE_AT_NEXT_LOGON defines to samr.idl.
Guenther
Günther Deschner [Wed, 27 Feb 2008 15:14:27 +0000 (16:14 +0100)]
Move LSA_AUDIT_NUM_CATEGORIES defines to lsa rpc_server.
Guenther
Günther Deschner [Wed, 27 Feb 2008 16:06:03 +0000 (17:06 +0100)]
Re-run make idl.
Guenther
Günther Deschner [Wed, 27 Feb 2008 15:03:17 +0000 (16:03 +0100)]
Move MAX_LOOKUP_SIDS to lsa.idl.
Guenther
Günther Deschner [Wed, 27 Feb 2008 16:05:31 +0000 (17:05 +0100)]
Re-run make idl.
Guenther
Günther Deschner [Wed, 27 Feb 2008 15:13:39 +0000 (16:13 +0100)]
Move MAX_REF_DOMAINS to lsa.idl.
Guenther
Günther Deschner [Wed, 27 Feb 2008 14:49:31 +0000 (15:49 +0100)]
Use new LSA_POLICY defines in lsa rpc server code and other places.
Guenther
Günther Deschner [Wed, 27 Feb 2008 14:56:18 +0000 (15:56 +0100)]
Re-run make idl.
Guenther
Günther Deschner [Wed, 27 Feb 2008 14:47:26 +0000 (15:47 +0100)]
Use lsa_PolicyAccessMask in lsa_OpenPolicy/2.
Guenther
Günther Deschner [Wed, 27 Feb 2008 14:46:35 +0000 (15:46 +0100)]
Add lsa_PolicyAccessMask to lsa.idl.
Guenther
Günther Deschner [Tue, 19 Feb 2008 02:30:37 +0000 (03:30 +0100)]
Copy recent spoolss IDL from samba4 into our tree.
Guenther
Michael Adam [Wed, 27 Feb 2008 09:33:32 +0000 (10:33 +0100)]
libreplace: standalone build: use -I$srcdir instead of -I.
Michael
Michael Adam [Wed, 27 Feb 2008 00:41:30 +0000 (01:41 +0100)]
libreplace: fix standalone build - add necessary libs.
The libs needed for getifaddrs replacements have to be added
to LIBS and used for the testsuite target.
Michael
Michael Adam [Wed, 27 Feb 2008 00:29:12 +0000 (01:29 +0100)]
libreplace: fix standalone build on some systems.
getifaddr tests include system/network.h, which does not
find getaddrinfo.h without "-I.".
Michael
Michael Adam [Wed, 27 Feb 2008 09:06:53 +0000 (10:06 +0100)]
Fix caller of node_status_query() to use sockaddr_storage().
Caller is hidden inside an #ifdef .
Michael
Steven Danneman [Wed, 27 Feb 2008 04:14:04 +0000 (20:14 -0800)]
Closed memory leak on error path.
Derrell Lipman [Wed, 27 Feb 2008 02:46:48 +0000 (21:46 -0500)]
update .gitignore with new test program executable
Derrell Lipman [Wed, 27 Feb 2008 02:46:08 +0000 (21:46 -0500)]
add a test program for the new ftruncate functionality
Derrell Lipman [Wed, 27 Feb 2008 02:44:51 +0000 (21:44 -0500)]
add smbc_ftruncate() to emulate POSIX ftruncate()
Derrell Lipman [Wed, 27 Feb 2008 02:43:13 +0000 (21:43 -0500)]
add 64-bit macros from samba4
Derrell Lipman [Wed, 27 Feb 2008 02:42:26 +0000 (21:42 -0500)]
add a function to truncate a file to a specified size
Andreas Schneider [Fri, 22 Feb 2008 16:35:53 +0000 (17:35 +0100)]
Add variable to define if a share should be hidden.
If you create a share on a Windows machine called foo$ then this share is
of the type STYPE_DISKTREE. So it is possible to administrate this kind of
share. Tested on Windows NT and 2003.
In samba we assume that if a share with a $ at the end must be of the type
STYPE_DISKTREE_HIDDEN. This is wrong, so we need a variable in the config
to define if the share should be hidden or not.
Michael Adam [Tue, 26 Feb 2008 15:04:34 +0000 (16:04 +0100)]
Rerun make idl. To remove irritating semicolon.
Michael
Michael Adam [Tue, 26 Feb 2008 15:02:47 +0000 (16:02 +0100)]
Add libnet_join.idl to the IDL files to be processed by "make idl".
Michael
Michael Adam [Tue, 26 Feb 2008 15:01:34 +0000 (16:01 +0100)]
make idl: Only compile idl files newer than the output to be generated.
Fix "if" condition in build_idl.sh to not always evaluate as false.
Michael
Michael Adam [Tue, 26 Feb 2008 12:24:54 +0000 (13:24 +0100)]
libreplace: Add tests for connect and gethostbyname.
Provide dummy replacements when a function isnt found.
The functions are also searched for in certain libraries,
and variables SOCKET_LIBS and NSL_LIBS are set accordingly.
One purpose of this is to fix the getifaddrs tests on
systems where e.g. the socket calls require special libs
for linking.
Michael
Michael Adam [Mon, 25 Feb 2008 16:42:12 +0000 (17:42 +0100)]
configure: put swat-part of config into m4-include file of its own.
Michael
Michael Adam [Tue, 26 Feb 2008 10:18:51 +0000 (11:18 +0100)]
Fix build on VOS: socklen_t is needed for rep_inet_ntop: move it up.
Michael
Karolin Seeger [Tue, 26 Feb 2008 09:26:10 +0000 (10:26 +0100)]
Fix some typos.
Karolin
Michael Adam [Mon, 25 Feb 2008 16:24:52 +0000 (17:24 +0100)]
Fix build on some systems : don't pass libraries to mkproto.awk
Currently, some static libraries have gone into object lists
that are also passed to make proto. (This should probably be
changed...) Then some awk versions fail when passed an non-
existing lib/libtdb.a e.g.. This patch changes mkproto.sh to
exclude \.a files from the list of files to process.
Michael
Michael Adam [Mon, 25 Feb 2008 16:05:21 +0000 (17:05 +0100)]
Fix the build on OpenBSD: ENOTSUP is not always defined.
Michael
Volker Lendecke [Mon, 25 Feb 2008 14:24:49 +0000 (15:24 +0100)]
Fix some warnings
warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result
Volker Lendecke [Mon, 25 Feb 2008 12:00:24 +0000 (13:00 +0100)]
Correctly check return of rename(2)
Bug 5279 -- Thanks to Max Matveev
Volker Lendecke [Mon, 25 Feb 2008 11:52:55 +0000 (12:52 +0100)]
Fix inotify detection
Bug 5271 -- thanks to Tiziano Müller
Stefan Metzmacher [Mon, 25 Feb 2008 10:34:44 +0000 (11:34 +0100)]
make test: pass --option=torture:sharedelay=100000 to samba4 smbtorture
BASE-DEFER_OPEN is now more strict with incorrect timing
metze
Volker Lendecke [Mon, 25 Feb 2008 08:55:53 +0000 (09:55 +0100)]
Do the formatting change in all 3 places :-)
Volker Lendecke [Mon, 25 Feb 2008 08:51:33 +0000 (09:51 +0100)]
Fix confusing error message -- bug 5252
Thanks to Walter Franzini
Volker Lendecke [Sun, 24 Feb 2008 10:32:22 +0000 (11:32 +0100)]
Allow "max mux" async i/o requests
In the negprot reply, we allowed the client to issued "max mux" concurrent
requests. The OS might allow less, for example AFAIK AIX has a configurable
limit of concurrent AIO requests. We will fall back to sync operation for the
requests that are too many when aio_read/aio_write return an error.
Jeremy, please check!
Volker Lendecke [Sun, 24 Feb 2008 10:39:57 +0000 (11:39 +0100)]
Export aio_request_done()
This is for external modules implementing the Posix AIO API that not
necessarily depend on the signal mechanism to indicate completion.
Michael Adam [Sun, 24 Feb 2008 00:00:39 +0000 (01:00 +0100)]
Fix aix-build of libtalloc.so by exporting all necessary symbols.
Use -bexpfull instead of -bexpall for LDSHFLAGS to also export
symbols starting with "_". This exports all necessary symbols
from libtalloc.so.
Michael
Volker Lendecke [Sat, 23 Feb 2008 23:01:07 +0000 (00:01 +0100)]
AIO on streams does not work (yet...)
Volker Lendecke [Sat, 23 Feb 2008 20:40:39 +0000 (21:40 +0100)]
Fix typo
Volker Lendecke [Sat, 23 Feb 2008 09:52:12 +0000 (10:52 +0100)]
Fix a C++ warning
Volker Lendecke [Sat, 23 Feb 2008 09:50:12 +0000 (10:50 +0100)]
Fix a C++ warning
Volker Lendecke [Sat, 23 Feb 2008 09:49:00 +0000 (10:49 +0100)]
Check return value of pipe(2)
Volker Lendecke [Sat, 23 Feb 2008 09:47:18 +0000 (10:47 +0100)]
Check return value of dup(2)
Volker Lendecke [Sat, 23 Feb 2008 09:43:58 +0000 (10:43 +0100)]
Fix a C++ warning
Volker Lendecke [Sat, 23 Feb 2008 09:42:43 +0000 (10:42 +0100)]
Check the return value of fgets
Volker Lendecke [Sat, 23 Feb 2008 09:54:59 +0000 (10:54 +0100)]
make idl: Check return value of asprintf
Jeremy Allison [Sat, 23 Feb 2008 00:19:59 +0000 (16:19 -0800)]
Fix "used uninitialized" errors.
Jeremy.
Jeremy Allison [Sat, 23 Feb 2008 00:12:57 +0000 (16:12 -0800)]
Fix debug messages.
Jeremy.
Jeremy Allison [Fri, 22 Feb 2008 21:38:03 +0000 (13:38 -0800)]
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
Simo Sorce [Fri, 22 Feb 2008 19:10:28 +0000 (14:10 -0500)]
Make sure mount.cifs.c compiles on Fedora 9 with gcc 4.3
Volker Lendecke [Fri, 22 Feb 2008 15:17:10 +0000 (16:17 +0100)]
Don't use fname after create_file has been called
create_file calls unix_convert internally, so modifies fname. So we can't use
"fname" after create_file has returned. Use fsp->fsp_name instead.
Found during a lengthy debugging session with Karolin testing the xattr_tdb
module...
Michael Adam [Fri, 22 Feb 2008 12:53:05 +0000 (13:53 +0100)]
libreplace: don't use socketwrapper for getifaddrs() implementations.
Michael
Michael Adam [Fri, 22 Feb 2008 09:42:22 +0000 (10:42 +0100)]
libreplace: Fix comment originating from old samba source.
Michael
(cherry picked from commit
0440bcfe6359ca4842f473b1ca799cad9f1c6c96)
Michael Adam [Fri, 22 Feb 2008 09:43:42 +0000 (10:43 +0100)]
Not all implementations of struct ifaddrs define ifa_broadaddr.
E.g. the definition of libreplace doesn't. :-o
Michael
Michael Adam [Fri, 22 Feb 2008 00:59:45 +0000 (01:59 +0100)]
Remove the implementations of _get_interfaces and autoconf test in interfaces.c
getifaddrs() is now provided by libreplace.
Michael
Michael Adam [Thu, 21 Feb 2008 23:34:41 +0000 (00:34 +0100)]
libreplace: fix creation of conftest files for getifaddrs tests.
Add missing includes of replace.c and defines of SOCKET_WRAPPER_NOT_REPLACE.
Michael
Michael Adam [Thu, 21 Feb 2008 23:27:00 +0000 (00:27 +0100)]
Fix linked list of ifaddrs in implementations of rep_getifaddrs.
Produce proper list instead of one-node-loop.
Michael
Michael Adam [Thu, 21 Feb 2008 23:24:11 +0000 (00:24 +0100)]
Add missing initalizations of lastif in rep_getifaddr implementations.
Michael
Jeremy Allison [Thu, 21 Feb 2008 19:03:35 +0000 (11:03 -0800)]
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
Karolin Seeger [Thu, 21 Feb 2008 18:34:48 +0000 (19:34 +0100)]
Change option name.
xattr:tdb -> xattr_tdb:file (according to the other vfs option names)
Karolin
Jeremy Allison [Thu, 21 Feb 2008 17:53:00 +0000 (09:53 -0800)]
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
Michael Adam [Thu, 21 Feb 2008 17:16:10 +0000 (18:16 +0100)]
libreplace: fix compile errors in getifaddrs.c
Michael
Michael Adam [Thu, 21 Feb 2008 16:56:33 +0000 (17:56 +0100)]
Try and fix getifaddrs check on irix: dont't try to include config.h
The missing header file is judged "catastrophic" on irix.
Michael
Michael Adam [Thu, 21 Feb 2008 13:07:45 +0000 (14:07 +0100)]
Move the definition of SMB_LIBRARY to aclocal.m4.
Michael
Michael Adam [Thu, 21 Feb 2008 11:55:52 +0000 (12:55 +0100)]
configure: Abstract configuration of internal libs into an m4 macro.
New subsystem libraries can now be added by specifying SMB_LIBRARY(name).
Michael
Volker Lendecke [Thu, 21 Feb 2008 10:39:42 +0000 (11:39 +0100)]
fix typo
Michael Adam [Wed, 20 Feb 2008 23:34:16 +0000 (00:34 +0100)]
Remove check for secure mkstemp from configure.in.
It has moved to libreplace.
Michael
Michael Adam [Wed, 20 Feb 2008 23:11:03 +0000 (00:11 +0100)]
Remove mmap check from configure.in
It is available in libreplace.
Michael
Michael Adam [Thu, 21 Feb 2008 09:26:54 +0000 (10:26 +0100)]
Fix the build on irix: Prevent empty line in TDB_OBJ
This leads to a Makfile syntax error in the prerequisites for
bin/smbd. Wow, irix is really picky!
Michael
Jeremy Allison [Thu, 21 Feb 2008 06:10:54 +0000 (22:10 -0800)]
From: David Disseldorp <ddiss@sgi.com>
The vfs_prealloc module makes use of the now redundant fd parameter for
SMB_VFS_FTRUNCATE(), instead get the fd from the files_struct.
Patch for Samba 3.2 Test branch below.
Cheers, David D
Tim Potter [Mon, 18 Feb 2008 09:37:33 +0000 (20:37 +1100)]
Fix double free bugs after calling regfio_close()
Tim Potter [Mon, 18 Feb 2008 10:00:51 +0000 (21:00 +1100)]
Fix memory leaks on error path
Tim Potter [Sun, 17 Feb 2008 23:43:46 +0000 (10:43 +1100)]
Fix possible close of invalid fd if call to socket() returns -1.
Michael Adam [Wed, 20 Feb 2008 22:44:17 +0000 (23:44 +0100)]
Fix build with static libs: place tdb static lib after tdb-util objects.
Michael
Michael Adam [Wed, 20 Feb 2008 21:47:31 +0000 (22:47 +0100)]
configure: add --enable-shared-libs to control overall internal use of shared libs.
To disable internal use of shared libraries altogether (as opposed to
disabling use of single shared libs by --with-static-libs=LIBS), use
this new configure parameter --disable-shared-libs.
Michael
Michael Adam [Wed, 20 Feb 2008 20:33:06 +0000 (21:33 +0100)]
configure: Move assemblage of samba version strings to m4 include file.
Michael
Michael Adam [Wed, 20 Feb 2008 16:56:21 +0000 (17:56 +0100)]
Remove checks for ino_t, loff_t, offset_t, and comparison_fn_t from configure.in.
These tests are in libreplace.
Michael
Jelmer Vernooij [Wed, 20 Feb 2008 19:05:51 +0000 (20:05 +0100)]
Support dlopen(NULL, ...) on HPUX.
(cherry picked from commit
53c70b5f77a3b9abaab783590e66278129173d5f)
Michael Adam [Wed, 20 Feb 2008 16:26:39 +0000 (17:26 +0100)]
Remove tests for vsnprintf snprintf asprintf vasprintf and va_copy from configure.
These are tested in libreplace.
Michael
Michael Adam [Wed, 20 Feb 2008 11:53:07 +0000 (12:53 +0100)]
libreplace: change samba_cv_ to libreplace_cv_ in libreplace.m4.
Michael
(cherry picked from commit
83387ecccfe95b80525bf53c5fc9e945ffee10ec)
Michael Adam [Wed, 20 Feb 2008 11:49:30 +0000 (12:49 +0100)]
libreplace: change samba_cv_ to libreplace_cv_ in system/config.m4.
Michael
(cherry picked from commit
00c173bfba9c659750bf231fbd9278dd38aa8bfc)
Michael Adam [Wed, 20 Feb 2008 11:46:20 +0000 (12:46 +0100)]
libreplace: change samba_cv_ to libreplace_cv_ in getpass.m4.
Michael
(cherry picked from commit
d3b3d3ec9ff64108b4cd5b7c912ab4ea207256cb)
Michael Adam [Wed, 20 Feb 2008 11:43:37 +0000 (12:43 +0100)]
libreplace: change samba_cv_ to libreplace_cv_ in getifaddrs.m4
Michael
(cherry picked from commit
acab9def2a1e3460bef8baae6efc66d9dfad6eac)
Michael Adam [Tue, 19 Feb 2008 23:44:40 +0000 (00:44 +0100)]
Remove the getifaddrs checks from configure.in: they are now in lib/replace.
Michael
Michael Adam [Tue, 19 Feb 2008 23:17:31 +0000 (00:17 +0100)]
configure: Use SAMBA_CONFIGURE_CPPFLAGS for AC_LIBREPLACE_BROKEN_CHECKS.
To fix the build (make test) after merging libreplace changes.
Michael