]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/defines.h
Allow longer usernames for authentication
[ngircd-alex.git] / src / ngircd / defines.h
index a140c9d16a54eee20a197893ba01a45d5be9141a..456c4c9351f78f44735c859cf08767df519b71b4 100644 (file)
 #else
 # define CLIENT_USER_LEN 10
 #endif
+/** Max. length of user names saved for authentication (used by PAM) */
+#ifdef PAM
+# define CLIENT_AUTHUSER_LEN 64
+#endif
 
 /** Max. length of "real names" (including NULL). */
 #define CLIENT_NAME_LEN 32