Hi
according to source
https://github.com/samba-team/samba/blob/master/source3/utils/status.c
it can return -1 (=255 ie can't? load conf file / Out of memory ) or 1
(ie not run as root ) and 0 on success
Le 17/06/2019 ? 16:50, Santiago DIEZ via samba a ?crit?:> Hi,
>
> Despite looking at
> https://www.samba.org/samba/docs/current/man-html/smbstatus.1.html and
> "man smbstatus", I don't see how to know the full list of
possible
> exit status for command smbstatus.
>
> All I could test brings an exit code of 0 in most cases and 255 if
> option -s is an unreadable file.
>
> Is there a man page that lists all possible return values?
>
> Regards
> Santiago
>
--
Arnaud FLORENT
IRIS Technologies