samba.git
11 years agolibwbclient: Implement wbcGetgrent and wbcGetgrlist
Kai Blin [Sun, 23 Nov 2008 16:11:09 +0000 (17:11 +0100)]
libwbclient: Implement wbcGetgrent and wbcGetgrlist

11 years agolibwbclient: Implement wbcGetpwent
Kai Blin [Sun, 23 Nov 2008 15:36:01 +0000 (16:36 +0100)]
libwbclient: Implement wbcGetpwent

11 years agolibwbclient: Add placeholder function for WINBINDD_CCACHE_NTLMAUTH
Kai Blin [Sun, 23 Nov 2008 14:16:17 +0000 (15:16 +0100)]
libwbclient: Add placeholder function for WINBINDD_CCACHE_NTLMAUTH

11 years agolibwbclient: Fix typo in wbcGetgrent docstring.
Kai Blin [Sun, 23 Nov 2008 10:18:40 +0000 (11:18 +0100)]
libwbclient: Fix typo in wbcGetgrent docstring.

11 years agolibwbclient: Add placeholder function for WINBINDD_GETGRLST
Kai Blin [Sun, 23 Nov 2008 10:17:42 +0000 (11:17 +0100)]
libwbclient: Add placeholder function for WINBINDD_GETGRLST

11 years agolibwbclient: Add placeholder functions for wbcQuery[GSU]idTo[GSU]id
Kai Blin [Sat, 22 Nov 2008 23:57:33 +0000 (00:57 +0100)]
libwbclient: Add placeholder functions for wbcQuery[GSU]idTo[GSU]id

11 years agoAllow SYSLOG_FACILITY to be modified with a new configure option called --with-syslog...
Dan Sledz [Mon, 17 Nov 2008 01:40:03 +0000 (17:40 -0800)]
Allow SYSLOG_FACILITY to be modified with a new configure option called --with-syslog-facility

11 years agoFix bug #5873 - ACL inheritance cannot be broken. This regresses #4308, but that...
Jeremy Allison [Mon, 24 Nov 2008 23:28:11 +0000 (15:28 -0800)]
Fix bug #5873 - ACL inheritance cannot be broken. This regresses #4308, but that will have to
be fixed another way.
Jeremy.

11 years agoSearch for gpfs functions in both libgpfs_gpl.so an libgpfs.so
Mathias Dietz [Wed, 12 Nov 2008 13:32:45 +0000 (14:32 +0100)]
Search for gpfs functions in both libgpfs_gpl.so an libgpfs.so

As of GPFS 3.2.1 PTF8 libgpfs will be available as GPL, so we don't need the
special libgpfs_gpl lib anymore. For backwards compatibility with pre-PTF8 GPFS
installations, still look there.

11 years agos3:libads/ldap.c: return an error instead of crashing when no realm is given
Stefan Metzmacher [Mon, 24 Nov 2008 14:04:12 +0000 (15:04 +0100)]
s3:libads/ldap.c: return an error instead of crashing when no realm is given

The bug was triggered by "net ads info -S 127.8.7.6" (where 127.8.7.6 doesn't ex
and "disable netbios = yes".

metze

Signed-off-by: Michael Adam <obnox@samba.org>
11 years agoFix nonempty blank lines
Volker Lendecke [Mon, 24 Nov 2008 07:56:46 +0000 (08:56 +0100)]
Fix nonempty blank lines

11 years agoGet rid of pipes_struct->pipe_user, we have server_info now --- YESSS!
Volker Lendecke [Sun, 23 Nov 2008 22:48:17 +0000 (23:48 +0100)]
Get rid of pipes_struct->pipe_user, we have server_info now --- YESSS!

11 years agoRemove unused make_connection_with_chdir()
Volker Lendecke [Sun, 23 Nov 2008 22:14:39 +0000 (23:14 +0100)]
Remove unused make_connection_with_chdir()

11 years agoConvert delete_driver_files to use create_conn_struct
Volker Lendecke [Sun, 23 Nov 2008 22:13:11 +0000 (23:13 +0100)]
Convert delete_driver_files to use create_conn_struct

Jerry, please check!

11 years agoConvert get_correct_cversion to use create_conn_struct
Volker Lendecke [Sun, 23 Nov 2008 22:01:24 +0000 (23:01 +0100)]
Convert get_correct_cversion to use create_conn_struct

Jerry, please check!

11 years agoConvert move_driver_to_download_area to use create_conn_struct
Volker Lendecke [Sun, 23 Nov 2008 21:46:08 +0000 (22:46 +0100)]
Convert move_driver_to_download_area to use create_conn_struct

This removes a use of struct current_user and the vuid

The become_user() here is unnecessary, within the spoolss handling code we have
switched to the authenticated pipe user anyway.

Jerry, please check!

11 years agoFix to allow setting of NULL DACL/SACL
Steven Danneman [Mon, 24 Nov 2008 02:20:19 +0000 (18:20 -0800)]
Fix to allow setting of NULL DACL/SACL

This is a modification of Jeremy's 7522ef15aca2429ef57c75d8297dd8121e79c9da
commit.

If no DACL/SACL is present in the packet, the SEC_INFO field should still be
passed down as is to the VFS layer to signal the creation of a NULL DACL/SACL.

As seen in metze RAW-ACL test_nttrans_create_null_dacl(), a NULL DACL is set
regardless of the SEC_DESC_DACL_PRESENT bit being set.

11 years agos3-rpcclient; Really fix compile warning.
Kai Blin [Sun, 23 Nov 2008 22:54:27 +0000 (23:54 +0100)]
s3-rpcclient; Really fix compile warning.

Screwed up in 526c609d, now the real fix.

11 years agolibcli/nbt: fix some extrasemi compile warnings.
Michael Adam [Sun, 23 Nov 2008 09:43:10 +0000 (10:43 +0100)]
libcli/nbt: fix some extrasemi compile warnings.

Michael

11 years agoAdd auth_serversupplied_info to create_conn_struct
Volker Lendecke [Sun, 23 Nov 2008 21:21:26 +0000 (22:21 +0100)]
Add auth_serversupplied_info to create_conn_struct

srvsvc needs it, as will printing

11 years agos3-rpcclient: Fix a compile warning.
Kai Blin [Sun, 23 Nov 2008 21:20:58 +0000 (22:20 +0100)]
s3-rpcclient: Fix a compile warning.

11 years agoctags: Ignore source3/includes/proto.h for tags.
Kai Blin [Mon, 17 Nov 2008 15:38:02 +0000 (16:38 +0100)]
ctags: Ignore source3/includes/proto.h for tags.

11 years agoFix an uninitialized variable warning
Volker Lendecke [Sun, 23 Nov 2008 18:37:36 +0000 (19:37 +0100)]
Fix an uninitialized variable warning

Andreas Schneider, please check!

11 years agofix the build
Volker Lendecke [Sun, 23 Nov 2008 11:13:48 +0000 (12:13 +0100)]
fix the build

11 years agoRPC sessions on np connections need the real session key transferred
Stefan Metzmacher [Sun, 23 Nov 2008 10:24:29 +0000 (11:24 +0100)]
RPC sessions on np connections need the real session key transferred

11 years agos3 build: when detecting to use internal zlib, put "-I../lib/zlib" first in CFLAGS
Michael Adam [Sun, 23 Nov 2008 00:59:30 +0000 (01:59 +0100)]
s3 build: when detecting to use internal zlib, put "-I../lib/zlib" first in CFLAGS

This should fix a build error on our Tru64 build farm box where a zlib.h is
found in an include path handed in via external CFLAGS, but that zlib.h belongs
to an old zlib. So in ndr_compression.c, "#include <zlib.h>" includes the wrong
header for the internal zlib.

Michael

11 years agos3-build: do not auto-genereate ndr tables but use checked-in tables.
Michael Adam [Sun, 23 Nov 2008 00:11:29 +0000 (01:11 +0100)]
s3-build: do not auto-genereate ndr tables but use checked-in tables.

This removes the build-dependency on perl that was introduced in
commit e0905c30908b4d621030689d33de28a13c04a690.

The tables can now be re-built with "make ndr-tables".
This is also called by make samba3-idl to ensure that the tables
are updated after idl changes.

This hopefully fixes the build on some build farm hosts (e.g. gwen).

Michael

11 years agos3 build: don't specify ZLIB_LIBS (i.e. "-lz") in object collections.
Michael Adam [Sat, 22 Nov 2008 22:25:14 +0000 (23:25 +0100)]
s3 build: don't specify ZLIB_LIBS (i.e. "-lz") in object collections.

This causes make to fail on at least HP-UX and MacOS X with message
"no rule to make target -lz" or similar, when these object collections
are specified in dependencies.

Michael

11 years agoAdd "net machinepw"
Volker Lendecke [Sat, 22 Nov 2008 17:31:52 +0000 (18:31 +0100)]
Add "net machinepw"

Provide a C-based alternative to the python script "mymachinepw"

11 years agoFix a C90 error.
Jeremy Allison [Sat, 22 Nov 2008 06:51:20 +0000 (22:51 -0800)]
Fix a C90 error.
Jeremy.

11 years agoRever 83ff6979f504d50caf725ee62549604630b69be7 - "Fix the logic bug that caused us to
Jeremy Allison [Sat, 22 Nov 2008 06:48:37 +0000 (22:48 -0800)]
Rever 83ff6979f504d50caf725ee62549604630b69be7 - "Fix the logic bug that caused us to
run into kernel oplocks on an open for a stream inside a file with stream_xattr module. On
opening the base_fsp we must break existing oplocks." as it broke make test.
Jeremy.

11 years agoFix the logic bug that caused us to run into kernel oplocks on an open for a stream...
Jeremy Allison [Sat, 22 Nov 2008 02:20:38 +0000 (18:20 -0800)]
Fix the logic bug that caused us to run into kernel oplocks on an open for a stream inside a file with stream_xattr module. On opening the base_fsp we must break existing oplocks.
Jeremy.

11 years agoMerge branch 'master' of ssh://jra@git.samba.org/data/git/samba
Jeremy Allison [Sat, 22 Nov 2008 02:20:33 +0000 (18:20 -0800)]
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba

11 years ago[s3]nfs4_acls: make prototype header match definition for smb_set_nt_acl_nfs4()
Michael Adam [Mon, 17 Nov 2008 11:48:26 +0000 (12:48 +0100)]
[s3]nfs4_acls: make prototype header match definition for smb_set_nt_acl_nfs4()

Add the const from nfs4_acls.c to nfs4_acls.h
This fixes my build of the zfsacl module on solaris.

Michael

11 years agoFreeBSD configure check for backtrace_symbols
Dan Sledz [Sat, 15 Nov 2008 02:41:17 +0000 (18:41 -0800)]
FreeBSD configure check for backtrace_symbols

On FreeBSD backtrace_symbols is defined in libexecinfo.so.1.  Look for it
there as well.

11 years agoUse fxattr calls whenever possible (trying to work around the strange Linux kernel...
Jeremy Allison [Sat, 22 Nov 2008 00:02:31 +0000 (16:02 -0800)]
Use fxattr calls whenever possible (trying to work around the strange Linux kernel oplock bug).
Jeremy.

11 years agoSecond part of the fix for bug #5903 - vfs_streams_xattr breaks contents of the file
Jeremy Allison [Fri, 21 Nov 2008 23:42:03 +0000 (15:42 -0800)]
Second part of the fix for bug #5903 - vfs_streams_xattr breaks contents of the file
(also fix a bad merge of the previous patch from 3.3).
Jeremy.

11 years agos3-winbindd: make all winbind rpc-methods static.
Michael Adam [Fri, 21 Nov 2008 22:17:05 +0000 (23:17 +0100)]
s3-winbindd: make all winbind rpc-methods static.

Now that the methods are no longer needed in winbindd_ads,
we can make them static again.

Michael

11 years agos3-winbindd_ads: use the reconnect methods instead of the rpc methods directly
Michael Adam [Fri, 21 Nov 2008 01:26:50 +0000 (02:26 +0100)]
s3-winbindd_ads: use the reconnect methods instead of the rpc methods directly

Some of the ads methods just point to the rpc methods.
This makes winbindd_ads use the reconnect methods instead of
calling the rpc methods directly in order to prevent
negative cache entries for e.g. name_to_sid, when the dc
has closed the connection without sending a reset.

Michael

11 years agos3-winbindd_ads: prevent negative GM/ cache entries due to broken connections
Michael Adam [Thu, 20 Nov 2008 15:57:44 +0000 (16:57 +0100)]
s3-winbindd_ads: prevent negative GM/ cache entries due to broken connections

The ads lookup_groupmem() function calls lda_lookupsids to resolve sids
to names. This is tried only once. So in case the connection was broken,
e.g. closed by the server (without a reset packet), there will be an empty
GM/ cache entry for the requested group which will prevent proper working
of access checks among other checks for the expiry period.

This patch works around this problem by retrying once if the lsa_lookupsids
call fails, re-establishing the dc-connection, as we already do in many other
places (e.g. the winbindd retry methods for the rpc layer).

Michael

11 years agoFirst part of fix for bug #5903 - vfs_streams_xattr breaks contents of the file.
Jeremy Allison [Fri, 21 Nov 2008 20:14:53 +0000 (12:14 -0800)]
First part of fix for bug #5903 - vfs_streams_xattr breaks contents of the file.
Restructures parts of open code so that fsp must be allocated before calling
open_file_ntcreate(_internal). Also fix up file ref-counting inside files.c.
Jeremy.

11 years agoFix include path for installation.
Jelmer Vernooij [Fri, 21 Nov 2008 16:57:44 +0000 (17:57 +0100)]
Fix include path for installation.

11 years agos3-libnetjoin: fix build warning.
Günther Deschner [Fri, 21 Nov 2008 14:56:30 +0000 (15:56 +0100)]
s3-libnetjoin: fix build warning.

Guenther

11 years agos3-libnetjoin: try to show a better error message upon invalid configuration.
Günther Deschner [Thu, 6 Nov 2008 12:37:03 +0000 (13:37 +0100)]
s3-libnetjoin: try to show a better error message upon invalid configuration.

Guenther

11 years agos3/s4 build: Fix "might be unitialized" warning
Tim Prouty [Fri, 21 Nov 2008 02:03:33 +0000 (18:03 -0800)]
s3/s4 build: Fix "might be unitialized" warning

11 years agos3-winbindd: for now only change machine pwd when not using a system krb5 keytab.
Günther Deschner [Thu, 20 Nov 2008 23:53:11 +0000 (00:53 +0100)]
s3-winbindd: for now only change machine pwd when not using a system krb5 keytab.

Guenther

11 years agos3 build: Fix incomplete types warnings
Tim Prouty [Thu, 20 Nov 2008 01:29:49 +0000 (17:29 -0800)]
s3 build: Fix incomplete types warnings

11 years agoFix bug #5909 - MS-DFS does not work on Vista, if link name includes multibyte character.
Yasuma Takeda [Thu, 20 Nov 2008 19:38:37 +0000 (11:38 -0800)]
Fix bug #5909 - MS-DFS does not work on Vista, if link name includes multibyte character.

11 years agoSecond part of fix for bug #5891 - smbd crashed when viewing the eventlog exported...
Jeremy Allison [Thu, 20 Nov 2008 18:56:14 +0000 (10:56 -0800)]
Second part of fix for bug #5891 - smbd crashed when viewing the eventlog exported by "eventlog list". Don't leak memory on error paths.
Jeremy.

11 years agoFix the build, by some cut-and-paste error I got two versions of the same functions...
Jeremy Allison [Thu, 20 Nov 2008 18:45:18 +0000 (10:45 -0800)]
Fix the build, by some cut-and-paste error I got two versions of the same functions here.
Jeremy.

11 years agos3-eventlog: remove trailing whitespace.
Günther Deschner [Thu, 20 Nov 2008 12:33:24 +0000 (13:33 +0100)]
s3-eventlog: remove trailing whitespace.

Guenther

11 years agos3-build: re-run make samba3-idl.
Günther Deschner [Thu, 20 Nov 2008 12:30:34 +0000 (13:30 +0100)]
s3-build: re-run make samba3-idl.

Guenther

11 years agoeventlog: fill in some unknowns and use flags bitmap in IDL.
Günther Deschner [Thu, 20 Nov 2008 12:29:44 +0000 (13:29 +0100)]
eventlog: fill in some unknowns and use flags bitmap in IDL.

Guenther

11 years agos3-eventlog: avoid passing down full prs_struct in eventlog server.
Günther Deschner [Thu, 20 Nov 2008 09:55:03 +0000 (10:55 +0100)]
s3-eventlog: avoid passing down full prs_struct in eventlog server.

Guenther

11 years agos3-eventlog: move non rpc eventlog headers to own include file.
Günther Deschner [Wed, 19 Nov 2008 22:44:07 +0000 (23:44 +0100)]
s3-eventlog: move non rpc eventlog headers to own include file.

Guenther

11 years agoeventlog: don't crash in sync_eventlog_params().
Michael Adam [Thu, 20 Nov 2008 15:31:44 +0000 (16:31 +0100)]
eventlog: don't crash in sync_eventlog_params().

When freeing the talloc ctx at the end of the routine,
it must be a talloc ctx created inside. talloc_tos() needs
to be valid after the function finishes, since callers
(may) have data attached to it.

Michael

Signed-off-by: Günther Deschner <gd@samba.org>
11 years agoThis code mixes up int and uint32 when pulling out of a TDB. This is very bad. Fixing...
Jeremy Allison [Thu, 20 Nov 2008 00:49:03 +0000 (16:49 -0800)]
This code mixes up int and uint32 when pulling out of a TDB. This is very bad. Fixing... May fix bug #5891, not sure.
Jeremy.

11 years agoMerge branch 'master' of ssh://jra@git.samba.org/data/git/samba
Jeremy Allison [Thu, 20 Nov 2008 00:36:59 +0000 (16:36 -0800)]
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba

11 years agos4-smbtorture: fix segfault in RPC-EVENTLOG test.
Günther Deschner [Wed, 19 Nov 2008 23:01:41 +0000 (00:01 +0100)]
s4-smbtorture: fix segfault in RPC-EVENTLOG test.

Guenther

11 years agoMerge branch 'master' of ssh://jra@git.samba.org/data/git/samba
Jeremy Allison [Wed, 19 Nov 2008 23:06:05 +0000 (15:06 -0800)]
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba

11 years agoFix build farm breakage.
Jeremy Allison [Wed, 19 Nov 2008 22:51:55 +0000 (14:51 -0800)]
Fix build farm breakage.

11 years agos3-ntsvcs: remove old hand-marshalling for ntsvcs getdevregprop.
Günther Deschner [Tue, 11 Nov 2008 11:49:20 +0000 (12:49 +0100)]
s3-ntsvcs: remove old hand-marshalling for ntsvcs getdevregprop.

Guenther

11 years agos3-ntsvcs: use pidl for _PNP_GetDeviceRegProp.
Günther Deschner [Tue, 11 Nov 2008 10:21:45 +0000 (11:21 +0100)]
s3-ntsvcs: use pidl for _PNP_GetDeviceRegProp.

Guenther

11 years agos3-rpcclient: fix cmd_ntsvcs_get_dev_reg_prop.
Günther Deschner [Wed, 19 Nov 2008 22:02:49 +0000 (23:02 +0100)]
s3-rpcclient: fix cmd_ntsvcs_get_dev_reg_prop.

Guenther

11 years agos3-build: re-run make samba3-idl after pidl change.
Günther Deschner [Wed, 19 Nov 2008 21:00:43 +0000 (22:00 +0100)]
s3-build: re-run make samba3-idl after pidl change.

Guenther

11 years agopidl: fix generated s3-server in,out,ref qualifiers that are used for buffer allocation.
Günther Deschner [Wed, 19 Nov 2008 11:38:38 +0000 (12:38 +0100)]
pidl: fix generated s3-server in,out,ref qualifiers that are used for buffer allocation.

Guenther

11 years agoAdd functions to delete NTACL on posix ACL set.
Jeremy Allison [Wed, 19 Nov 2008 20:24:53 +0000 (12:24 -0800)]
Add functions to delete NTACL on posix ACL set.
Jeremy.

11 years agoFix bug #5904 - libnss_wins causes SIGABRT while servicing getaddrinfo() request.
Jeremy Allison [Wed, 19 Nov 2008 19:22:50 +0000 (11:22 -0800)]
Fix bug #5904 - libnss_wins causes SIGABRT while servicing getaddrinfo() request.
Jeremy.

11 years agoFix path for torture.h.
Jelmer Vernooij [Wed, 19 Nov 2008 15:24:04 +0000 (16:24 +0100)]
Fix path for torture.h.

11 years agomanpages: Document new wbinfo idmapping options.
Karolin Seeger [Wed, 19 Nov 2008 12:08:41 +0000 (13:08 +0100)]
manpages: Document new wbinfo idmapping options.

--set-uid/gid-mapping
--remove-uid/gid-mapping

Karolin
(cherry picked from commit c9965d544f615fea1ba3609d7348407130ab1ec9)

11 years agobuild-docs: Use 'git clean' instead of 'git-clean'.
Karolin Seeger [Wed, 19 Nov 2008 12:16:38 +0000 (13:16 +0100)]
build-docs: Use 'git clean' instead of 'git-clean'.

Karolin

11 years agos3/s4 build: Fix execinfo and sasl build error when the libs/headers are in non-stand...
Tim Prouty [Wed, 19 Nov 2008 00:52:58 +0000 (16:52 -0800)]
s3/s4 build: Fix execinfo and sasl build error when the libs/headers are in non-standard locations.

These configure checks have the correct flags at configure time, so
let's pass them through so they are used at compile time.

11 years agos3/s4 build: Fix makefile expression to work on more systems
Tim Prouty [Wed, 19 Nov 2008 00:47:23 +0000 (16:47 -0800)]
s3/s4 build: Fix makefile expression to work on more systems

11 years agoClean-up various trailing space and >80 column lines.
Steven Danneman [Tue, 28 Oct 2008 06:36:36 +0000 (23:36 -0700)]
Clean-up various trailing space and >80 column lines.

11 years agoAdded ability to remove id mappings in wbinfo and libwbclient.
Steven Danneman [Tue, 28 Oct 2008 06:37:55 +0000 (23:37 -0700)]
Added ability to remove id mappings in wbinfo and libwbclient.

The idmap_tdb backend already provides an interface to remove existing id
mappings.  This commit plumbs that ability up through, winbindd, libwbclient,
and wbinfo.

Added new winbindd command:
        WINBINDD_REMOVE_MAPPING
Added new libwbclient interfaces:
        wbcRemoveUidMapping() and wbcRemoveGidMapping()
Added new wbinfo options:
        --remove-uid-mapping
        --remove-gid-mapping

Increased libwbclient version to 0.2
Increased winbind interface version to 20

11 years agoAdded ability to set id mappings in wbinfo.
Steven Danneman [Tue, 28 Oct 2008 06:46:44 +0000 (23:46 -0700)]
Added ability to set id mappings in wbinfo.

The two new parameters are:

--set-uid-mapping
--set-gid-mapping

These allow wbinfo to create new, or override existing id mappings in the
idmap backend.  These expose the exisiting ability of libwbclient
and winbindd to do this, up through a command line utility.

11 years agoMove wireshark conformance file to top-level.
Jelmer Vernooij [Tue, 18 Nov 2008 23:10:15 +0000 (00:10 +0100)]
Move wireshark conformance file to top-level.

11 years agoFix extended DN parse error when AD object does not have a SID.
Steven Danneman [Sat, 15 Nov 2008 21:07:15 +0000 (13:07 -0800)]
Fix extended DN parse error when AD object does not have a SID.

Some AD objects, like Exchange Public Folders, can be members of Security
Groups but do not have a SID attribute.  This patch adds more granular return
errors to ads_get_sid_from_extended_dn().  Callers can now determine if a parse
error occured because of bad input, or the DN was valid but contained no SID.

I updated all callers to ignore SIDless objects when appropriate.

Also did some cleanup to the out paths of lookup_usergroups_memberof()

11 years agoWhitespace and >80 column cleanups.
Steven Danneman [Sat, 15 Nov 2008 03:16:12 +0000 (19:16 -0800)]
Whitespace and >80 column cleanups.

11 years agoFix bug #5908 - Samba 3.0.32 - internal change notify on share directory fails"
Dina Fine [Tue, 18 Nov 2008 20:45:42 +0000 (12:45 -0800)]
Fix bug #5908 - Samba 3.0.32 - internal change notify on share directory fails"

11 years agolibsmb: Fix up pointer passed to cli_send_trans in cli_link_internal
Kai Blin [Tue, 18 Nov 2008 19:25:14 +0000 (11:25 -0800)]
libsmb: Fix up pointer passed to cli_send_trans in cli_link_internal

11 years agoRe-structure Volker's patch to "Fix trans2findfirst for the large directory optimizat...
Jeremy Allison [Tue, 18 Nov 2008 18:57:54 +0000 (10:57 -0800)]
Re-structure Volker's patch to "Fix trans2findfirst for the large directory optimization". Makes the change clearer.
Jeremy.

11 years agoFix trans2findfirst for the large directory optimization
Volker Lendecke [Tue, 18 Nov 2008 16:03:38 +0000 (17:03 +0100)]
Fix trans2findfirst for the large directory optimization

With

case sensitive = yes
preserve case = no
short preserve case = no
default case = upper

a "dir FOO.txt" would not find "FOO.TXT" because FOO.txt ends up unconverted in
the mask for mask_match.

Jeremy, please check!

Volker

11 years agos3-libnet-samsync: store samsync sequence number state in keytab.
Günther Deschner [Tue, 18 Nov 2008 08:52:35 +0000 (09:52 +0100)]
s3-libnet-samsync: store samsync sequence number state in keytab.

Guenther

11 years agos3-libnet-samsync: refactor libnet_samsync.
Günther Deschner [Tue, 18 Nov 2008 08:49:37 +0000 (09:49 +0100)]
s3-libnet-samsync: refactor libnet_samsync.

Guenther

11 years agos3-libnet-samsync: pass back sequence number from fetch_sam_entries_keytab.
Günther Deschner [Tue, 18 Nov 2008 08:42:59 +0000 (09:42 +0100)]
s3-libnet-samsync: pass back sequence number from fetch_sam_entries_keytab.

Guenther

11 years agos3-libnet-samsync: use netr_DatabaseDeltas unless full replication enforced.
Günther Deschner [Tue, 18 Nov 2008 02:45:38 +0000 (03:45 +0100)]
s3-libnet-samsync: use netr_DatabaseDeltas unless full replication enforced.

Guenther

11 years agos3-libnet-samsync: pass sequence number pointer to process routine.
Günther Deschner [Tue, 18 Nov 2008 01:01:03 +0000 (02:01 +0100)]
s3-libnet-samsync: pass sequence number pointer to process routine.

Guenther

11 years agos3-libnet-samsync: move all modules to startup,process,finish callbacks.
Günther Deschner [Mon, 17 Nov 2008 18:34:56 +0000 (19:34 +0100)]
s3-libnet-samsync: move all modules to startup,process,finish callbacks.

Guenther

11 years agos3-libnet-samsync: call init and close ops function where appropriate.
Günther Deschner [Mon, 17 Nov 2008 16:14:19 +0000 (17:14 +0100)]
s3-libnet-samsync: call init and close ops function where appropriate.

Guenther

11 years agos3-libnet-samsync: use samsync_ops.
Günther Deschner [Mon, 17 Nov 2008 15:31:59 +0000 (16:31 +0100)]
s3-libnet-samsync: use samsync_ops.

Guenther

11 years agos3-libnet-samsync: add samsync_ops to all samsync modules.
Günther Deschner [Mon, 17 Nov 2008 15:29:11 +0000 (16:29 +0100)]
s3-libnet-samsync: add samsync_ops to all samsync modules.

Guenther

11 years agos3-libnet-samsync: add samsync_ops.
Günther Deschner [Mon, 17 Nov 2008 15:28:34 +0000 (16:28 +0100)]
s3-libnet-samsync: add samsync_ops.

Guenther

11 years agos3-libnet: move add_to_keytab_entries to libnet_keytab.
Günther Deschner [Tue, 18 Nov 2008 00:16:53 +0000 (01:16 +0100)]
s3-libnet: move add_to_keytab_entries to libnet_keytab.

Guenther

11 years agos3-net: add "net rpc vampire passdb" that allows to take arguments.
Günther Deschner [Tue, 18 Nov 2008 12:25:50 +0000 (13:25 +0100)]
s3-net: add "net rpc vampire passdb" that allows to take arguments.

Guenther

11 years agos3-net: use net_scan_dc in net rpc vampire keytab.
Günther Deschner [Tue, 11 Nov 2008 18:00:26 +0000 (19:00 +0100)]
s3-net: use net_scan_dc in net rpc vampire keytab.

Guenther

11 years agos3-net: add net_scan_dc function.
Günther Deschner [Tue, 11 Nov 2008 17:59:57 +0000 (18:59 +0100)]
s3-net: add net_scan_dc function.

Guenther

11 years agos3-net: add net_dc_info struct.
Günther Deschner [Tue, 11 Nov 2008 17:59:21 +0000 (18:59 +0100)]
s3-net: add net_dc_info struct.

Guenther

11 years agos3-net-vampire: add support for partial replication (individual deltas).
Günther Deschner [Tue, 4 Nov 2008 15:25:40 +0000 (16:25 +0100)]
s3-net-vampire: add support for partial replication (individual deltas).

Guenther

11 years agos3-libnet-samsync: add support for partial replication.
Günther Deschner [Tue, 4 Nov 2008 14:49:27 +0000 (15:49 +0100)]
s3-libnet-samsync: add support for partial replication.

Guenther