kai/samba.git
16 years agoFix a warning
Volker Lendecke [Wed, 19 Mar 2008 16:04:50 +0000 (17:04 +0100)]
Fix a warning

16 years agoMerge dd9e0bea31751 from 3-0-ctdb -- use NetSamLogonEx when possible
Volker Lendecke [Wed, 19 Mar 2008 15:09:37 +0000 (16:09 +0100)]
Merge dd9e0bea31751 from 3-0-ctdb -- use NetSamLogonEx when possible

NetSamLogonEx has the advantage that it does not use the credential chain

16 years agoFix some "nexted extern" warnins
Volker Lendecke [Wed, 19 Mar 2008 15:08:24 +0000 (16:08 +0100)]
Fix some "nexted extern" warnins

16 years agoFix bug 5338 -- thanks to Yuya Katayama <yuya999@gmail.com>
Volker Lendecke [Wed, 19 Mar 2008 14:01:30 +0000 (15:01 +0100)]
Fix bug 5338 -- thanks to Yuya Katayama <yuya999@gmail.com>

16 years agoFix the build (by calling NDR_SRVSVC_NETFILEENUM).
Günther Deschner [Wed, 19 Mar 2008 01:47:22 +0000 (02:47 +0100)]
Fix the build (by calling NDR_SRVSVC_NETFILEENUM).

Guenther

16 years agoRemove unused marshalling for SRV_NET_FILE_ENUM.
Günther Deschner [Wed, 19 Mar 2008 00:31:09 +0000 (01:31 +0100)]
Remove unused marshalling for SRV_NET_FILE_ENUM.

Guenther

16 years agoUse pidl for _srvsvc_NetFileEnum.
Günther Deschner [Wed, 19 Mar 2008 00:25:59 +0000 (01:25 +0100)]
Use pidl for _srvsvc_NetFileEnum.

Guenther

16 years agoBind Group Policy processing closer to the samba registry.
Günther Deschner [Tue, 18 Mar 2008 20:30:34 +0000 (21:30 +0100)]
Bind Group Policy processing closer to the samba registry.

Guenther

16 years ago[samba-3-0-ctdb.tridge @ tridge@samba.org-20070602053809-kpw5kjkcyjs8yjbl]
Andrew Tridgell [Sat, 2 Jun 2007 05:38:09 +0000 (15:38 +1000)]
[samba-3-0-ctdb.tridge @ tridge@samba.org-20070602053809-kpw5kjkcyjs8yjbl]
suppress that darn message
(cherry picked from commit 542e46a21898f6fcc8a0aeb63925607a60e0b99f)

16 years agolibreplace: remove duplicate entry of inet_ntoa from README.
Michael Adam [Tue, 18 Mar 2008 15:31:15 +0000 (16:31 +0100)]
libreplace: remove duplicate entry of inet_ntoa from README.

Michael
(cherry picked from commit 98ee8c84300757d778733a458c6ca3e6022b40ea)

16 years agolibreplace: remove trailing white spaces.
Michael Adam [Tue, 18 Mar 2008 12:10:22 +0000 (13:10 +0100)]
libreplace: remove trailing white spaces.

Michael
(cherry picked from commit 1f9ca7eed965904f67cf78fbac007432b8a057fd)

16 years agolibreplace: replace inet_ntoa() when it is missing
Michael Adam [Tue, 18 Mar 2008 11:16:47 +0000 (12:16 +0100)]
libreplace: replace inet_ntoa() when it is missing

...not only replace it when it is broken.

This moves the defintion of rep_inet_ntoa from replace.c
to inet_ntoa.c and adds configure checks for existence
of inet_ntoa(). Checks are moved to an include file of its own.

NOTE: The original rep_inet_ntoa in replace.c was wrapped
into a "#ifndef WITH_PTHREADS" but the prototype in replace.h
and the define in system/network.h were not. I removed that
ifndef since the inet_ntoa() function is usually not thread safe
anyways, since it returns a pointer to a static buffer.

So whoever calls inet_ntoa() should be aware that it is not
thread safe anyways.

Michael
(cherry picked from commit 974c0c45ad42644348e0b55454715b12158f1028)

