Is there a way for users' account not to be created in Drupal, so only users with existing Drupal accounts could login (or an admin would have to make their account)?

This would allow individual admins of a Drupal installation (who do not have control over the LDAP server) to limit users who could have accounts and log in.

Thanks.

Comments

fgc’s picture

Look at the ldap_user_filter function in ldapauth.conf.php, you can limit access there based pretty much on whatever you want.

kc2hmv’s picture

Status: Active » Closed (fixed)

I found a way of doing what I was trying to do. Thanks.

bellumlagosi’s picture

Could you post how to allow access to only those with a drupal account but still using ldap auth. Thanks.

scafmac’s picture

LDAP_provisioning - http://drupal.org/project/ldap_provisioning should be able to help