Questions tagged [ldif]
52 questions
2
votes
1 answer
LDAP authentication - avoid duplicate uidNumber
I have just successfully configured OpenLDAP Users authentication in a single CentOS6 box, based on SSSD. Took some time and many trials, but it's working.
Now, I want to start adding users. I'm doing it manually with .ldif files, based on reference…

Zvika
- 233
- 5
- 10
2
votes
1 answer
wrong attributeType while updating sambaPwdLastSet
I'm trying to reset the password expiry for a user (really set up a semi-automatic process for doing so) and it's making me cry:
server is openldap slapd: 2.4.28-1.1ubuntu4.2
$ ldapsearch -x -b dc=internal,dc=brazzers,dc=com uid=jenna…

MikeyB
- 39,291
- 10
- 105
- 189
2
votes
1 answer
Error importing sudoers ldif schema to Active Directory
As per this question, we are on the process of migrating our sudoers file to Active Directory. As per the documentation, this requires importing the schema.ActiveDirectory LDIF which comes with the standard installation of sudo. Our Windows Domain…

rchhe
- 676
- 2
- 9
- 19
1
vote
1 answer
OpenLDAP TLSv1.2 configuration
I am trying to set up my OpenLDAP to only use TLSv1.2 and better and I am trying it with this ldif:
dn: cn=config
changetype: modify
add: olcTLSCipherSuite
olcTLSCipherSuite: HIGH
dn: cn=config
changetype: modify
add:…

M1181121s
- 11
- 3
1
vote
2 answers
Implement apple.ldif in an openldap
I'm currently running an openldap server on a debian machine
Distributor ID: Debian
Description: Debian GNU/Linux 8.7 (jessie)
Release: 8.7
Codename: jessie
Slapd version
@(#) $OpenLDAP: slapd (Jan 16 2016 23:00:08) $
…

Tolsadus
- 1,183
- 11
- 23
1
vote
1 answer
Load LDIF beginning with "cn=Subschema"
I have to create a development server to mirror a customer LDAP installation. The customer gave me a db.ldif file beginning with
cn: cn=Subschema
ldapSyntaxes: ( 1.3.6.1.1.16.1 DESC 'UUID' )
ldapSyntaxes: ( 1.3.6.1.1.1.0.1 DESC 'RFC2307 Boot…

Cédric Girard
- 417
- 2
- 12
- 25
1
vote
1 answer
OpenLDAP & Asterisk - no global superior knowledge
I'm struggling to setup OpenLDAP to allow Asterisk to store information about users. I've tried to follow several howto's, but unfortunately I'm not able to set it up correctly.
It seems like most steps are going fine, until I want to import a…

driesken
- 13
- 2
- 5
1
vote
1 answer
How do I import into ADAM / AD LDS - The specified instance type is invalid
I'm having a hard time importing an LDIF file into ADAM/ AD LDS, and the error is below (instance type is invalid).
I've tested and recovered from errors that relate to
The import file is ASCII, UTF8, ANSI
Invalid properties in the import file (MS…

makerofthings7
- 8,911
- 34
- 121
- 197
1
vote
1 answer
LDAP export attributes based on a different schema or import only valid attributes
I'm trying to export LDAP data from a Zimbra schema into a basic OpenLDAP schema. Obviously the Zimbra schema has much more attributes than the basic OpenLDAP. My question is if there is a way of:
Either export the LDAP data filtering only…

ghm1014
- 944
- 1
- 5
- 14
1
vote
2 answers
How to update ldap with ldif backups?
I have an openldap ldif backup file daily that I want to replicate in other server.
I add the data with slapadd -v -l file.ldif but
can I update the changes that have occurred in my other ldap server with next ldif backup file?
I try with…
rimaya
1
vote
1 answer
Multimaster LDAP replication on Ubuntu 11.04
I'm attempting to setup a multimaster pair on Ubuntu 11.04. I currently have a working single server which I've cloned to a 2nd server. The installed version of OpenLDAP is the default from the Ubuntu apt repos - 2.4.23-6ubuntu6.1.
It seems that…

Tom
- 11
- 2
1
vote
2 answers
Change passwordPolicy objectClass in LDAP
I have the ff LDIF file for adding an attributeType passwordNonRootMayResetUserpwd. The attributeType is already existing.
dn: cn=schema
changetype: modify
delete: objectClasses
objectClasses: ( 1.3.6.1.4.1.42.2.27.9.2.6 NAME 'passwordPolicy'
…

setzamora
- 306
- 3
- 11
1
vote
2 answers
referral object in openldap that points to a DN containing spaces
I am trying to add a referral object in openldap that points to a DN in the remote server that has a space in one of the container names, something like this
ref: ldap://ldap3.example.com/ou=test ou,dc=example,dc=net
This seems to be causing a…

Haddad
- 141
- 1
- 4
1
vote
1 answer
Record must end with an empty line - missing changetype (LDIF)
I tried putting the following LDIF file in Apache Directory Studio, but it complained that the record must end with an empty line. Do you know why?
dn: CN=serialNumber,CN=Schema,CN=Configuration,DC=myorg,DC=com
changetype:…

Casebash
- 133
- 1
- 9
1
vote
1 answer
FreeIPA import hashed passwords or sync with another ldap
We want to setup FreeIPA to work with our legacy user management system, we can output an ldif file and alter it into a FreeIPA compatible format and import it. Everything works nicely except for the hashed passwords, our ldif file includes the…

Michael Angel P.
- 31
- 5