samba.git
14 years agos4:lib/registry/util.c - Reintroduce "FIXME"s
Matthias Dieter Wallnöfer [Wed, 30 Dec 2009 11:39:55 +0000 (12:39 +0100)]
s4:lib/registry/util.c - Reintroduce "FIXME"s

Jelmer suggested to put them in again.

14 years agonet: Add some German translation
André Hentschel [Mon, 28 Dec 2009 01:58:40 +0000 (02:58 +0100)]
net: Add some German translation

Signed-off-by: Kai Blin <kai@samba.org>
14 years agos4:ntlmssp: remove mem_ctx from check_password() callback to match s3
Stefan Metzmacher [Tue, 29 Dec 2009 15:14:05 +0000 (16:14 +0100)]
s4:ntlmssp: remove mem_ctx from check_password() callback to match s3

metze

14 years agos4:ntlmssp_server: always call ntlmssp_server_postauth() and decide there if it's...
Stefan Metzmacher [Tue, 29 Dec 2009 15:10:57 +0000 (16:10 +0100)]
s4:ntlmssp_server: always call ntlmssp_server_postauth() and decide there if it's a noop

metze

14 years agos4:ntlmssp_server: don't use a mem_ctx for ntlmssp_server_auth()
Stefan Metzmacher [Tue, 29 Dec 2009 15:07:16 +0000 (16:07 +0100)]
s4:ntlmssp_server: don't use a mem_ctx for ntlmssp_server_auth()

metze

14 years agos4:ntlmssp_server: don't use mem_ctx in auth_ntlmssp_check_password()
Stefan Metzmacher [Tue, 29 Dec 2009 15:02:00 +0000 (16:02 +0100)]
s4:ntlmssp_server: don't use mem_ctx in auth_ntlmssp_check_password()

metze

14 years agos4:ntlmssp_server: clear session key in ntlmssp_server_preauth()
Stefan Metzmacher [Tue, 29 Dec 2009 14:54:59 +0000 (15:54 +0100)]
s4:ntlmssp_server: clear session key in ntlmssp_server_preauth()

metze

14 years agos4:ntlmssp: use data_blob_null in ntlmssp_server_auth()
Stefan Metzmacher [Tue, 29 Dec 2009 11:58:44 +0000 (12:58 +0100)]
s4:ntlmssp: use data_blob_null in ntlmssp_server_auth()

metze

14 years agos4:ntlmssp_server: remove unused variable
Stefan Metzmacher [Tue, 29 Dec 2009 12:53:44 +0000 (13:53 +0100)]
s4:ntlmssp_server: remove unused variable

metze

14 years agos4:auth/ntlmssp: let get_challenge() return a NTSTATUS and fill a stack buffer
Stefan Metzmacher [Tue, 29 Dec 2009 09:44:19 +0000 (10:44 +0100)]
s4:auth/ntlmssp: let get_challenge() return a NTSTATUS and fill a stack buffer

metze

14 years agos3:ntlmssp: change get_challange() to return NTSTATUS
Stefan Metzmacher [Tue, 29 Dec 2009 10:57:28 +0000 (11:57 +0100)]
s3:ntlmssp: change get_challange() to return NTSTATUS

metze

14 years agodsdb: Fix dependencies when building against system ldb.
Jelmer Vernooij [Tue, 29 Dec 2009 15:08:44 +0000 (16:08 +0100)]
dsdb: Fix dependencies when building against system ldb.

14 years agonet: Make arguments available to python commands as sys.argv.
Jelmer Vernooij [Tue, 29 Dec 2009 15:08:17 +0000 (16:08 +0100)]
net: Make arguments available to python commands as sys.argv.

14 years agopython: When updating sys.path to include the Samba python path, avoid throwing away...
Jelmer Vernooij [Tue, 29 Dec 2009 15:07:54 +0000 (16:07 +0100)]
python: When updating sys.path to include the Samba python path, avoid throwing away the changes made by site.py.

