[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: ldapadd with picture



You have to use ldapadd -b, then use full pathname for the filename:

ldapadd -b
...
jpegphoto: /home/wherever/me.jpeg


Sebastian Mrosek wrote:
> 
> I ran into the problem of adding persons with picturs.
> I tried the following statment and some others but always failed.
> 
> dn: cn=Sebastian Mrosek,ou=Members,o=Telco-Tech GmbH,c=DE
> cn: Sebastian
> sn: Mrosek
> ou: Members
> jpegphoto: me.jpeg
> description: LDAP-Tester
> mail: sebastian@telco-tech.de
> objectClass: person
> 
> with the me.jpeg in the directory from where I called ldapadd.
> 
> ldapsearch shows:
> 
> jpegphoto= me.jpeg
> 
> But when I explore the tree from netscape everything I get is a broken
> link.
> 
> Is it only a "manual-not-read-error"? Help
> 
> Sebastian Mrosek
> mailto:sebastian@telco-tech.de
> Telco-Tech GmbH
> Teltow, Germany

-- 
Randy Fay - rfay@peakss.com - www.peakss.com
7851 South Elati Street, Suite 200, Littleton, CO 80120
W:303.734.5075  H:303.937.1336  F:303.734.4244
Mail my pager 150 chars or less: 3038872118@mobile.att.net