16 years agolibreplace: put inet_aton.c under LGPL instead of GPL.
Michael Adam [Fri, 14 Mar 2008 14:53:38 +0000 (15:53 +0100)]
libreplace: put inet_aton.c under LGPL instead of GPL.

Michael
(cherry picked from commit cca5d6626fe395f08fd4c8b2344e4e43646cb987)

16 years agolibreplace: remove unused SOCKET_LIBS and NSL_LIBS
Stefan Metzmacher [Tue, 18 Mar 2008 14:01:34 +0000 (15:01 +0100)]
libreplace: remove unused SOCKET_LIBS and NSL_LIBS

metze
(cherry picked from commit 62bb177a6e4a3e1f949b78c7cd7583f2e1271739)

16 years agolibreplace: for samba4 create LIBREPLACE_NETWORK as EXT_LIB
Stefan Metzmacher [Tue, 18 Mar 2008 13:55:05 +0000 (14:55 +0100)]
libreplace: for samba4 create LIBREPLACE_NETWORK as EXT_LIB

metze
(cherry picked from commit 79037c31334e271a718fcac234148038814b591e)

16 years agolibreplace: use LIBREPLACE_NETWORK_LIBS within some configure checks
Stefan Metzmacher [Tue, 18 Mar 2008 13:53:59 +0000 (14:53 +0100)]
libreplace: use LIBREPLACE_NETWORK_LIBS within some configure checks

...instead of using SOCKET_LIBS and NSL_LIBS.

metze
(cherry picked from commit cef2e8d748756f61c248ad6660e85dd1ac36308a)

16 years agolibreplace: combine SOCKET_LIBS and NSL_LIBS to LIBREPLACE_NETWORK_LIBS
Stefan Metzmacher [Tue, 18 Mar 2008 13:52:36 +0000 (14:52 +0100)]
libreplace: combine SOCKET_LIBS and NSL_LIBS to LIBREPLACE_NETWORK_LIBS

But keep the old ones untill the callers are fixed.

metze
(cherry picked from commit e7115dcc8a0a4f420de7a901e3a21d4f35a6fcf9)

16 years agotestparm: only check for %u und passwd program when passwd program is given.
Michael Adam [Tue, 18 Mar 2008 14:50:27 +0000 (15:50 +0100)]
testparm: only check for %u und passwd program when passwd program is given.

Michael

16 years agotestparm: correctly check for empty lp_passwd_prog().
Michael Adam [Tue, 18 Mar 2008 14:49:31 +0000 (15:49 +0100)]
testparm: correctly check for empty lp_passwd_prog().

Michael

16 years agotestparm: fix irritating indentation.
Michael Adam [Tue, 18 Mar 2008 14:33:25 +0000 (15:33 +0100)]
testparm: fix irritating indentation.

Michael

16 years agotestparm: fix a segfault triggered by setting "unix password sync = yes".
Michael Adam [Tue, 18 Mar 2008 14:30:17 +0000 (15:30 +0100)]
testparm: fix a segfault triggered by setting "unix password sync = yes".

(introduced by pstring removal 041163551194102ca67fef52c57d87020a1d09bc)

Michael

16 years agoFix bug 5334
Volker Lendecke [Tue, 18 Mar 2008 12:20:10 +0000 (13:20 +0100)]
Fix bug 5334

I did not test with a zero length file :-)

16 years agoSome simplifications
Volker Lendecke [Mon, 17 Mar 2008 20:00:16 +0000 (21:00 +0100)]
Some simplifications

16 years agoCoverity fixes
Marc VanHeyningen [Fri, 14 Mar 2008 22:26:28 +0000 (14:26 -0800)]
Coverity fixes

16 years agolibsmbconf: rename all occurrences of libnet_conf_ to smbconf_ .
Michael Adam [Mon, 17 Mar 2008 17:01:33 +0000 (18:01 +0100)]
libsmbconf: rename all occurrences of libnet_conf_ to smbconf_ .

Michael

16 years agoMove libnet_conf to a library lib/smbconf/ of its own, fixing the api.
Michael Adam [Mon, 17 Mar 2008 16:29:44 +0000 (17:29 +0100)]
Move libnet_conf to a library lib/smbconf/ of its own, fixing the api.