14 years agos4/net: Allow options before arguments for Python commands.
Jelmer Vernooij [Mon, 28 Dec 2009 20:07:25 +0000 (21:07 +0100)]
s4/net: Allow options before arguments for Python commands.

14 years agos4/net: Pass all arguments through to the Python commands.
Jelmer Vernooij [Mon, 28 Dec 2009 19:37:48 +0000 (20:37 +0100)]
s4/net: Pass all arguments through to the Python commands.

14 years agos4/net: Add domainlevel subcommand.
Jelmer Vernooij [Mon, 28 Dec 2009 15:48:07 +0000 (16:48 +0100)]
s4/net: Add domainlevel subcommand.

14 years agos4/net: Use d_printf consistently when reporting errors.
Jelmer Vernooij [Mon, 28 Dec 2009 15:06:04 +0000 (16:06 +0100)]
s4/net: Use d_printf consistently when reporting errors.

14 years agoUse CommandError exception to deal with problems during net commands.
Jelmer Vernooij [Mon, 28 Dec 2009 15:05:04 +0000 (16:05 +0100)]
Use CommandError exception to deal with problems during net commands.

14 years agos4/net: Make pwsettings a net subcommand.
Jelmer Vernooij [Mon, 28 Dec 2009 15:04:19 +0000 (16:04 +0100)]
s4/net: Make pwsettings a net subcommand.

14 years agonetcmd: Add some basic tests.
Jelmer Vernooij [Mon, 28 Dec 2009 13:17:25 +0000 (14:17 +0100)]
netcmd: Add some basic tests.

14 years agos4/net: Support parsing arguments in Python commands.
Jelmer Vernooij [Mon, 28 Dec 2009 12:53:18 +0000 (13:53 +0100)]
s4/net: Support parsing arguments in Python commands.

14 years agonet: Support usage/help of subcommands implemented in Python.
Jelmer Vernooij [Mon, 28 Dec 2009 00:21:27 +0000 (01:21 +0100)]
net: Support usage/help of subcommands implemented in Python.

14 years agonet: Support implementing subcommands in python.
Jelmer Vernooij [Mon, 28 Dec 2009 00:04:33 +0000 (01:04 +0100)]
net: Support implementing subcommands in python.

14 years agos4:auth: add auth_get_server_info_principal() prototype to auth.h
Stefan Metzmacher [Tue, 29 Dec 2009 10:50:46 +0000 (11:50 +0100)]
s4:auth: add auth_get_server_info_principal() prototype to auth.h

metze

14 years agos4:auth: make auth_challenge_may_be_modified() public
Stefan Metzmacher [Tue, 29 Dec 2009 10:40:09 +0000 (11:40 +0100)]
s4:auth: make auth_challenge_may_be_modified() public

metze

14 years agos4:auth: remove autogenerated auth/ntlm/auth_proto.h
Stefan Metzmacher [Tue, 29 Dec 2009 10:51:37 +0000 (11:51 +0100)]
s4:auth: remove autogenerated auth/ntlm/auth_proto.h

metze

14 years agos3:ntlmssp: remove unused p24 variable from ntlmssp_sign_init()
Stefan Metzmacher [Thu, 24 Dec 2009 21:42:03 +0000 (22:42 +0100)]
s3:ntlmssp: remove unused p24 variable from ntlmssp_sign_init()

metze

14 years agos3:ntlmssp: move some indentation in ntlmssp_sign.c
Stefan Metzmacher [Thu, 24 Dec 2009 21:30:42 +0000 (22:30 +0100)]
s3:ntlmssp: move some indentation in ntlmssp_sign.c

metze

14 years agos3:ntlmssp: remove unused ntlmssp_stored_response()
Stefan Metzmacher [Thu, 24 Dec 2009 21:07:19 +0000 (22:07 +0100)]
s3:ntlmssp: remove unused ntlmssp_stored_response()

metze

