Questions tagged [ldif]

4 questions
2
votes
2 answers

Why is awk printing this line more than once?

I have the following ldif: dn: cn=Robert Smith,ou=people,dc=example,dc=com objectclass: inetOrgPerson cn: Robert Smith cn: Robert J Smith cn: bob smith sn: smith uid: rjsmith userpassword: rJsmitH carlicense: HISCAR 123 homephone:…
2
votes
2 answers

How to deal with LDAP attribute values having $ in them

Just beginning with LDAP and have imported outlook records into a directory. that look like this: Have also edited individual addresses in in the Apache Directory Studio any number of ways to show the street, and city, state on separate lines like…
datatoo
  • 3,500
0
votes
1 answer

Create an abook address book from ldapsearch results

I'd liket to have an offline address book. To download the content of the online address book, I just do : ldapsearch -x '(objectclass=*)' > book Then, I try to convert it to abook format : abook --convert --infile book --outfile abook --informat…
0
votes
1 answer

Adding an objectClass providing an entry allready has an attribute and value present

I have created a new auxiliary objectclass with attributes to be used on an existing 389 LDAP catalog. Adding this using ldapmodify for one entry works fine when I specify a specific DN. However I wish to add this objectClass to all existing entries…
Mogget
  • 1,353