The libnet_conf code to access the registry based configuration has
become more of a library used in several places in samba (e.g. loadparm)
than an abstraction of "net conf". So I move it to a location lib/smbconf/.

In the same breath, the api is fixed (not generated by make proto anymore).

Michael

16 years agosocket_wrapper: make pcap code more portable
Stefan Metzmacher [Mon, 17 Mar 2008 13:08:57 +0000 (14:08 +0100)]
socket_wrapper: make pcap code more portable

Now the pcap support works on x86_64.

metze
(cherry picked from commit 61a87bed61ef661d98131239976be95c6a8b4d96)

16 years agoFix use of AuthDataWithContext capability
Derrell Lipman [Mon, 17 Mar 2008 15:34:25 +0000 (11:34 -0400)]
Fix use of AuthDataWithContext capability

During my initial plans for, and the subsequent discussion of a more
significant change to the API for libsmbclient, I had removed the
AuthDataWithContext usage, in favor of a more generalized planned interface.
When the API returned to its original state, I neglected to reinsert this
code.

Use of an authentication function with the context can be tested using

  examples/libsmbclient/testbrowse -C

Derrell

16 years agoIn smbstatus, mark locking.tdb and sessionid.tdb as CLEAR_IF_FIRST
Volker Lendecke [Mon, 17 Mar 2008 13:45:59 +0000 (14:45 +0100)]
In smbstatus, mark locking.tdb and sessionid.tdb as CLEAR_IF_FIRST

This is needed to inform ctdb that it's not a persistent database, with the
O_RDONLY the tdb backend ignores this.

Merge from 491f902098d33f in 3-0-ctdb

16 years agoMerge leftovers of 0e1a86bc845 in 3-0-ctdb
Volker Lendecke [Mon, 17 Mar 2008 13:40:07 +0000 (14:40 +0100)]
Merge leftovers of 0e1a86bc845 in 3-0-ctdb

16 years agoUse right control to attach to persistent databases
Volker Lendecke [Mon, 17 Mar 2008 13:12:10 +0000 (14:12 +0100)]
Use right control to attach to persistent databases

This is a merge of 2a8f8b26f08ab09c34dff82417e541d8eb1ec91c and
4e6508dfee0d872a7fa42c9e58ba565137a27b3f from 3-0-ctdb

16 years agoAdd "net idmap aclmapset"
Volker Lendecke [Mon, 17 Mar 2008 12:51:50 +0000 (13:51 +0100)]
Add "net idmap aclmapset"

This is a merge from 3-0-ctdb that goes along with 1daad835, the option
nfs4:sidmap option

16 years agoregistry: untangle assignment and if-clause in init_registry_data().
Michael Adam [Mon, 17 Mar 2008 11:21:32 +0000 (12:21 +0100)]
registry: untangle assignment and if-clause in init_registry_data().

Michael

16 years agoConvert pdb_tdb to use dbwrap
Volker Lendecke [Fri, 14 Mar 2008 19:35:38 +0000 (20:35 +0100)]
Convert pdb_tdb to use dbwrap

16 years agoregistry: convert regdb REGISTRY_OPS to named struct initializers.
Michael Adam [Mon, 17 Mar 2008 00:44:26 +0000 (01:44 +0100)]
registry: convert regdb REGISTRY_OPS to named struct initializers.

Michael

16 years agoregistry: use talloc instead of malloc and provide common exit point
Michael Adam [Mon, 17 Mar 2008 00:39:16 +0000 (01:39 +0100)]
registry: use talloc instead of malloc and provide common exit point

in regdb_get_secdesc().

Michael

16 years agoregistry: remove an unused variable from regdb_set_secdesc().
Michael Adam [Mon, 17 Mar 2008 00:32:47 +0000 (01:32 +0100)]
registry: remove an unused variable from regdb_set_secdesc().

Michael

16 years agoregistry: untangle assignments and if statements in regdb_set_secdesc().
Michael Adam [Mon, 17 Mar 2008 00:31:47 +0000 (01:31 +0100)]
registry: untangle assignments and if statements in regdb_set_secdesc().

Michael

