Oh wow - I dont know how many combinations I have played with but found something that works
gitlab_rails['ldap_servers'] = YAML.load <<-'EOS' # remember to close this block with 'EOS' below
# first_name: 'givenName'
# last_name: 'sn'
# group_base: ''
# admin_group: ''
I am not sure if it was the indenting that worked (so many examples around the web and the documentation saying how important the indentation is - yet there are examples with 1 space, 2 space, and finally this one that worked with 3 spaces for main and then 2 for the rest!)
Or perhaps its because I was more verbose - i.e. specifying empty values for each instead of commenting.
Either way - the whole thing is a mess and should be a lot easier!! Why can’t it be configured in the GUI???