gd/samba/.git
16 years agoWHATSNEW: add two more items to my changes.
Michael Adam [Thu, 28 Feb 2008 11:19:30 +0000 (12:19 +0100)]
WHATSNEW: add two more items to my changes.

Michael

16 years agoWHATSNEW: Also merge changes in "Major enhancements" section from v3-2-stable.
Michael Adam [Thu, 28 Feb 2008 11:13:59 +0000 (12:13 +0100)]
WHATSNEW: Also merge changes in "Major enhancements" section from v3-2-stable.

Michael

16 years agoWHATSNEW: give a new date for the upcoming prerelease.
Michael Adam [Thu, 28 Feb 2008 11:13:22 +0000 (12:13 +0100)]
WHATSNEW: give a new date for the upcoming prerelease.

Michael

16 years agoWHATSNEW: Fix spacings
Michael Adam [Thu, 28 Feb 2008 11:11:58 +0000 (12:11 +0100)]
WHATSNEW: Fix spacings

Michael

16 years agoWHATSNEW: fix a typo and spacings
Michael Adam [Thu, 28 Feb 2008 11:11:21 +0000 (12:11 +0100)]
WHATSNEW: fix a typo and spacings

Michael

16 years agoWHATSNEW: Merge additions from v3-2-stable's WHATSNEW. :-}
Michael Adam [Thu, 28 Feb 2008 11:08:11 +0000 (12:08 +0100)]
WHATSNEW: Merge additions from v3-2-stable's WHATSNEW. :-}

Michael

16 years agoWHATSNEW: Move Volker's post pre1 changes to the appropriate section.
Michael Adam [Thu, 28 Feb 2008 10:59:11 +0000 (11:59 +0100)]
WHATSNEW: Move Volker's post pre1 changes to the appropriate section.

Michael

16 years agoWHATSNEW: adapt section on registry configuration to new facts.
Michael Adam [Thu, 28 Feb 2008 10:58:09 +0000 (11:58 +0100)]
WHATSNEW: adapt section on registry configuration to new facts.

Also add to smb.conf changes.

Michael

16 years agoRemove a useless variable.
Michael Adam [Thu, 28 Feb 2008 10:31:20 +0000 (11:31 +0100)]
Remove a useless variable.

Michael

16 years agoUse libnet_Unjoin() for "net ads leave".
Günther Deschner [Thu, 28 Feb 2008 10:55:36 +0000 (11:55 +0100)]
Use libnet_Unjoin() for "net ads leave".

Guenther

16 years agoStore domain_is_ad info as early as possible in libnetjoin.
Günther Deschner [Thu, 28 Feb 2008 10:29:56 +0000 (11:29 +0100)]
Store domain_is_ad info as early as possible in libnetjoin.

Guenther

16 years agoCheck for mandatory domain name in libnetjoin/unjoin.
Günther Deschner [Thu, 28 Feb 2008 10:26:47 +0000 (11:26 +0100)]
Check for mandatory domain name in libnetjoin/unjoin.

Guenther

16 years agoDelete affinity cache entries while unjoining with libnetunjoin.
Günther Deschner [Thu, 28 Feb 2008 10:23:36 +0000 (11:23 +0100)]
Delete affinity cache entries while unjoining with libnetunjoin.

Guenther

16 years agoFill in machine account manipulation flags while unjoining in libnetunjoin.
Günther Deschner [Thu, 28 Feb 2008 10:19:57 +0000 (11:19 +0100)]
Fill in machine account manipulation flags while unjoining in libnetunjoin.

Guenther

16 years agoAdd preliminary libnet_join_post_verify call to libnetjoin.
Günther Deschner [Thu, 28 Feb 2008 10:17:29 +0000 (11:17 +0100)]
Add preliminary libnet_join_post_verify call to libnetjoin.

Guenther

16 years agoRe-run make idl.
Günther Deschner [Thu, 28 Feb 2008 10:12:33 +0000 (11:12 +0100)]
Re-run make idl.

Guenther

16 years agoAdd disabled_machine_account and deleted_machine_accoutn flags to libnetunjoin.
Günther Deschner [Thu, 28 Feb 2008 10:11:05 +0000 (11:11 +0100)]
Add disabled_machine_account and deleted_machine_accoutn flags to libnetunjoin.

Guenther

16 years agoMerge all connect ads calls into libnet_join_post_processing_ads().
Günther Deschner [Thu, 28 Feb 2008 10:02:01 +0000 (11:02 +0100)]
Merge all connect ads calls into libnet_join_post_processing_ads().

Guenther

16 years agoUse W_ERROR_NOT_OK_GOTO_DONE macro in libnetjoin.
Günther Deschner [Thu, 28 Feb 2008 10:00:50 +0000 (11:00 +0100)]
Use W_ERROR_NOT_OK_GOTO_DONE macro in libnetjoin.

