summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* libcli/smb: pass smbXcli_tcon to smb2cli_query_info*()Stefan Metzmacher2012-07-241-5/+5
| | | | metze
* libcli/smb: pass smbXcli_tcon to smb2cli_set_info*()Stefan Metzmacher2012-07-241-2/+2
| | | | metze
* libcli/smb: pass smbXcli_tcon to smb2cli_flush*()Stefan Metzmacher2012-07-241-18/+18
| | | | metze
* libcli/smb: pass smbXcli_tcon to smb2cli_write*()Stefan Metzmacher2012-07-242-8/+8
| | | | metze
* libcli/smb: pass smbXcli_tcon to smb2cli_read*()Stefan Metzmacher2012-07-242-11/+21
| | | | metze
* libcli/smb: pass smbXcli_tcon to smb2cli_close*()Stefan Metzmacher2012-07-242-10/+11
| | | | metze
* libcli/smb: pass smbXcli_tcon to smb2cli_create*()Stefan Metzmacher2012-07-242-17/+17
| | | | metze
* s3:libsmb: setup a smbXcli_tcon for SMB2Stefan Metzmacher2012-07-242-0/+15
| | | | metze
* libcli/smb: pass down smbXcli_tcon to smb1cli_req_create/send() and ↵Stefan Metzmacher2012-07-242-12/+6
| | | | | | | | | smb1cli_trans* metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Jul 24 21:22:44 CEST 2012 on sn-devel-104
* s3:libsmb: use a smbXcli_tcon instead of uint16_t cli_state->smb1.tidStefan Metzmacher2012-07-242-5/+9
| | | | metze
* s3:libsmb: make use of cli_state_[g|s]et_tid()Stefan Metzmacher2012-07-244-8/+19
| | | | metze
* s3-pdb: remove unused variables.Günther Deschner2012-07-241-2/+0
| | | | | | | Guenther Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Tue Jul 24 14:49:42 CEST 2012 on sn-devel-104
* lib/param: Merge handling of security/domain master/domain logons/server roleAndrew Bartlett2012-07-243-7/+16
| | | | | | | This ensures that the same input parameters always gives the same output values in both loadparm systems. Andrew Bartlett
* lib/param: Make lp_usershare_max_shares() a common parameterAndrew Bartlett2012-07-241-1/+0
| | | | Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
* lib/param: Move all enum declarations to lib/paramAndrew Bartlett2012-07-2426-208/+25
| | | | | | | | This is in preperation for the parameter table being made common. Andrew Bartlett Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
* lib/param: Rename param_enums.c to param_table.cAndrew Bartlett2012-07-241-1/+1
| | | | | | | | | 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
* s3-param: Merge parameter varaibles with lib/paramAndrew Bartlett2012-07-241-10/+11
| | | | | Baded on an earlier patch: Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
* s3-param: fix indent on cups encryptAndrew Bartlett2012-07-241-1/+1
|
* s3-param: Merge a number of s4 parameters from lib/param to make this table ↵Andrew Bartlett2012-07-241-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
* param: Make internal handler for 'server role' commonAndrew Bartlett2012-07-241-3/+2
|
* param: Make the 'unicode' parameter commonAndrew Bartlett2012-07-244-1/+18
| | | | | | This parameter is most useful for interop testing, rather than production use. Andrew Bartlett
* Remove unused variable.Jeremy Allison2012-07-241-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
* Fix compiler warning message.Jeremy Allison2012-07-241-2/+2
|
* Fix incorrect use of server as a talloc context.Jeremy Allison2012-07-241-1/+1
|
* Fix unused variable.Jeremy Allison2012-07-241-1/+0
|
* Fix compiler warning.Jeremy Allison2012-07-241-1/+1
|
* libcli/smb: pass down smbXcli_session to smb1cli_req_create/send() and ↵Stefan Metzmacher2012-07-242-12/+6
| | | | | | | | | 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
* s3:libsmb: use cli_state_{g,s}et_uid instead of smb1.uid directlyLuk Claes2012-07-234-9/+20
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-winbind: Fix bug #9052 resolving our own "Domain Local" groups.Andreas Schneider2012-07-234-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
* Fix problem found by Andrew Bartlett - correctly check encrypted flag.Jeremy Allison2012-07-231-2/+6
|
* lib/crypto: add aes_ccm_128Stefan Metzmacher2012-07-231-1/+1
| | | | metze
* s3:test_smb2: copy the session_channel from the primary channel.Stefan Metzmacher2012-07-231-1/+1
| | | | metze
* s3:smb2_tcon: reject access to shares mark as "smb encrypt = required"Stefan Metzmacher2012-07-231-0/+8
| | | | | | We do not support SMB2 transport encryption yet. metze
* s3-winbind: Fix idmap initialization debug message.Guenther Deschner2012-07-232-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
* s3:smbd: if a fsp has fsp->deferred_close, clients shouldn't be able to use itStefan Metzmacher2012-07-231-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
* Use ippGet/ippSet (accessors) for IPP API.Jiri Popelka2012-07-202-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
* Remove source3/lib/pidfile.cJeremy Allison2012-07-204-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
* Move everything to use the common pidfile functions.Jeremy Allison2012-07-198-13/+20
| | | | The extra code in source3/lib/pidfile.c is no longer needed.
* Fix the configure build - add lib/util/pidfile.o into UTIL_OBJ.Jeremy Allison2012-07-191-1/+1
|
* Make the s3 pidfile use the common code inside lib/util/pidfile.cJeremy Allison2012-07-195-141/+31
|
* Move source4/smbd/pidfile into lib/util in preparation for making it in common.Jeremy Allison2012-07-1910-19/+19
|
* s3-param: Remove special case for lp_ctdbd_socket(), set CTDB_PATH as defaultAndrew Bartlett2012-07-191-13/+5
| | | | | | | | | | | | | | | This changes the default based on the #ifdef rather than an override on a parameter value of "" The less special override functions we have the easier it is to merge the loadparm tables. Andrew Bartlett Pair-Programmed-With: Andrew Tridgell <tridge@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Jul 19 09:56:01 CEST 2012 on sn-devel-104
* lib/param: bring lp_smb_ports() into common by making it a list everywhereAndrew Bartlett2012-07-193-25/+13
|
* s3-param: Make lp_name_resolve_order() return a listAndrew Bartlett2012-07-196-40/+31
| | | | | | | | | This allows this parameter, one of the few with differing declarations between the loadparm systems, to be brought into common. Andrew Bartlett Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
* lib/param: bring lp_time_server() into commonAndrew Bartlett2012-07-191-1/+0
|
* s3-auth Use correct RID for domain guests primary groupAndrew Bartlett2012-07-191-1/+1
| | | | | | | | | | | This was incorrect in commit 9dd7e7fc2d6d1aa7f3c3b741ac134e087ce808fd as the RID was from the BUILTIN domain, but this creates a guest account token for the real domain. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Jul 19 05:56:28 CEST 2012 on sn-devel-104
* s3-rpc_server: Remove make_server_info_info3() call from ↵Andrew Bartlett2012-07-191-52/+3
| | | | | | | | | | | | | make_server_pipes_struct() This codepath would only be executed if we provided a partial session_info token across the named pipe forwarding code. The smbd file server always fills this in, and if the ntvfs file server ever wants to use an smbd hosted pipe, it can do the same. Calling create_local_token is always the wrong thing to do. Andrew Bartlett
* selftest: Run unix.whomai against the machine acccount as wellAndrew Bartlett2012-07-191-0/+2
| | | | | | This shows that the machine account got an extra SID in the token for domain users. Andrew Bartlett
* Revert "s3:auth make sure the primary group sid is usable"Andrew Bartlett2012-07-191-30/+13
| | | | | | | | | | | | | | | This reverts commit 00089fd74af740f832573d904312854e494a869e. The issue with this patch, which I did sign off on, is that for the domain member case, we already know that the SID is reasonable and valid, and we indeed rely on that, because we keep it as an additonal group anyway. The primary group is not so special that we need to do extra validation. Calling this function may put a user into the domain 'domain users' group, even if they are not in that group to start with. Andrew Bartlett
* s4-torture: Allow unix.whoami to test against a member serverAndrew Bartlett2012-07-191-5/+7
| | | | | | | | | | | This compares only the domain SIDs betwen the two servers, rather than the full token, as well known and other SIDs may be added locally in both cases. This also expands the test environments this is run against to verify this between our AD server and domain members. Andrew Bartlett