~zulcss/samba/server-dailies-3.4

« back to all changes in this revision

Viewing changes to source3/script/mksmbpasswd.sh

  • Committer: Chuck Short
  • Date: 2010-09-28 20:38:39 UTC
  • Revision ID: zulcss@ubuntu.com-20100928203839-pgjulytsi9ue63x1
Initial version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
awk 'BEGIN {FS=":"
 
3
        printf("#\n# SMB password file.\n#\n")
 
4
        }
 
5
{ printf( "%s:%s:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[UD         ]:LCT-00000000:%s\n", $1, $3, $5) }
 
6
'