From 2d948c7106f3a830512ecb883401e122bd095d4b Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Tue, 16 Dec 2003 14:25:36 +0000 Subject: [PATCH] fix a couple of (too optimistic) comments... --- servers/slapd/sasl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/sasl.c b/servers/slapd/sasl.c index 4613cee59f..e2d91d2d22 100644 --- a/servers/slapd/sasl.c +++ b/servers/slapd/sasl.c @@ -717,7 +717,7 @@ slap_sasl_checkpass( * auxiliary property, so that we can refer to it in sasl_authorize * without interfering with anything else. Also, the SASL username * buffer is constrained to 256 characters, and our DNs could be - * much longer (totally arbitrary length)... + * much longer (SLAP_LDAPDN_MAXLEN, currently set to 8192) */ static int slap_sasl_canonicalize( @@ -1804,7 +1804,7 @@ int slap_sasl_getdn( Connection *conn, Operation *op, char *id, int len, /* username may have embedded realm name */ /* FIXME: * userids can legally have embedded '@' chars; - * the relm should be set by those mechanisms + * the realm should be set by those mechanisms * that support it by means of the user_realm * variable */ -- 2.39.5