Guenther

16 years agoAdd noopnum to libnet join/unjoin calls.
Günther Deschner [Thu, 28 Feb 2008 09:56:27 +0000 (10:56 +0100)]
Add noopnum to libnet join/unjoin calls.

Guenther

16 years agoSome cosmetics for net_derive_salting_principal().
Günther Deschner [Thu, 28 Feb 2008 09:52:37 +0000 (10:52 +0100)]
Some cosmetics for net_derive_salting_principal().

Guenther

16 years agoMerge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
Jeremy Allison [Thu, 28 Feb 2008 10:22:47 +0000 (02:22 -0800)]
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test

16 years agoMerge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
Jeremy Allison [Thu, 28 Feb 2008 10:22:31 +0000 (02:22 -0800)]
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test

16 years agoWHATSNEW: Fix some typos.
Karolin Seeger [Thu, 28 Feb 2008 10:22:23 +0000 (11:22 +0100)]
WHATSNEW: Fix some typos.

Karolin

16 years agoFix from Guenter Kukkukk <linux@kukkukk.com> to fix listing against
Jeremy Allison [Thu, 28 Feb 2008 10:22:13 +0000 (02:22 -0800)]
Fix from Guenter Kukkukk <linux@kukkukk.com> to fix listing against
OS/2 servers. OS/2 returns eclass == ERRDOS && ecode == ERRnofiles
for a zero entry directory listing.
Jeremy.

16 years agoWHATSNEW: Add new parameter 'config backend'.
Karolin Seeger [Thu, 28 Feb 2008 10:16:46 +0000 (11:16 +0100)]
WHATSNEW: Add new parameter 'config backend'.

Karolin

16 years agoMerge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
Jeremy Allison [Thu, 28 Feb 2008 10:15:12 +0000 (02:15 -0800)]
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test

16 years agoRemove my change
Jeremy Allison [Thu, 28 Feb 2008 10:13:48 +0000 (02:13 -0800)]
Remove my change

16 years agoFix debug %lu message.
Jeremy Allison [Thu, 28 Feb 2008 10:07:06 +0000 (02:07 -0800)]
Fix debug %lu message.
Jeremy.

16 years agoMove my changes to the right section in WHATSNEW.
Karolin Seeger [Thu, 28 Feb 2008 09:47:18 +0000 (10:47 +0100)]
Move my changes to the right section in WHATSNEW.

Karolin

16 years agoUps... Sorry!
Karolin Seeger [Thu, 28 Feb 2008 09:16:48 +0000 (10:16 +0100)]
Ups... Sorry!
Thanks for the hint Volker! :-)

Karolin

16 years agoFix segfault in _srv_net_file_enum.
Günther Deschner [Thu, 28 Feb 2008 09:14:26 +0000 (10:14 +0100)]
Fix segfault in _srv_net_file_enum.

Guenther

16 years agoUpdate WHATSNEW.txt with my changes for 3.2.0pre2
Stefan Metzmacher [Thu, 28 Feb 2008 08:49:59 +0000 (09:49 +0100)]
Update WHATSNEW.txt with my changes for 3.2.0pre2

metze

16 years agocall libnet_conf_get_seqnum() just once and fix compiler warnings
Stefan Metzmacher [Thu, 28 Feb 2008 07:29:07 +0000 (08:29 +0100)]
call libnet_conf_get_seqnum() just once and fix compiler warnings

metze

16 years agoAdd my changes to WHATSNEW.
Karolin Seeger [Thu, 28 Feb 2008 08:30:06 +0000 (09:30 +0100)]
Add my changes to WHATSNEW.
Fix typo.

Karolin

16 years agoWHATSNEW: Added Kai's commits.
Kai Blin [Thu, 28 Feb 2008 08:11:20 +0000 (09:11 +0100)]
WHATSNEW: Added Kai's commits.

16 years agoRemove unused marshalling for SVCCTL_SET_SERVICE_SEC.
Günther Deschner [Wed, 27 Feb 2008 23:34:45 +0000 (00:34 +0100)]
Remove unused marshalling for SVCCTL_SET_SERVICE_SEC.

Guenther

16 years agoUse pidl for _svcctl_SetServiceObjectSecurity().
Günther Deschner [Wed, 27 Feb 2008 23:33:06 +0000 (00:33 +0100)]
Use pidl for _svcctl_SetServiceObjectSecurity().

Guenther

16 years agoRe-run make idl.
Günther Deschner [Wed, 27 Feb 2008 23:18:37 +0000 (00:18 +0100)]
Re-run make idl.

Guenther

16 years agoFill in IDL for svcctl_SetServiceObjectSecurity.
Günther Deschner [Wed, 27 Feb 2008 23:17:30 +0000 (00:17 +0100)]
Fill in IDL for svcctl_SetServiceObjectSecurity.

