Folks

I have exported  ou=hosts
i.e
version: 1

# LDIF Export for: ou=Hosts,dc=unix,dc=total
# Generated by phpLDAPadmin ( http://phpldapadmin.sourceforge.net/ ) on 
May 8, 2009 2:55 pm
# Server: Total Unix LDAP Server (XXXXXXl)
# Search Scope: sub
# Search Filter: (objectClass=*)
# Total Entries: 134

dn: cn=abn054,ou=Hosts,dc=unix,dc=total
objectClass: top
objectClass: ipHost
objectClass: device
ipHostNumber: 141.227.114.2
cn: abn054

dn: cn=abn058,ou=Hosts,dc=unix,dc=total
objectClass: top
objectClass: ipHost
objectClass: device
ipHostNumber: 141.227.102.148
cn: abn058

........................ 
.......................

I then changed the ipHostNumber's as we are changing subnet's

On trying to do a Import phpldapadmin 

I get the following error's

Adding... Failed
Error code: 68
Description: Already exists
Adding... Failed
Error code: 68
Description: Already exists
Adding... Failed
Error code: 68
Description: Already exists

I suspect phpldapadmin is doing a "ldapadd" when I really need it to do a 
ldapmodify.

I have managed to make the changes outside phpldapadmin by doing the 
following
ldapmodify -D "cn=XXX,dc=yyyl" -W -f Hosts.ldif 

Any suggestions on how to do this inside phpldapadmin

Thanks

Matthew Garrett
Senior IS Technical Analyst

Registered in England and Wales No.811900          
Registered Office 33 Cavendish Square, London W1G 0PW
This e-mail and any attachments are intended only for the person or entity
to whom it is addressed and may contain confidential or privileged
information.  If you are not the addressee, any disclosure, reproduction,
copying, distribution, or use of this communication is strictly prohibited.
If you are not the intended recipient or person responsible for delivering
this message to the named addressee, please notify us immediately and delete
this e-mail.
It is the responsibility of the addressee to scan this email and any
attachments for computer viruses or other defects.  The sender does not
accept liability for any loss or damage of any nature, however caused,
which may result directly or indirectly from this email or any file attached.
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
phpldapadmin-users mailing list
phpldapadmin-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users

Reply via email to