Questions tagged [ldif]

LDAP Data Interchange Format (LDIF) is a plain text data interchange format for LDAP data.

The LDAP Data Interchange Format (LDIF) is a standard plain text data interchange format for representing LDAP (Lightweight Directory Access Protocol) directory content and update requests. LDIF conveys directory content as a set of records, one record for each object (or entry). It represents update requests, such as Add, Modify, Delete, and Rename, as a set of records, one record for each update request.

Source

165 questions
0
votes
1 answer

parse csv format file into java arrays for generating ldif format file

I am a rookie in java coding area, I am trying to parse a csv format file, split with only commas(,) this file includes users' account names and true names, for example, it looks like: tom123,Tom Halland,kelly02,Kelly Chen,..and so on, I want to…
0
votes
1 answer

Ansible debops.slapd and ansible gitlab_user

This is going to be long, so sorry about that, but no one seems to be able to help... Keep in mind, this is not my homework !! This is a project I get payed for, but I can't find any info about this, and I'm getting scared I can't even do this ...…
0
votes
1 answer

Unable to add an attribute to an entry in OpenDJ LDAP

I am trying to add an attribute to a custom objectclass in OpenDJ, but am getting a reference error. I have checked the schema and can't see any reason why I shouldn't be able to add. Here is what I am trying to add: dn:…
Brett
  • 5,690
  • 6
  • 36
  • 63
0
votes
1 answer

LDAP - LDIF Add attributes error: text="attributeTypes: value #0 invalid per syntax"

I'm trying to add a new attribute called "FullName" in LDAP. In Apache Directory studio, I created a new LDIF file: dn: cn=schema changetype: modify add: attributeTypes attributeTypes: ( 2.16.840.1.113719.1.1.4.1.120 NAME 'FullName' …
0
votes
1 answer

How do I efficiently query a large LDIF file?

I have an LDIF file. I want to extract information from it, such as return all objects where a certain attribute has a specific value, or return the value of a specific attribute of all objects. I want this to be efficient, even if the LDIF file's…
Volker
  • 200
  • 1
  • 9
0
votes
3 answers

How to Programmatically modify an existing Open LDAP objectclass using openLDAP library APIs for C language?

I am writing an Identity and Access Management application in C programming language. So I use openLDAP for persisting user details and it provides a set of APIs to perform operations such as bind, add, search, modify etc. I created a new object…
0
votes
1 answer

OpenLDAP Custom Attribute: "Undefined attribute type"

Attempting to add a new attribute to OpenLDAP and keep hitting brick walls. I am trying to add an ipPhone attribute to the schema since I can't include * numbers in the default telephoneNumber attribute. My LDIF file used to create the new attribute…
Jemson
  • 65
  • 1
  • 2
  • 7
0
votes
1 answer

Error while importing LDIF file in Apache Directory Studio

I'm connected to my LDAP connection. I'm trying to import an LDIF file to it by right clicking and using the wizard. As I choose the file, check the overwrite option and press OK, I get the following error: Error while importing…
Steve Waters
  • 3,348
  • 9
  • 54
  • 94
0
votes
2 answers

How to modify IPv4 address using LDIF Files

I need to change an IPv4 address to multiple IPv4 addresses using LDIF file. The original LDIF file which was used to create the HSS ESM is the following: dn: HSS-EsmImsi=312720000000207,HSS-EsmSubscriptionId=BR-02061969, …
Binyamin Regev
  • 914
  • 5
  • 19
  • 31
0
votes
1 answer

Can ADAMSync be used for data synchronization between "Non AD" directory server and AD LDS?

If yes what could be the config file for this. If no, what other tools can be used for syncing the data between OID and AD LDS?
Neo
  • 93
  • 1
  • 12
0
votes
0 answers

Spring Batch load into LDAP

I have a Spring Batch requirement to read data from CSV file and load into LDAP repository. Would like to know if there is any example online to help me understand the steps and configurations involved to achieve this using Spring Batch.
VenkatRam
  • 51
  • 3
  • 11
0
votes
1 answer

Import whitespace value to LDAP using LDIF

LDAP doesn't allow empty field values. Once I needed to use empty field, I inserted single space instead (using ruby code). Now I've exported the data to LDIF, and in LDIF whitespace doesn't matter, and so in LDIF my value of a single space is not…
Adobe
  • 12,967
  • 10
  • 85
  • 126
0
votes
2 answers

In an LDAP search filter, is it possible to ask for the 1st, 2nd, nth, or last value of a multi-valued field?

Using a search filter, is it possible to retrieve the last value of a multi-valued field for an object e.g. the department field of the inetOrgPerson? For instance, if my user cn=Alice has 2 values for department, can I somehow write a search filter…
David Brossard
  • 13,584
  • 6
  • 55
  • 88
0
votes
1 answer

OpenAM / OpenDJ custom username field works with less than 4000 users

I am currently working on a project that uses OpenAM 12.0.2 with OpenDJ 2.6 We had a requirement to make the username editable. So, we ended up creating a custom ldap attribute called loginId and updating OpenAM config to use this attribute instead…
MajorCaiger
  • 1,893
  • 1
  • 12
  • 18
0
votes
2 answers

Conversion of CSV file to LDIF file using java

At my internship at an IT company, I was assigned a task to write either a script or a java program to convert a CSV file into an LDIF file format which is I believe many organization use to populate/modify/delete their directory of many users. I am…
Dorjee
  • 3
  • 1
  • 4