Author Topic: [SOLVED] ldapadd zentyal 3.4  (Read 1552 times)

dave2318

  • Zen Apprentice
  • *
  • Posts: 48
  • Karma: +3/-0
    • View Profile
[SOLVED] ldapadd zentyal 3.4
« on: May 16, 2014, 01:14:24 pm »
Hi All,

Anyone any ideas about using ldapadd against Zentyal?
eg i am trying to run a command to import ldif files but always get the error:-

ldap_bind: Invalid credentials (49)
        additional info: Simple Bind Failed: NT_STATUS_LOGON_FAILURE

the command is:-
ldapadd -D "cn=cgadmin,dc=mycohens,dc=net" -W -f /tmp/passwd.ldif command is

my comain is mycohens.net and i have a user called cgadmin. The command prompts for password, so i type it and get the above error.

Basically i am trying to migrate users from an old debian box using passwd authentication into zentyal ldap. I have managed to export the passwd users, groups etc from the old box and import them to the new box, but can't get them to import to ldap.

thanks in advance.

Dave
« Last Edit: May 22, 2014, 02:47:47 pm by dave2318 »

dave2318

  • Zen Apprentice
  • *
  • Posts: 48
  • Karma: +3/-0
    • View Profile
Re: ldapadd zentyal 3.4
« Reply #1 on: May 19, 2014, 06:12:59 pm »
I found a script to import users from a csv file here:-

http://doc.zentyal.org/en/appendix-c.html

Whilst it's not a solution to the issue it does allow me to do the bulk user import i wanted to do.