14 years agos3:ntlmssp: remove unused ref_count from ntlmssp_state
Stefan Metzmacher [Thu, 24 Dec 2009 21:00:08 +0000 (22:00 +0100)]
s3:ntlmssp: remove unused ref_count from ntlmssp_state

metze

14 years agos3:ntlmssp: fix whitespace in ntlmssp.h
Stefan Metzmacher [Thu, 24 Dec 2009 20:55:50 +0000 (21:55 +0100)]
s3:ntlmssp: fix whitespace in ntlmssp.h

metze

14 years agos3:ntlmssp: fix spelling
Stefan Metzmacher [Thu, 24 Dec 2009 20:52:42 +0000 (21:52 +0100)]
s3:ntlmssp: fix spelling

metze

14 years agos3:ntlmssp: rename NTLM_MESSAGE_TYPE into ntlmssp_message_type
Stefan Metzmacher [Thu, 24 Dec 2009 20:51:11 +0000 (21:51 +0100)]
s3:ntlmssp: rename NTLM_MESSAGE_TYPE into ntlmssp_message_type

metze

14 years agos4:ntlmssp: fix whitespaces in ntlmssp.h
Stefan Metzmacher [Thu, 24 Dec 2009 20:47:53 +0000 (21:47 +0100)]
s4:ntlmssp: fix whitespaces in ntlmssp.h

metze

14 years agos3: Check for lp_winbind_trusted_domains_only in wb_gettoken()
Volker Lendecke [Mon, 28 Dec 2009 22:35:25 +0000 (23:35 +0100)]
s3: Check for lp_winbind_trusted_domains_only in wb_gettoken()

This avoids one walk of the domain list

14 years agos3: Move a lp_winbind_trusted_domains_only() check to wb_getgrsid()
Volker Lendecke [Mon, 28 Dec 2009 22:14:43 +0000 (23:14 +0100)]
s3: Move a lp_winbind_trusted_domains_only() check to wb_getgrsid()

winbindd_getgrgid was not protected by this.

14 years agos3: Pass netr_DomainTrustList instead of names and sids through (*trusted_domains)
Volker Lendecke [Mon, 28 Dec 2009 14:51:36 +0000 (15:51 +0100)]
s3: Pass netr_DomainTrustList instead of names and sids through (*trusted_domains)

14 years agos3: Simplify winbindd_ads.c:trusted_domains()
Volker Lendecke [Mon, 28 Dec 2009 14:27:42 +0000 (15:27 +0100)]
s3: Simplify winbindd_ads.c:trusted_domains()

No real code change, this just removes an indentation by turning

if ( NT_STATUS_IS_OK(result) && trusts.count) {

into

if (!NT_STATUS_IS_OK(result)) {
        return result;
}
if (trusts.count == 0) {
        return NT_STATUS_OK;
}

14 years agos3: Remove some unused code
Volker Lendecke [Mon, 28 Dec 2009 13:56:58 +0000 (14:56 +0100)]
s3: Remove some unused code

Watch the #if 0 -- we never stored this in the cache anymore

14 years agos3: Simplify winbindd_list_trusted_domains() slightly
Volker Lendecke [Mon, 28 Dec 2009 12:49:01 +0000 (13:49 +0100)]
s3: Simplify winbindd_list_trusted_domains() slightly

14 years agos3: Simplify "setup_domain_child" slightly
Volker Lendecke [Mon, 28 Dec 2009 09:57:01 +0000 (10:57 +0100)]
s3: Simplify "setup_domain_child" slightly

14 years agopython: Remove sys.path line rather than updating it when installing to python system...
Jelmer Vernooij [Sun, 27 Dec 2009 16:30:59 +0000 (17:30 +0100)]
python: Remove sys.path line rather than updating it when installing to python system path.

14 years agos3:winbind Make the normal client exit message a bit more understandable
Volker Lendecke [Sat, 26 Dec 2009 17:00:32 +0000 (18:00 +0100)]
s3:winbind Make the normal client exit message a bit more understandable

14 years agos3: Fix a typo found by Matthias Dieter Wallnöfer <mdw@samba.org> -- thanks :-)
Volker Lendecke [Sat, 26 Dec 2009 14:20:22 +0000 (15:20 +0100)]
s3: Fix a typo found by Matthias Dieter Wallnöfer <mdw@samba.org> -- thanks :-)

