exportaSenhaLdapParaSmbpasswd.sh

#!/bin/bash

pdbedit -Lw |egrep -v 'init_iconv|WARNING|Unknown|Ignoring' > /etc/samba/smbpasswd