diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-10-03 08:34:35 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-10-03 08:34:35 +0000 |
commit | a139078c4d0eae10fcc914d88ea89a6cbf9827bb (patch) | |
tree | 62a8aaa4d698c17f96f486921fa90433604d529a /source3/smbwrapper/smbsh | |
parent | 65cfbc97ae671a8fe6a3a3b522f25ed0ce4d974d (diff) | |
download | samba-a139078c4d0eae10fcc914d88ea89a6cbf9827bb.tar.gz samba-a139078c4d0eae10fcc914d88ea89a6cbf9827bb.tar.bz2 samba-a139078c4d0eae10fcc914d88ea89a6cbf9827bb.zip |
lots of improvements to smbwrapper. It now works with Samba, Win95 and
WinNT servers, and correctly lists share names in /smb/SERVER/
(This used to be commit 1ea349728b8984bfe5cf5df41a87efbe17ff5ccd)
Diffstat (limited to 'source3/smbwrapper/smbsh')
-rwxr-xr-x | source3/smbwrapper/smbsh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/source3/smbwrapper/smbsh b/source3/smbwrapper/smbsh index f2cceb1ccb..1abe568663 100755 --- a/source3/smbwrapper/smbsh +++ b/source3/smbwrapper/smbsh @@ -2,5 +2,21 @@ # a simple launcher for the smbwrapper.so preloadde library +if [ x$SMBW_USER = x ]; then + echo username? + read user + export SMBW_USER=$user +fi + +# this doesn't hide the password - we need a proper launch app for that +if [ x$SMBW_PASSWORD = x ]; then + echo password? + read pass + export SMBW_PASSWORD=$pass +fi + export LD_PRELOAD=$PWD/smbwrapper/smbwrapper.so + +export PWD +export PS1='smbsh$ ' bash |