I did have a problem after backup/restore my domain with samba4 alpha 20 in debian 6, the problem was to run the command smbclient --version it did say ./smbclient: error while loading shared libraries: libreadline.so.5: Thanks to Steve a follow the answer On debian6/maverick/natty, install libreadline5-dev (replacing any libreadline6-dev already there): sudo apt-get install libreadline5-dev That is all Thanks