Cory Albrecht
2007-02-21 03:04:06 UTC
Hello all,
Yes, it's me again with more problems. :-)
I'm trying to get my OpenBSD firewall to authenticate normal user
accounts off of an LDAP server running on a different machine.
I installed ports/sysutils/login_ldap and modified /etc/login.conf based
on the examples from /usr/local/share/login_ldap but I can't get it to
work. Every time I try to login as one of the accounts listed in the
LDAP server's database I get the following error in /var/log/authlog:
Feb 20 21:01:01 bytor -ldap: couldn't get x-ldap-server-alt
I tried adding that tag in login.conf, but it didn't make any
difference. I tried using IP numbers instead of names, no luck. I used
ldapsearch to verify that the LDAP server is reachable from the firewall
machine and that the values I was using for x-ldap-binddn/-bindpw worked
and I also tried them as empty or removed entire to try anonymous
authentication to the LDAP server, just in case. I fiddled with
x-ldap-filter/-groupfilter tags because the ones in the exmaple confs
had objectClass or other LDAP attributes that the entries in my server
don't have. Nothing seems to make a difference - always that same error:
Feb 20 21:01:01 bytor -ldap: couldn't get x-ldap-server-alt
Google give only one result on a search for "x-ldap-server-alt" and it's
about installing Cyrus IMAP on 3.3.
The LDAP server is slapd running on Linux/Ubuntu which has been
successful running with Samba+LDAP as the Windows primary domain
controller for my LAN for 3-4 months. The firewall is built from
-current CVSed about 4-5 months ago.
If somebody could share real-world, working LDAP auth configs with me or
give me some pointers I would really appreciate it.
Thanks in advance.
Yes, it's me again with more problems. :-)
I'm trying to get my OpenBSD firewall to authenticate normal user
accounts off of an LDAP server running on a different machine.
I installed ports/sysutils/login_ldap and modified /etc/login.conf based
on the examples from /usr/local/share/login_ldap but I can't get it to
work. Every time I try to login as one of the accounts listed in the
LDAP server's database I get the following error in /var/log/authlog:
Feb 20 21:01:01 bytor -ldap: couldn't get x-ldap-server-alt
I tried adding that tag in login.conf, but it didn't make any
difference. I tried using IP numbers instead of names, no luck. I used
ldapsearch to verify that the LDAP server is reachable from the firewall
machine and that the values I was using for x-ldap-binddn/-bindpw worked
and I also tried them as empty or removed entire to try anonymous
authentication to the LDAP server, just in case. I fiddled with
x-ldap-filter/-groupfilter tags because the ones in the exmaple confs
had objectClass or other LDAP attributes that the entries in my server
don't have. Nothing seems to make a difference - always that same error:
Feb 20 21:01:01 bytor -ldap: couldn't get x-ldap-server-alt
Google give only one result on a search for "x-ldap-server-alt" and it's
about installing Cyrus IMAP on 3.3.
The LDAP server is slapd running on Linux/Ubuntu which has been
successful running with Samba+LDAP as the Windows primary domain
controller for my LAN for 3-4 months. The firewall is built from
-current CVSed about 4-5 months ago.
If somebody could share real-world, working LDAP auth configs with me or
give me some pointers I would really appreciate it.
Thanks in advance.