mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
35a43de18d
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> |
||
---|---|---|
.. | ||
srv_wkssvc_nt.c |