This would be on a fresh RH 7 install. Smbadduser simply does not work for
me. I have not verified this bug on any other boxen, but suspect that I
will have the same results. Alas:
[root@bofh samba]# smbadduser foo:foo
if: Badly formed number.
Works for me here with the latest samba package.