![]() Maybe that will save someone a few minutes. Mysql> select ldap_user_puid_sid_value from field_data_ldap_user_puid_sid mysql> update field_data_ldap_user_puid_sid set ldap_user_puid_sid_value='ad1' where ldap_user_puid_sid_value='HPL' ![]() When using a Samba4 (or later) domain controller it is possible to simply query for an object by its SID, as. Select ldap_user_puid_sid_value from field_data_ldap_user_puid_sid All the interesting objects in an Active Directory DSA have an objectSID which is used throughout the Windows subsystems as the reference for the object. ![]() Reading table information for completion of table and column names The following commands replaced the name with the new name in mysql.įirst I logged in to mysql with a user with permission to make changes to the drupal database. In my case the old name was HPL and my new name was ad1. Like some of the others I changed the mysql database value. FROM OPENQUERY ( MyADDataSource, 'SELECT sn, SAMAccountName, objectSID, userAccountControl, mail, distinguishedName. SELECT objectSID, SAMAccountName, sn, mail, distinguishedName. You might could change your LDAP server's settings name in the drupal configuration to the old one. The code to extract Group details is almost the same as the code for User details just change the ‘Person’ parameter to ‘Group’: 1. It's the LDAP Server name in the drupal configuration. It's not the new name of your actual LDAP server. I'd like to clarify what the message is about. First You could turn off watchdog in your LDAP server settings if you don't want the notifications.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |