The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
create folder in windows from unix while FTP Metalero de Oz UNIX for Dummies Questions & Answers 0 05-14-2008 01:22 PM
folder replication between windows and unix systemsb UNIX for Dummies Questions & Answers 0 03-27-2007 09:41 PM
Unix and Windows Server 2003 italia UNIX for Dummies Questions & Answers 1 03-01-2007 11:09 PM
Windows Server 2003 file sharing with UNIX markgrimes Windows & DOS: Issues & Discussions 1 09-21-2006 07:49 AM
How can i get my windows 98 folder from unix? abdul UNIX for Dummies Questions & Answers 2 08-28-2001 12:18 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-10-2004
LordJezo
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
How can I view a Windows 2003 folder in Unix?

Is it possible to do something like this? Have a folder shared on a Windows machine and then be able to view it under a Unix server? Sort of like a reverse Samaba share?
  #2 (permalink)  
Old 08-10-2004
zazzybob's Avatar
zazzybob zazzybob is offline Forum Advisor  
Registered Geek
  
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
You can use the command

smbclient -L server_name -U username%password

to view available shares on server_name

Then use

smbclient //server_name/share -U username%password

to connect to a share (works a little like ftp).

You can also use smbmount/smbumount to mount/unmount a share onto a mountpoint in the UNIX filesystem.

man smbclient, man smbmount will tell you more.

Cheers
ZB
  #3 (permalink)  
Old 08-11-2004
LordJezo
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
That worked! Nifty.

When I am on a Windows share mounted on the Unix filesystem is there a way to run shell scripts on the Windows side as if it was a Unix drive?

None of the commands seem to work besides basic Unix functions..
  #4 (permalink)  
Old 08-11-2004
zazzybob's Avatar
zazzybob zazzybob is offline Forum Advisor  
Registered Geek
  
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
If you use smbmount to mount the share onto a mountpoint on your UNIX filesystem, you should be able to treat that directory as if it were any other UNIX directory.

E.g.

Code:
$ smbmount //server/share /mnt -o username=user password=pass
then

Code:
$ cd /mnt
$ /run/my/script
Cheers
ZB
  #5 (permalink)  
Old 08-11-2004
LordJezo
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
Question

I read that smbmount is not available for Solaris and after the complete install of Samba that file was not present.

Is it true that no one ever ported smbmount to Solaris?
  #6 (permalink)  
Old 08-11-2004
zazzybob's Avatar
zazzybob zazzybob is offline Forum Advisor  
Registered Geek
  
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
Hmmm.... As far as I know it hasn't been ported to Solaris.

You could try smbsh

Try here if you can't find it/it doesn't work.

Cheers
ZB
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:28 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0