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
Günther Deschner
87f61a144b
s3-rpc_client: add cli_rpc_pipe_open_noauth_transport.
...
Guenther
2009-09-11 09:59:03 +02:00
Günther Deschner
c4f6fb0b2d
s3-schannel: remove last schannel hand-marshalling function.
...
Guenther
2009-09-11 03:00:43 +02:00
Günther Deschner
d258fb4d0d
s3-schannel: use NL_AUTH_SIGNATURE for schannel sign & seal (client & server).
...
Guenther
2009-09-11 03:00:35 +02:00
Günther Deschner
a155f3f9a9
s3-schannel: remove unused code.
...
Guenther
2009-09-11 02:57:35 +02:00
Günther Deschner
3c70480f3b
s3-util: add get/set_cmdline_auth_info_domain to user_auth_info struct.
...
Guenther
2009-09-11 00:36:59 +02:00
Günther Deschner
a48f884f70
s3: remove unused RPC_AUTH_SCHANNEL_NEG struct and parsing functions.
...
Guenther
2009-09-08 17:07:03 +02:00
Jeremy Allison
43c766a14a
Fix bug 6673 - smbpasswd does not work with "unix password sync = yes".
...
Revert change from 3.3 -> 3.4 with read_socket_with_timeout changed
from sys_read() to sys_recv(). read_socket_with_timeout() is called
with non-fd's (with a pty in chgpasswd.c and with a disk file in
lib/dbwrap_file.c via read_data()). recv works for the disk file,
but not the pty. Change the name of read_socket_with_timeout() to
read_fd_with_timeout() to make this clear (and add comments).
Jeremy.
2009-09-06 21:38:50 -07:00
Aravind Srinivasan
e046b382f2
s3: Add a new VFS op called SMB_VFS_TRANSLATE_NAME
...
This vop is designed to work in tandem with SMB_VFS_READDIR to allow
vfs modules to make modifications to arbitrary filenames before
they're consumed by callers. Subsequently the core directory
enumeration code in smbd is now changed to free the memory that may be
allocated in a module. This vop enables the new version of catia in
the following patch.
Signed-off-by: Tim Prouty <tprouty@samba.org>
2009-08-28 16:38:57 -07:00
Stefan Metzmacher
5234d10c8e
s3:smbd: add is_fake_file_path() that takes only the raw path as string
...
metze
2009-08-27 16:45:40 +02:00
Günther Deschner
360868b6e8
s3-schannel: remove remaining code that was using "struct dcinfo".
...
Guenther
2009-08-27 15:55:20 +02:00
Günther Deschner
a3c6e02748
s3-credentials: remove unused code.
...
Guenther
2009-08-27 15:55:20 +02:00
Günther Deschner
a09b627ecc
s3-schannel: add simple wrappers to fetch and store schannel auth info.
...
Guenther
2009-08-27 15:55:19 +02:00
Günther Deschner
7c972d83d2
s3-schannel: make open_schannel_session_store() public.
...
Guenther
2009-08-27 15:55:19 +02:00
Steven Danneman
6c55518d47
s3/smbd: open the share_info.tdb on startup instead of tconx
...
This is a small performance optimization. Instead of opening the tdb
on every smb connection in the forked child process, we now open it in
the parent and share the fd.
This also reduces the total fd usage in the system.
2009-08-26 16:34:10 -07:00
Volker Lendecke
b824b1b7bf
Add a parameter to disable the automatic creation of krb5.conf files
...
This is necessary because MIT 1.5 can't deal with certain types (Tree Root) of
transitive AD trusts. The workaround is to add a [capaths] directive to
/etc/krb5.conf, which we don't automatically put into the krb5.conf winbind
creates.
The alternative would have been something like a "krb5 conf include", but I
think if someone has to mess with /etc/krb5.conf at this level, it should be
easy to add the site-local KDCs as well.
Next alternative is to correctly figure out the [capaths] parameter for all
trusted domains, but for that I don't have the time right now. Sorry :-)
2009-08-26 15:28:06 +02:00
Volker Lendecke
1df18922c6
Add some const to dsgetdcname
2009-08-25 17:38:31 +02:00
Jeremy Allison
c69f92d16d
Second attempt at fix for bug 6529 - Offline files conflict with Vista and Office 2003.
...
Confirmation from reporter that this fixes the issue in master on ext3/ext4.
Back-ports to follow.
Jeremy.
2009-08-24 20:57:37 -07:00
Jeremy Allison
87d30a1968
Second part of fix for 6529 - Offline files conflict with Vista and Office 2003.
...
ext4 may be able to store ns timestamps, but the only API to *set* timestamps
takes usec, not nsec. Round to usec on set requests.
Jeremy.
2009-08-24 12:30:05 -07:00