summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
AgeCommit message (Collapse)AuthorFilesLines
2010-11-03s3:util_str: add strlen_m_ext_term() - variant of strlen_m_ext() counting ↵Michael Adam1-0/+2
terminator
2010-11-03s3:lib/util_str: add strlen_m_ext() that takes input and output charsetMichael Adam1-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).
2010-11-03s3:lib/charcnv: rename a parameter for clarity in next_codepoint_ext()Michael Adam1-1/+1
2010-11-03s3:lib/charcnv: add next_codepoint_ext() that accepts input charset.Michael Adam1-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.
2010-10-29Fix bug #7700 - Improvement of return code of smbclientJeremy Allison1-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
2010-10-24s3: Add async cli_setpathinfoVolker Lendecke1-0/+9
2010-10-24s3:include: move debug.c prototypes to debug.hStefan Metzmacher1-21/+0
metze
2010-10-24s3: Replace cli_qfileinfo_test with a call to cli_qfileinfoVolker Lendecke1-1/+0
2010-10-24s3: Convert cli_qfileinfo_basic to cli_qfileinfoVolker Lendecke1-7/+7
2010-10-24s3: Convert cli_qfilename to cli_qfileinfoVolker Lendecke1-1/+2
2010-10-24s3: Add async cli_qfileinfoVolker Lendecke1-0/+12
2010-10-24s3: Rename cli_fileinfo() to cli_fileinfo_basic()Volker Lendecke1-7/+7
2010-10-22Revert "Wrap security_token_has_privilege() with a check for ↵Jeremy Allison1-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
2010-10-22Wrap security_token_has_privilege() with a check for lp_enable_privileges(). ↵Jeremy Allison1-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
2010-10-20s3: Add any_nt_status_not_okVolker Lendecke1-0/+1
This helps avoid quite a bit of repetitive code when looking at dcerpc_xx_recv results.
2010-10-20Make getpwnam_alloc() static to lib/username.c, and ensure all username ↵Jeremy Allison1-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
2010-10-15Add make_default_filesystem_acl() function to be used in following change to ↵Jeremy Allison1-0/+4
acl_xattr and acl_tdb module.
2010-10-15s3-rpc_server: Make auth_serversupplied_info const.Andreas Schneider1-3/+3
2010-10-14libcli/auth Merge source4/libcli/security and util_sid.c into the common codeAndrew Bartlett1-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>
2010-10-14libcli/security Move source3/lib/util_seaccess.c into the common codeAndrew Bartlett1-8/+0
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-10-14s3-auth Use security_token_debug() from common codeAndrew Bartlett1-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>
2010-10-14s3 Replace is_sid_in_token() with security_token_has_sid() from common codeAndrew Bartlett1-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>
2010-10-09More neccessary const.Jeremy Allison1-1/+1
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Oct 9 01:47:25 UTC 2010 on sn-devel-104
2010-10-03s3: Attempt to fix a ton of warnings on the build farmVolker Lendecke1-12/+0
2010-10-01samba: share readline wrappers among all buildsystems.Günther Deschner1-8/+0
Guenther
2010-10-01s3-readline: move cmd_history to smbclient, the only user.Günther Deschner1-1/+0
Guenther
2010-10-01samba: share select wrappers.Günther Deschner1-6/+0
Guenther
2010-10-01s3-spoolss: dont overwrite location change notify.Günther Deschner1-0/+3
Guenther
2010-09-28s3: Remove talloc_autofree_context() from files.cVolker Lendecke1-1/+1
2010-09-28s3: Lift smbd_server_conn from file_find_fdVolker Lendecke1-1/+1
2010-09-28s3: Lift smbd_server_conn from file_find_di_firstVolker Lendecke1-1/+2
2010-09-28s3: Lift smbd_server_conn from file_find_difVolker Lendecke1-1/+2
2010-09-28s3: Remove smbd_server_conn from files_forallVolker Lendecke1-0/+1
2010-09-28s3: Remove smbd_server_conn from file_close_userVolker Lendecke1-1/+1
2010-09-28s3: Remove smbd_server_conn from file_close_pidVolker Lendecke1-1/+2
2010-09-27s3: Make file_fnum staticVolker Lendecke1-1/+0
2010-09-27s3: Remove some unused codeVolker Lendecke1-3/+0
2010-09-26s3: Remove talloc_autofree_context() from notify_internal_parent_init()Volker Lendecke1-1/+1
2010-09-26Fix bug #7698 - Assert causes smbd to panic on invalid NetBIOS session request.Jeremy Allison1-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.
2010-09-26s3: Lift talloc_autofree_context() from make_auth_context_fixed()Volker Lendecke1-1/+3
2010-09-26s3: Lift talloc_autofree_context() from make_auth_context_subsystem()Volker Lendecke1-1/+2
2010-09-23s3-dcerpc: add spnego server helpersSimo Sorce1-0/+10
squashed: add michlistMIC signature checks Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-21s3:services_db: remove unused legacy function svcctl_fetch_regvalues().Michael Adam1-1/+0
2010-09-21s3:services_db: publish svcctl_get_string_value()Michael Adam1-0/+3
2010-09-21s3:services_db: remove the TALLOC_CTX argument from svcctl_set_secdescMichael Adam1-1/+2
2010-09-20s3-lib/util Remove unused smb_uuid_unpack()Andrew Bartlett1-4/+0
Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-20s3-uuid Remove unused smb_uuid_pack()Andrew Bartlett1-1/+0
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-20s3: Replace sid_binstring and sid_guidstring with PIDL-based alternativesAndrew Bartlett1-2/+0
This reduces the manual marshalling of these structures by removing the duplication here. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-20s3-build: try to fix the non-ldap build.Günther Deschner1-4/+0
ldapsam_search_suffix_by_name is already prototyped in smbldap.h. Guenther
2010-09-20s3-util: use shared dom_sid_dup.Günther Deschner1-1/+0
Guenther