tycoon
Goto Top

LDAP unter openSUSE 11.1

Hallo,

wollte fragen, ob jemand schon LDAP unter openSUSE installiert hat. Ich in dabei einen Fileserver aufzusetzen und will diesen mit Linux betreiben.
Ich abe zuerst überlegt SUSE Linux enterprise Server 10 einzusetzen. Dageht die einrichtung von LDAP relativ leicht. Doch um Geld zu sparren überlege ich jetzt openSUSE einzusetzen.
Doch da ist LDAP nicht mehr so leicht einzurichten.

Ich kann mich nicht beim LDAP server anmelden. Obwohl ich das Kennwort mehrmals geprüft habe. Ich bekomme immer den Fehler Keine Verbindung, weil die Berechtigung fehlt.

Hier ist die ldap.conf.

ldap.conf

#
  1. LDAP Defaults
#

  1. See ldap.conf(5) for details
  2. This file should be world readable but not world writable.

#BASE dc=example,dc=com
#URI ldap:ldap.example.com ldap:ldap-master.example.com:666

#SIZELIMIT 12
#TIMELIMIT 15
#DEREF never
TLS_REQCERT allow
host localhost
base dc=home

In der Datei sldap.conf habe ich nur Folgendes gefunden

#
  1. Note: The OpenLDAP configuration has been created by YaST. YaST does not
  2. use /etc/openldap/slapd.conf to store the OpenLDAP configuration anymore.
  3. YaST uses OpenLDAP's dynamic configuration database (back-config) to
  4. store the LDAP server's configuration.
  5. For details about the dynamic configuration backend please see the
  6. slapd-config(5) manpage or the OpenLDAP Software 2.4 Administrator's Guide
  7. located at /usr/share/doc/packages/openldap2/guide/admin/guide.html
  8. on this system.
#
  1. A copy of the original /etc/openldap/slapd.conf file has been created as:
  2. /etc/openldap/slapd.conf.YaSTsave
#
  1. To access the new configuration backend easily you can use SASL external
  2. authentication. I.e. the following ldapsearch command, executed as the root
  3. user, can be used to print the complete slapd configuration to stdout:
  4. ldapsearch -Y external -H ldapi:/// -b cn=config
#


Was mache ich denn falsch? Für Tipps wäre ich sehr Dankbar.

Viele Grüße

Content-Key: 112399

Url: https://administrator.de/contentid/112399

Printed on: April 20, 2024 at 15:04 o'clock

Member: mkuchen
mkuchen Mar 26, 2009 at 07:33:07 (UTC)
Goto Top
#
  1. LDAP Defaults
#

  1. See ldap.conf(5) for details
  2. This file should be world readable but not world writable.

#BASE dc=example,dc=com
#URI ldap:ldap.example.com ldap:ldap-master.example.com:666

Schau mal genau hin .... in der Domäne example.com .... sollte deine Domäne z.b. schiessmichtot.de heissen, sollte dort stehen:

#BASE dc=schiessmichtot, dc=de
#URL ldap://schiessmichtot.de:'PORT'
Member: tycoon
tycoon Mar 26, 2009 at 12:05:42 (UTC)
Goto Top
Hallo,

danke für die Antwort. Ich habe LDAP jetzt zum Laufen bekommen.

Wie verknüpfe ich jetzt ldap mit samba? Bei sles 10 kann man das bei Samba unter Identität ->Erweiterte Einstellungen -> Quellen für die Benutzerauthentifizierung auswählen. Bei openSUSE habe ich da nur smbpasswd-Datei zur Auswahl und kann nichts hinzufügen. Der Button Hinzufügen ist ausgegraut.


Viele Grüße