14 years agos3: Fix a bogus uninitialized variable warning
Volker Lendecke [Thu, 24 Dec 2009 11:56:09 +0000 (12:56 +0100)]
s3: Fix a bogus uninitialized variable warning

14 years agos3: Replace IS_DOMAIN_OFFLINE by a function
Volker Lendecke [Thu, 24 Dec 2009 11:52:24 +0000 (12:52 +0100)]
s3: Replace IS_DOMAIN_OFFLINE by a function

14 years agos3: Fix some nonempty blank lines
Volker Lendecke [Wed, 23 Dec 2009 14:22:09 +0000 (15:22 +0100)]
s3: Fix some nonempty blank lines

14 years agos3: winbindd_cli_state->getgrent_state is no longer used
Volker Lendecke [Thu, 24 Dec 2009 11:52:00 +0000 (12:52 +0100)]
s3: winbindd_cli_state->getgrent_state is no longer used

14 years agos3: getgrent_state has been replaced by grent_state
Volker Lendecke [Thu, 24 Dec 2009 11:51:09 +0000 (12:51 +0100)]
s3: getgrent_state has been replaced by grent_state

14 years agopy_net/libnet: Remove C++-style comments, add more error checking, move
Jelmer Vernooij [Fri, 25 Dec 2009 13:48:45 +0000 (14:48 +0100)]
py_net/libnet: Remove C++-style comments, add more error checking, move
initialization of dcerpc subsystem to libnet.

14 years agos4-libnet: Simple test for net.SetPassword() python binding
Kamen Mazdrashki [Thu, 24 Dec 2009 03:50:58 +0000 (05:50 +0200)]
s4-libnet: Simple test for net.SetPassword() python binding

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
14 years agos4-libnet: Python binding for libnet_SetPassword()
Kamen Mazdrashki [Thu, 24 Dec 2009 03:43:21 +0000 (05:43 +0200)]
s4-libnet: Python binding for libnet_SetPassword()

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
14 years agos4-net: Fix 'talloc_free with references ...' error
Kamen Mazdrashki [Thu, 24 Dec 2009 02:08:12 +0000 (04:08 +0200)]
s4-net: Fix 'talloc_free with references ...' error

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
14 years agos4:auth: change auth_check_password_send/recv to tevent_req
Stefan Metzmacher [Wed, 23 Dec 2009 08:09:37 +0000 (09:09 +0100)]
s4:auth: change auth_check_password_send/recv to tevent_req

metze

14 years agos4:gensec: change gensec_update_send/recv to tevent_req
Stefan Metzmacher [Tue, 22 Dec 2009 15:24:44 +0000 (16:24 +0100)]
s4:gensec: change gensec_update_send/recv to tevent_req

metze

14 years agos4:kdc: use the remote and local address from the stream_connection struct
Stefan Metzmacher [Wed, 23 Dec 2009 10:16:32 +0000 (11:16 +0100)]
s4:kdc: use the remote and local address from the stream_connection struct

metze

14 years agos4:smbd: hold tsocket_addresses on the stream_connection
Stefan Metzmacher [Wed, 23 Dec 2009 10:48:06 +0000 (11:48 +0100)]
s4:smbd: hold tsocket_addresses on the stream_connection

metze

14 years agos4:smb_server: fix mixing socket_address and tsocket_address
Stefan Metzmacher [Wed, 23 Dec 2009 09:19:43 +0000 (10:19 +0100)]
s4:smb_server: fix mixing socket_address and tsocket_address

metze

