Hi,

I am having issue with getting the openldap server to work on Ubuntu Server 10.04. I must admit that I am still new to Linux but am keen to learn it.

I have followed the instruction that is given at the following link

tuxnetworks.blogspot.com/2010/06/howto-ldap-server-on-1004-lucid-lynx.html]Ubuntu Bloke: HOWTO: LDAP Server on 10.04 Lucid Lynx

However, when I typed in the following command

ldapsearch -xLLL -b "dc=mycompany,dc=com,dc=au" uid=brettg sn givenName cn

, it does not return

dn: uid=brettg,ou=people,dc=mycompany,dc=com,dc=au
cn: Brett Glasson
sn: Glasson
givenName: Brett

What it returns is nothing.

However, when i run the following command

sudo ldapadd -x -D cn=admin,dc=mycompany,dc=com,dc=au -W -f frontend.ldif

it returns with the following message
Enter LDAP Password: xxxxxx
adding new entry "dc=mycompany,dc=com,dc=au"
ldap_add: Already exists (6

I do not know what I should do to make it work. I wonder if anyone would be kind to help me out here.

Thank you in advance