Guenther

16 years agoRemove unused marshalling for SVCCTL_QUERY_SERVICE_SEC.
Günther Deschner [Wed, 27 Feb 2008 23:16:46 +0000 (00:16 +0100)]
Remove unused marshalling for SVCCTL_QUERY_SERVICE_SEC.

Guenther

16 years agoUse pidl for _svcctl_QueryServiceObjectSecurity().
Günther Deschner [Wed, 27 Feb 2008 23:05:23 +0000 (00:05 +0100)]
Use pidl for _svcctl_QueryServiceObjectSecurity().

Guenther

16 years agoRe-run make idl.
Günther Deschner [Wed, 27 Feb 2008 23:03:00 +0000 (00:03 +0100)]
Re-run make idl.

Guenther

16 years agoFill in IDL for svcctl_QueryServiceObjectSecurity.
Günther Deschner [Wed, 27 Feb 2008 23:03:20 +0000 (00:03 +0100)]
Fill in IDL for svcctl_QueryServiceObjectSecurity.

Guenther

16 years agoAdd some entries to WHATSNEW
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 :-)

16 years agoremove unused unixinfo.idl and generated files
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

16 years agoAdd my copyright.
Günther Deschner [Wed, 27 Feb 2008 18:38:48 +0000 (19:38 +0100)]
Add my copyright.

Guenther

16 years agoCosmetics: make check_bind_req() debug statements a little nicer.
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

16 years agoRemove unused BRS marshalling headers.
Günther Deschner [Wed, 27 Feb 2008 17:48:02 +0000 (18:48 +0100)]
Remove unused BRS marshalling headers.

Guenther

16 years agoRemove unneeded rpc_samr.h.
Günther Deschner [Wed, 27 Feb 2008 15:54:01 +0000 (16:54 +0100)]
Remove unneeded rpc_samr.h.

Guenther

16 years agoRe-run make idl.
Günther Deschner [Wed, 27 Feb 2008 16:15:09 +0000 (17:15 +0100)]
Re-run make idl.

Guenther

16 years agoMove MAX_SAM_ENTRIES defines to samr rpc_server and to samr.idl.
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

16 years agoRe-run make idl.
Günther Deschner [Wed, 27 Feb 2008 16:14:22 +0000 (17:14 +0100)]
Re-run make idl.

Guenther

16 years agoMove PASS_*_CHANGE_AT_NEXT_LOGON defines to samr.idl.
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

16 years agoMove LSA_AUDIT_NUM_CATEGORIES defines to lsa rpc_server.
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

16 years agoRe-run make idl.
Günther Deschner [Wed, 27 Feb 2008 16:06:03 +0000 (17:06 +0100)]
Re-run make idl.

Guenther

16 years agoMove MAX_LOOKUP_SIDS to lsa.idl.
Günther Deschner [Wed, 27 Feb 2008 15:03:17 +0000 (16:03 +0100)]
Move MAX_LOOKUP_SIDS to lsa.idl.

Guenther

16 years agoRe-run make idl.
Günther Deschner [Wed, 27 Feb 2008 16:05:31 +0000 (17:05 +0100)]
Re-run make idl.

Guenther

16 years agoMove MAX_REF_DOMAINS to lsa.idl.
Günther Deschner [Wed, 27 Feb 2008 15:13:39 +0000 (16:13 +0100)]
Move MAX_REF_DOMAINS to lsa.idl.

Guenther

16 years agoUse new LSA_POLICY defines in lsa rpc server code and other places.
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

16 years agoRe-run make idl.
Günther Deschner [Wed, 27 Feb 2008 14:56:18 +0000 (15:56 +0100)]
Re-run make idl.

Guenther

16 years agoUse lsa_PolicyAccessMask in lsa_OpenPolicy/2.
Günther Deschner [Wed, 27 Feb 2008 14:47:26 +0000 (15:47 +0100)]
Use lsa_PolicyAccessMask in lsa_OpenPolicy/2.

Guenther

16 years agoAdd lsa_PolicyAccessMask to lsa.idl.
Günther Deschner [Wed, 27 Feb 2008 14:46:35 +0000 (15:46 +0100)]
Add lsa_PolicyAccessMask to lsa.idl.

Guenther

16 years agoCopy recent spoolss IDL from samba4 into our tree.
Günther Deschner [Tue, 19 Feb 2008 02:30:37 +0000 (03:30 +0100)]
Copy recent spoolss IDL from samba4 into our tree.

Guenther

16 years agolibreplace: standalone build: use -I$srcdir instead of -I.
Michael Adam [Wed, 27 Feb 2008 09:33:32 +0000 (10:33 +0100)]
libreplace: standalone build: use -I$srcdir instead of -I.

Michael

16 years agolibreplace: fix standalone build - add necessary libs.
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

