migrating with perl script from openldap with zmprov

Looking to migrate to ZCS? Ask here. Got a great tip or script that helped you migrate? Post it here.
denmat
Posts: 11
Joined: Fri Sep 12, 2014 10:16 pm

migrating with perl script from openldap with zmprov

Postby denmat » Thu Oct 11, 2007 3:07 am

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


gautam
Zimbra Employee
Zimbra Employee
Posts: 12
Joined: Fri Sep 12, 2014 10:18 pm

migrating with perl script from openldap with zmprov

Postby gautam » Wed Oct 17, 2007 12:30 am

You can try adding single-quotes with your CR-LF's.
zmprov ma street 'Line 1

Line 2

Line 3'

Return to “Migration”

Who is online

Users browsing this forum: No registered users and 3 guests