]> git.sur5r.net Git - openldap/commitdiff
fix a couple of (too optimistic) comments...
authorPierangelo Masarati <ando@openldap.org>
Tue, 16 Dec 2003 14:25:36 +0000 (14:25 +0000)
committerPierangelo Masarati <ando@openldap.org>
Tue, 16 Dec 2003 14:25:36 +0000 (14:25 +0000)
servers/slapd/sasl.c

index 4613cee59fab6055dc39701026b18ce892a61fea..e2d91d2d225237d0b32bdf7d6b61393bf345d349 100644 (file)
@@ -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
                 */