summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2011-07-08s3:libsmb: remove unused smb_dos_errstr()Stefan Metzmacher1-1/+0
metze
2011-07-08s3:libsmb: don't use the cli->inbuf to store the last errorStefan Metzmacher2-12/+1
We keep the raw error in cli->raw_status now, until we fixed all caller to get the NTSTATUS from the function calls. metze
2011-07-08s3:libsmb: remove unused enum smb_read_errors infrastructureStefan Metzmacher3-19/+0
metze
2011-07-08lib/param: Merge struct loadparm_service into commonAndrew Bartlett1-1/+1
This is handled by a common header and a .c file that is included into both loadparm.c files. In the process, _lp functions were renamed to lp__ to allow the common function definition declarations to be used by source3 and source4 (which have different macro definitions). The only parameter to change type is 'strict_locking' which was a bool, and is now an int, to accommodate the 'Auto' value from source3. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Jul 8 12:35:56 CEST 2011 on sn-devel-104
2011-07-08lib/util Move bitmap.c to lib/utilAndrew Bartlett2-14/+0
2011-07-08param: Add hooks to s3 parm_struct and the parameters void * pointerAndrew Bartlett1-1/+4
This is to that the pyparam hooks can use the hooks to connect with the s3 loadparm system. This now also includes per-service parameters. Andrew Bartlett
2011-07-08s3-param Remove lp_set_passdb_backend()Andrew Bartlett1-1/+0
2011-07-08s3:libsmb: add smb2cli_tcon*() and smb2cli_tdis*()Stefan Metzmacher1-0/+5
Based on the initial patch from Volker Lendecke <vl@samba.org>. metze
2011-07-08s3:libsmb: add smb2cli_negprot*()Stefan Metzmacher1-0/+11
Based on the initial patch from Volker Lendecke <vl@samba.org>. metze
2011-07-08s3:libsmb: add basic smb2 client infrastructureStefan Metzmacher1-0/+7
Based on the initial patch from Volker Lendecke <vl@samba.org>. metze
2011-07-07s3:libsmb: finally remove unused cli_state->outbufStefan Metzmacher1-1/+0
metze
2011-07-07s3:libsmb: use clistr_pull_talloc() for short_name in interpret_long_filename()Stefan Metzmacher1-1/+1
metze
2011-07-07s3-printing: move spoolss_create_default_devmode/secdesc to init_spoolss.hGünther Deschner1-7/+0
Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
2011-07-07s3-printing: move driver_info_ctr_to_info8 to init_spoolss.hGünther Deschner1-3/+0
Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
2011-07-07s3-printing: move os2 related functions to printing/nt_printing_os2.c.Günther Deschner1-2/+0
Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
2011-07-06s3-build We no longer require to redefine _SAMBA_BUILD_Andrew Bartlett1-5/+0
2011-07-06libcli/smb move FILE_TYPE constants in commonAndrew Bartlett1-8/+0
This allows us to remove another _SAMBA_BUILD_ conditional Andrew Bartlett
2011-07-06libcli/smb move enum protocol_types to a common headerAndrew Bartlett1-12/+0
2011-07-05s3: Calculate&store the maximum share access maskVolker Lendecke1-0/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-05s3: Return "granted" from share_access_checkVolker Lendecke1-2/+4
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-04s3-lib Move event_add_idle() to source3/lib/events.cAndrew Bartlett1-1/+9
This allows libauth not to depend on smbd_base. Andrew Bartlett
2011-07-04s3: RIP 'struct client_address'.Andreas Schneider1-5/+0
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-07-04s3-rpc_server: Remove client_id and server_id from pipes struct.Andreas Schneider1-2/+0
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-07-04s3-smbd: Remove obsolete smbd_set_server_fd().Andreas Schneider1-1/+0
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-07-04s3-auth: Added remote_address to ntlmssp server.Andreas Schneider1-0/+1
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-07-04s3-rpc_server: Add local and remote address to pipes struct.Andreas Schneider1-0/+4
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-07-04s3-util: Add a get_remote_hostname() function.Andreas Schneider1-0/+7
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-07-02param: Finish conversion from lp_wins_support() -> lp_we_are_a_wins_server()Andrew Bartlett1-1/+0
Jermey started this in 1997 with 0aa493cc0303aa4177f289b9e4c797c8fa180672 (avoiding the duplicate function makes it easier to generate the struct loadparm_globals). Andrew Bartlett
2011-06-29param: Merge param headers into lib/param/loadparm.hAndrew Bartlett3-79/+3
This defines a common table format, so we can in future define a common table. Andrew Bartlett
2011-06-29s3-param Remove unused FLAG_DOS_STRINGAndrew Bartlett1-1/+0
2011-06-29param: Merge struct parm_struct definitionsAndrew Bartlett1-1/+3
This will allow the parameter tables to be shared between source3 and source4. Andrew Bartlett
2011-06-29s3-param Use .offset rather than .ptr when defining parametersAndrew Bartlett1-1/+1
This change has a number of purposes: * It removes the fancy logic around pointers into sDefault for all per-share parameters. Instead, this is always expressed as an offset, rather than implicitly via PTR_DIFF macros. * It makes struct parm_struct almost identical to that as used in source4/param. This will very shortly allow the loadparm tables and most of the 'special' helper functions to be placed in common. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Jun 29 05:50:46 CEST 2011 on sn-devel-104
2011-06-29s3-param use lp_parm_ptr() rather than parm.ptr directlyAndrew Bartlett2-1/+4
This will help with a change from .ptr to .offset Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Jun 29 03:26:21 CEST 2011 on sn-devel-104
2011-06-24s3: Add SYMLINK_FLAG_RELATIVE defineVolker Lendecke1-0/+2
2011-06-23s3-param Remove 'announce version' parameterAndrew Bartlett2-4/+2
The only users I can find of this on the internet involve confused users, and our own documentation recommends never setting this. Don't confuse our users any longer. Andrew Bartlett
2011-06-23lib/util/charset: Remove 'display charset'Andrew Bartlett1-1/+0
As discussed in 'CH_DISPLAY and gettext' on the samba-technical list: http://lists.samba.org/archive/samba-technical/2011-June/078190.html Setting this to a value other than 'unix charset' does not make sense, as any system where the filesytem charset does not equal the terminal charset will already have problems with programs as simple as 'ls'. It also means that our output could not be pasted as our input in interactive programs or onto our command line, as we never did translate in the DISPLAY -> UNIX direction. The d_printf() calls are retained in case we need to revisit this, and to support display_set_stderr(). Andrew Bartlett
2011-06-23s3: Add IO_REPARSE_TAG_SYMLINK defineVolker Lendecke1-0/+1
From http://msdn.microsoft.com/en-us/library/dd541667%28v=PROT.13%29.aspx Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Jun 23 13:46:37 CEST 2011 on sn-devel-104
2011-06-23s3: Fix some nonempty blank linesVolker Lendecke1-3/+3
2011-06-23s3: remove prototype of convert_string_error from proto.hMichael Adam1-4/+0
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Jun 23 12:34:31 CEST 2011 on sn-devel-104
2011-06-23s3: remove prototype of convert_string from proto.hMichael Adam1-4/+0
2011-06-21lib/util Make unused d_vfprintf() staticAndrew Bartlett1-2/+0
2011-06-20ldb: replace 'struct TDB_DATA' with 'TDB_DATA'Rusty Russell1-4/+2
The typedef is TDB2 compatible, the struct isn't. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-20tdb_compat.h: divert every tdb build and includes to tdb_compatRusty Russell3-3/+3
We change all the headers and wscript files to use tdb_compat; this means we have one place to decide whether to use TDB1 or TDB2. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-19s3: Add name_resolve_bcast_send/recvVolker Lendecke1-0/+7
2011-06-17s3-util: remove the s3 nterr.cAndrew Tridgell1-7/+0
this is now in common code Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-06-13s3:proto.h: remove prototypes of error functions moved to common code.Michael Adam1-3/+0
ntstatus_to_dos, werror_to_ntstatus, ntstatus_to_werror Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Jun 13 03:31:58 CEST 2011 on sn-devel-104
2011-06-12s3: Add resolve_wins_send/recvVolker Lendecke1-0/+7
2011-06-12s3: Add wins_server_tag_ips()Volker Lendecke1-0/+2
For a given tag, return the list of all wins servers
2011-06-12s3: Remove "struct ip_service" from resolve_winsVolker Lendecke1-1/+2
2011-06-10s3:libsmb: remove unused cli_state_seqnum infrastructureStefan Metzmacher1-8/+0
metze Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Jun 10 20:37:54 CEST 2011 on sn-devel-104