Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AIX equivalent of smbmount???

Status
Not open for further replies.

BobMCT

IS-IT--Management
Sep 11, 2000
756
US
I've asked this question on the Samba group and was told that smbmount is a linux specific utility. As we use samba on various AIX machines to share resources, we now need to have an AIX box share a resource (directory & files) that reside on an NT box.

What utility other than smbmount can achieve this on AIX???

Thanks in advance.
 
Dear friend, the form to do what you need this specified in IBM's redbook called "Samba Installation, Configuration, and Sizing Guide" that you can obtain from
 
Hi

Use the smbclient command. But here as you expect it will not mount. Instead you will get the smb> prompt where in you can list, get or put the files, kinda ftp.

JSiva Om Maha Ganapathiye Namaga!
 
Hi. Here's a script that I use to select the mount from a list that I want:
tput clear
while
echo "Samba Directory Mounts List "
echo " 1. Tower C: Drive"
echo " 2. Tower D: Drive"
echo " 3. Tower E: Drive"
echo " 4. Tower F: Drive (Top CDROM)"
echo " 5. Tower G: Drive (Bottom CDROM)"
echo " 6. Lynn's C: Drive"
echo " 7. Lynn's D: Drive"
echo " 8. Laptop C: Drive"
echo " 9. Laptop D: Drive"
echo " r. Return "
echo " e. Exit "
echo " Option : "; read OPT
do
case $OPT
in
1) smbclient \\\\\tower\\c password;;
2) smbclient \\\\\tower\\d password;;
3) smbclient \\\\\tower\\e password;;
4) smbclient \\\\\tower\\f password;;
5) smbclient \\\\\tower\\g password;;
6) smbclient \\\\\lynn\\c password;;
7) smbclient \\\\\lynn\\d password;;
8) smbclient \\\\\laptop\\c password;;
9) smbclient \\\\\laptop\\d password;;
'e') exit;;
'r') return;;
'') exit;;
*)echo "\n THIS FUNCTION IS NOT AVAILABLE NOW - PLEASE TRY LATER\n";;
esac
done
echo

Each time you make a selection, it will drop you to the smb: \> prompt, from which you can run dos commands. Type exit to get out.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top