16 years agoregistry: use talloc_stackframe instead of hand crafted temporary context.
Michael Adam [Mon, 17 Mar 2008 00:27:27 +0000 (01:27 +0100)]
registry: use talloc_stackframe instead of hand crafted temporary context.

Michael

16 years agoregistry: use talloc instead of malloc for tdb data in regdb_store_values().
Michael Adam [Mon, 17 Mar 2008 00:26:35 +0000 (01:26 +0100)]
registry: use talloc instead of malloc for tdb data in regdb_store_values().

Michael

16 years agoregistry: don't use talloc_stackframe() instead of talloc_tos() als temp ctx
Michael Adam [Mon, 17 Mar 2008 00:20:18 +0000 (01:20 +0100)]
registry: don't use talloc_stackframe() instead of talloc_tos() als temp ctx

in regdb_store_values(). Also provide common exit path for
freeing memory.

Michael

16 years agoregistry: don't leak to talloc stack in regdb_fetch_keys().
Michael Adam [Mon, 17 Mar 2008 00:17:15 +0000 (01:17 +0100)]
registry: don't leak to talloc stack in regdb_fetch_keys().

Michael

16 years agoregistry: explicitly use talloc context instead of talloc_tos()
Michael Adam [Mon, 17 Mar 2008 00:09:31 +0000 (01:09 +0100)]
registry: explicitly use talloc context instead of talloc_tos()

in regdb_fetch_keys().

Michael

16 years agoregistry: don't leak on success path in regdb_store_keys().
Michael Adam [Mon, 17 Mar 2008 00:05:48 +0000 (01:05 +0100)]
registry: don't leak on success path in regdb_store_keys().

Michael

16 years agoregistry: allocate tempory data in talloc stack in regdb_store_keys().
Michael Adam [Mon, 17 Mar 2008 00:02:47 +0000 (01:02 +0100)]
registry: allocate tempory data in talloc stack in regdb_store_keys().

Michael

16 years agoregistry: separate cancel and failur exit paths in regdb_store_keys().
Michael Adam [Mon, 17 Mar 2008 00:00:40 +0000 (01:00 +0100)]
registry: separate cancel and failur exit paths in regdb_store_keys().

Michael

16 years agoregistry: don't leak memory on transaction fail in regdb_store_keys().
Michael Adam [Sun, 16 Mar 2008 23:43:56 +0000 (00:43 +0100)]
registry: don't leak memory on transaction fail in regdb_store_keys().

Michael

16 years agoregistry: don't leak (to talloc_tos()) in regdb_store_keys().
Michael Adam [Sun, 16 Mar 2008 23:41:59 +0000 (00:41 +0100)]
registry: don't leak (to talloc_tos()) in regdb_store_keys().

use talloc_stackframe() and free on error path.

Michael

16 years agoregistry: reformat regdb_store_keys_internal(), killing long lines.
Michael Adam [Sun, 16 Mar 2008 23:22:12 +0000 (00:22 +0100)]
registry: reformat regdb_store_keys_internal(), killing long lines.

Michael

16 years agoregistry: don't leak (to talloc_tos()) in regdb_store_keys_internal().
Michael Adam [Sun, 16 Mar 2008 23:09:07 +0000 (00:09 +0100)]
registry: don't leak (to talloc_tos()) in regdb_store_keys_internal().

Michael

16 years agoregistry: reformat init_registry_data() some, killing long lines.
Michael Adam [Sun, 16 Mar 2008 23:02:52 +0000 (00:02 +0100)]
registry: reformat init_registry_data() some, killing long lines.

Michael

16 years agoregistry: explicitly use talloc context instead of talloc_tos()
Michael Adam [Sun, 16 Mar 2008 22:52:40 +0000 (23:52 +0100)]
registry: explicitly use talloc context instead of talloc_tos()

in init_registry_data().

Michael

16 years agoregistry: don't leak (to talloc_tos()) in init_registry_data().
Michael Adam [Sun, 16 Mar 2008 22:49:59 +0000 (23:49 +0100)]
registry: don't leak (to talloc_tos()) in init_registry_data().

Michael

