$NetBSD: patch-ca,v 1.1 2005/11/14 08:05:28 jlam Exp $

--- passdb/pdb_ldap.c.orig	2005-10-12 13:03:35.000000000 -0400
+++ passdb/pdb_ldap.c
@@ -694,7 +694,7 @@ static BOOL init_sam_from_ldap(struct ld
 
 	if (ldap_state->is_nds_ldap) {
 		char *user_dn;
-		int pwd_len;
+		size_t pwd_len;
 		char clear_text_pw[512];
 
 		/* Make call to Novell eDirectory ldap extension to get clear text password.
