summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2011-03-23s3-proto: remove some duplicate prototypes.Günther Deschner1-11/+0
Guenther
2011-03-23s3-includes: remove unused cmdline_lp_ctx.Günther Deschner1-3/+0
Guenther
2011-03-23s3-epmapper: Added function to delete endpoint entries.Andreas Schneider1-0/+3
2011-03-23s3-rpc_server: Rename system_user to ncalrpc_as_system.Andreas Schneider1-1/+1
2011-03-23s3-safe_string: Add checked_strlcpy()Andrew Bartlett1-0/+12
This is strlcpy, just with an extra check of the parameters with sizeof(), use only where that works. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Mar 23 03:39:35 CET 2011 on sn-devel-104
2011-03-23s3-safe_str: Futher simplify the macros by removing indirectionAndrew Bartlett2-53/+23
Now that we don't need to pass in the function name and string, another level of indirection can be safely removed, and the operation of these macros made much clearer. Andrew Bartlett
2011-03-23s3-lib Remove the clobber_region() code.Andrew Bartlett2-88/+38
This code wrote to the full buffer in fstrcpy(), pstrcpy() and other fixed-length string manipulation functions. The hope of this code was to find out at run time if we were mixing up pstring and fstring etc, and to record where this came from. It has a runtime performance impact (particularly if compiled with --enable-developer). It is being removed because of the complexity it adds, and the distinct lack of bugs that this complexity has been credited in finding. The macro-based compile-time checking of string sizes remains. Andrew Bartlett
2011-03-23fault: fixed smb_panic() prototypesAndrew Tridgell1-1/+0
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Mar 23 01:51:44 CET 2011 on sn-devel-104
2011-03-23fault: get fault.c ready for use by s4Andrew Tridgell1-5/+1
this moves the s3 specific dumpcore code into source3/lib/dumpcore.c, and uses a function pointer to setup which smb_panic call to use
2011-03-22s3:loadparm: remove unused parameter "idmap read only".Michael Adam1-1/+0
This has not been released yet and is now useless since we use the "idmap config * : read only = ..." syntax.
2011-03-22s3:idmap: remove the params argument from the init functionMichael Adam1-1/+1
2011-03-22s3-fault: removed the cont_fn from fault_setup()Andrew Tridgell1-1/+1
cont_fn() was supposed to be a way to continue after a seg fault. It could never be called however, as smb_panic() from fault_report() could never return, as dump_core() never returns at the end of smb_panic() Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Mar 22 05:07:58 CET 2011 on sn-devel-104
2011-03-18s3: Add "print notify backchannel" parameter to prevent us doing the reverse ↵Volker Lendecke1-0/+1
print notify connection. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Mar 18 21:34:30 CET 2011 on sn-devel-104
2011-03-16s3-build: only include asn1 headers where actually needed.Günther Deschner2-1/+4
Guenther
2011-03-16s3-packet: only include packet.h where needed.Günther Deschner1-1/+0
Guenther
2011-03-16s3-interfaces: only include interfaces.h where needed.Günther Deschner1-1/+0
Guenther
2011-03-16s3-msdfs: avoid global inclusion of msdfs.h.Günther Deschner2-1/+2
Guenther
2011-03-16s3-build: stop including ldap and lber headers everywhere in the code.Günther Deschner4-51/+63
Instead use new header smb_ldap.h where all LDAP API related things are handled, while smbldap.h only deals with our smbldap_X() API. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Mar 16 10:54:51 CET 2011 on sn-devel-104
2011-03-16s3-includes: avoid global include of gssapi headers.Günther Deschner2-12/+12
Guenther
2011-03-16s3-libsmb: move smb encryption structs into own header.Günther Deschner3-28/+63
Guenther
2011-03-16libcli/security: move display_sec headers to own header file and add toGünther Deschner1-10/+0
security.h grouping header. Guenther
2011-03-15s3-libsmb: only include rap client when needed.Günther Deschner2-180/+1
Guenther
2011-03-15s3: Remove some unused codeVolker Lendecke1-2/+0
2011-03-14s3: Change tldap_entry_attributes to the "array,count" conventionVolker Lendecke1-2/+3
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Mar 14 22:02:35 CET 2011 on sn-devel-104
2011-03-09libsmbclient: Fix a typoVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Mar 9 11:19:36 CET 2011 on sn-devel-104
2011-03-08s3-rpc_server: Add server support for NCALRPC system user pipe.Andreas Schneider1-0/+2
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_server: Introduce transport in pipe_struct.Andreas Schneider2-1/+3
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_server: Added server address to pipes struct.Andreas Schneider1-0/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-06s3: Remove close_fn from idmap_methodsVolker Lendecke1-3/+0
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Mar 6 13:37:13 CET 2011 on sn-devel-104
2011-03-06s3: Remove unused args from nss_get_infoVolker Lendecke1-1/+0
2011-03-06s3: Remove unused args from get_nss_infoVolker Lendecke1-1/+0
2011-03-06s3: Move EXOP definitions to smbldap.hVolker Lendecke1-0/+25
This attempts to fix the build on Solaris Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Mar 6 10:45:16 CET 2011 on sn-devel-104
2011-03-04s3-printing: follow force user/group for driver IODavid Disseldorp1-0/+1
Configuring force user/group settings for the print$ share currently has unexpected results, this is explained by how the driver upload/add process takes place. Consider the following example: [print$] path = /print-drv write list = $DRIVER_UPLOAD_USER force group = ntadmin - the client connects to the [print$] share and uploads all driver files to the /print-drv/W32X86 directory. - This is permitted, as /print-drv/W32X86 is owned by group ntadmin, and the "force group = ntadmin" takes effect for the [print$] session. - Once all files are uploaded, the client connects to the [ipc$] share and issues an AddPrinterDriverEx spoolss request. - In handling this request move_driver_to_download_area() is called, which attempts to create the directory /print-drv/W32X86/3 - The create directory fails, as it is done as the user connected to the [ipc$] share which does not have permission to write to the driver directory. The [print$] "force group = ntadmin" has no effect. This is a regression from previous behaviour prior to the commit: 783ab04 Convert move_driver_to_download_area to use create_conn_struct. https://bugzilla.samba.org/show_bug.cgi?id=7921 Signed-off-by: Andreas Schneider <asn@samba.org>
2011-03-04libreplace: move "struct timespec" checks into libreplace (where timespec is ↵Günther Deschner1-8/+0
already used). Bjoern, Metze, please check. Guenther
2011-03-03s3: Fix some nonempty blank linesVolker Lendecke1-3/+3
2011-03-02s3-includes: remove global include of system/readline.h.Günther Deschner1-1/+0
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Mar 2 23:06:17 CET 2011 on sn-devel-104
2011-03-02s3-proto: fix some inline comments.Günther Deschner1-3/+12
Guenther
2011-03-02s3-libds: use already existing ../libds/common/flag_mapping.h header.Günther Deschner1-9/+0
Guenther
2011-03-02s3: Pass smb_filename through the set_offline vfs opVolker Lendecke2-6/+7
2011-03-02s3: Pass smb_filename through the is_offline vfs opVolker Lendecke2-6/+9
2011-03-02s3-sessionid: avoid global include of sessionid.hGünther Deschner2-2/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Mar 2 12:58:12 CET 2011 on sn-devel-104
2011-03-02s3-server_id: only include server_id where needed.Günther Deschner1-1/+0
Guenther
2011-03-02s3-printing: fix move_driver_to_download_area() error pathsDavid Disseldorp1-2/+1
WERR_ACCESS_DENIED errors are mapped to WERR_UNKNOWN_PRINTER_DRIVER, resulting in incorrect error messages on Windows clients. move_driver_to_download_area() returns the same error status values to the caller via the *perr argument as well as the return value. The create_directory() call is not checked for error.
2011-03-01s3-auth struct security_unix_token replaces UNIX_USER_TOKENAndrew Bartlett3-16/+9
2011-03-01lib/util: new merged debug systemAndrew Bartlett4-288/+2
This is the s3 debug system, with a number of changes to tidy it up for common use. The debug class system is simplified by the removal of the ISSET table, the system no longer attempts to cope with assignment of DEBUGLEVEL, and the full class table is always available (rather than just DEBUGLEVEL_CLASS[DBCG_ALL]) from startup. It is also no longer confusingly described as a hack, but as the initial table. Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Mar 1 04:32:12 CET 2011 on sn-devel-104
2011-03-01s3-build __FUNCTION__ is always available, always use itAndrew Bartlett2-3/+3
This avoids duplication between FUNCTION_NAME and __FUNCTION__
2011-02-28s3-rpc_client: Move client pipe functions to own header.Andreas Schneider1-94/+0
2011-02-28s3: Remove unused receive_packetStefan Metzmacher1-1/+0
2011-02-28s3: Add poll_intr_one_fdVolker Lendecke1-0/+1
2011-02-28s3: Eliminate select from packet_fd_read_syncVolker Lendecke1-2/+1