Page 1 of 1

migrating with perl script from openldap with zmprov

Posted: Thu Oct 11, 2007 3:07 am
by denmat
Hi,
I am trying to migrate my users across from our LDAP directory to zimbra's openldap (to take advantage of the samba and posixgroup extensions).
I have a perl script that creates "createAccount" line for each user.
I want to bulk import the "street" attribute but of course it is spread over many lines.

Level blah

555 Street name

City postcode etc etc
I've tried "level blah
555 street
..." in double quotes or single quotes but it doesn't have the line breaks.
Anyone know of a way to make this work?
Also say I have a fedora DS server with my nsroles already defined, how do I make distribution groups in zimbra from these?
Thanks in advance,
Denmat

migrating with perl script from openldap with zmprov

Posted: Wed Oct 17, 2007 12:30 am
by gautam
You can try adding single-quotes with your CR-LF's.
zmprov ma street 'Line 1

Line 2

Line 3'