Pull my previous changes into head as well.
[metze/samba/wip.git] / source3 / nsswitch / wb_common.c
index 79553e9e4fa48a254e1d8e0b36de1734e52d15ba..468b532cbeaf550aefb68ee617a5df0539a7a0e3 100644 (file)
@@ -191,6 +191,8 @@ static int winbind_named_pipe_sock(const char *dir)
        
        if (connect(fd, (struct sockaddr *)&sunaddr, 
                    sizeof(sunaddr)) == -1) {
+               DEBUG(10, ("error connecting to pipe socket: %s\n", 
+                       strerror(errno)));
                close(fd);
                return -1;
        }