14 years agos4:lib/socket: add socket_get_{remote|local}_addr() to get a tsocket_address instead...
Stefan Metzmacher [Wed, 23 Dec 2009 09:43:05 +0000 (10:43 +0100)]
s4:lib/socket: add socket_get_{remote|local}_addr() to get a tsocket_address instead of a socket_address

metze

14 years agos4:lib/socket: add helpers functions to convert between socket_address and tsocket_ad...
Stefan Metzmacher [Wed, 23 Dec 2009 08:38:21 +0000 (09:38 +0100)]
s4:lib/socket: add helpers functions to convert between socket_address and tsocket_address

metze

14 years agotsocket: only copy the specific part of sockaddr*
Stefan Metzmacher [Wed, 23 Dec 2009 18:34:32 +0000 (19:34 +0100)]
tsocket: only copy the specific part of sockaddr*

This makes sure we fill the unspefic bytes with 0
and have zero termination for sockaddr_un.

metze

14 years agotsocket: allow AF_UNIX sockaddrs smaller than sizeof(sockaddr_un)
Stefan Metzmacher [Wed, 23 Dec 2009 18:31:41 +0000 (19:31 +0100)]
tsocket: allow AF_UNIX sockaddrs smaller than sizeof(sockaddr_un)

This is needed as getpeername() truncates the length to 2 if the
peer socket has no name.

metze

14 years agos3: Remove unused delete_negative_conn_cache()
Volker Lendecke [Thu, 24 Dec 2009 12:51:50 +0000 (13:51 +0100)]
s3: Remove unused delete_negative_conn_cache()

14 years agos3: Remove unused flush_negative_conn_cache()
Volker Lendecke [Thu, 24 Dec 2009 12:50:39 +0000 (13:50 +0100)]
s3: Remove unused flush_negative_conn_cache()

14 years agos3: Remove some unnecessary variables from libsmb/conn_cache.c
Volker Lendecke [Thu, 24 Dec 2009 12:47:35 +0000 (13:47 +0100)]
s3: Remove some unnecessary variables from libsmb/conn_cache.c

14 years agos3: Fix a comment in conn_cache.c
Volker Lendecke [Thu, 24 Dec 2009 12:46:16 +0000 (13:46 +0100)]
s3: Fix a comment in conn_cache.c

14 years agos3: Fix a 64-bit error
Volker Lendecke [Thu, 24 Dec 2009 12:40:24 +0000 (13:40 +0100)]
s3: Fix a 64-bit error

14 years agos3: Remove some pointless SMB_ASSERTs
Volker Lendecke [Thu, 24 Dec 2009 12:36:00 +0000 (13:36 +0100)]
s3: Remove some pointless SMB_ASSERTs

14 years agos3: Remove some pointless casts
Volker Lendecke [Thu, 24 Dec 2009 12:14:18 +0000 (13:14 +0100)]
s3: Remove some pointless casts

14 years agoAttempt to fix one of the last two bugs with the full Windows ACL support.
Jeremy Allison [Thu, 24 Dec 2009 01:19:22 +0000 (17:19 -0800)]
Attempt to fix one of the last two bugs with the full Windows ACL support.

When returning an underlying ACL on a directory, normally on a
POSIX system it has no inheritable entries, which breaks the
Windows ACL when a user does a get/set of a Windows ACL on a
POSIX directory with no existing stored Windows ACL from
the Windows ACL editor. What happens is any new entry added
by the user gets set inheritable, but none of the others
entries are (as returned by default). So any new files then
only inherit the single new ACE entry (the one marked inheritable
by the ACL editor).

Fix this by faking up a default 3 element inheritable ACL that
represents what a user creating a POSIX file or directory will
get by default from the smbd code.

Jeremy.

14 years agoThe posix acl version of set_nt_acl() could set the stat_ex
Jeremy Allison [Thu, 24 Dec 2009 01:17:48 +0000 (17:17 -0800)]
The posix acl version of set_nt_acl() could set the stat_ex
struct in the fsp->fsp_name pointer incorrectly for a directory.

Fix this. Make map_canon_ace_perms() public.

