summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-07-24lib/param: Add handler overridesAndrew Bartlett1-0/+18
These #defines allow us to merge the parameter table without providing the handler functions quite yet. This helps us do this task in stages. Andrew Bartlett
2012-07-24lib/param: Merge handling of security/domain master/domain logons/server roleAndrew Bartlett6-28/+29
This ensures that the same input parameters always gives the same output values in both loadparm systems. Andrew Bartlett
2012-07-24lib/param: Make lp_usershare_max_shares() a common parameterAndrew Bartlett2-1/+1
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
2012-07-24lib/param: Move all enum declarations to lib/paramAndrew Bartlett29-208/+245
This is in preperation for the parameter table being made common. Andrew Bartlett Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
2012-07-24lib/param: Rename param_enums.c to param_table.cAndrew Bartlett3-2/+2
This is in preperation for the parameter table being merged into this file. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Jul 24 09:16:44 CEST 2012 on sn-devel-104
2012-07-24lib/param: Remove 'case insensitive filesystem'Andrew Bartlett3-10/+26
We use the slightly confusing 'case sensitive = yes' option for the same behaviour. This avoids adding even more confusing documentation for the ntvfs-only option. Andrew Bartlett
2012-07-24lib/param: Remove "ntptr providor" and hard-code in s4 spoolss serverAndrew Bartlett3-11/+1
This stub codebase does not justify a merged parameter. Andrew Bartlett Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
2012-07-24s3-param: Merge parameter varaibles with lib/paramAndrew Bartlett1-10/+11
Baded on an earlier patch: Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
2012-07-24s3-param: fix indent on cups encryptAndrew Bartlett1-1/+1
2012-07-24s3-param: Merge a number of s4 parameters from lib/param to make this table ↵Andrew Bartlett1-10/+287
common This is not finished yet, but this is a downpayment on the final task. Based on an work that that was Pair-Programmed-With: Andrew Tridgell <tridge@samba.org> Andrew Bartlett
2012-07-24param: Make internal handler for 'server role' commonAndrew Bartlett3-4/+3
2012-07-24param: Make the 'unicode' parameter commonAndrew Bartlett6-2/+19
This parameter is most useful for interop testing, rather than production use. Andrew Bartlett
2012-07-24Remove unused variable.Jeremy Allison1-1/+0
Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Jul 24 02:01:00 CEST 2012 on sn-devel-104
2012-07-24Fix compiler warning message.Jeremy Allison1-2/+2
2012-07-24Fix incorrect use of server as a talloc context.Jeremy Allison1-1/+1
2012-07-24Fix unused variable.Jeremy Allison1-1/+0
2012-07-24Fix compiler warning.Jeremy Allison1-1/+1
2012-07-24Fix debug print warning message.Jeremy Allison1-1/+3
2012-07-24build: Add -Werror=address to the developer buildAndrew Bartlett1-1/+1
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-24libcli/smb: pass down smbXcli_session to smb1cli_req_create/send() and ↵Stefan Metzmacher7-42/+59
smb1cli_trans* metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Jul 24 00:08:58 CEST 2012 on sn-devel-104
2012-07-23s4:libcli/raw: setup a smbXcli_session for each smbcli_sessionStefan Metzmacher3-1/+16
metze
2012-07-23s3:libsmb: use cli_state_{g,s}et_uid instead of smb1.uid directlyLuk Claes4-9/+20
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-07-23libcli/smb: introduce smb1.session for uid useLuk Claes2-0/+18
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-07-23s3-winbind: Fix bug #9052 resolving our own "Domain Local" groups.Andreas Schneider4-14/+12
We don't resolve our own "Domain Local" groups since bug #7843 has been fixed. So we need to add the add resource groups to the sid list too. Before bug #7843 the "Domain Local" groups were added with a lookupuseraliases call, but this isn't done anymore for our domain so we need to resolve resource groups here. When to use Resource Groups: http://technet.microsoft.com/en-us/library/cc753670%28v=WS.10%29.aspx Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Mon Jul 23 22:12:30 CEST 2012 on sn-devel-104
2012-07-23Fix problem found by Andrew Bartlett - correctly check encrypted flag.Jeremy Allison1-2/+6
2012-07-23libcli/smb: set should_encrypt = true if we got SMB2_SESSION_FLAG_ENCRYPT_DATAStefan Metzmacher1-2/+15
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Mon Jul 23 20:14:07 CEST 2012 on sn-devel-104
2012-07-23libcli/smb: encrypt SMB2 traffic if nedded/desired.Stefan Metzmacher1-3/+79
metze
2012-07-23libcli/smb: increment nbt_len, when we have the fully created the SMB2 PDUStefan Metzmacher1-1/+2
metze
2012-07-23libcli/smb: maintain smb2.should_sign on smbXcli_req_stateStefan Metzmacher1-26/+11
metze
2012-07-23libcli/smb: make use of SMB2_HDR_BODY as header sizeStefan Metzmacher1-1/+1
metze
2012-07-23libcli/smb: parse the SMB2_TRANSFORM header and decrypt the SMB2 pduStefan Metzmacher1-0/+63
metze
2012-07-23libcli/smb: create 4 iovecs per request in smb2cli_inbuf_parse_compound()Stefan Metzmacher1-16/+25
The first one might hold the SMB2_TRANSFORM Header later. metze
2012-07-23libcli/smb: prepare [en|de]cryption_key for SMB3Stefan Metzmacher1-0/+65
metze
2012-07-23libcli/smb: copy the application_key in smb2cli_session_create_channel()Stefan Metzmacher1-0/+6
metze
2012-07-23libcli/smb: check the buffer length in smbXcli_negprot_dispatch_incoming()Stefan Metzmacher1-1/+8
metze
2012-07-23libcli/smb: only pass the smb2 buffer to smb2cli_inbuf_parse_compound()Stefan Metzmacher1-12/+12
We should hide the transport as much as possible. metze
2012-07-23libcli/smb: add smb2_signing_[en|e]crypt_pdu()Stefan Metzmacher2-0/+141
metze
2012-07-23libcli/smb: construct the signing_key before forming the messageStefan Metzmacher1-31/+31
metze
2012-07-23lib/crypto: add aes_ccm_128Stefan Metzmacher5-2/+227
metze
2012-07-23libcli/smb: add SMB2_SESSION_FLAG_ENCRYPT_DATAStefan Metzmacher1-0/+1
metze
2012-07-23libcli/smb: add SMB2_TRANSFORM macrosStefan Metzmacher1-0/+15
metze
2012-07-23s3:test_smb2: copy the session_channel from the primary channel.Stefan Metzmacher1-1/+1
metze
2012-07-23s3:smb2_tcon: reject access to shares mark as "smb encrypt = required"Stefan Metzmacher1-0/+8
We do not support SMB2 transport encryption yet. metze
2012-07-23s3-winbind: Fix idmap initialization debug message.Guenther Deschner2-2/+2
Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Mon Jul 23 18:19:00 CEST 2012 on sn-devel-104
2012-07-23s3:smbd: if a fsp has fsp->deferred_close, clients shouldn't be able to use itStefan Metzmacher1-2/+18
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Mon Jul 23 16:22:03 CEST 2012 on sn-devel-104
2012-07-22s4-classicupgrade: Add unix attributes during upgradeGeza Gemes1-1/+108
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sun Jul 22 13:20:20 CEST 2012 on sn-devel-104
2012-07-22s4 rfc2307 gids mapping fixSergey Urushkin1-7/+8
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2012-07-20Use ippGet/ippSet (accessors) for IPP API.Jiri Popelka2-176/+259
CUPS 1.6 makes various structures private and introduces these ippGet and ippSet functions for all of the fields in these structures. http://www.cups.org/str.php?L3928 We define our own accessors when CUPS < 1.6. Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Jul 20 22:35:55 CEST 2012 on sn-devel-104
2012-07-20Remove source3/lib/pidfile.cJeremy Allison4-101/+1
Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Jul 20 03:57:20 CEST 2012 on sn-devel-104
2012-07-19Move everything to use the common pidfile functions.Jeremy Allison8-13/+20
The extra code in source3/lib/pidfile.c is no longer needed.