Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nslcd/common.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/nslcd/common.h b/nslcd/common.h
index b6fcd72..e8b6924 100644
--- a/nslcd/common.h
+++ b/nslcd/common.h
@@ -3,7 +3,7 @@
This file is part of the nss-pam-ldapd library.
Copyright (C) 2006 West Consulting
- Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Arthur de Jong
+ Copyright (C) 2006-2014 Arthur de Jong
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -164,8 +164,8 @@ void invalidator_do(enum ldap_map_selector map);
#define BUFLEN_SAFENAME 300 /* escaped name */
#define BUFLEN_PASSWORD 128 /* passwords */
#define BUFLEN_PASSWORDHASH 256 /* passwords hashes */
-#define BUFLEN_DN 256 /* distinguished names */
-#define BUFLEN_SAFEDN 300 /* escapedd dn */
+#define BUFLEN_DN 512 /* distinguished names */
+#define BUFLEN_SAFEDN 600 /* escapedd dn */
#define BUFLEN_FILTER 4096 /* search filters */
#define BUFLEN_HOSTNAME (HOST_NAME_MAX + 1) /* host names (+ escaped) */
#define BUFLEN_MESSAGE 1024 /* message strings */