summaryrefslogtreecommitdiffstats
path: root/source3/include
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-winbind: remove global inclusion of libwbclient.Günther Deschner2011-03-302-35/+1
| | | | Guenther
* lib/util/util_pw: share more code between lib/util/util_pw.c and ↵Günther Deschner2011-03-301-2/+0
| | | | | | source3/lib/username.c Guenther
* lib/util/util_pw: share sys_get{pw,gr} group of calls.Günther Deschner2011-03-301-7/+0
| | | | Guenther
* s3:printing Make print_queue_receive publicSimo Sorce2011-03-291-0/+5
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3: Replace cli_negprot_sendsync() by cli_negprot_send()Volker Lendecke2011-03-271-1/+0
|
* s3: Remove a use of cli_send_smbVolker Lendecke2011-03-271-2/+2
|
* Revert "s3-includes: fixed CONST_DISCARD() to actually discard const"Volker Lendecke2011-03-251-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
* s3-charcnv: removed unused functionAndrew Tridgell2011-03-251-1/+0
| | | | lp_failed_convert_char() is not needed any more
* s3-charcnv Add convert_string_error()Andrew Bartlett2011-03-251-0/+4
| | | | | | This function returns errors rather than printing them. Andrew Bartlett
* s3-includes: fixed CONST_DISCARD() to actually discard constAndrew Tridgell2011-03-251-1/+1
| | | | | | a cast is not enough Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* libcli: created smb_constants.hAndrew Tridgell2011-03-251-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)
* s3-lib: make pull_ucs2_base_talloc staticAndrew Tridgell2011-03-251-6/+0
| | | | it is local to charcnv.c
* lib: remove unused pieces of string_wrappers.hAndrew Tridgell2011-03-251-1/+1
|
* lib: move the string wrappers from source3/include to common lib/utilAndrew Tridgell2011-03-251-105/+1
| | | | | | this will allow the common charcnv library to use the string wrappers Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵Andrew Tridgell2011-03-241-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
* s3-prototypes: remove protos of some dead functions.Günther Deschner2011-03-243-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
* s3-proto: remove some duplicate prototypes.Günther Deschner2011-03-231-11/+0
| | | | Guenther
* s3-includes: remove unused cmdline_lp_ctx.Günther Deschner2011-03-231-3/+0
| | | | Guenther
* s3-epmapper: Added function to delete endpoint entries.Andreas Schneider2011-03-231-0/+3
|
* s3-rpc_server: Rename system_user to ncalrpc_as_system.Andreas Schneider2011-03-231-1/+1
|
* s3-safe_string: Add checked_strlcpy()Andrew Bartlett2011-03-231-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
* s3-safe_str: Futher simplify the macros by removing indirectionAndrew Bartlett2011-03-232-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
* s3-lib Remove the clobber_region() code.Andrew Bartlett2011-03-232-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
* fault: fixed smb_panic() prototypesAndrew Tridgell2011-03-231-1/+0
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Mar 23 01:51:44 CET 2011 on sn-devel-104
* fault: get fault.c ready for use by s4Andrew Tridgell2011-03-231-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
* s3:loadparm: remove unused parameter "idmap read only".Michael Adam2011-03-221-1/+0
| | | | | This has not been released yet and is now useless since we use the "idmap config * : read only = ..." syntax.
* s3:idmap: remove the params argument from the init functionMichael Adam2011-03-221-1/+1
|
* s3-fault: removed the cont_fn from fault_setup()Andrew Tridgell2011-03-221-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
* s3: Add "print notify backchannel" parameter to prevent us doing the reverse ↵Volker Lendecke2011-03-181-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
* s3-build: only include asn1 headers where actually needed.Günther Deschner2011-03-162-1/+4
| | | | Guenther
* s3-packet: only include packet.h where needed.Günther Deschner2011-03-161-1/+0
| | | | Guenther
* s3-interfaces: only include interfaces.h where needed.Günther Deschner2011-03-161-1/+0
| | | | Guenther
* s3-msdfs: avoid global inclusion of msdfs.h.Günther Deschner2011-03-162-1/+2
| | | | Guenther
* s3-build: stop including ldap and lber headers everywhere in the code.Günther Deschner2011-03-164-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
* s3-includes: avoid global include of gssapi headers.Günther Deschner2011-03-162-12/+12
| | | | Guenther
* s3-libsmb: move smb encryption structs into own header.Günther Deschner2011-03-163-28/+63
| | | | Guenther
* libcli/security: move display_sec headers to own header file and add toGünther Deschner2011-03-161-10/+0
| | | | | | security.h grouping header. Guenther
* s3-libsmb: only include rap client when needed.Günther Deschner2011-03-152-180/+1
| | | | Guenther
* s3: Remove some unused codeVolker Lendecke2011-03-151-2/+0
|
* s3: Change tldap_entry_attributes to the "array,count" conventionVolker Lendecke2011-03-141-2/+3
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Mar 14 22:02:35 CET 2011 on sn-devel-104
* libsmbclient: Fix a typoVolker Lendecke2011-03-091-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Mar 9 11:19:36 CET 2011 on sn-devel-104
* s3-rpc_server: Add server support for NCALRPC system user pipe.Andreas Schneider2011-03-081-0/+2
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-rpc_server: Introduce transport in pipe_struct.Andreas Schneider2011-03-082-1/+3
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-rpc_server: Added server address to pipes struct.Andreas Schneider2011-03-081-0/+1
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3: Remove close_fn from idmap_methodsVolker Lendecke2011-03-061-3/+0
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Mar 6 13:37:13 CET 2011 on sn-devel-104
* s3: Remove unused args from nss_get_infoVolker Lendecke2011-03-061-1/+0
|
* s3: Remove unused args from get_nss_infoVolker Lendecke2011-03-061-1/+0
|
* s3: Move EXOP definitions to smbldap.hVolker Lendecke2011-03-061-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
* s3-printing: follow force user/group for driver IODavid Disseldorp2011-03-041-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>
* libreplace: move "struct timespec" checks into libreplace (where timespec is ↵Günther Deschner2011-03-041-8/+0
| | | | | | | | already used). Bjoern, Metze, please check. Guenther