I have the module working correctly, except that when a user logs in through LDAP, a Drupal user account is not created, thus all logins are anonymous users. Is there a setting that I'm missing? or another module? Or is this normal?
Tim
I have the module working correctly, except that when a user logs in through LDAP, a Drupal user account is not created, thus all logins are anonymous users. Is there a setting that I'm missing? or another module? Or is this normal?
Tim
Comments
Comment #1
miglius commentedThis should not be happening. When a user logs in into drupal with his LDAP credentials first time, a drupal account should be created and associated with the LDAP account. There is no configuration option to skip that.
I cannot replicate it. What do the logs say? Are you running D6.4?
Comment #2
jcwatson11 commentedI am having a similar problem. However, an account seems to be created in the database. But all users who log-in through LDAP module to create their account say "(not verified)" after their user name in the Who's New and Who's Online blocks. They also do not have appropriate permissions. It's like they're still anonymous even though they are logged in and should be authenticated. How do I fix this?
Comment #3
miglius commentedComment #4
miglius commentedCan you verify if you still have the issue with the dev release?
Comment #5
xion.truth commentedI am running Drupal version 6.1
when i try to log in with a AD username and password and it goes to the white screen the link above is
http://tejas-kb:81/intranet/index.php?q=node&destination=node
you will not be able to access this link because it is internal.
NOTE: the white screen is only in firefox with IE 7 i get the following error
The website cannot display the page http error 500
I have checked the database and unless i am looking in the wrong place i see no entries for users.
my AD basedn for users is
OU=Dallas,OU=Texas Users,DC=TexasIndustries,DC=local
Under reports/recent log entries
there are not log entries for active directory log ins only the administrator log in
I have not installed the LDAP_provisioning modual
Under Records
the recent log entries do not show anything for attempted logins.
Comment #6
xion.truth commentedi have found that no matter if i try to log in with an AD account or a user that does not exist I get the "page can not be displayed.
if i log in with a user aka "admin" that does exist and type the wrong password it gives me a screen that says wrong username or password
if it helps at all here is the server entry from the database
sid ---------- 2
name ---------- Texasindustries
status ---------- 1
server ---------- texas-dns.TexasIndustries.local
port ---------- 389
tls ---------- 0
encrypted ---------- 0
basedn ---------- OU=Amarillo,OU=Texas Users,DC=TexasIndustries,DC=local
user_attr ---------- sAMAccountName
mail_attr ---------- mail
binddn ---------- TexasIndustries.local/Users/Administrator
bindpw ---------- my AD admin password here
bindpw_clear ---------- 0
ldapdata_binddn ----------
ldapdata_bindpw ----------
ldapdata_bindpw_clear ---------- 0
ldapdata_rwattrs ----------
ldapdata_roattrs ---------- a:4:{i:0;s:9:"givenName";i:1;s:2:"sn";i:2;s:2:"cn";i:3;s:4:"mail";}
ldapdata_mappings ---------- a:1:{s:6:"access";s:1:"2";}
ldapgroups_in_dn ---------- 0
ldapgroups_in_dn_desc ---------- 0
ldapgroups_dn_attribute ----------
ldapgroups_attr ---------- dc=tejasindustries,dc=local
ldapgroups_in_attr ---------- 1
ldapgroups_as_entries ---------- 0
ldapgroups_entries ----------
ldapgroups_entries_attribute ----------
One last thing i think may be important is that I am running IIS. I know Apache is better but we have a company policy to use IIS
Comment #7
miglius commentedIf you get a white screen, check the web logs and drupal watchdog for a more informative errors.
Comment #8
xion.truth commentedi know this is a noob question but how do I access watchdog. In drupal i only see reports and the following items
* Recent log entries
* Top 'access denied' errors
* Top 'page not found' errors
* Top search phrases
* Available updates
* Status report
recent log entries look like this
user 03/13/2009 - 14:22 Session opened for admin. admin
user 03/13/2009 - 14:22 Session closed for admin. admin
cron 03/13/2009 - 14:19 Cron run completed. admin
ldapauth 03/13/2009 - 14:13 LDAP Configuration Tejas Industries has ... admin
cron 03/13/2009 - 14:09 Cron run completed. admin
I did look in the Watchdog table in the database and it is not recorder when i try to log in with AD username and password
thank you again for your help
Comment #9
miglius commentedRecent log entries is a watchdog. If you don't see anything wired here, look at the web servers logs. They can give a hint on the white screen.
Comment #10
xion.truth commentedI know this makes no sense but i am monitoring the web logs and when i access the drupal site it registers but when i try to log in with AD i get no log entries
Do you think i am getting this issue because of IIS?
Comment #11
miglius commentedI'm closing this issue as the latest discussion is not related to the original problem reported. I think that the original problem is already solved in the dev release, cause I cannot replicate it..
As of IIS issue, please open a separate support issue for that. Maybe somebody more familiar with IIS will be able to help you.