Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
3 votes
1 answer
100 views

I wrote some simple perl script that creates an Net::LDAP::LDIFobject on an input file and then reads the contents using $ldif->read_entry(). After some processing I'm writing the entries again to ...
U. Windl's user avatar
  • 4,840
0 votes
1 answer
159 views

I'm trying to populate an ldap instance but my ldif fails to add the root entry. These are the first lines of my ldif mytest.ldif: version: 1 dn: dc=mytest,dc=net objectClass: top objectClass: domain ...
Fer Linares's user avatar
0 votes
1 answer
163 views

I'm trying to export data from an LDAP entry in an LDIF file. connexion.search(search_base=base_dn, search_filter=filtre_ldap, attributes=['*'], search_scope=SUBTREE) entry = connexion.entries[0] # I ...
varlau's user avatar
  • 21
0 votes
1 answer
1k views

How can I add some simple attributes to users in openldap using ldif and ldapadd/ldapmodify? I would like each user/person to have optional mail, middle_name and city attributes. using the follwing ...
0 votes
1 answer
62 views

I want to setup PrimaryGroupId for user. For that purpose I've created the with content: dn: CN=user_2,CN=Users,DC=my,DC=company changetype: modify replace: primaryGroupID primaryGroupID: 501 But ...
0 votes
1 answer
1k views

I'm trying to add entries to an ldap database I compiled, so I have the default configuration from the openldap site. The thing is, I exported an ldif file from an existing ldap server in order to ...
jyucranav's user avatar
  • 131
0 votes
0 answers
472 views

Based on this I use following code to start in memory ldap server // Create the configuration to use for the server. InMemoryDirectoryServerConfig config = new InMemoryDirectoryServerConfig("...
1 vote
0 answers
85 views

I have a LDAP's LDIF data and I want to display that LDIF data in react js web app in folder structure format to expand, view its children's and select it. Any Idea how I can achieve this?
2 votes
0 answers
504 views

Every ldif entry requires the top object class to be specified. Here is an example: dn: uid=steves,ou=users,ou=SWG, dc=com uid: steves userPassword:: hello123 objectClass: inetOrgPerson objectClass: ...
shodz's user avatar
  • 384
0 votes
2 answers
790 views

I created an OpenLDAP server on Ubuntu 22.04, and created users but forgot to add them to a organizational unit (ou). How can I associate them all to an ou now ? The actual server looks like this: dn=...
1 vote
1 answer
174 views

I have an issue with an ldap entry. I try to create a dn such as : dn: ou=élèves,ou=1A,ou=Classes,ou=Personnes,dc=ldap,dc=ecoleplurielle,dc=local as I have utf-8 characters in ou=élèves I translate ...
0 votes
1 answer
88 views

I have an ldif file that contains millions of records and some of them start with the value dn: serv=CSPS. After that value could be a random number of rows that start with APNIDx: (being x a number ...
0 votes
1 answer
232 views

Some background to what I'm trying to achieve (you don't need to read it if you're not interested, just for reference). I have exported a certificate template from AD into an LDIF-file using the ...
0 votes
1 answer
1k views

I'm trying to add a pwdLastSet attribute to my LDAP test user. I've created this ldif file: dn: cn=test,dc=example,dc=com changetype: add objectClass: passwordLastSet add: pwdLastSet pwdLastSet: ...
digijay's user avatar
  • 1,376
1 vote
1 answer
3k views

Im trying to create an easily reproducible ldap setup for some testing. I've been using bitnami's openldap docker container to load an exported ldif file at startup. However, importing the ldif file ...

15 30 50 per page
1
2 3 4 5
...
12

AltStyle によって変換されたページ (->オリジナル) /