summaryrefslogtreecommitdiff
path: root/net/smb4k/files/smb2nsmbrc
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2013-07-26 19:19:20 +0000
committerRene Ladan <rene@FreeBSD.org>2013-07-26 19:19:20 +0000
commit66fee909266a1dedf3dfc1f03bb0841380d78805 (patch)
tree4c98d494bc4532b5dd5b19f4e47bcb3babf104c2 /net/smb4k/files/smb2nsmbrc
parentRemove support for Qt3/kde in preparation for full Qt3/kde3 removal (diff)
KDE3 and QT3 expired on 2013-07-01, remove these ports.
Unfortunately, this also affects some ports using QT3 as a GUI toolkit. Changes to infrastructure files: - bsd.kde.mk : obsolete, remove - bsd.qt.mk : note that a CONFLICTS_BUILD line can probably go after a while - CHANGES : document the removals from bsd.port.mk - KNOBS : remove KDE and QT (KDE4 and QT4 should be used instead) - MOVED : add the removed ports PR: ports/180745 Submitted by: rene Approved by: portmgr (bapt) Exp-run by: bapt
Diffstat (limited to 'net/smb4k/files/smb2nsmbrc')
-rw-r--r--net/smb4k/files/smb2nsmbrc43
1 files changed, 0 insertions, 43 deletions
diff --git a/net/smb4k/files/smb2nsmbrc b/net/smb4k/files/smb2nsmbrc
deleted file mode 100644
index fd5f06e013b9..000000000000
--- a/net/smb4k/files/smb2nsmbrc
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/bin/sh
-# Convert list of Windows/Samba boxes in local network to .nsmbrc format
-# Args, if any passed directly to findsmb - network address and broadcast address
-# $Id: smb2nsmbrc,v 1.4 2004/08/05 06:50:32 shelton Exp $
-
-find="findsmb" # Script to display boxes list
-util="smbutil" # Utility to convert plaintext password to hashed
-outfile=".nsmbrctmp" # Generated file name
-
-# First, we check on presence findsmb
-wfind=`whereis -b $find | awk '{print $2}'`
-
-if [ -z $wfind ]; then
- echo FindSMB did not found in your system, please install samba package first
- exit 5
-fi
-
-# Second, we check on presence smbutil
-wutil=`whereis -b $util | awk '{print $2}'`
-
-if [ -z $wfind ]; then
- echo SMBUtil did not found in your system, please install samba package first
- exit 5
-fi
-
-# Now we ask username
-echo -n "Please enter username (UPPER CASE!): "
-read username
-
-# Now we ask password and crypt by smbutil
-password=`$util crypt`
-
-# Now we detect all Windows/Samba boxes and taking their NetBIOS names
-netnames=`findsmb $1 $2 | awk -f /usr/local/bin/smb2awk`
-
-# And at least we generating temporarly file with username, password and
-# sections for all detected boxes
-for netname in $netnames
- do
- echo "[$netname:$username]" >> $outfile
- echo "password=$password" >> $outfile
- echo "" >> $outfile
- done