Questions tagged [ldif]
49 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…
![](../../users/profiles/203537.webp)
Zvika
- 223
- 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…
![](../../users/profiles/2101.webp)
MikeyB
- 38,725
- 10
- 102
- 186
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…
![](../../users/profiles/93057.webp)
rchhe
- 656
- 2
- 7
- 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:…
![](../../users/profiles/544780.webp)
M1181121s
- 11
- 2
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) $
…
![](../../users/profiles/375095.webp)
Tolsadus
- 1,123
- 11
- 22
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…
![](../../users/profiles/7046.webp)
Cédric Girard
- 397
- 2
- 11
- 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…
![](../../users/profiles/256573.webp)
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…
![](../../users/profiles/51457.webp)
makerofthings7
- 8,821
- 28
- 115
- 196
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…
![](../../users/profiles/75251.webp)
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…
![](../../users/profiles/135819.webp)
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'
…
![](../../users/profiles/3527.webp)
setzamora
- 296
- 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…
![](../../users/profiles/69940.webp)
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:…
![](../../users/profiles/21463.webp)
Casebash
- 133
- 9
1
vote
1 answer
Is it possible to make ldif config in one file like slapd.conf?
slapd deprecated slapd.conf, prefer ldif conf, slapd -F dir to use the new ldif conf, but the dir must follow the ldif structure
cn=config.ldif
cn=config/
cn=schema.ldif
cn=schema/
is it possible to make the initial ldif config in one file like…
![](../../users/profiles/190601.webp)
wener
- 113
- 3