Q&A: How do I get a list of users with a logon script configured?

Question

How can I get a list of users who have a logon script configured?

Answer

Use univention-ldapsearch as follows:

univention-ldapsearch "sambalogonscript=*" dn sambalogonscript