Jeremy Allison
977fa4e377
Revert commit "0551284dc08eb93ef7b2b2227a45e5ec21d482fb" - simplify
...
the logic. This was incorrect (I'll revisit this tomorrow).
Jeremy.
2009-11-05 21:27:25 -08:00
Jeremy Allison
0551284dc0
Simplify the logic - remove extraneous argument and calls to set_close_write_time().
...
We were treating a file time set on close as a sticky write time set, and I don't
think it is. I will add a torture test later to RAW-CLOSE to confirm this.
Jeremy.
2009-11-05 17:40:01 -08:00
Jeremy Allison
7f9fe127ba
Get closer to an accurate model of Windows timestamp changes.
...
"Normal" non truncate writes always cause the timestamp to
be set on close. Once a close is done on a handle this can
reset the sticky write time to current time also.
Updated smbtorture4 confirms this.
Jeremy.
2009-11-05 16:20:11 -08:00
Volker Lendecke
d415d4d32f
s3: Add parameter "ctdb timeout"
...
When something in the cluster blocks, it can happen that we wait indefinitely
long for ctdb, just adding to the blocking condition. In theory, nothing should
block, but as someone said "In practice the difference between theory and
practice is larger than in theory". This adds a timeout parameter in seconds,
after which we stop waiting for ctdb and panic.
2009-11-05 12:05:36 +01:00
Jeremy Allison
cbafe17bb3
Remove "Protocol" as an extern, and add accessor functions.
...
Jeremy.
2009-11-04 15:15:50 -08:00
Volker Lendecke
b067a5e4e8
s3: Remove debug_ctx()
...
smbd just crashed on me: In a debug message I called a routine preparing a
string that itself used debug_ctx. The outer routine also used it after the
inner routine had returned. It was still referencing the talloc context
that the outer debug_ctx() had given us, which the inner DEBUG had already
freed.
2009-11-03 11:30:00 +01:00
SATOH Fumiyasu
c27194a7e0
Fix bug 6572 - libsmbclient: unable to access 'msdfs proxy' share.
2009-10-28 12:48:36 -07:00
Günther Deschner
4df8426768
s3-passdb: move open_schannel_session_store() to passdb/secrets_schannel.c.
...
Guenther
2009-10-28 12:37:39 +01:00
Günther Deschner
bda047afbc
s3-passdb: add secrets_delete_generic().
...
Guenther
2009-10-28 12:37:38 +01:00
Karolin Seeger
f381faa8d6
s3: Rename new parameter "ldap ref follow" to "ldap follow referral".
...
This parameter will be introduced with Samba 3.5.0.
Karolin
2009-10-26 12:11:59 +01:00
Matthias Dieter Wallnöfer
441f0326be
s3: Try to fix the build on Solaris & AIX regarding the password change reject reason
2009-10-16 12:27:57 +02:00
Björn Jacke
dc586b933d
s3: fix outdated proto.h causing build error on AIX
...
Matthias, please check!
2009-10-15 10:27:34 +02:00
Günther Deschner
075303560f
s3-passdb: missed two prototypes while moving to enum netr_SchannelType.
...
Guenther
2009-10-14 15:26:14 +02:00
Volker Lendecke
1302526a74
s3:libsmb: Add cli_notify
2009-10-13 20:34:25 +02:00
Günther Deschner
ebe0e64ba9
s3: use enum netr_SchannelType all over the place.
...
Guenther
2009-10-13 10:21:46 +02:00
Günther Deschner
4a1b50afd5
s3-netlogon: pass down account name to remote password set functions.
...
Guenther
2009-10-13 00:07:45 +02:00
Karolin Seeger
8def289c8e
s3/proto.h: Add lp_ldap_ref_follow prototype.
...
Fix build of smbldap.
Karolin
2009-10-12 12:52:29 +02:00
Matthias Dieter Wallnöfer
607ceff234
s3/s4 - Adapt the IDL changes on various locations
2009-10-08 09:50:19 +02:00
Abhidnya P Chirmule
ac774c4969
s3: Add access_mask to the flock VFS call
2009-10-06 18:52:06 +02:00
Volker Lendecke
872f9c4f91
Revert "s3: Attempt to fix machine password change"
...
This reverts commit 20a8ea91e10af167067cc794a251265aaf489e75.
Ooops, this should not have been committed.
2009-10-05 22:14:06 +02:00
Volker Lendecke
20a8ea91e1
s3: Attempt to fix machine password change
2009-10-05 22:12:20 +02:00
Jeremy Allison
6f22cd10ad
Remove lots of duplicate code and move it into one
...
function vfs_stat_fsp(). Stops code looking at fsp->posix_open
except for exceptional circumstances.
Jeremy.
2009-10-02 13:45:38 -07:00
Günther Deschner
e80891db41
s3-perfcount: more cleanup.
...
Guenther
2009-10-01 12:19:48 +02:00
Günther Deschner
25ab8828a1
s3-perfcount: only pass down prs_struct when really required.
...
Guenther
2009-10-01 12:19:48 +02:00
Günther Deschner
cd82d4ba56
s3: add perfcount idl and generated files.
...
Guenther
2009-10-01 12:19:43 +02:00
Günther Deschner
c6a7ecf28b
s3-registry: move rpccli_winreg_Connect to the only file it belongs.
...
Guenther
2009-10-01 11:40:31 +02:00
Günther Deschner
bbc71486a7
s3: remove unused rpcstr_pull and rpcstr_pull_talloc.
...
Guenther
2009-10-01 11:40:31 +02:00
Günther Deschner
ad836c4d48
s3-registry: use pull_reg_sz() where appropriate.
...
(and move away from rpcstr_pull and rpcstr_pull_talloc).
Guenther
2009-10-01 11:40:30 +02:00
Günther Deschner
05e8e90976
s3-registry: add regval_ctr_addvalue_multi_sz.
...
Guenther
2009-09-30 16:23:33 +02:00
Günther Deschner
afdea18fcf
s3-rpc_parse: remove unused prs_string.
...
Guenther
2009-09-30 16:22:34 +02:00
Günther Deschner
26e798da19
s3: remove unused regval_convert_multi_sz().
...
Guenther
2009-09-30 00:34:01 +02:00
Günther Deschner
2ccf75d9a9
s3: remove unused regval_build_multi_sz().
...
Guenther
2009-09-30 00:33:54 +02:00
Günther Deschner
76bb380839
s3-rpc_parse: remove unused UNISTR2 struct and init function.
...
Guenther
2009-09-30 00:33:47 +02:00
Günther Deschner
f8016cfee9
s3-util: add pull_reg_sz() and pull_reg_multi_sz() convenience functions.
...
Guenther
2009-09-30 00:30:47 +02:00
Günther Deschner
a50cc61ee6
s3-registry: add regval_ctr_addvalue_sz.
...
Guenther
2009-09-30 00:29:56 +02:00
Günther Deschner
fcee9d2c97
s3-util: add push_reg_sz() and push_reg_multi_sz() convenience functions.
...
Guenther
2009-09-30 00:29:24 +02:00
Volker Lendecke
76d95b9a2d
s3:gencache: Add a "was_expired" argument to gencache_get_data_blob
...
This is set to true if the routine returns failure due to an existing but
expired entry.
2009-09-23 18:50:33 +02:00
Andrew Bartlett
59bea84362
libcli:nbt move prototypes of lmhosts functions to libnbt.h
2009-09-19 14:34:16 -07:00
Jeremy Allison
16836f9e9e
We now pass the Microsoft SMB2 fileio test with EA's and streams...
...
Jeremy.
2009-09-17 09:29:07 -07:00
Günther Deschner
503d035814
spnego: share spnego_parse.
...
Guenther
2009-09-17 01:12:20 +02:00
Günther Deschner
44e44310d1
s3-netlogon: support validation level 6 in netr_SamLogon calls.
...
Guenther
2009-09-16 18:00:03 +02:00
Günther Deschner
37bc806453
s3-dcerpc: remove more obsolete or duplicate headers.
...
Guenther
2009-09-16 08:55:51 +02:00
Günther Deschner
97d7a524ab
s3-schannel: remove unused schannel_decode/schannel_encode.
...
Guenther
2009-09-16 01:55:13 +02:00
Günther Deschner
799f8d7e13
schannel: fully share schannel sign/seal between s3 and 4.
...
Guenther
2009-09-16 01:55:06 +02:00
Günther Deschner
d3af0346c8
s3-dcerpc: use dcerpc_AuthLevel and remove duplicate set of flags.
...
Guenther
2009-09-15 17:49:34 +02:00
Andrew Bartlett
668470c992
libcli:nbt make the lmhosts parsing code and dependicies common
...
This starts the process to have Samba4 use lmhosts.
Andrew Bartlett
2009-09-15 07:42:54 -07:00
Günther Deschner
2f9adf04e4
s3-rpc_client: add rpccli_lsa_lookup_sids3 wrapper.
...
Guenther
2009-09-14 06:49:58 +02:00
Günther Deschner
ff968712ba
s3-rpc_client: add rpccli_lsa_lookup_names4 wrapper.
...
Guenther
2009-09-14 06:49:58 +02:00
Günther Deschner
bea8e5fa60
s3-rpc_client: add dcerpc_transport_t to cli_rpc_pipe_open_schannel().
...
Guenther
2009-09-11 09:59:04 +02:00
Günther Deschner
032e01e7c1
s3-rpc_client: add dcerpc_transport_t to cli_rpc_pipe_open_spnego_ntlmssp and cli_rpc_pipe_open_ntlmssp.
...
Guenther
2009-09-11 09:59:04 +02:00