diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-10-04 14:02:50 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-10-04 14:02:50 +0000 |
commit | 3a8232644e04a4cfdcbe2061f0556b78b4045191 (patch) | |
tree | b9c52adfd8e5f01e247aa0b4eaa2ce40467951aa /source3/smbwrapper/smbsh | |
parent | 40984f6b55212c710f6a7c7b940a785b2b607985 (diff) | |
download | samba-3a8232644e04a4cfdcbe2061f0556b78b4045191.tar.gz samba-3a8232644e04a4cfdcbe2061f0556b78b4045191.tar.bz2 samba-3a8232644e04a4cfdcbe2061f0556b78b4045191.zip |
started basic support for solaris 2.5 in smbwrapper.
(This used to be commit e5c7cabae4826bde819b94a48bc4674dcd69da21)
Diffstat (limited to 'source3/smbwrapper/smbsh')
-rwxr-xr-x | source3/smbwrapper/smbsh | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/source3/smbwrapper/smbsh b/source3/smbwrapper/smbsh index c03e4f2baf..015db52d95 100755 --- a/source3/smbwrapper/smbsh +++ b/source3/smbwrapper/smbsh @@ -1,24 +1,28 @@ #!/bin/sh -LIBDIR=/samba/cvs/source/smbwrapper +LIBDIR=/home/tridge/samba/source/smbwrapper # a simple launcher for the smbwrapper.so preloadde library if [ x$SMBW_USER = x ]; then echo username? read user - export SMBW_USER=$user + SMBW_USER=$user + export SMBW_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 + SMBW_PASSWORD=$pass + export fi -export LD_PRELOAD=$LIBDIR/smbwrapper.so +LD_PRELOAD=$LIBDIR/smbwrapper.so +export LD_PRELOAD export PWD -export PS1='smbsh$ ' +PS1='smbsh$ ' +export PS1 bash |