View Single Post
  #7 (permalink)  
Old 21-Apr-2009, 10:57
ab@novell.com ab@novell.com is offline
Explorer Penguin
 
Join Date: Apr 2009
Posts: 690
ab@novell.com hasn't been rated much yet
Default Re: Database Error while adding .ldif data file in LDAP Server

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

So, as stated, it is trying to create O=BCH. Since it apparently already
exists you shouldn't need to add it again. Get the export LDIF from your
system and see if it includes this same entry as I'm guessing it does.

ldapsearch is simple enough to use. The man page will help you, but try
this to start:

ldapsearch -h yourServerHere -p 389 -x

Good luck.





w8swasi wrote:
> Entries in .ldif file are
> DN: O=BCH
> OBJECTCLASS: ORGANIZATION
> OBJECTCLASS: TOP
> O: BCH
>
> this is just an sample file before i implement the actual system. but i
> always get the same error even with fresh system reload.
> well i created the file in *Kwrite* and saved with .ldif extension.
> my ldap server is always running even with *ldapadd*. and to create a
> file with ldapsearch i have no idea.
> My plan is to make an directory system with openLDAP and then use Samba
> with windows-XP system for File and Print Share for about 65 users.
> well i have used openLDAP Admin guide and other documents but it always
> stuck at this point.
>
> I appreciate for the help
>
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIcBAEBAgAGBQJJ7ex2AAoJEF+XTK08PnB5qHcP/jM4CU8DdWSFR+uFypq8rx+g
xKuIiQRW3UV+xM/2w5MpmuXv9TKLj+72H6OCs3FwqJp5ziNic+IFV8G0BZuAL6El
QHCEOrrhUrRc/1Y1BLMk2UxXNafTtmQ1xATWHfag0V7xUsy6NkCNiI6xh95lUA2 f
HbTThjzWWTZHH1jx6IN4dE2Ijq3x/lRId8jyzF5l8icYm9U3sXn+6NgIlJnrxmxN
uGxyhFNmUqnIGrXOaJ1aofASGEA5RZyRPvcCslK+f8WzU9XaAk PcDxhndHFfGFnp
a+hUDBCuPCXokFxsDyAAM5GFGNenW9YGD+0vRFnV1kjGif0KGY kt9IBEXTBZQ+mn
XzTB+tM+3WWauVtTnf/uSPh4rk8KOzNN/VsaKFJ/a+GPkTfrqMPN0qYeL4oEpJlf
3vcI36eR6kW2dGH89KTQ4nJ02vekODZitVnL32lUIvUhYYOtQ1 RVJQG8rhHYsOiI
CoLJa3Ks8PqJi+UiLfdmm/8yqJtm50KmNx2mX0EG4mtXu5gkccfHQtxn0QmqYncb
HWDCLvLk2kNsG+sMGopA4+4qatdsO28BVFxV5utpIiSAwbGRu4 P7Y08UbViS9j9S
srA+ec14rI8d/v8i2jI2MrOvNK0lL5c0v8q0WFqOoU6Ap52oITuhuct6qrbRyGe H
F/lCqdbQUAS0TxpYN/dG
=x57t
-----END PGP SIGNATURE-----
Reply With Quote