Undo previous commit because it breaks the build.
authorTim Potter <tpot@samba.org>
Tue, 14 Oct 2003 02:19:19 +0000 (02:19 +0000)
committerTim Potter <tpot@samba.org>
Tue, 14 Oct 2003 02:19:19 +0000 (02:19 +0000)
DEBUG() should not be called in winbind client code as it's actually
dynamically linked by glibc into programs that use the nsswitch
database functions.

source/nsswitch/wb_common.c

index 468b532cbeaf550aefb68ee617a5df0539a7a0e3..79553e9e4fa48a254e1d8e0b36de1734e52d15ba 100644 (file)
@@ -191,8 +191,6 @@ 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;
        }