cifs.idmap: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/sbin/cifs.idmap - from package: cifs-utils

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/sbin/cifs.idmap - from package: cifs-utils

You may install the required package with command apt-get install {package}
Error in other languages:
cifs.idmap: bevel nie gevind nie
cifs.idmap: comandă negăsită
cifs.idmap: comando não encontrado
cifs.idmap: commande introuvable
cifs.idmap: command not found
cifs.idmap: käsku ei ole
cifs.idmap: không tìm thấy lệnh
cifs.idmap: komanda nerasta
cifs.idmap: Kommando nicht gefunden.
cifs.idmap: kommandot finns inte
cifs.idmap: komut yok
cifs.idmap: nie znaleziono polecenia
cifs.idmap: níor aimsíodh an t-ordú
cifs.idmap: no se encontró la orden
cifs.idmap: no s'ha trobat l'ordre
cifs.idmap: opdracht niet gevonden
cifs.idmap: parancs nem található
cifs.idmap: perintah tidak ditemukan
cifs.idmap: príkaz nenájdený
cifs.idmap: příkaz nenalezen
cifs.idmap: команда не найдена
cifs.idmap: командата не е открита
cifs.idmap: 命令找不到
cifs.idmap: コマンドが見つかりません