summaryrefslogtreecommitdiffstats
path: root/source3/include
Commit message (Collapse)AuthorAgeFilesLines
* s3:vfs: add SMB_VFS_GET_DFS_REFERRAL() hooksStefan Metzmacher2011-10-082-0/+23
| | | | metze
* ldb: use ldb directly rather than via a copyAndrew Bartlett2011-10-071-0/+4
| | | | | | | | | | | | | | | | | | This avoids needing to manually sync the two files, which due to the top level build must be API compatible at all times anyway. The most important recent change was: commit e3b76bd6205acfc1a89fbcab5d9588b32cb47b88 Author: Andrew Tridgell <tridge@samba.org> Date: Thu Jul 28 15:51:31 2011 +1000 ldb: fixed a search expression parse bug However, as we always control the search expression in the callers to this code, no backport to other releases is required. Andrew Bartlett
* lib/util: consolidate module loading into common codeAndrew Bartlett2011-10-063-39/+2
| | | | | | This creates a samba-modules private libary that handles the details. Andrew Bartlett
* s3-smbldap: remove an obsolete prototype.Günther Deschner2011-10-041-1/+0
| | | | Guenther
* Move FSCTL handling into the VFS. Initial code changes. Passes smbtorture ↵Richard Sharpe2011-10-012-0/+28
| | | | NTTRANS-FSCTL. Test added to selftests.
* s3-passdb: Cleanup use of fstring and move to talloc.Simo Sorce2011-09-261-2/+2
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* build: avoid util.h as a public header name due to conflict with MacOSAndrew Bartlett2011-09-231-1/+1
|
* lib/util: move some timespec helpers from source3 to the toplevelStefan Metzmacher2011-09-231-10/+0
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Sep 23 00:15:31 CEST 2011 on sn-devel-104
* s3:libsmb: move cli->server{zone,time} to ↵Stefan Metzmacher2011-09-151-2/+2
| | | | | | | | | cli->conn.smb1.server.{time_zone,system_time} metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 15 14:00:29 CEST 2011 on sn-devel-104
* s3:libsmb: split cli->secblob into ↵Stefan Metzmacher2011-09-151-1/+4
| | | | | | cli->conn.smb1.server.{guid,gss_blob,challenge,workgroup} metze
* s3:libsmb: move cli->sesskey to cli->conn.smb1.server.session_keyStefan Metzmacher2011-09-151-1/+1
| | | | metze
* s3:libsmb: detect lock_read and write_unlock supportStefan Metzmacher2011-09-151-0/+2
| | | | metze
* s3:libsmb: move cli->*braw_supported to cli->conn.smb1.server.*brawStefan Metzmacher2011-09-151-2/+2
| | | | | | This is currently unused, but we might use it in future. metze
* s3:libsmb: move cli->sec_mode to cli->conn.smb1.server.security_modeStefan Metzmacher2011-09-151-1/+1
| | | | metze
* s3:libsmb: move cli->max_mux to cli->conn.smb1.server.max_muxStefan Metzmacher2011-09-151-1/+1
| | | | metze
* s3:libsmb: move cli->max_xmit to cli->conn.smb1.max_xmitStefan Metzmacher2011-09-151-1/+3
| | | | | | | And keep cli->conn.smb1.client.max_xmit and cli->conn.smb1.server.max_xmit. metze
* s3:libsmb: move cli->smb1.mid to cli->conn.smb1.midStefan Metzmacher2011-09-151-1/+2
| | | | metze
* s3:libsmb: move cli->capabilities to cli->conn.smb1.capabilitiesStefan Metzmacher2011-09-151-1/+12
| | | | | | | And keep cli->conn.smb1.client.capabilities and cli->conn.smb1.server_capabilities. metze
* s3:libsmb: move cli->protocol to cli->conn.protocolStefan Metzmacher2011-09-151-1/+2
| | | | metze
* s3:libsmb: use local variables in cli_state_create()Stefan Metzmacher2011-09-151-4/+0
| | | | | | | | | | We don't need to keep use_spnego, use_level_II_oplocks, force_dos_errors and force_ascii within struct cli_state. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 15 10:12:17 CEST 2011 on sn-devel-104
* s3:include: add some masks for SMB1 CAP_* flagsStefan Metzmacher2011-09-151-0/+25
| | | | | | | | | The flags are devided into 3 sections: - client only flags - flags used in both directions - server only flags metze
* s3:libsmb: remove unused cli->is_sambaStefan Metzmacher2011-09-141-1/+0
| | | | | | | | s3:libsmb: remove unused cli->is_samba metze Signed-off-by: Jeremy Allison <jra@samba.org>
* s3:client.h: remove unused definesStefan Metzmacher2011-09-141-9/+0
| | | | | | | | s3:client.h: remove unused defines metze Signed-off-by: Jeremy Allison <jra@samba.org>
* s3:smb_signing: add support for easier negotiation of SMB signingStefan Metzmacher2011-09-141-1/+4
| | | | | | We don't make use of it yet, but it will follow. metze
* Fix bug #8229 - git patch attached against 3.6.0-rc2 to fix 'widelinks' ↵Jeremy Allison2011-09-141-0/+1
| | | | | | | | | | | | regression intro'd in 3.2 Add "allow insecure widelinks" to re-enable the ability (requested by some sites) to have "widelinks = yes" and "unix extensions = yes". Based on an original patch by Linda Walsh <samba@tlinx.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Sep 14 03:55:45 CEST 2011 on sn-devel-104
* s3:smb2cli: split cli->smb2.gss_blob from cli->secblobStefan Metzmacher2011-09-131-0/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Sep 13 23:34:13 CEST 2011 on sn-devel-104
* s3:libsmb: don't mix smb2 share capabilities with smb1 capabilitiesStefan Metzmacher2011-09-131-0/+1
| | | | metze
* s3:libsmb: the smb2 server capabilities from the session setup are 32-bitStefan Metzmacher2011-09-131-1/+1
| | | | metze
* s3: Fix some nonempty blank linesVolker Lendecke2011-09-132-4/+4
|
* s3:libsmb: add CLI_FULL_CONNECTION_FORCE_ASCIIStefan Metzmacher2011-09-081-0/+2
| | | | metze
* s3:libsmb: add CLI_FULL_CONNECTION_FORCE_DOS_ERRORSStefan Metzmacher2011-09-081-0/+1
| | | | metze
* s3-pdb_ipa: Add supprted encryption types to struct pdb_trusted_domainSumit Bose2011-08-311-0/+1
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-pdb_ipa: Add posix offset to struct pdb_trusted_domainSumit Bose2011-08-311-0/+1
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3:include: add CAP_LWIO and CAP_DYNAMIC_REAUTH definesStefan Metzmacher2011-08-301-0/+2
| | | | metze
* s3:libsmb: make cli_session_request_send/recv() staticStefan Metzmacher2011-08-281-7/+0
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Aug 28 20:29:01 CEST 2011 on sn-devel-104
* s3:libsmb: move cli_smb_oplock_break_waiter*() to clioplock.cStefan Metzmacher2011-08-281-7/+0
| | | | metze
* passdb: Add a function to read secrets db from a specified pathAmitay Isaacs2011-08-131-0/+1
| | | | | This allows to load secrets db from a different location. The original secrets_init() now calls secrets_init_path() with lp_private_dir().
* s3:libsmb: abstract the incoming dispatch function via a function pointerStefan Metzmacher2011-08-121-0/+11
| | | | | | This will allow handling of SMB2 in future. metze
* s3-messaging: Change classification of MSG_SMB_CONF_UPDATED.Simo Sorce2011-08-111-1/+0
| | | | | | | | smbd is not the only daemon interested in smb.conf changes. Move this message to the GENERAL class so that all interested partied (nmbd, winbindd, spoolssd, etc..) can receive this notification. Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-messaging: Fix messaging classes.Simo Sorce2011-08-111-1/+1
| | | | | | | | | | | | This has been broken since ff0ac5b0 (May 2007). Basically all messages were belonging to the General class except for CTDB messages. This fixed the message_send_all() function to correctly compute the class, and fixes registrations to include all they need to cope with the fact not all messages are of calss general (registrations rotted a bit because as long as FLAG_MSG_GENERAL was defined the process woould receive all messages). Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-messaging: Remove obsolete class.Simo Sorce2011-08-111-1/+1
| | | | | | | The FLAG_MSG_PRINT_NOTIFY class is actually obsolete and never used, as the only message belonging to it is not used either. Signed-off-by: Andreas Schneider <asn@samba.org>
* s3:libsmb: store the remote_realm on the cli_stateStefan Metzmacher2011-08-101-0/+1
| | | | metze
* s3:smb_macros.h: simplify _smb_setlen() and _smb_setlen_large()Stefan Metzmacher2011-08-101-6/+4
| | | | | | This also takes care of the correct casting. metze
* s3:include: smb.h base old smb header offsets on new definesStefan Metzmacher2011-08-101-32/+32
| | | | metze
* s3:include: smb.h merge some stuff from source4Stefan Metzmacher2011-08-101-0/+35
| | | | metze
* s3:registry avoid updating keys which are going to be deleted inGregor Beck2011-08-081-1/+1
| | | | | | | | | reg_deletekey_recursive this changes the complexity from O(n^2) to O(n) and reduces the time of a 'net conf drop' with 10000 shares from 6min to 1.5s Signed-off-by: Michael Adam <obnox@samba.org>
* s3: Fix some nonempty blank linesVolker Lendecke2011-08-051-3/+3
|
* selftest: test plugin_s4_dc against all ncacn_np testsAndrew Bartlett2011-08-031-0/+2
| | | | | | | Changes to the s3 epmapper behaviour seem to have fixed the rest of these tests. Andrew Bartlett
* s3-auth clarify the role of these session keysAndrew Bartlett2011-08-031-8/+6
| | | | | | | | | This comment can be clarified now the auth subsystem does not use the same structure as the rest of the code. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-auth remove sanitized_username from auth_serversupplied_infoAndrew Bartlett2011-08-032-10/+0
| | | | | | | | | | | This structure element was only written to, not read. It is filled into the companion structure, auth_session_info() by create_local_token(). Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>