.ldif LDIF-Adressbuch
Text & Quellcode
| MIME-Typ | text/x-ldif |
|---|---|
| Beschreibung | LDIF-Adressbuch |
| Abkürzung | LDIF – LDAP Data Interchange Format |
| Kategorie | Text & Quellcode |
| Signatur (Magic Bytes) | 64 6E 3A 20 63 6E 3D (dn: cn=)64 6E 3A 20 6D 61 69 6C 3D (dn: mail=) |
| Basiert auf | text/plain |
Häufige Fragen
Was ist eine .ldif-Datei?
Eine .ldif-Datei ist ein Format vom Typ „LDIF-Adressbuch“ (MIME-Typ text/x-ldif). LDIF steht für LDAP Data Interchange Format.
Womit öffne ich eine .ldif-Datei?
Mit jedem Texteditor – etwa Notepad++, Visual Studio Code oder unter Linux gedit und vim. Die Datei enthält lesbaren Text, ggf. Quellcode oder Konfiguration.
Woran erkennt man eine echte .ldif-Datei?
Am Dateianfang, der sogenannten Signatur (Magic Bytes): 64 6E 3A 20 63 6E 3D (dn: cn=) und 64 6E 3A 20 6D 61 69 6C 3D (dn: mail=). Unter Linux und macOS prüft file --mime-type example.ldif den tatsächlichen Typ unabhängig von der Endung.
Auf welchem Format basiert .ldif?
Technisch ist eine .ldif-Datei ein Untertyp von „Einfaches Textdokument“ (text/plain). Programme für dieses Grundformat können die Datei daher oft ebenfalls lesen.
Welcher MIME-Typ gehört zu .ldif?
Der MIME-Typ ist text/x-ldif. Im Apache-Webserver: AddType text/x-ldif .ldif; in nginx: types { text/x-ldif ldif; }.