diff options
Diffstat (limited to 'source3/winbindd')
-rw-r--r-- | source3/winbindd/winbindd.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c index 87a8be64c9..34fd271194 100644 --- a/source3/winbindd/winbindd.c +++ b/source3/winbindd/winbindd.c @@ -176,7 +176,7 @@ static void terminate(bool is_parent) #endif if (is_parent) { - serverid_deregister_self(); + serverid_deregister(procid_self()); pidfile_unlink(); } @@ -1031,7 +1031,8 @@ void winbindd_register_handlers(void) /* get broadcast messages */ - if (!serverid_register_self(FLAG_MSG_GENERAL|FLAG_MSG_DBWRAP)) { + if (!serverid_register(procid_self(), + FLAG_MSG_GENERAL|FLAG_MSG_DBWRAP)) { DEBUG(1, ("Could not register myself in serverid.tdb\n")); exit(1); } |