summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
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
2011-06-10s3:libsmb/async_smb: add helpers to get and set the seqnum for signingStefan Metzmacher1-0/+2
This will be used for correct signing in [nt]trans[2][s] requests. metze
2011-06-10Bump the smbd vfs interface version to 29. Samba 3.6.0 will shipJeremy Allison1-1/+2
with interface 28.
2011-06-10source3/include/smb_ldap.h: fix licence/copyrightGünther Deschner1-0/+22
Guenther
2011-06-10source3/include/smb_krb5.h: fix licence/copyrightGünther Deschner1-0/+22
Guenther
2011-06-10source3/include/mangle.h: fix licence/copyrightGünther Deschner1-0/+19
Guenther
2011-06-10source3/include/krb5_protos.h: fix licence/copyrightGünther Deschner1-2/+29
Guenther
2011-06-10source3/include/krb5_env.h: fix licence/copyrightGünther Deschner1-0/+24
Guenther
2011-06-10Export init_stat_ex_from_stat for use in VFS modules.Richard Sharpe1-0/+13
Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Jun 10 13:23:37 CEST 2011 on sn-devel-104
2011-06-09s3-param Remove special case for global_myname(), rename to lp_netbios_name()Andrew Bartlett1-4/+1
There is no reason this can't be a normal constant string in the loadparm system, now that we have lp_set_cmdline() to handle overrides correctly. Andrew Bartlett
2011-06-09s3-lib Add myhostname_upper()Andrew Bartlett1-0/+1
This varient always upper cases the hostname, which is needed for the netbios name. Andrew Bartlett
2011-06-09s3-param Remove special case for global_scope()Andrew Bartlett1-2/+1
There is no reason this can't be a normal constant string in the loadparm system. (Past reasons were that we didn't have lp_set_cmdline()) Andrew Bartlett
2011-06-09s3-param Remove special case for lp_workgroup()Andrew Bartlett1-1/+1
There is no reason this can't be a normal constant string in the loadparm system, now that we have lp_set_cmdline() to handle overrides correctly. Andrew Bartlett
2011-06-09lib/util Bring procid_str() into lib/util as server_id_string()Andrew Bartlett2-8/+0
This is needed for OpenChange, which prints Samba struct server_id values in debug messages. Andrew Bartlett
2011-06-09s3-talloc Change TALLOC_MEMDUP() to talloc_memdup()Andrew Bartlett1-1/+0
Using the standard macro makes it easier to move code into common, as TALLOC_MEMDUP isn't standard talloc.
2011-06-09s3-talloc Change TALLOC_ZERO_ARRAY() to talloc_zero_array()Andrew Bartlett1-1/+0
Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_ARRAY isn't standard talloc.
2011-06-09s3-talloc Change TALLOC_ZERO_P() to talloc_zero()Andrew Bartlett1-1/+0
Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_P isn't standard talloc.
2011-06-09s3-talloc Change TALLOC_P() to talloc()Andrew Bartlett1-1/+0
Using the standard macro makes it easier to move code into common, as TALLOC_P isn't standard talloc.
2011-06-09s3-talloc Change TALLOC_ARRAY() to talloc_array()Andrew Bartlett1-1/+0
Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc.
2011-06-09s3-talloc Change TALLOC_REALLOC_ARRAY() to talloc_realloc()Andrew Bartlett1-2/+1
Using the standard macro makes it easier to move code into common, as TALLOC_REALLOC_ARRAY isn't standard talloc. Andrew Bartlett
2011-06-09s3-talloc Remove unused TALLOC zeronull functions and macro definitionsAndrew Bartlett2-26/+0
These have been under #if 0 for a long time now. Andrew Bartlett
2011-06-06lib/util use modules_path(), data_path() and shlib_ext() from source3Andrew Bartlett1-3/+0
This brings these helpful utility functions in common, as they are not based on either loadparm system. (The 'modules dir' parameter from Samba4 will shortly be removed, so there is no loss in functionality) Andrew Bartlett
2011-06-06s3-lib Remove unused lib_path()Andrew Bartlett1-1/+0