16 years agoregistry: rename tdb_refcount to regdb_refcount after change to dbwrap.
Michael Adam [Sun, 16 Mar 2008 22:08:33 +0000 (23:08 +0100)]
registry: rename tdb_refcount to regdb_refcount after change to dbwrap.

Michael

16 years agoregistry: rename tdb_reg to regdb after change to dbwrap.
Michael Adam [Sun, 16 Mar 2008 22:07:15 +0000 (23:07 +0100)]
registry: rename tdb_reg to regdb after change to dbwrap.

Michael

16 years agoregistry: migrate tdb registry backend to dbwrap.
Michael Adam [Sun, 16 Mar 2008 22:03:34 +0000 (23:03 +0100)]
registry: migrate tdb registry backend to dbwrap.

Michael

16 years agoFix Coverity ID 567
Volker Lendecke [Sun, 16 Mar 2008 19:23:44 +0000 (12:23 -0700)]
Fix Coverity ID 567

Jeremy, please push it if you like it and mark the bug as fixed on the Coverity
site.

Thanks,

Volker

16 years agoNeed to close the /dev/zero fd
Volker Lendecke [Sun, 16 Mar 2008 10:55:59 +0000 (11:55 +0100)]
Need to close the /dev/zero fd

16 years agoFix Coverity ID 554
Volker Lendecke [Sat, 15 Mar 2008 21:27:05 +0000 (22:27 +0100)]
Fix Coverity ID 554

16 years agoFix Coverity ID 555
Volker Lendecke [Sat, 15 Mar 2008 21:22:53 +0000 (22:22 +0100)]
Fix Coverity ID 555

16 years agoFix Coverity ID 563
Volker Lendecke [Sat, 15 Mar 2008 21:16:42 +0000 (22:16 +0100)]
Fix Coverity ID 563

dirmask is always set here, we've dereferenced it before anyway

16 years agoFix Coverity ID 564
Volker Lendecke [Sat, 15 Mar 2008 21:07:44 +0000 (22:07 +0100)]
Fix Coverity ID 564

finfo1==NULL just does not happen in current code

16 years agoAllocate one 0-byte in asprintf replacement when len==0
Volker Lendecke [Sat, 15 Mar 2008 20:47:22 +0000 (21:47 +0100)]
Allocate one 0-byte in asprintf replacement when len==0

Some S3 code depends on this.

16 years agoFix typo.
Günther Deschner [Sat, 15 Mar 2008 11:55:17 +0000 (12:55 +0100)]
Fix typo.

Guenther

16 years agoFix bug 5317
Volker Lendecke [Fri, 14 Mar 2008 21:22:30 +0000 (22:22 +0100)]
Fix bug 5317

Thanks to oster@cs.usask.ca

16 years agoFix bug 4901
Volker Lendecke [Fri, 14 Mar 2008 17:01:06 +0000 (18:01 +0100)]
Fix bug 4901

16 years agolibreplace: fix samba4 build (by not setting global LIBS).
Michael Adam [Fri, 14 Mar 2008 08:39:58 +0000 (09:39 +0100)]
libreplace: fix samba4 build (by not setting global LIBS).

This corrects the earlier fix of the standalone build, by setting
LIBS to the desired value only in configure.ac but not in getifaddrs.m4.

Not that this changes the standalone build in that it adds these libs
undconditionally and not only if they are needed by the getifaddrs
replacement functions.

Michael
(cherry picked from commit ff3af1703ddc9e5383f32156bc5be8351f795e76)

16 years agolibreplace: add -I$libreplacedir to CPPFLAGS for getifaddrs tests.
Michael Adam [Fri, 14 Mar 2008 07:52:16 +0000 (08:52 +0100)]
libreplace: add -I$libreplacedir to CPPFLAGS for getifaddrs tests.

This is needed, otherwise $libreplacedir/system/network.h does not
find $libreplacedir/getaddrinfo.h on some systems (solaris, e.g.).

Michael
(cherry picked from commit 297c3bece094ddb5f268b02e61e33f512ccfe6f5)

16 years agolibreplace: add an inet_aton() function that calls inet_pton().
Michael Adam [Fri, 14 Mar 2008 07:49:34 +0000 (08:49 +0100)]
libreplace: add an inet_aton() function that calls inet_pton().

