01-12-2007
Quote:
Originally Posted by DukeNuke2
you can use samba in both ways.
That's not really true. You can currently access the windows shares only using the ftp like smbclient on Solaris. There is no support for mounting an CIFS/SMB filesystem in Solaris.
NFS would be a better option, and using an automount rather than a direct mount will prevent said problems with hanging-like behaviour. The directory may become in accessible if the windows server is down, but it will not cause the system to hang.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I want to use my linux box as a print server for my hp printer. I downloaded the linux driver for the printer and installed it. I also configured CUPS and printed a test page with it. Samba is allowing my windows machine to see and install the printer, but when i try to print to it, nothing... (1 Reply)
Discussion started by: Spetnik
1 Replies
2. Windows & DOS: Issues & Discussions
We have a Windows Server 2003 box and I'd like to share a drive with a Sun Solaris box so that the Sun Solaris box can copy files to/from the Windows Server 2003.
I believe that Windows Services for UNIX 3.5 will allow me to do this, can anyone comfirm this ?
Also, any links on how to... (1 Reply)
Discussion started by: markgrimes
1 Replies
3. Linux
Did anybody can teach me how to set the premission in the samba server? How to i set the premission in one folder but two access right. With one folder but the user access rights is diffirent. One user can full access the folder, and another one user only read only.
thx for helping... (1 Reply)
Discussion started by: cloudlor
1 Replies
4. Solaris
Hi All,
I am wanting so share a windows folder on our Solaris computer. I am wanting to be able to save files to this folder directly on Windows. This will keep me from saving a file locally and FTPing to the windows HD.
Currently, I am trying to get "services for Unix Administration" to... (1 Reply)
Discussion started by: patm95
1 Replies
5. HP-UX
Hi all,
Can anyone teach me how to mount windows file sharing on hp-ux
thanks (2 Replies)
Discussion started by: pantas manik
2 Replies
6. Shell Programming and Scripting
My application uses terminal emulation (vt100) to connect to remote machines via Telnet or SSH. Please let me know if anyone has a solution for my problem.
Error description:
When connecting to Windows machine via Telnet / SSH, the terminal data is appearing in the other screen and log with... (2 Replies)
Discussion started by: vidya5678
2 Replies
7. Solaris
Hi ,
We are trying to share a particular directory between solaris running from VMware installed on Win7 box] and windows box. We tried the SWAT utility of samba, and made all possible changes for sharing. We committed the changes and we were clueless what need to be done further.. referred... (0 Replies)
Discussion started by: BalajiUthira
0 Replies
8. Solaris
Hi guys
I need to create one directory on my Solaris 11 box and then share that directory on my LAN. I have only one disk of 500 GB which is more than enough for my needs.
I read SMB guide for Solaris and there is no guide how to achive share only on one directory, it has only tutorials for... (3 Replies)
Discussion started by: solaris_user
3 Replies
9. UNIX for Advanced & Expert Users
"Samba," I know, I know. However, I am a gov't worker and Samba is off the table. Does anyone have a recommendation for an off the shelf, secure solution? I've already suggested rsync and NFS services for Windows Server and got shot down. (4 Replies)
Discussion started by: LittleLebowski
4 Replies
10. Solaris
hiiii,
recently we installed samba in solaris 11 machine. and create filesystem and mounted it.
we want to mount the same file system in another windows machine through samba.
How share that file system to windows and how to mount in windows . (2 Replies)
Discussion started by: Brahmam CH
2 Replies
LEARN ABOUT XFREE86
smbtar
SMBTAR(1) User Commands SMBTAR(1)
NAME
smbtar - shell script for backing up SMB/CIFS shares directly to UNIX tape drives
SYNOPSIS
smbtar [-r] [-i] [-a] [-v] {-s server} [-p password] [-x services] [-X] [-N filename] [-b blocksize] [-d directory] [-l loglevel] [-u user]
[-t tape] {filenames}
DESCRIPTION
This tool is part of the samba(7) suite.
smbtar is a very small shell script on top of smbclient(1) which dumps SMB shares directly to tape.
OPTIONS
-s server
The SMB/CIFS server that the share resides upon.
-x service
The share name on the server to connect to. The default is "backup".
-X
Exclude mode. Exclude filenames... from tar create or restore.
-d directory
Change to initial directory before restoring / backing up files.
-v
Verbose mode.
-p password
The password to use to access a share. Default: none
-u user
The user id to connect as. Default: UNIX login name.
-a
Reset DOS archive bit mode to indicate file has been archived.
-t tape
Tape device. May be regular file or tape device. Default: $TAPE environmental variable; if not set, a file called tar.out .
-b blocksize
Blocking factor. Defaults to 20. See tar(1) for a fuller explanation.
-N filename
Backup only files newer than filename. Could be used (for example) on a log file to implement incremental backups.
-i
Incremental mode; tar files are only backed up if they have the archive bit set. The archive bit is reset after each file is read.
-r
Restore. Files are restored to the share from the tar file.
-l log level
Log (debug) level. Corresponds to the -d flag of smbclient(1).
ENVIRONMENT VARIABLES
The $TAPE variable specifies the default tape device to write to. May be overridden with the -t option.
BUGS
The smbtar script has different options from ordinary tar and from smbclient's tar command.
CAVEATS
Sites that are more careful about security may not like the way the script handles PC passwords. Backup and restore work on entire shares;
should work on file lists. smbtar works best with GNU tar and may not work well with other versions.
DIAGNOSTICS
See the DIAGNOSTICS section for the smbclient(1) command.
VERSION
This man page is correct for version 3 of the Samba suite.
SEE ALSO
smbd(8), smbclient(1), smb.conf(5).
AUTHOR
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open
Source project similar to the way the Linux kernel is developed.
Ricky Poulten wrote the tar extension and this man page. The smbtar script was heavily rewritten and improved by Martin Kraemer. Many
thanks to everyone who suggested extensions, improvements, bug fixes, etc. The man page sources were converted to YODL format (another
excellent piece of Open Source software, available at ftp://ftp.icce.rug.nl/pub/unix/) and updated for the Samba 2.0 release by Jeremy
Allison. The conversion to DocBook for Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0 was done by
Alexander Bokovoy.
Samba 3.5 06/18/2010 SMBTAR(1)