Closed RedChops closed 2 months ago
@RedChops: Why didn't you set the computername_prefix in the settings to ''
, i.e. an empty string?
@timogoebel That was the first thing I tried, after leaving computername_prefix commented out. Even with it set to ''
I get the error mentioned in the subject. I had taken a brief look at the source to see if I could come up with a more general fix, but it didn't look like that field should be getting validated at all so I'm not sure what's up.
computername_prefix is currently required. The solution is to comment this out. We will probably fix this later.
can we close this issue ?
I forgot this ticket was still opened, we haven't used this plugin in nearly 4 years.
If I leave computername_prefix unset or commented out in realm_ad.yml, I get the error mentioned in the subject. No clue why, as that setting is not mentioned in the validators. What I ended up doing was modifying configuration_loader.rb with computername_prefix: '' then putting any value for that setting in realm_ad.yml and it seemed to work. This is obviously not a general case fix, but I personally have no use for the field.
I should mention that I'm currently using Foreman 1.18