Migration user account from old server to nethserver

hi, i have an old server with samba configured, about 300 users and “passdb backend = tdbsam”. Is it possible to import all users and groups from the old server to the new Nethserver, including all shares with the relevant permissions?

There is an import script for accounts:


For the shares you may use rsync.