summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/nsswitch/winbindd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd.c b/source3/nsswitch/winbindd.c
index ee373c7101..39a95bc724 100644
--- a/source3/nsswitch/winbindd.c
+++ b/source3/nsswitch/winbindd.c
@@ -720,7 +720,10 @@ int main(int argc, char **argv)
exit(1);
}
+ pidfile_create("winbindd");
+
/* Setup names. */
+
if (!*global_myname) {
char *p;