Günther Deschner
e4bdb7e00e
s3-libads: add ads_set_sasl_wrap_flags().
...
Guenther
2010-05-20 18:45:59 +02:00
Günther Deschner
764cde5190
s3-build: add missing prototype for regtype_by_string().
...
Guenther
2010-05-20 13:54:08 +02:00
Jeremy Allison
572e5dec1b
Implement missing info level SMB_FILE_LINK_INFORMATION.
...
Fix bug #7435 - SMB2 hardlink fails (invalid level).
Found at the Microsoft plugsharing plugfest.
Jeremy.
2010-05-18 18:34:54 -07:00
Günther Deschner
f6f3bb1813
s3-passdb: move get_logon_hours_from_pdb() into samr server.
...
Guenther
2010-05-18 21:43:05 +02:00
Günther Deschner
8478770c35
s3-rpc_client: move protos to init_samr.h
...
Guenther
2010-05-18 21:42:57 +02:00
Günther Deschner
5a6f3a0666
s3-rpc_client: move protos to init_spoolss.h
...
Guenther
2010-05-18 21:42:48 +02:00
Günther Deschner
cc06133b0a
s3-rpc_client: move protos to cli_spoolss.h
...
Guenther
2010-05-18 21:42:45 +02:00
Günther Deschner
230b880d14
s3-rpc_client: move protos to cli_lsarpc.h
...
Guenther
2010-05-18 21:42:41 +02:00
Günther Deschner
5ed3654112
s3-rpc_client: move protos to cli_netlogon.h
...
Guenther
2010-05-18 21:42:37 +02:00
Günther Deschner
3f2719c202
s3-rpc_client: move protos to cli_samr.h
...
Guenther
2010-05-18 21:42:32 +02:00
Andrew Bartlett
7a8e34fe86
s3:split secrets.c to put machine account secrets in a new file
...
This helps the s3compat effort by allowing these functions to be
replaced by functions that query the cli_credentials and secrets.ldb
APIs.
Also, this changes a couple of DOM_SID to struct dom_sid along the
way.
Andrew Bartlett
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18 21:39:42 +02:00
Simo Sorce
d6a73ad85b
s3-spoolss: Removed the Phantom DeviceMode.
...
This was a hack that required a special client from HP.
The client code has never been released and was discontinued,
so this code was just dead weight.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18 15:52:28 +02:00
Andreas Schneider
7d363b8922
s3-spoolss: Create a spoolss_map_to_os2_driver function.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18 15:17:23 +02:00
Günther Deschner
7f6bb48bdf
s3-secdesc: remove "typedef struct security_descriptor SEC_DESC".
...
Guenther
2010-05-18 12:30:12 +02:00
Günther Deschner
8951c8301a
s3-secdesc: remove "typedef struct security_acl SEC_ACL".
...
Guenther
2010-05-18 12:30:12 +02:00
Günther Deschner
a8b01d1f3b
s3-secdesc: remove "typedef struct security_ace SEC_ACE".
...
Guenther
2010-05-18 12:30:11 +02:00
Günther Deschner
8bc9c343c4
s3-secdesc: remove "typedef struct sec_desc_buf SEC_DESC_BUF".
...
Guenther
2010-05-18 12:30:11 +02:00
Jelmer Vernooij
f9ca9e46ad
Finish removal of iconv_convenience in public API's.
2010-05-18 11:45:30 +02:00
Jeremy Allison
285b628327
Plumb in krb5 to the SMB2 sessionsetup code. First cut of this code.
...
Jeremy.
2010-05-17 18:22:19 -07:00
Günther Deschner
fe31b67d5e
s3-registry: only include registry headers when really needed.
...
Guenther
2010-05-18 01:15:38 +02:00
Günther Deschner
26c844902c
s3-samr: move samr helper prototypes outside of proto.h
...
Guenther
2010-05-18 00:44:27 +02:00
Günther Deschner
3d5972c43f
s3-libgpo: move group policy protos to where they belong.
...
Guenther
2010-05-17 21:07:17 +02:00
Günther Deschner
e3bdff3d67
s3-kerberos: pass down kdc_name to create_local_private_krb5_conf_for_domain().
...
Guenther
2010-05-17 12:47:50 +02:00
Simo Sorce
348b4b9bab
Make pcap headers private
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-14 14:15:08 +02:00
Simo Sorce
f36396f90f
Move standard printcap parsing to print_standard.c
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-14 14:14:55 +02:00
Andrew Bartlett
454b0b3f20
s3:kerberos Return PAC_LOGON_INFO rather than the full PAC_DATA
...
All the callers just want the PAC_LOGON_INFO, so search for that in
ads_verify_ticket(), and don't bother the callers with the rest of the
PAC.
This change makes sense on it's own (removing boilerplate wrappers
that just confuse the code), but it also makes it much easier to
implement a matching ads_verify_ticket() function in Samba4 for the
s3compat proposal.
Andrew Bartlett
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-11 22:52:37 +02:00
Günther Deschner
8a2a8217f8
s3-proto: add missing protoype for dcerpc_fault_to_nt_status().
...
Guenther
2010-05-09 23:47:56 +02:00
Simo Sorce
3c1e9a8c33
s3-spoolss: Make spoolss_Time_to_time_t public.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-09 23:33:40 +02:00
Günther Deschner
b83ab96b16
s3-passdb: moving account_pol.c into passdb.
...
Guenther
2010-05-08 01:45:27 +02:00
Jeremy Allison
adf4833792
This patch looks bigger than it is. It does 2 things. 1). Renames smbpid -> smblctx in our locking code. 2). Widens smblctx to 64-bits internally. Preparing to use the SMB2 handle as the locking context.
...
Jeremy.
2010-05-07 06:20:50 -07:00
Jeremy Allison
4ad1943d29
Make us pass all SMB2 lock tests except MULTIPLE-UNLOCK and CONTEXT. Them next :-).
...
Jeremy.
2010-05-07 01:20:26 -07:00
Günther Deschner
049416c285
s3-spoolss: make several notify functions static.
...
Guenther
2010-05-06 13:41:51 +02:00
Günther Deschner
d2d7174394
s3-eventlog: move all eventlog headers to lib/eventlog and only include where required.
...
Guenther
2010-05-06 13:41:51 +02:00
Günther Deschner
c6ebab846d
s3: only include gen_ndr headers where needed.
...
This shrinks include/includes.h.gch by the size of 7 MB and reduces build time
as follows:
ccache build w/o patch
real 4m21.529s
ccache build with patch
real 3m6.402s
pch build w/o patch
real 4m26.318s
pch build with patch
real 3m6.932s
Guenther
2010-05-06 00:22:59 +02:00
Andreas Schneider
66f7699511
s3-spoolss: Added a generic spoolss_create_default_secdesc function.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05 18:16:23 +02:00
Andreas Schneider
b2ea8fbcce
s3-spoolss: Added a function to create a default spoolss_DeviceMode.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05 18:08:56 +02:00
Andreas Schneider
6683b0d4b6
s3-lib: Create a sec_desc_merge and sec_desc_merge_buf function.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-04 19:37:39 +02:00
Jeremy Allison
f4092ecec7
Plumb the SMB2 front end into the blocking lock backend.
...
Metze, you'll probably be happier with this work as it
doesn't abuse tevent in the way you dislike. This is a
first cut at the code, which will need lots of testing
but I'm hoping this will give people an idea of where I'm
going with this.
Jeremy.
2010-04-30 21:03:20 -07:00
Jeremy Allison
e90444319c
Carefully label SMB1-specific locking calls.
...
Jeremy.
2010-04-29 17:08:12 -07:00
Jeremy Allison
ac09506d36
Connect set security descriptor into SMB2 code.
...
Jeremy.
2010-04-28 14:13:22 -07:00
Günther Deschner
1691eb73da
s3-spoolss: add support for SetJobInfo level 1 (for jobfile rename).
...
Guenther
2010-04-28 00:10:40 +02:00
Günther Deschner
2b7002f385
s3-lanman: remove unsupported print_job_set_place().
...
Guenther
2010-04-28 00:10:40 +02:00
Günther Deschner
6864828d9d
s3: use shared registry functions.
...
Guenther
2010-04-27 16:42:15 +02:00
Jeremy Allison
a94a4b788c
Plumb in get_nt_acl into SMB2.
...
Jeremy.
2010-04-26 20:11:59 -07:00
Günther Deschner
7259762909
s3: use generated rap header.
...
Guenther
2010-04-26 22:52:59 +02:00
Jeremy Allison
2bbb8c917e
Allow smb2 create requests to be cancelled.
...
Jeremy.
2010-04-23 13:10:15 -07:00
Simo Sorce
8f56cdfaee
s3-spoolss: Move info_ctr conversion to a public helper.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23 16:23:49 +02:00
Andreas Schneider
d65485b3c5
s3-spoolss: Use const values for notify functions.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23 16:06:51 +02:00
Andreas Schneider
3f1cc29814
s3-time: Added a function to get the startup time of the server.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23 16:06:42 +02:00
Jeremy Allison
8f67f873ac
Make deferred opens (NT_STATUS_SHARING_VIOLATION) work over SMB2.
...
Makes SMB2Create call re-entrant internally.
Now this infrastructure is in place, oplocks will follow shortly.
Tested with Win7 client and with W2K8R2.
Jeremy.
2010-04-22 23:52:19 -07:00