inet_aton() is even needed inside libreplace, in the implementation
of rep_getaddrinfo().

Michael
(cherry picked from commit bcb2f3a880f8da8f9bedb7a8e61d7d7b533f1919)

16 years agoAllow parameter "include" in registry based configuration (again).
Michael Adam [Thu, 13 Mar 2008 22:08:07 +0000 (23:08 +0100)]
Allow parameter "include" in registry based configuration (again).

This is for instance important to allow includes with %I to setup
individual logging (e.g.) for certain clients.

Michael

16 years agoFix %I macro expansion for IPv4 mapped IPv6 addresses.
Michael Adam [Thu, 13 Mar 2008 22:02:58 +0000 (23:02 +0100)]
Fix %I macro expansion for IPv4 mapped IPv6 addresses.

On some systems (linux e.g.), when listening on ipv6 and ipv4,
addresses of ipv4 clients are printed as mapped ipv4 addresses
by getnameinfo (e.g. ::ffff:127.0.0.1). This re-establishes
the original behaviour of %I to expand to the plain ipv4 address
for an ipv4 client.

Michael

16 years agoUse existing srv_name_slash.
Günther Deschner [Wed, 12 Mar 2008 15:35:41 +0000 (16:35 +0100)]
Use existing srv_name_slash.

Guenther

16 years agoFor convenience reasons, always create cli->srv_name_slash in the rpc_client.
Günther Deschner [Wed, 12 Mar 2008 15:19:56 +0000 (16:19 +0100)]
For convenience reasons, always create cli->srv_name_slash in the rpc_client.

Guenther

16 years agoRemove unused marshalling for SRV_NET_DISK_ENUM.
Günther Deschner [Wed, 12 Mar 2008 15:18:54 +0000 (16:18 +0100)]
Remove unused marshalling for SRV_NET_DISK_ENUM.

Guenther

16 years agoIgnore some unneeded autogenerated cli_ and srv_ functions.
Günther Deschner [Wed, 12 Mar 2008 15:17:27 +0000 (16:17 +0100)]
Ignore some unneeded autogenerated cli_ and srv_ functions.

Guenther

16 years agoinit_srv_share_info_ctr: fix counting of services.
Michael Adam [Wed, 12 Mar 2008 01:12:11 +0000 (02:12 +0100)]
init_srv_share_info_ctr: fix counting of services.

The number of services was recorded too early leading to
registry shares not showing up in browse lists.

Guenther - please check.

Michael

16 years agoinit_srv_share_info_ctr: Add debug messages.
Michael Adam [Wed, 12 Mar 2008 01:10:35 +0000 (02:10 +0100)]
init_srv_share_info_ctr: Add debug messages.

Michael

16 years agoAdd a debug message.
Michael Adam [Wed, 12 Mar 2008 01:07:37 +0000 (02:07 +0100)]
Add a debug message.

Michael

16 years agoloadparm: add a debug message.
Michael Adam [Wed, 12 Mar 2008 00:03:26 +0000 (01:03 +0100)]
loadparm: add a debug message.

Michael

16 years agoloadparm: remove services read from smb.conf when starting over for config backend...
Michael Adam [Tue, 11 Mar 2008 23:56:33 +0000 (00:56 +0100)]
loadparm: remove services read from smb.conf when starting over for config backend registry.

Michael

16 years agoloadparm: add convenience wrapper lp_kill_all_services()
Michael Adam [Tue, 11 Mar 2008 23:54:48 +0000 (00:54 +0100)]
loadparm: add convenience wrapper lp_kill_all_services()

Michael

16 years agoloadparm: add a comment
Michael Adam [Tue, 11 Mar 2008 23:43:19 +0000 (00:43 +0100)]
loadparm: add a comment

Michael

16 years agoloadparm: fix a comment typo.
Michael Adam [Tue, 11 Mar 2008 23:42:06 +0000 (00:42 +0100)]
loadparm: fix a comment typo.

Michael

16 years agoloadparm: add utility function to check for config backend file.
Michael Adam [Tue, 11 Mar 2008 11:41:20 +0000 (12:41 +0100)]
loadparm: add utility function to check for config backend file.

Michael

