Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow the script to handle LDAP names containing a space when adding safe permissions #408

Open
Francesco-f7o opened this issue Sep 5, 2024 · 0 comments

Comments

@Francesco-f7o
Copy link

Issue

When using the script to manage safe owners, if the user location is an LDAP integration that contains a space in the name, the management doesn't work, as the script seems unable to handle a location that contains a space.

This may happens in legacy deployments or in scenarios where the name for the LDAP integration has been left to its default (which is indeed "LDAP integration").

Unfortunately this integration name cannot be updated, as explained here: .

Desired solution

If the script could handle the existence of a space in the MemberLocation field of the safe-members-sample.csv, it could be used for those environments where the directory name was set with a space and cannot be changed any more.

Alternatives considered

We tried to populate the field using some escape characters, such as " or ' or ` before the space to escape it, but without success.
The simplest alternative we found to this approach is to revert to psPAS, which works fine with a directory name that includes spaces, but it's not able to consume a CSV file out of the box as this script does, which is why this would be considered approach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant