[Date Prev][Date Next]
Re: Help is needed
Thanks for your reply.
I got rid of the spaces but I still have the same problem.
The ldapadd command stops after I add the 7th entry that contains
a jpg image.
Even if I try to add a single entry using ldapadd that has an image it
fails BUT I can add the same entry without a jpg image.
So it is jpg related, like there is some sort of limit?!?!
On Sat, 26 Jan 2002 17:20, Kurt D. Zeilenga wrote:
> At 06:20 AM 2002-01-25, Steve Simeonidis wrote:
> >Hi everyone,
> >Using RH7.2
> >I've written a small perl program that converts a MySQL address book to
> >LDIF format and then I use ldappadd to add the entries to the database.
> >Everything was working fine until I decided to add photos
> >(jpegPhoto:< file:///var/spool/photos/Name Surname.jpg)
> >I only have around 300 entries and 20 photos. The system starts
> >adding the entries to openldap and after the 7th record the contains
> >a photo exits with an error.
> >adding new entry "cn=Tristan Chappell, ou=People, dc=spherion,dc=com"
> >ldap_add: Can't contact LDAP server
> >ldif_record() = 81
> >If I don't add photos everything works fine.
> >All the photos are jpeg images of different sizes 80-170K and I can view
> > them on my Linux system.
> >Any Ideas?????
> First, you didn't URL escape the space in filename.
> Second, you may be running up against sockbuf_max_incoming limits,
> see slapd.conf(5).
> >Steve Simeonidis
> >Network Engineer, Spherion Education
> >Spherion Group Ltd
> >1st Floor, 493 St. Kilda Rd, Melbourne VIC 3004, Australia
> >Phone: +61 3 9243 2382 Fax: +61 3 9820 2010
> >Email: firstname.lastname@example.org
Network Engineer, Spherion Education
Spherion Group Ltd
1st Floor, 493 St. Kilda Rd, Melbourne VIC 3004, Australia
Phone: +61 3 9243 2382 Fax: +61 3 9820 2010