summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ypldap/ypldap.c3
-rw-r--r--usr.sbin/ypldap/ypldap.h3
2 files changed, 2 insertions, 4 deletions
diff --git a/usr.sbin/ypldap/ypldap.c b/usr.sbin/ypldap/ypldap.c
index 7254e01ca41..436282ed3a6 100644
--- a/usr.sbin/ypldap/ypldap.c
+++ b/usr.sbin/ypldap/ypldap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ypldap.c,v 1.1 2008/06/26 15:10:01 pyr Exp $ */
+/* $OpenBSD: ypldap.c,v 1.2 2008/06/26 15:13:17 pyr Exp $ */
/*
* Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -113,7 +113,6 @@ main_sig_handler(int sig, short event, void *p)
void
main_shutdown(void)
{
- (void)unlink(_PATH_LDAPBIND_SOCK);
_exit(0);
}
diff --git a/usr.sbin/ypldap/ypldap.h b/usr.sbin/ypldap/ypldap.h
index ce772def31b..33c9b88ed2e 100644
--- a/usr.sbin/ypldap/ypldap.h
+++ b/usr.sbin/ypldap/ypldap.h
@@ -14,10 +14,9 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#define YPLDAP_USER "_ospfd"
+#define YPLDAP_USER "_ypldap"
#define YPLDAP_CONF_FILE "/etc/ypldap.conf"
#define DEFAULT_INTERVAL 600
-#define _PATH_LDAPBIND_SOCK "/var/run/ypldap.sock"
#define LINE_WIDTH 1024
#define FILTER_WIDTH 128
#define ATTR_WIDTH 32