16 years agolibreplace: fix standalone build on some systems.
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

16 years agoFix caller of node_status_query() to use sockaddr_storage().
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

16 years agoClosed memory leak on error path.
Steven Danneman [Wed, 27 Feb 2008 04:14:04 +0000 (20:14 -0800)]
Closed memory leak on error path.

16 years agoupdate .gitignore with new test program executable
Derrell Lipman [Wed, 27 Feb 2008 02:46:48 +0000 (21:46 -0500)]
update .gitignore with new test program executable

16 years agoadd a test program for the new ftruncate functionality
Derrell Lipman [Wed, 27 Feb 2008 02:46:08 +0000 (21:46 -0500)]
add a test program for the new ftruncate functionality

16 years agoadd smbc_ftruncate() to emulate POSIX ftruncate()
Derrell Lipman [Wed, 27 Feb 2008 02:44:51 +0000 (21:44 -0500)]
add smbc_ftruncate() to emulate POSIX ftruncate()

16 years agoadd 64-bit macros from samba4
Derrell Lipman [Wed, 27 Feb 2008 02:43:13 +0000 (21:43 -0500)]
add 64-bit macros from samba4

16 years agoadd a function to truncate a file to a specified size
Derrell Lipman [Wed, 27 Feb 2008 02:42:26 +0000 (21:42 -0500)]
add a function to truncate a file to a specified size

16 years agoAdd variable to define if a share should be hidden.
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.

16 years agoRerun make idl. To remove irritating semicolon.
Michael Adam [Tue, 26 Feb 2008 15:04:34 +0000 (16:04 +0100)]
Rerun make idl. To remove irritating semicolon.

Michael

16 years agoAdd libnet_join.idl to the IDL files to be processed by "make idl".
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

16 years agomake idl: Only compile idl files newer than the output to be generated.
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

16 years agolibreplace: Add tests for connect and gethostbyname.
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

16 years agoconfigure: put swat-part of config into m4-include file of its own.
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

16 years agoFix build on VOS: socklen_t is needed for rep_inet_ntop: move it up.
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

16 years agoFix some typos.
Karolin Seeger [Tue, 26 Feb 2008 09:26:10 +0000 (10:26 +0100)]
Fix some typos.

Karolin

16 years agoFix build on some systems : don't pass libraries to mkproto.awk
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

16 years agoFix the build on OpenBSD: ENOTSUP is not always defined.
Michael Adam [Mon, 25 Feb 2008 16:05:21 +0000 (17:05 +0100)]
Fix the build on OpenBSD: ENOTSUP is not always defined.

Michael

16 years agoFix some warnings
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

16 years agoCorrectly check return of rename(2)
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

16 years agoFix inotify detection
Volker Lendecke [Mon, 25 Feb 2008 11:52:55 +0000 (12:52 +0100)]
Fix inotify detection

Bug 5271 -- thanks to Tiziano Müller

16 years agomake test: pass --option=torture:sharedelay=100000 to samba4 smbtorture
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

16 years agoDo the formatting change in all 3 places :-)
Volker Lendecke [Mon, 25 Feb 2008 08:55:53 +0000 (09:55 +0100)]
Do the formatting change in all 3 places :-)

16 years agoFix confusing error message -- bug 5252
Volker Lendecke [Mon, 25 Feb 2008 08:51:33 +0000 (09:51 +0100)]
Fix confusing error message -- bug 5252

Thanks to Walter Franzini

16 years agoAllow "max mux" async i/o requests
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!

16 years agoExport aio_request_done()
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.

16 years agoFix aix-build of libtalloc.so by exporting all necessary symbols.
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

16 years agoAIO on streams does not work (yet...)
Volker Lendecke [Sat, 23 Feb 2008 23:01:07 +0000 (00:01 +0100)]
AIO on streams does not work (yet...)

16 years agoFix typo
Volker Lendecke [Sat, 23 Feb 2008 20:40:39 +0000 (21:40 +0100)]
Fix typo

16 years agoFix a C++ warning
Volker Lendecke [Sat, 23 Feb 2008 09:52:12 +0000 (10:52 +0100)]
Fix a C++ warning

16 years agoFix a C++ warning
Volker Lendecke [Sat, 23 Feb 2008 09:50:12 +0000 (10:50 +0100)]
Fix a C++ warning

16 years agoCheck return value of pipe(2)
Volker Lendecke [Sat, 23 Feb 2008 09:49:00 +0000 (10:49 +0100)]
Check return value of pipe(2)

16 years agoCheck return value of dup(2)
Volker Lendecke [Sat, 23 Feb 2008 09:47:18 +0000 (10:47 +0100)]
Check return value of dup(2)

16 years agoFix a C++ warning
Volker Lendecke [Sat, 23 Feb 2008 09:43:58 +0000 (10:43 +0100)]
Fix a C++ warning