Questions tagged [ldif]

52 questions
0
votes
1 answer

LDAP layout question

I am very new to LDAP & just trying to learn. I am using openldap on debian. Can someone clarify this - or alternately point me to some link which will clarify these basic concepts? Let's say I have the following situation I want represent in ldap I…
Genboy
  • 69
  • 1
  • 9
0
votes
0 answers

LDAP: how to fetch group members by group's memberUid?

I'm trying to write a single LDAP search filter to retrieve users who are member of a particular group. We're running a custom LDAP implementation (running on OpenLDAP: slapd 2.4.40), where the relations between user and groups are mapped Group…
André Fernandes
  • 969
  • 1
  • 10
  • 25
0
votes
1 answer

Issue with not being able to pars LDIF file (invalid format (line 5) entry: "cn=schema")

Trying to add a new attribute to a schema by using this command: ldapmodify -f ./add-id-attribute.ldif -h localhost -p 50389 -D "cn=Directory Manager" -w mySecretPassword And this LDIF file dn: cn=schema changetype: modify add:…
0
votes
2 answers

ldap ldif how to add

Having this initialization ldif dn: dc=localhost,dc=localdomain changetype: add objectclass: dcObject objectclass: organization o: My Example dc: localhost dn: cn=Manager,dc=localhost,dc=localdomain changetype: add objectclass:…
Flavius A
  • 139
  • 7
0
votes
1 answer

ldap_add - Invalid Syntax - Additional Info: ObjectClass - Value #1 Invalid Peer Syntax

I have the following content in adam.ldif dn: uid=adam,ou=users,dc=wesgibbs,dc=com objectClass: top objectClass: account objectClass: posixAccount objectClass: shadowAccount cn: adam uid: adam uidNumber: 16859 gidNumber: 100 homeDirectory:…
0
votes
0 answers

How to solve "Unexpected token" error while adding schac schema to openldap

I'm trying to add the schac schema to my OpenLDAP installation using the provided LDIF file but this fails with an "Unexpected token" error: root [2533] /etc/ldap/schema# ldapadd -Y EXTERNAL -H ldapi:/// -f schac-schema-1.5.ldif SASL/EXTERNAL…
phep
  • 414
  • 5
  • 15
0
votes
1 answer

How to import ldif users into FreeIPA?

Maybe it needs two steps: Add users defined in the ldif file to OpenLDAP(Inside FreeIPA) Migrate those added users from OpenLDAP to IPA Current situation Setup FreeIPA server, initilized an admin user, created a test user by ipa user-add…
rawmain
  • 291
  • 1
  • 7
  • 17
1 2 3
4