Send netdisco-users mailing list submissions to
        netdisco-users@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/netdisco-users
or, via email, send a message with subject or body 'help' to
        netdisco-users-requ...@lists.sourceforge.net

You can reach the person managing the list at
        netdisco-users-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of netdisco-users digest..."
Today's Topics:

   1. AD authentication - LDAP config (Christopher Doolan)
   2. Re: AD authentication - LDAP config (Oliver Gorwits)
--- Begin Message ---
Hi everyone, here is something I noticed regarding configuration of LDAP.

Using Red Hat Enterprise Linux release 8.3, I tried to use the following ldap 
config.

ldap:
    servers:
         - '10.x.x.x'
      user_string: '%USER%@FQDN'
      opts:
      version: 3
       debug: 0

This failed and I kept on getting the error of "Unable to parse the 
configuration file:", with "did not find expected key".

Apparently it did not like the user_string;
                user_string: '%USER%@FQDN'
                (I try using '%USER%@DOMAIN' which I found worked in my CentOS 
7.8 dev box, but this too failed)

I also tried changing to the following, but the same error appeared;
                user_string: 'DOMAIN\%USER%'

After search and reading this mailing list (thank you), I found this and it 
worked;
ldap:
   servers: [10.xx.xx.xx, 10.xx.xx.xy, 10.xx.xx.xz]
   user_string: 'DOMAIN\%USER%'

I hope that this will be of help to someone else having their own issues with 
ldap.

Regards
Chris
__________________________________________________________________

This email (including any attached files) is confidential and is 

for the intended recipient(s) only. If you received this email by 

mistake, please, as a courtesy, tell the sender, then delete this 

email.

The views and opinions are the originator's and do not necessarily 

reflect those of the University of Southern Queensland. Although 

all reasonable precautions were taken to ensure that this email 

contained no viruses at the time it was sent we accept no 

liability for any losses arising from its receipt.

The University of Southern Queensland is a registered provider 

of education with the Australian Government.

(CRICOS Institution Code QLD 00244B / NSW 02225M, TEQSA PRV12081)

--- End Message ---
--- Begin Message ---
Thanks Chris!

I have added a note to the LDAP config with these examples for 7.x and 8.x

On Tue, 16 Feb 2021 at 06:02, Christopher Doolan <
christopher.doo...@usq.edu.au> wrote:

> Hi everyone, here is something I noticed regarding configuration of LDAP.
>
>
>
> Using Red Hat Enterprise Linux release 8.3, I tried to use the following
> ldap config.
>
>
>
> ldap:
>
>     servers:
>
>          - '10.x.x.x'
>
>       user_string: '%USER%@FQDN’
>
>       opts:
>
>       version: 3
>
>        debug: 0
>
>
>
> This failed and I kept on getting the error of “Unable to parse the
> configuration file:”, with “did not find expected key”.
>
>
>
> Apparently it did not like the user_string;
>
>                 user_string: '%USER%@FQDN’
>
>                 (I try using ‘%USER%@DOMAIN’ which I found worked in my
> CentOS 7.8 dev box, but this too failed)
>
>
>
> I also tried changing to the following, but the same error appeared;
>
>                 user_string: 'DOMAIN\%USER%’
>
>
>
> After search and reading this mailing list (thank you), I found this and
> it worked;
>
> ldap:
>
>    servers: [10.xx.xx.xx, 10.xx.xx.xy, 10.xx.xx.xz]
>
>    user_string: 'DOMAIN\%USER%'
>
>
>
> I hope that this will be of help to someone else having their own issues
> with ldap.
>
>
>
> Regards
>
> Chris
> __________________________________________________________________
> This email (including any attached files) is confidential and is
> for the intended recipient(s) only. If you received this email by
> mistake, please, as a courtesy, tell the sender, then delete this
> email.
> The views and opinions are the originator's and do not necessarily
> reflect those of the University of Southern Queensland. Although
> all reasonable precautions were taken to ensure that this email
> contained no viruses at the time it was sent we accept no
> liability for any losses arising from its receipt.
> The University of Southern Queensland is a registered provider
> of education with the Australian Government.
> (CRICOS Institution Code QLD 00244B / NSW 02225M, TEQSA PRV12081)
> _______________________________________________
> Netdisco mailing list
> netdisco-users@lists.sourceforge.net
> https://sourceforge.net/p/netdisco/mailman/netdisco-users/
>

--- End Message ---
_______________________________________________
Netdisco mailing list - Digest Mode
netdisco-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to