summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-02-19 20:05:07 +0100
committerVolker Lendecke <vl@samba.org>2011-02-20 10:23:29 +0100
commit51b84a9ed7eaa7e38e2279a825290976bfa40177 (patch)
tree991a7a216ec6c551844a1ce6f693238968bc746c /source3/winbindd
parent88f52155607ccc653d4f4610557bfa10b83e4c73 (diff)
downloadsamba-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.c6
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);
}