summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2011-03-25Revert "s3-includes: fixed CONST_DISCARD() to actually discard const"Volker Lendecke1-1/+1
This reverts commit 37261928bec145f4cbd85f3e409063563c00ac9e. In source3 this creates a warning of the form passdb/pdb_ldap.c:4565: warning: passing argument 2 of ‘pull_utf8_talloc’ from incompatible pointer type include/proto.h:444: note: expected ‘char **’ but argument is of type ‘char ***’ for every use of CONST_DISCARD. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Mar 25 13:16:35 CET 2011 on sn-devel-104
2011-03-25s3-charcnv: removed unused functionAndrew Tridgell1-1/+0
lp_failed_convert_char() is not needed any more
2011-03-25s3-charcnv Add convert_string_error()Andrew Bartlett1-0/+4
This function returns errors rather than printing them. Andrew Bartlett
2011-03-25s3-includes: fixed CONST_DISCARD() to actually discard constAndrew Tridgell1-1/+1
a cast is not enough Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-25libcli: created smb_constants.hAndrew Tridgell1-15/+2
this starts the (long!) process of moving some of the SMB constants into common files. This just moves the FLAGS2_ defines, which are needed for common string routines (for FLAGS2_UNICODE_STRINGS)
2011-03-25s3-lib: make pull_ucs2_base_talloc staticAndrew Tridgell1-6/+0
it is local to charcnv.c
2011-03-25lib: remove unused pieces of string_wrappers.hAndrew Tridgell1-1/+1
2011-03-25lib: move the string wrappers from source3/include to common lib/utilAndrew Tridgell1-105/+1
this will allow the common charcnv library to use the string wrappers Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-24charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵Andrew Tridgell1-1/+1
convert_string*() we shouldn't accept bad multi-byte strings, it just hides problems Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Mar 24 01:47:26 CET 2011 on sn-devel-104
2011-03-24s3-prototypes: remove protos of some dead functions.Günther Deschner3-30/+0
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Mar 24 00:52:01 CET 2011 on sn-devel-104
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