/usr/sbin/mksmbpasswd is in samba 2:3.6.3-2ubuntu2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 | #!/usr/bin/awk -f
BEGIN {FS=":"
printf("#\n# SMB password file.\n#\n")
}
{ if ($3 >= 1000) {
printf( "%s:%s:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[U ]:LCT-00000000:%s\n", $1, $3, $5) } }
|