How can I view a Windows 2003 folder in Unix? | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


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 !!

How can I view a Windows 2003 folder in Unix?

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 08-10-2004
LordJezo
Guest
 
Posts: n/a
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?
Sponsored Links
    #2  
Old 08-10-2004
zazzybob's Avatar
zazzybob zazzybob is offline Forum Advisor  
Registered Geek
 
Join Date: Dec 2003
Last Activity: 13 May 2013, 9:02 AM EDT
Location: Melbourne, Australia
Posts: 2,185
Thanks: 3
Thanked 24 Times in 23 Posts
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
Sponsored Links
    #3  
Old 08-11-2004
LordJezo
Guest
 
Posts: n/a
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  
Old 08-11-2004
zazzybob's Avatar
zazzybob zazzybob is offline Forum Advisor  
Registered Geek
 
Join Date: Dec 2003
Last Activity: 13 May 2013, 9:02 AM EDT
Location: Melbourne, Australia
Posts: 2,185
Thanks: 3
Thanked 24 Times in 23 Posts
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
Sponsored Links
    #5  
Old 08-11-2004
LordJezo
Guest
 
Posts: n/a
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?
Sponsored Links
    #6  
Old 08-11-2004
zazzybob's Avatar
zazzybob zazzybob is offline Forum Advisor  
Registered Geek
 
Join Date: Dec 2003
Last Activity: 13 May 2013, 9:02 AM EDT
Location: Melbourne, Australia
Posts: 2,185
Thanks: 3
Thanked 24 Times in 23 Posts
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
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
map unix directory to Windows 2003 server mabu.ps UNIX for Advanced & Expert Users 7 10-26-2011 08:13 PM
Sync files between unix client and windows 2003 server lokeshsingla UNIX for Dummies Questions & Answers 2 11-18-2009 04:27 AM
sftp Connection from Unix to Windows 2003 server using Passphrase vijayin Shell Programming and Scripting 1 09-08-2009 01:07 PM
Unix and Windows Server 2003 italia UNIX for Dummies Questions & Answers 1 03-01-2007 10:09 PM
Windows Server 2003 file sharing with UNIX markgrimes Windows & DOS: Issues & Discussions 1 09-21-2006 07:49 AM



All times are GMT -4. The time now is 05:24 AM.