summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
AgeCommit message (Collapse)AuthorFilesLines
2011-03-30registry: create and use shared libcli/registry/util_reg.h header.Günther Deschner1-9/+0
Guenther
2011-03-30s3-winbind: remove global inclusion of libwbclient.Günther Deschner1-34/+1
Guenther
2011-03-30lib/util/util_pw: share more code between lib/util/util_pw.c and ↵Günther Deschner1-2/+0
source3/lib/username.c Guenther
2011-03-30lib/util/util_pw: share sys_get{pw,gr} group of calls.Günther Deschner1-7/+0
Guenther
2011-03-27s3: Replace cli_negprot_sendsync() by cli_negprot_send()Volker Lendecke1-1/+0
2011-03-27s3: Remove a use of cli_send_smbVolker Lendecke1-2/+2
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-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-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 Deschner1-21/+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-safe_str: Futher simplify the macros by removing indirectionAndrew Bartlett1-9/+9
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 Bartlett1-35/+12
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: 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-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 Deschner1-0/+4
Guenther
2011-03-16s3-msdfs: avoid global inclusion of msdfs.h.Günther Deschner1-0/+2
Guenther
2011-03-16s3-libsmb: move smb encryption structs into own header.Günther Deschner1-1/+1
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 Deschner1-180/+0
Guenther
2011-03-15s3: Remove some unused codeVolker Lendecke1-2/+0
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-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-sessionid: avoid global include of sessionid.hGünther Deschner1-1/+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-01s3-auth struct security_unix_token replaces UNIX_USER_TOKENAndrew Bartlett1-6/+6
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: Add poll_one_fd()Volker Lendecke1-0/+1
2011-02-28s3: Add timeval_to_msecVolker Lendecke1-0/+1
2011-02-28s3: smbcontrol to notify smbd about idmap changesGregor Beck1-0/+4
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Feb 28 14:07:23 CET 2011 on sn-devel-104
2011-02-28s3: add functions to remove entries from idmap memcacheGregor Beck1-0/+3
2011-02-28s3: add functions to flush the idmap memcacheGregor Beck1-0/+2
2011-02-27s3: Make is_zero_addr take a sockaddr_storageVolker Lendecke1-1/+1
All callers had to cast this anyway Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Feb 27 11:02:53 CET 2011 on sn-devel-104
2011-02-25s3-errormap: move (unused) map_nt_error_from_wbcErr out of errormap.Günther Deschner1-1/+0
Guenther
2011-02-23Fix bug 7950 - Samba 3.5.x fails BASE-CREATEX_SHAREMODES_DIR smbtorture4 testJeremy Allison1-1/+2
We need to revalidate the pathname once re-constructed from a root fsp. Jeremy.
2011-02-23s3-proto: remove some prototypes of non-existing functions.Günther Deschner1-40/+0
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Feb 23 15:42:35 CET 2011 on sn-devel-104
2011-02-22s3-printing: only include printing where really needed.Günther Deschner1-29/+0
Guenther
2011-02-22s3-printing: fix pcacp prototypes and includes.Günther Deschner1-8/+0
Guenther
2011-02-22s3-printing: isolate print notification prototypes better.Günther Deschner1-63/+0
Guenther
2011-02-22s3:auth: change num_groups to from size_t to uint32_tStefan Metzmacher1-2/+2
This will help with the change from UNIX_USER_TOKEN to security_unix_token metze
2011-02-22s3-auth Rename auth_serversupplied_info varaiables: server_info -> session_infoAndrew Bartlett1-13/+13
These variables, of type struct auth_serversupplied_info were poorly named when added into 2001, and in good consistant practice, this has extended all over the codebase in the years since. The structure is also not ideal for it's current purpose. Originally intended to convey the results of the authentication modules, it really describes all the essential attributes of a session. This rename will reduce the volume of a future patch to replaced these with a struct auth_session_info, with auth_serversupplied_info confined to the lower levels of the auth subsystem, and then eliminated. (The new structure will be the output of create_local_token(), and the change in struct definition will ensure that this is always run, populating local groups and privileges). Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-02-20s3: Convert init_system_info to NTSTATUSVolker Lendecke1-1/+1
2011-02-19s3: Add "len" to pdb_set_hoursVolker Lendecke1-1/+2
2011-02-18s3-charcnv Don't genreate valid_table on the fly, rely on valid.datAndrew Bartlett1-1/+0
This file is always installed, and is only even required for the old, depricated mangle hash method. Andrew Bartlett