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

Re: Using ldapadd with stdin?



At 09:13 AM 5/24/00 -0700, Hugh Caley wrote:
>Could someone be kind enough to give me an example of how you might pass the
>add information to ldapadd other than using a text file?

% ldapadd ... < EOF
dn: cn=Barbara Jensen, dc=OpenLDAP, dc=org
objectClass: person
cn: Barbara Jensen
cn: Babs Jensen
sn: Jensen
title: the world's most famous mythical manager
mail: bjensen@OpenLDAP.org

EOF

Where ... is replaced with suitable command line options.