Hi All,
I would like to migrate my users from LDAP on NS6 to Samba AD on NS7.
How can I do this?
Somebody help me?
thanks
Mario
Hi All,
I would like to migrate my users from LDAP on NS6 to Samba AD on NS7.
How can I do this?
Somebody help me?
thanks
Mario
IIRC this feature has been already requested in this forum: we’ll be working on it after sme8 migration procedure.
You can find some notes on the wiki:
http://wiki.nethserver.org/doku.php?id=developer:ns7_upgrade#restore_from_ns6
Hi Davide,
I’ ve resolved in a different method.
In NS6 there’s a file accounts under /var/lib/nethserver/db, formatted by fields for User, Groups etc.
I taken this file and catched the interested fileds and construct a script and then I passed by adcli utility and I recreated Users and Groups on NS7.
It’s a good idea?
thanks
Mario
It can work! Please share your script with us!!
cat accounts |awk -F\| '{ split($1,col,"=user"); print "echo passwordOFAdministrator | adcli create-user "col[1]" --display-name=\"" $9 " " $11 "\" --stdin-password" }'
There’s also the upgrade procedure! Ready for testing