1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00
samba-mirror/source3
Volker Lendecke 35a43de18d rpc_server: Make get_domain_userlist() independent of errno
In the "num_users==0" case (previously just return NULL) we depended
on errno==0 implicitly. When list_sessions() above in this routine had
to open smbXsrv_session_global, it could however happen that errno was
set. If then there were no users, get_domain_userlist() returned NULL
with errno set, which the callers interpreted then as a real error.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2021-06-15 18:11:35 +00:00
..
auth auth:creds: Add obtained arg to cli_credentials_set_kerberos_state() 2021-04-28 03:43:34 +00:00
build
client s3:client: Use samba_popt_get_context() 2021-05-20 02:58:36 +00:00
exports
groupdb lib: relicense smb_strtoul(l) under LGPLv3 2020-08-03 22:21:02 +00:00
include smbd: add dosmode_from_fake_filehandle() 2021-06-09 19:47:34 +00:00
intl
lib s3: lib: sysacls: Remove all implementations of sys_acl_set_file(). 2021-06-09 13:14:31 +00:00
libads auth:creds: Add obtained arg to cli_credentials_set_kerberos_state() 2021-04-28 03:43:34 +00:00
libgpo/gpext
libnet libnet: Initialize pointers 2021-06-04 16:47:34 +00:00
librpc rpc: Give dcerpc_util.c its own header 2021-04-06 22:29:34 +00:00
libsmb s3:pylibsmb: improve return types (false => NULL) 2021-06-10 00:29:32 +00:00
locale pam_winbind/ro.po: fix error from previous patch merge 2020-10-29 20:49:16 +00:00
locking smbd: Simplify share_mode_entry_do() 2021-06-04 16:47:34 +00:00
modules VFX: vxfs: Fixup some warnings 2021-06-11 09:30:53 +00:00
nmbd nmbd: Reduce the wait interface loop sleep time 2021-05-14 20:52:47 +00:00
param loadparam: add option "acl flag inherited canonicalization" 2021-05-27 19:51:57 +00:00
passdb s3:param:py_param - allocate buffer for nt_name and comment 2021-05-27 22:07:45 +00:00
printing printing: Factor out remove_from_jobs_list() 2021-06-04 16:47:34 +00:00
profile
registry registry: Fix a typo 2021-04-19 18:18:31 +00:00
rpc_client Fix gcc11 compiler issue "-Werror=maybe-uninitialized" 2021-05-07 06:23:32 +00:00
rpc_server rpc_server: Make get_domain_userlist() independent of errno 2021-06-15 18:11:35 +00:00
rpcclient s3:rpcclient: Document command of witness protocol 2021-05-25 00:23:37 +00:00
script s3:tests: Fix passing the configuration to Smbclient_netbios_aliases test 2021-06-11 00:36:32 +00:00
selftest s3: torture: Add POSIX-SYMLINK-GETPATHINFO regression test. 2021-06-15 11:06:23 +00:00
services
smbd s3: smbd: Remove erroneous TALLOC_FREE(smb_fname_parent) in change_file_owner_to_parent() error path. 2021-06-11 10:17:46 +00:00
torture s3: torture: Add POSIX-SYMLINK-GETPATHINFO regression test. 2021-06-15 11:06:23 +00:00
utils s3:utils: Use connection and credentials parser in net util 2021-05-28 02:55:31 +00:00
web
winbindd s3:winbind: Code cleanup for initialize_winbindd_cache() 2021-05-12 20:29:32 +00:00
.clang_complete
.dmallocrc
.indent.pro
Doxyfile
mainpage.dox
smbadduser.in
wscript build: Use bison at build time rather than lexyacc.sh to build the embedded heimdal 2021-04-28 03:43:34 +00:00
wscript_build s3:lib: Remove util_cmdline 2021-05-28 03:41:52 +00:00
wscript_configure_system_ncurses