diff options
Diffstat (limited to 'source4/script/mknissmbpasswd.sh')
-rwxr-xr-x | source4/script/mknissmbpasswd.sh | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/source4/script/mknissmbpasswd.sh b/source4/script/mknissmbpasswd.sh deleted file mode 100755 index a94c963bdc..0000000000 --- a/source4/script/mknissmbpasswd.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh -# -# Copyright (C) 1998 Benny Holmgren -# -# Script to import smbpasswd file into the smbpasswd NIS+ table. Reads -# from stdin the smbpasswd file. -# -while true -do - read row - if [ -z "$row" ] - then - break - fi - - if [ "`echo $row | cut -c1`" = "#" ] - then - continue - fi - - nistbladm -a \ - name=\"`echo $row | cut -d: -f1`\" \ - uid=\"`echo $row | cut -d: -f2`\" \ - lmpwd=\"`echo $row | cut -d: -f3`\" \ - ntpwd=\"`echo $row | cut -d: -f4`\" \ - acb=\"`echo $row | cut -d: -f5`\" \ - pwdlset_t=\"`echo $row | cut -d: -f6`\" \ - gcos=\"`echo $row | cut -d: -f7`\" \ - home=\"`echo $row | cut -d: -f8`\" \ - shell=\"`echo $row | cut -d: -f9`\" smbpasswd.org_dir.`nisdefaults -d` -done |