Jeremy.

14 years agos4:cleanups More trailing spaces and tabs
Simo Sorce [Wed, 23 Dec 2009 20:17:16 +0000 (15:17 -0500)]
s4:cleanups More trailing spaces and tabs

14 years agos4:cleanups remove trailing spaces and tabs
Simo Sorce [Wed, 23 Dec 2009 20:08:02 +0000 (15:08 -0500)]
s4:cleanups remove trailing spaces and tabs

14 years agodoc: update mount.cifs man page with nounix option
Suresh Jayaraman [Wed, 23 Dec 2009 16:41:39 +0000 (11:41 -0500)]
doc: update mount.cifs man page with nounix option

Change since last post:
- fix build error due to superfluous </para> tag.
- ensure it builds fine.

Also add a section on INODE NUMBERS that discusses inode numbers more
thoroughly and add reference to it in "nounix" and "noserverino"
options.

Thanks to Jeff Layton for explaining those details.

Signed-off-by: Suresh Jayaraman <sjayaraman@suse.de>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
14 years agos4:ldb Fix declaration in the middle of the code
Simo Sorce [Wed, 23 Dec 2009 15:33:26 +0000 (10:33 -0500)]
s4:ldb Fix declaration in the middle of the code

14 years agos4: Fix the build
Simo Sorce [Wed, 23 Dec 2009 15:28:14 +0000 (10:28 -0500)]
s4: Fix the build

14 years agos4: tests controls parsing and using for ldbadd/ldbedit/ldbmodify
Matthieu Patou [Sat, 5 Dec 2009 14:56:35 +0000 (17:56 +0300)]
s4: tests controls parsing and using for ldbadd/ldbedit/ldbmodify

14 years agos4: make ldbadd/ldbmodify/ldbdelete really use the --controls switch
Matthieu Patou [Tue, 22 Dec 2009 17:44:19 +0000 (20:44 +0300)]
s4: make ldbadd/ldbmodify/ldbdelete really use the --controls switch

14 years agos3: wbinfo --ping-dc is not cacheable
Volker Lendecke [Wed, 23 Dec 2009 12:10:55 +0000 (13:10 +0100)]
s3: wbinfo --ping-dc is not cacheable

14 years agos3: Remove some unused code
Volker Lendecke [Wed, 23 Dec 2009 10:48:33 +0000 (11:48 +0100)]
s3: Remove some unused code

14 years agos3: Remove unused sendto_child()
Volker Lendecke [Wed, 23 Dec 2009 10:39:10 +0000 (11:39 +0100)]
s3: Remove unused sendto_child()

14 years agos3-net: use generated krb5.conf in 'net ads testjoin'
Günther Deschner [Wed, 16 Dec 2009 20:22:50 +0000 (21:22 +0100)]
s3-net: use generated krb5.conf in 'net ads testjoin'

Guenther

14 years agos3-docs: mention -M option and remove nonexisting -G option in pdbedit manpage.
Günther Deschner [Wed, 23 Dec 2009 09:33:13 +0000 (10:33 +0100)]
s3-docs: mention -M option and remove nonexisting -G option in pdbedit manpage.

Guenther

14 years agos3:ntlmssp: only include ntlmssp.h where actually needed
Andrew Bartlett [Tue, 22 Dec 2009 07:50:55 +0000 (18:50 +1100)]
s3:ntlmssp: only include ntlmssp.h where actually needed

Andrew Bartlett

14 years agos3:ntlmssp: remove the typedef NTLMSSP_STATE
Andrew Bartlett [Tue, 22 Dec 2009 07:50:55 +0000 (18:50 +1100)]
s3:ntlmssp: remove the typedef NTLMSSP_STATE

Andrew Bartlett

14 years agos3:ntlmssp: move to C99 integer types in ntlmssp.h
Andrew Bartlett [Tue, 22 Dec 2009 07:50:55 +0000 (18:50 +1100)]
s3:ntlmssp: move to C99 integer types in ntlmssp.h

