je veux créer la structure ci-dessus mais il 'y a un erreur lors j'exécute la commande
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
c:\Openldap\slapadd.exe -v -f c:\Openldap\ldifdata\talan.ldif
------- le contenue du fichier talan.ldif ------------
 dn: dc=talan,dc=com
 objectClass: domain
 objectClass: top
 dc: talan
 
 dn: cn=consultant,dc=talan,dc=com
 objectclass: organizationalUnit
 objectClass: top
 cn: consultant
 
 dn: cn=John Smith,cn=consultant,dc=talan,dc=com
 objectclass: inetOrgPerson
 cn: John Smith
 cn: John J Smith
 sn: Smith
 uid: jsmith
 userpassword: jSmitH
 carlicense: HISCAR 124
 homephone: 555-111-2223
 mail: <a href="mailto:j.smith@example.com">j.smith@example.com</a>
 mail: <a href="mailto:jsmith@example.com">jsmith@example.com</a>
 mail: <a href="mailto:john.smith@example.com">john.smith@example.com</a>
 ou: Sales
 
 dn: cn=Sheri Smith,cn=consultant,dc=talan,dc=com
 objectclass: inetOrgPerson
 cn: Sheri Smith
 sn: smith
 uid: ssmith
 userpassword: sSmitH
 carlicense: HERCAR 125
 homephone: 555-111-2225
 mail: <a href="mailto:s.smith@example.com">s.smith@example.com</a>
 mail: <a href="mailto:ssmith@example.com">ssmith@example.com</a>
 mail: <a href="mailto:sheri.smith@example.com">sheri.smith@example.com</a>
 ou: IT
------- l'erreur -----------
53edcf70 c:\Openldap\ldifdata\talan.ldif: line 36: unknown directive <dn:> outsi
de backend info and database definitions.
slapadd: bad configuration file!