Opened 18 years ago
Closed 17 years ago
#34 closed task (worksforme)
Set up Drupal to create new user accounts in LDAP
Reported by: | tmitchell | Owned by: | tmitchell |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | WebSite | Keywords: | ldap drupal |
Cc: | warmerdam@… |
Description
- Directly related to http://trac.osgeo.org/trac/osgeo/ticket/28, but instead make Drupal serve as a primary interface for creating new user accounts that are stored in LDAP
Change History (7)
comment:1 by , 18 years ago
Status: | new → assigned |
---|
- It appears that this may be available via the Drupal LDAP Module right out-of-the-box as long as advanced module settings include certain rights as Manager in LDAP (which ours do) # To test, Kanhaiya and I had to switch the LDAP Module to only allow authentication through LDAP and not through Drupal's internal user table. This was only done for a minute as it has the potential to lock out many Drupal users. # Then new user registration was enabled and a dummy user registered. This worked as normal. # Remaining question was whether this creates the user account in LDAP or not. Initial tests show it did not, though the user was able to log in when only LDAP authentication was enabled.
comment:2 by , 18 years ago
Cc: | added |
---|
comment:3 by , 18 years ago
(Fixing formatting...)
- It appears that this may be available via the Drupal LDAP Module right out-of-the-box as long as advanced module settings include certain rights as Manager in LDAP (which ours do)
- To test, Kanhaiya and I had to switch the LDAP Module to only allow authentication through LDAP and not through Drupal's internal user table. This was only done for a minute as it has the potential to lock out many Drupal users.
- Then new user registration was enabled and a dummy user registered. This worked as normal.
- Remaining question was whether this creates the user account in LDAP or not. Initial tests show it did not, though the user was able to log in when only LDAP authentication was enabled.
comment:4 by , 18 years ago
I have written a simple forms driven python script to create new ldap users:
Hopefully this will take some of the pressure off...
comment:5 by , 18 years ago
Priority: | critical → normal |
---|
Tyler,
Should we close this ticket, and just use ldap_create_user.py?
I'd note for posterity that there are various ldap related resources at:
comment:6 by , 17 years ago
LDAP authentication is working fine for Drupal now. I would also like to make it possible for users to modify their attributes, but it seems our LDAP set up does not allow this (i.e. writing only can be done by the LDAP Manager user). Can anyone confirm this?
comment:7 by , 17 years ago
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.