16 years agoloadparm: use a function to check for the registry config backend.
Michael Adam [Tue, 11 Mar 2008 11:36:18 +0000 (12:36 +0100)]
loadparm: use a function to check for the registry config backend.

Michael

16 years agoMerge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
Jeremy Allison [Tue, 11 Mar 2008 22:26:22 +0000 (15:26 -0700)]
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test

16 years agoUsing Metze's S4 nttrans rename test, the nttrans rename
Jeremy Allison [Tue, 11 Mar 2008 22:26:02 +0000 (15:26 -0700)]
Using Metze's S4 nttrans rename test, the nttrans rename
behaves the same as the trans2 one.
Jeremy.

16 years agoselftest: samba3 passes RAW-SEARCH now
Stefan Metzmacher [Tue, 11 Mar 2008 21:06:09 +0000 (22:06 +0100)]
selftest: samba3 passes RAW-SEARCH now

As the resume key tests are skipped against samba3.

metze

16 years agoMetze pointed out this we don't need FILE_ATTRIBUTE_READ here.
Jeremy Allison [Tue, 11 Mar 2008 20:59:04 +0000 (13:59 -0700)]
Metze pointed out this we don't need FILE_ATTRIBUTE_READ here.
Jeremy.

16 years agoAllow us to pass RAW-RENAME by testing that the connection struct
Jeremy Allison [Tue, 11 Mar 2008 20:38:25 +0000 (13:38 -0700)]
Allow us to pass RAW-RENAME by testing that the connection struct
connection paths are equal, not just the conn structs themselves.
Jeremy.

16 years agoTry and fix bug #5315, as well as S4 torture tests RAW-OPLOCK BATCH19,
Jeremy Allison [Tue, 11 Mar 2008 20:27:33 +0000 (13:27 -0700)]
Try and fix bug #5315, as well as S4 torture tests RAW-OPLOCK BATCH19,
BATCH20 and RAW-RENAME.
Jeremy.

16 years agoFix S3 to pass the test_raw_oplock_exclusive3 test.
Jeremy Allison [Tue, 11 Mar 2008 19:37:01 +0000 (12:37 -0700)]
Fix S3 to pass the test_raw_oplock_exclusive3 test.
Jeremy.

16 years agoThe attached patch removes some global variables, and make them local to main().
Charles [Tue, 11 Mar 2008 18:49:08 +0000 (19:49 +0100)]
The attached patch removes some global variables, and make them local to main().

16 years agoAdd some last init_srvsvc_X functions.
Günther Deschner [Tue, 11 Mar 2008 17:19:45 +0000 (18:19 +0100)]
Add some last init_srvsvc_X functions.

Guenther

16 years agoConvert mapping_tdb.c to dbwrap
Volker Lendecke [Tue, 11 Mar 2008 13:15:52 +0000 (14:15 +0100)]
Convert mapping_tdb.c to dbwrap

I know, this is not used anymore, but until ldb knows about ctdb which is
blocked by the lack of transactions in ctdb, a tiny patch reactivating
mapping_tdb.c might be needed for cluster setups.

16 years agoClean up add_mapping_entry slightly
Volker Lendecke [Tue, 11 Mar 2008 11:53:50 +0000 (12:53 +0100)]
Clean up add_mapping_entry slightly

16 years agoCleanup after pstring removal
Volker Lendecke [Tue, 11 Mar 2008 11:46:36 +0000 (12:46 +0100)]
Cleanup after pstring removal

16 years agoConvert secrets.c to use dbwrap
Volker Lendecke [Tue, 11 Mar 2008 11:30:46 +0000 (12:30 +0100)]
Convert secrets.c to use dbwrap

16 years agoTrying to fix resume_handling for srvsvc_NetShareEnumAll.
Günther Deschner [Tue, 11 Mar 2008 10:30:55 +0000 (11:30 +0100)]
Trying to fix resume_handling for srvsvc_NetShareEnumAll.

Guenther

16 years agoAllow to send no resume_handle in rpcclient's NetShareEnum* calls.
Günther Deschner [Tue, 11 Mar 2008 10:29:49 +0000 (11:29 +0100)]
Allow to send no resume_handle in rpcclient's NetShareEnum* calls.

Guenther