OpenLDAP (Ubuntu 14 04): Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 44: | Zeile 44: | ||
sudo gzip -d /etc/ldap/schema/samba.schema.gz | sudo gzip -d /etc/ldap/schema/samba.schema.gz | ||
</pre> | </pre> | ||
=== Konvertieren ins ''LDIF''-Format === | |||
Zuerst ein temporäres Verzeichnis erstellen: | |||
<pre> | |||
mkdir /tmp/ldif_output | |||
</pre> | |||
== Links == | == Links == |
Version vom 23. Juli 2016, 10:30 Uhr
Noch in Bearbeitung
Folgende Installationsanleitung erfordert in den meisten Fällen Rootrechte, daher wechseln wir fix zur root-Shell:
sudo -i
Installation
sudo apt-get install slapd ldap-utils
sudo apt-get install smbldap-tools
sudo nano /etc/ldap/schema/schema_convert.conf
include /etc/ldap/schema/core.schema include /etc/ldap/schema/collective.schema include /etc/ldap/schema/corba.schema include /etc/ldap/schema/cosine.schema include /etc/ldap/schema/duaconf.schema include /etc/ldap/schema/dyngroup.schema include /etc/ldap/schema/inetorgperson.schema include /etc/ldap/schema/java.schema include /etc/ldap/schema/misc.schema include /etc/ldap/schema/nis.schema include /etc/ldap/schema/openldap.schema include /etc/ldap/schema/ppolicy.schema include /etc/ldap/schema/ldapns.schema include /etc/ldap/schema/pmi.schema include /etc/ldap/schema/samba.schema
Samba Schema kopieren
sudo cp /usr/share/doc/samba/examples/LDAP/samba.schema.gz /etc/ldap/schema sudo gzip -d /etc/ldap/schema/samba.schema.gz
Konvertieren ins LDIF-Format
Zuerst ein temporäres Verzeichnis erstellen:
mkdir /tmp/ldif_output
Links
https://wiki.ubuntuusers.de/OpenLDAP_ab_Precise/
http://phpldapadmin.sourceforge.net/wiki/index.php/Main_Page
Zurück zu Ubuntu