Firefox 16, a treat for developers http://t.co/cnd27CzT
OpenLDAP error ldapadd: Undefined attribute type (17)
How to Solve this error :
[root@localhost openldap]# /usr/bin/ldapadd -a -x -D ‘cn=Manager,dc=ldap-kike,dc=com,dc=uy’ -W -f ldap-init.ldif
Enter LDAP Password:
ldapadd: attributeDescription “dn”: (possible missing newline after line 5 of entry “dc=ldap-kike,dc=com,dc=uy”?)
adding new entry “dc=ldap-kike,dc=com,dc=uy”
ldapadd: Undefined attribute type (17)
additional info: dn: attribute type undefined
Solution :
You need an empty line before each line starting with “dn:”
LDIF separates entries by blank lines.
dn: denotes the distinguished name of an entry and
needs to be the first line of each entry.
example :
###EMPTY line
dn: dc=ldap-kike,dc=com,dc=uy
objectclass: dcObject
objectclass: organization
o: Servidor LDAP ldap-kike
dc: ldap-kike
###EMPTY line
dn: cn=Manager,dc=ldap-kike,dc=com,dc=uy
objectclass: organizationalRole
cn: Manager
save and exit , restart ldap and try again
[root@localhost openldap]# /etc/init.d/ldap start
Checking configuration files for slapd: config file testing succeeded[ OK ]
Starting slapd: [ OK ]
[root@localhost openldap]# /usr/bin/ldapadd -a -x -D ‘cn=Manager,dc=ldap-kike,dc=com,dc=uy’ -W -f ldap-init.ldif
Enter LDAP Password:
adding new entry “dc=ldap-kike,dc=com,dc=uy”
adding new entry “cn=Manager,dc=ldap-kike,dc=com,dc=uy”
[root@localhost openldap]#
-
-
http://openid.aol.com/McDutchie
Like us on Facebook
This week Top Posts 
Top Things to do After Installing Ubuntu 13.04 ‘Raring Ringtail’ : Ubuntu 13.04 Raring Ringtail final is almost out. The final release it scheduled for release on Apri...0 comment(s) |
Howto: Upgrade to Ubuntu 13.04 Raring Ringtail from 12.04, 12,10 | Desktop & Server : Updated 05-04-2013: Ubuntu 13.04 Raring Ringtail will be released Soon, If you have ubuntu 12,10, 12...0 comment(s) |
Unix/Linux File Recognition. Did You Know? : Did you know that Unix and Linux has no concept of a file extension? What is a file name extension?
...0 comment(s) |
Install lamp with 1 command in Ubuntu 12.10, 13.04 Raring Ringtail & LinuxMint13 : Updated: 10/09/2012 :LAMP (Linux, Apache, MySQL and PHP) is an open source Web development platform ...0 comment(s) |
Howto- Resolve nosound problem on Ubuntu 13.04 Raring Ringtail,12.10 and Older : Updated 05/04/2013 : One of the common issues facing Ubuntu users after installing or upgrading Ubun...0 comment(s) |
Configure conky-Lua in Ubuntu (12.10 & 13.04 Raring Ringtail), Fedora, debian and LinuxMint | Howto Conky : Updated 05-04-2013: Conky is a free, light-weight system monitor for X, that displays any informatio...0 comment(s) |
Recent Posts
- Unix/Linux File Recognition. Did You Know?
- Migrate from MySQL to MariaDB in FreeBSD
- Connect Your Android Galaxy Tablet to Ubuntu via USB
- ElementaryOS Beta 1 and 2 Comparison and Review
- Introduction to the Linux Command Line
- A Secure Password
- Linux Kernel 3.10. It’s BIG!
- Monitoring Users Activity Using psacct or acct Tools in Linux
- Run Your Own Social Network Using elgg on RHEL / CentOS and Scientific Linux
- Getting Debian 7.0 ‘Wheezy’ Up and Running
Recent Comments



















Maximiliano Schultheis
| #
this was amazing, thank you so much! Tip 3 did the trick!
SK
| #
I am working on it. Stay tuned. Thanks for the comment.
adriana rizzati
| #
You are right, I saw them just now and they are awesome!
SK
| #
Thanks for the comment Abdullah. Stay tuned with us always.
Abdullah Musazai
| #
Thank you for such a great service you always do, hope you gain more power and more energy to work more & more