Results 1 to 2 of 2

Thread: migrating with perl script from openldap with zmprov

  1. #1
    Join Date
    Sep 2006
    Posts
    11
    Rep Power
    9

    Default migrating with perl script from openldap with zmprov

    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 \n 555 street \n..." 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

  2. #2
    Join Date
    Oct 2006
    Posts
    9
    Rep Power
    9

    Thumbs up zmprov and new-line

    You can try adding single-quotes with your CR-LF's.

    zmprov ma <account> street 'Line 1
    Line 2
    Line 3'

Similar Threads

  1. Perl Script Help
    By swu in forum Administrators
    Replies: 0
    Last Post: 06-18-2007, 08:46 AM
  2. Replies: 9
    Last Post: 04-14-2007, 08:31 AM
  3. ad integration with zimbra openldap - ou within ou using zmprov?
    By justanotheruser in forum Administrators
    Replies: 1
    Last Post: 03-29-2007, 09:09 AM
  4. import /etc/passwd script for zmprov
    By lkirkpatrick in forum Administrators
    Replies: 4
    Last Post: 03-29-2006, 08:41 AM
  5. Migrating accounts with zmprov
    By Alfspace in forum Administrators
    Replies: 2
    Last Post: 10-19-2005, 10:41 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •