Import LDIF?

Home Page Forums Network Management ZeroShell Import LDIF?

This topic contains 3 replies, has 0 voices, and was last updated by  JFO 10 years, 8 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #40979

    JFO
    Member

    Hi !
    I’m French (sorry if I don’t speak English well).

    I have a problem.
    When I import a ldif file (users), I have that :
    SUCCESS: 0
    ERROR: 0

    I don’t understand ๐Ÿ˜ณ

    An user in the ldif file :


    dn:uid=cyriel.katja,ou=local,ou=eleves,ou=utilisateurs,ou=9830002K,ou=ac-noumea,ou=education,o=gouv,c=fr
    objectClass: posixAccount,sambaSAMAccount,inetOrgPerson,Eleves
    uid: cyriel.katja
    cn: Cyriel KATJA
    sn: KATJA
    givenName: Cyriel
    displayName: Cyriel KATJA
    employeeType: eleve
    codecivilite: 0
    postalAddress: adresse non communiquee
    mail: cyriel.katja@i-lyc-9830002K.ac-noumea.nc
    mailHost: localhost
    employeeNumber: 10040
    rne: 9830002K
    dateNaissance: 19891003
    Divcod: =bt1ad
    Meflcf: 1bts2
    mailDir: /home/c/cyriel.katja/MailDir/
    uidNumber: 12711
    gidNumber: 10002
    homeDirectory: /home/c/cyriel.katja
    loginShell: 0
    gecos: 0
    description: 0
    sambaLogonTime: 0
    sambaLogoffTime: 2147483647
    sambaKickoffTime: 2147483647
    sambaSID: S-1-5-21-2721144343-3369899355-1673411235-26422
    sambaPrimaryGroupSID: S-1-5-21-2721144343-3369899355-1673411235-21005
    sambaLogonScript: cyriel.katja.bat
    sambaHomePath: \scribecyriel.katjaperso
    sambaHomeDrive: U:
    sambaAcctFlags:
    sambaPwdCanChange: 1204230373
    sambaPwdMustChange: 2147483647
    sambaLMPassword: 61F860F3DE15D3BDAAD3B435B51404EE
    sambaNTPassword: 923E3D650F4EFEE61B80492DE80CAE5A
    sambaPasswordHistory: 0000000000000000000000000000000000000000000000000000000000000000
    sambaPwdLastSet: 1204230373
    userPassword: {SSHA}GZ/gKF6ywMDNhyzpMq12EPXBYDhQ3nKk

    There is a problem with the syntax?

    Thanx for help in advance.
    JFO

    ps : OpenLDAP Synchronization will be use in future?

    #46343

    JFO
    Member

    Okay I find the problem.
    The dn was not good ๐Ÿ˜€

    But. When I import users, they are in the ldap database ok, but there have not X509 and Kerberos authentification enabled.
    I must create the certificate for each user? And activate the Kerberos authentification for each user too?

    Thx for help ๐Ÿ˜‰

    #46344

    imported_fulvio
    Participant

    Yes, you are right. The automatic importation of the LDAP database by using LDIF or NIS map just creates the accounts and groups but doesn’t populate the Kerberos 5 KDC and the x.509 CA. You have to populate them manually.

    Regards
    Fulvio

    #46345

    JFO
    Member

    Okay ๐Ÿ˜€

    And OpenLDAP Synchronization will be use in future? Like Active Directory.

    Or a system that populate them automatically?

    So very good job ๐Ÿ˜‰

    #46346

    ben-sharpibm
    Member

    can you please show me the structure of your LDIF file that works.

    Thanks

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.