--- authentication_api_1.2.11.php	2012-06-19 14:38:44.252480400 -0400
+++ authentication_api.php	2012-06-19 15:07:16.720484700 -0400
@@ -184,7 +184,7 @@
 	if ( false === $t_user_id ) {
 		if ( BASIC_AUTH == $t_login_method ) {
 			$t_auto_create = true;
-		} else if ( LDAP == $t_login_method && ldap_authenticate_by_username( $p_username, $p_password ) ) {
+		} else if ( LDAP == $t_login_method && ldap_authenticate_by_username( $p_username, $p_password ) && ON == config_get_global( 'allow_signup' ) ) {
 			$t_auto_create = true;
 		} else {
 			$t_auto_create = false;
