LDAP Users

Last Updated: 17 Dec 2015

Once the LDAP Bridge has been connected, the LDAP users will be displayed in the Asset Map. You can then view the details of the user, link the user into a User Group, apply Permissions and Roles to the user, apply Metadata or use the user in a step in a Workflow Schema.

Viewing and Editing User Details

To view the details of an LDAP user, go to the Details screen of the user. There you will see the information that has been selected on the LDAP User Setup screen of the LDAP Bridge. You cannot edit this information within Squiz Matrix. To do this, you need to go back to the original LDAP directory. Once you have edited the information there, Squiz Matrix will be updated with this new information.

Linking an LDAP User to a User Group

Once the LDAP users have been created within Squiz Matrix, you can link them into User Groups. You can do this through the Asset Map, but if you have a number of LDAP users it is recommended that you do this on the Linking screen of the LDAP user. In the Create Link section, select the User Group in the New Link Parent field and click Commit. The LDAP user will be linked into the selected User Group.

Keyword Replacement for LDAP Users

To display information from LDAP users within content, you can use the keyword replacement %globals_user_attribute_<attribute>%, where <attribute> is an LDAP attribute field that you have selected to display on the LDAP User Setup screen of the LDAP Bridge. For example, if you have selected to display the email field on the LDAP User Setup screen, you can use the keyword replacement to display the users email address. If, however, you have not selected to display this field, this keyword replacement will not work.

Updating the DN for an LDAP User

If you need to update the DN of an old LDAP user to point to a new LDAP user, you can use the script ldap_change_dn.php. This script is located in the <system_root>/packages/ldap.scripts, where <system_root> is the location of the Squiz Matrix system you are using.

An example of the usage of this script is given below:

$ php ldap_change_dn.php <system_root> 
Enter the root password for "MyCompany Matrix System (stable)": <ROOT PASSWORD>
*** The following bridges are available in the system ***
[61] - MyCompany Staff
Enter the ID of the bridge to apply changes to: 61
Enter the DN to change: uid=jsmith,ou=developers,dc=mycompany,dc=net
Enter the new DN: uid=jsmith,ou=Staff,dc=mycompany,dc=net

*** Please confirm the following information is correct ***
[OLD DN] uid= jsmith,ou=developers,dc= mycompany,dc=net
[NEW DN] uid= jsmith,ou=Staff,dc= mycompany,dc=net
Is this correct [y/n]: y

Changing asset permissions [ OK ]
Changing asset permissions (rollback) [ OK ]
Changing internal messages [ OK ]
Changing internal messages (rollback) [ OK ]
Changing screen access [ OK ]
Changing screen access (rollback) [ OK ]
Changing locks [ OK ]  


Previous Chapter

Send Feedback

Noticed an error?
Want to suggest an improvement?

Let Us Know

The Latest

Let Us Know What You Think

Let us know if you spot any errors or if you have any ideas on how we can improve the Matrix Community Website.

Contact Squiz for Demo

Let us show you the true power of Squiz Matrix by giving you a personalised demonstration.