Andrew Bartlett

14 years agos3:ntlmssp: rename enum NTLMSSP_ROLE into enum ntlmssp_role
Andrew Bartlett [Tue, 22 Dec 2009 07:50:55 +0000 (18:50 +1100)]
s3:ntlmssp: rename enum NTLMSSP_ROLE into enum ntlmssp_role

Andrew Bartlett

14 years agolibcli/auth Make gd's NDR NTLMSSP parsers helpers common
Andrew Bartlett [Tue, 22 Dec 2009 07:20:02 +0000 (18:20 +1100)]
libcli/auth Make gd's NDR NTLMSSP parsers helpers common

(but not built in Samba4 for now)

14 years agos3: Restore correct timeouts for SMB requests
Volker Lendecke [Tue, 22 Dec 2009 15:06:17 +0000 (16:06 +0100)]
s3: Restore correct timeouts for SMB requests

14 years agos3: Remove a pointless else branch
Volker Lendecke [Tue, 22 Dec 2009 13:07:52 +0000 (14:07 +0100)]
s3: Remove a pointless else branch

14 years agos3: Move smb_splice_chain to smbd/process.c, its only user
Volker Lendecke [Tue, 22 Dec 2009 12:53:13 +0000 (13:53 +0100)]
s3: Move smb_splice_chain to smbd/process.c, its only user

14 years agos4:gensec Don't give a warning when Windows client connects with NTLM
Andrew Bartlett [Tue, 8 Dec 2009 05:50:18 +0000 (16:50 +1100)]
s4:gensec Don't give a warning when Windows client connects with NTLM

We have had the workaround for a long time, but at the time the log
warnings remained.

Andrew Bartlett

14 years agos4:auth Change 'get_challenge' API to be more like Samba3
Andrew Bartlett [Mon, 14 Dec 2009 09:32:47 +0000 (20:32 +1100)]
s4:auth Change 'get_challenge' API to be more like Samba3

It is just easier to fill in the known to be 8 byte challenge than
stuff about with allocated pointers.

Andrew Bartlett

14 years agos4:auth generate the prototype file in the right place
Andrew Bartlett [Tue, 22 Dec 2009 06:21:06 +0000 (17:21 +1100)]
s4:auth generate the prototype file in the right place

14 years agoSamba4 and LDB requires talloc 2.0.1
Andrew Bartlett [Fri, 18 Dec 2009 04:30:41 +0000 (15:30 +1100)]
Samba4 and LDB requires talloc 2.0.1

reported by ewoud@kohlvanwijngaarden.nl

14 years agoFix bug reported in mangle_hash code (no bugid yet).
Jeremy Allison [Tue, 22 Dec 2009 01:46:32 +0000 (17:46 -0800)]
Fix bug reported in mangle_hash code (no bugid yet).

Don't change the contents of a const string via a pointer
alias (or if you do, change it back.....).

Jeremy.

14 years agos4 torture: Add RAW-OPLOCK-EXCLUSIVE7 which is similar to BATCH19
Tim Prouty [Wed, 2 Dec 2009 19:39:50 +0000 (11:39 -0800)]
s4 torture: Add RAW-OPLOCK-EXCLUSIVE7 which is similar to BATCH19

14 years agos4 torture: Update raw oplock to use win7 as the baseline for rename oplock break...
Tim Prouty [Wed, 2 Dec 2009 01:40:30 +0000 (17:40 -0800)]
s4 torture: Update raw oplock to use win7 as the baseline for rename oplock break behavior

14 years agos4 torture: Be more permissive with share modes for oplock testing
Tim Prouty [Mon, 21 Dec 2009 22:48:43 +0000 (14:48 -0800)]
s4 torture: Be more permissive with share modes for oplock testing

Share modes are tested elsewhere, and there is currently an outstanding
issue about share mode contention for nt-passthrough levels:

http://lists.samba.org/archive/cifs-protocol/2009-December/001227.html