summaryrefslogtreecommitdiffstats
path: root/source3/include/proto.h
Commit message (Collapse)AuthorAgeFilesLines
* s3: Convert cli_get_posix_fs_info() to cli_trans()Volker Lendecke2010-11-141-9/+9
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Nov 14 10:24:02 UTC 2010 on sn-devel-104
* Fix the unexpected.tdb database problem. Change nmbd to store theJeremy Allison2010-11-141-0/+2
| | | | | | | | | | | | | | | | | | | | | transaction id of packets it was requested to send via a client, and only store replies that match these ids. On the client side change clients to always attempt to ask nmbd first for name_query and node_status calls, and then fall back to doing socket calls if we can't talk to nmbd (either nmbd is not running, or we're not root and cannot open the messaging tdb's). Fix readers of unexpected.tdb to delete packets they've successfully read. This should fix a long standing problem of unexpected.tdb growing out of control in noisy NetBIOS envioronments with lots of bradcasts, yet still allow unprivileged client apps to work mostly as well as they already did (nmblookup for example) in an environment when nmbd isn't running. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sun Nov 14 05:22:45 UTC 2010 on sn-devel-104
* s3: Make cli_set_ea_fnum return NTSTATUSVolker Lendecke2010-11-111-1/+3
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Nov 11 16:59:27 UTC 2010 on sn-devel-104
* s3: Make cli_set_ea_path return NTSTATUSVolker Lendecke2010-11-111-1/+3
|
* s3: Convert cli_dfs_get_referral to cli_transVolker Lendecke2010-11-111-1/+1
|
* Fix bug 7781 - Samba transforms ShareName to lowercase (sharename) when ↵Jeremy Allison2010-11-101-1/+1
| | | | | | | | | adding new share via MMC Change the find_service() interface to not depend on fstring, and create a useable talloc-based interface. Jeremy.
* Remove fstring from map_username. Create a more sane interface than the ↵Jeremy Allison2010-11-101-4/+4
| | | | | | called-parameter-is-modified. Jeremy.
* s3: Allow disabling of mdns registrationsVolker Lendecke2010-11-051-0/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Nov 5 11:24:41 UTC 2010 on sn-devel-104
* s3: Remove the use of cli_send_trans from cli_get_fs_full_size_infoVolker Lendecke2010-11-041-6/+6
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Nov 4 22:08:53 UTC 2010 on sn-devel-104
* s3:util_str: add strlen_m_ext_term() - variant of strlen_m_ext() counting ↵Michael Adam2010-11-031-0/+2
| | | | terminator
* s3:lib/util_str: add strlen_m_ext() that takes input and output charsetMichael Adam2010-11-031-0/+2
| | | | | | | The function calculates the number of units (8 or 16-bit, depending on the destination charset), that would be needed to convert the input string which is expected to be in in src_charset encoding to the dst_charset (which should be a unicode charset).
* s3:lib/charcnv: rename a parameter for clarity in next_codepoint_ext()Michael Adam2010-11-031-1/+1
|
* s3:lib/charcnv: add next_codepoint_ext() that accepts input charset.Michael Adam2010-11-031-0/+2
| | | | | | | | | | next_codepoint() takes as string in CH_UNIX encoding and returns the unicode codepoint of the next (possibly multibyte) character of the input string. The new next_codepoint_ext() function adds the encoding of the input string as a parameter. next_codepoint() now only calls next_codepoint_ext() with CH_UNIX als src_charset argument.
* Fix bug #7700 - Improvement of return code of smbclientJeremy Allison2010-10-291-3/+3
| | | | | | | | | | Based on an initial patch from H Hasegawa <hasegawa.hiroyuki@fujixerox.co.jp>. Convert cli_list and associated functions to take calls that return NTSTATUS. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Oct 29 19:40:16 UTC 2010 on sn-devel-104
* s3: Add async cli_setpathinfoVolker Lendecke2010-10-241-0/+9
|
* s3:include: move debug.c prototypes to debug.hStefan Metzmacher2010-10-241-21/+0
| | | | metze
* s3: Replace cli_qfileinfo_test with a call to cli_qfileinfoVolker Lendecke2010-10-241-1/+0
|
* s3: Convert cli_qfileinfo_basic to cli_qfileinfoVolker Lendecke2010-10-241-7/+7
|
* s3: Convert cli_qfilename to cli_qfileinfoVolker Lendecke2010-10-241-1/+2
|
* s3: Add async cli_qfileinfoVolker Lendecke2010-10-241-0/+12
|
* s3: Rename cli_fileinfo() to cli_fileinfo_basic()Volker Lendecke2010-10-241-7/+7
|
* Revert "Wrap security_token_has_privilege() with a check for ↵Jeremy Allison2010-10-221-1/+0
| | | | | | | | | | | | lp_enable_privileges(). Needed" Not needed - privileges code prevents "enable privileges = no" from adding privileges anyway. This reverts commit a8b95686a7bde3f96f141b6938e24e101567ef54. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Oct 22 23:41:36 UTC 2010 on sn-devel-104
* Wrap security_token_has_privilege() with a check for lp_enable_privileges(). ↵Jeremy Allison2010-10-221-0/+1
| | | | | | | | | | | Needed to maintain compatibility with smb.conf manpage. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Oct 22 18:15:48 UTC 2010 on sn-devel-104
* s3: Add any_nt_status_not_okVolker Lendecke2010-10-201-0/+1
| | | | | This helps avoid quite a bit of repetitive code when looking at dcerpc_xx_recv results.
* Make getpwnam_alloc() static to lib/username.c, and ensure all username ↵Jeremy Allison2010-10-201-7/+3
| | | | | | | | | | | | lookups go through Get_Pwnam_alloc(), which is the correct wrapper function. We were using it *some* of the time anyway, so this just makes us properly consistent. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Oct 20 16:02:12 UTC 2010 on sn-devel-104
* Add make_default_filesystem_acl() function to be used in following change to ↵Jeremy Allison2010-10-151-0/+4
| | | | acl_xattr and acl_tdb module.
* s3-rpc_server: Make auth_serversupplied_info const.Andreas Schneider2010-10-151-3/+3
|
* libcli/auth Merge source4/libcli/security and util_sid.c into the common codeAndrew Bartlett2010-10-141-18/+0
| | | | | | | | | This should ensure we only have one copy of these core functions in the tree. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* libcli/security Move source3/lib/util_seaccess.c into the common codeAndrew Bartlett2010-10-141-8/+0
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-auth Use security_token_debug() from common codeAndrew Bartlett2010-10-141-1/+0
| | | | | | | | | This prints the security token including the privileges as strings instead of just a bitmap. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3 Replace is_sid_in_token() with security_token_has_sid() from common codeAndrew Bartlett2010-10-141-1/+0
| | | | | | | | The two routines are identical, so there is no need to keep both. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* More neccessary const.Jeremy Allison2010-10-091-1/+1
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Oct 9 01:47:25 UTC 2010 on sn-devel-104
* s3: Attempt to fix a ton of warnings on the build farmVolker Lendecke2010-10-031-12/+0
|
* samba: share readline wrappers among all buildsystems.Günther Deschner2010-10-011-8/+0
| | | | Guenther
* s3-readline: move cmd_history to smbclient, the only user.Günther Deschner2010-10-011-1/+0
| | | | Guenther
* samba: share select wrappers.Günther Deschner2010-10-011-6/+0
| | | | Guenther
* s3-spoolss: dont overwrite location change notify.Günther Deschner2010-10-011-0/+3
| | | | Guenther
* s3: Remove talloc_autofree_context() from files.cVolker Lendecke2010-09-281-1/+1
|
* s3: Lift smbd_server_conn from file_find_fdVolker Lendecke2010-09-281-1/+1
|
* s3: Lift smbd_server_conn from file_find_di_firstVolker Lendecke2010-09-281-1/+2
|
* s3: Lift smbd_server_conn from file_find_difVolker Lendecke2010-09-281-1/+2
|
* s3: Remove smbd_server_conn from files_forallVolker Lendecke2010-09-281-0/+1
|
* s3: Remove smbd_server_conn from file_close_userVolker Lendecke2010-09-281-1/+1
|
* s3: Remove smbd_server_conn from file_close_pidVolker Lendecke2010-09-281-1/+2
|
* s3: Make file_fnum staticVolker Lendecke2010-09-271-1/+0
|
* s3: Remove some unused codeVolker Lendecke2010-09-271-3/+0
|
* s3: Remove talloc_autofree_context() from notify_internal_parent_init()Volker Lendecke2010-09-261-1/+1
|
* Fix bug #7698 - Assert causes smbd to panic on invalid NetBIOS session request.Jeremy Allison2010-09-261-3/+3
| | | | | | | | | | | | | | Found by the CodeNomicon test suites at the SNIA plugfest. http://www.codenomicon.com/ If an invalid NetBIOS session request is received the code in name_len() in libsmb/nmblib.c can hit an assert. Re-write name_len() and name_extract() to use "buf/len" pairs and always limit reads. Jeremy.
* s3: Lift talloc_autofree_context() from make_auth_context_fixed()Volker Lendecke2010-09-261-1/+3
|
* s3: Lift talloc_autofree_context() from make_auth_context_subsystem()Volker Lendecke2010-09-261-1/+2
|