diff options
author | Volker Lendecke <vl@samba.org> | 2011-02-19 20:05:07 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-02-20 10:23:29 +0100 |
commit | 51b84a9ed7eaa7e38e2279a825290976bfa40177 (patch) | |
tree | 991a7a216ec6c551844a1ce6f693238968bc746c /source3/winbindd | |
parent | 88f52155607ccc653d4f4610557bfa10b83e4c73 (diff) | |
download | samba-51b84a9ed7eaa7e38e2279a825290976bfa40177.tar.gz samba-51b84a9ed7eaa7e38e2279a825290976bfa40177.tar.bz2 samba-51b84a9ed7eaa7e38e2279a825290976bfa40177.zip |
s3: Convert init_system_info to NTSTATUS
Diffstat (limited to 'source3/winbindd')
-rw-r--r-- | source3/winbindd/winbindd.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c index 92ae12fe76..d9a302cbc3 100644 --- a/source3/winbindd/winbindd.c +++ b/source3/winbindd/winbindd.c @@ -1398,8 +1398,10 @@ int main(int argc, char **argv, char **envp) winbindd_register_handlers(); - if (!init_system_info()) { - DEBUG(0,("ERROR: failed to setup system user info.\n")); + status = init_system_info(); + if (!NT_STATUS_IS_OK(status)) { + DEBUG(1, ("ERROR: failed to setup system user info: %s.\n", + nt_errstr(status))); exit(1); } |