Sponsored Content
Full Discussion: OS X - cifs - What's Up?
Operating Systems OS X (Apple) OS X - cifs - What's Up? Post 302285480 by cjohnsoia on Monday 9th of February 2009 03:43:46 AM
Old 02-09-2009
OS X - cifs - What's Up?

Can all you OS X xperts help me?

OS X Leopard 10.5.6:

mount -t cifs -o username=name,password=secret //server/share /mnt/dir

Works from every linux box I have ever used. This does not work from the OS X terminal. Why?

The gui/finder/go: cifs://server/share just works... command line no?

Ubuntoo, Gentoo, SuSe all work what's up with OS X.

Any help would be greatly appreciated.
 

10 More Discussions You Might Find Interesting

1. Linux

CIFS on linux ?

I have a program which reads all the files in a path given as argument into a buffer (And does something with it). The program makes use of several file processing APIs such as: stat(), fopen(), read() etc.. Now, it is possible that the directory specified by the path is actually a volume which... (5 Replies)
Discussion started by: the_learner
5 Replies

2. AIX

share with cifs

Im trying to share a directory with cifs my aix box with a windows server. but when I try to mount mount -v cifs -n 172.19.90.240/suc_user/tommy /directory /directory1/directory1 I got this error There was an error connecting the share or the server. Make sure the lsdev command shows that... (1 Reply)
Discussion started by: lo-lp-kl
1 Replies

3. Shell Programming and Scripting

Cifs + 2 gb

Hi all, I am using script to take mysql database backup... its arrround 12 GB ...... I have used tar -a , cp -a and rsync -a to take backup on CIFS mounted drive but it fails to take backup more than 2 GB as well as not able to take backup with ownership,timestamps. Conf files... (3 Replies)
Discussion started by: jagnikam
3 Replies

4. HP-UX

mount with CIFS

hi everyone months ago i installed software on hp-ux box. So instead of going to the server room (which is far and cold :) ), I put the DVD in my windows xp box and mount it using CIFS, it was successful. Now I want to install another software on the same hp-ux box using the same windows... (3 Replies)
Discussion started by: neemoze
3 Replies

5. AIX

cifs

Hi, I want to access windows folder from aix and viceversa. Is it possible to do that? I came to know we can do that from cifs but when tried to install cifs.base.cmd 3.2.1.0 cifs.base.lic 3.2.1.0 cifs.base.smit 3.2.1.0 cifs.basic.rte 3.2.1.0 cifs.client.rte 3.2.1.0 cifs.websm.apps 3.2.1.0... (4 Replies)
Discussion started by: vjm
4 Replies

6. AIX

mounting cifs

Dear All, I mounted a windows share on AIX 5.3. with cifs. The write on it is much slower than from other windows clients. Could you help me with any tricks to speed the writing process? Thanks, Zoltán Patalenszki (0 Replies)
Discussion started by: zoltanp
0 Replies

7. Solaris

Separate filesystems for CIFS?

Hi all, I just wonder: Do I need to have one filesystem like pool/backups, pool/archives, pool/home and so on, for each share I would like to use? Or can I do that a in a different way? I am currently reading along to find out about LDAP authentication and so on, but if I need separate... (5 Replies)
Discussion started by: PatrickBaer
5 Replies

8. Solaris

Looking for CIFS howto

I just skimmed through the Administration Guide about LDAP and CIFS. Well that's a whole lot of text. Does someone know a tutorial/introduction with some steps to make? TIA (14 Replies)
Discussion started by: PatrickBaer
14 Replies

9. UNIX for Dummies Questions & Answers

Umount CIFS

hi guys I have to umount a CIFS from a Windows machine...but it's been imposible there is one special task /sbin/umount.cifs /mondobackup that task cannot be kill...so I cannot umount the unit any idea how to kill this and umount this CIFS share? by the way I've tried umount... (5 Replies)
Discussion started by: kopper
5 Replies

10. Red Hat

Issue with mounts CIFS

I donot know much about CIFS but i have been asked to look into an issue related to mounting CIFS filesystem On my redhat 5.6 the /etc/fstab file has the following entry //172.25.x.x/de0/ /dir1/de0 cifs username=bodsadm,password=12345,dir_mode=0777,file_mode=0777,uid=de0adm,gid=sapsys,rw 0 0... (2 Replies)
Discussion started by: Tirmazi
2 Replies
MOUNT_SMBFS(8)						    BSD System Manager's Manual 					    MOUNT_SMBFS(8)

NAME
mount_smbfs -- mount a shared resource from an SMB file server SYNOPSIS
mount_smbfs [-N] [-o options] [-d mode] [-f mode] [-h] //[domain;][user[:password]@]server[/share] path DESCRIPTION
The mount_smbfs command mounts a share from a remote server using SMB/CIFS protocol. The options are as follows: -N Do not ask for a password. At run time, mount_smbfs reads the ~/Library/Preferences/nsmb.conf file for additional configuration parameters and a password. If no password is found, mount_smbfs prompts for it. -o Options passed to mount(2) are specified with the -o option followed by a comma separated string of options. See the mount(8) man page for possible options and their meanings. Additional options supported by the mount_smbfs are as follows: nobrowse Indicate to the Carbon subsystem that this volume is not to be displayed to the user. automounted Set flags on the mountpoint to indicate that the volume has been mounted by the automounter. nostreams Don't use NTFS Streams even if they are supported by the server. soft Make the mount soft. Fail file system calls after a number of seconds. nonotification Turn off using notifications for this volume. -f mode, -d mode Specify permissions that should be assigned to files and directories. The values must be specified as octal numbers. Default value for the file mode is taken from mount point, default value for the directory mode adds execute permission where the file mode gives read permission. Note that these permissions can differ from the rights granted by SMB server. -h Prints a help message, much like the SYNOPSIS above. //[domain;][user[password]@] server[/share] The mount_smbfs command will use server as the NetBIOS name of remote computer, user as the remote user name and share as the resource name on a remote server. Domain and/or password may be specified here. If user is omitted the logged in user id will be used. Omitting share is an error when mount_smbfs is run from the command line, otherwise a browsing dialogue is presented. path Path to mount point. FILES
nsmb.conf Keeps static parameters for connections and other information. See man nsmb.conf for details. EXAMPLES
This example shows the proper url to use to mount the share PUBLIC from the SMB server myserver : mkdir /smb/public mount -t smbfs //username:userpass@myserver/PUBLIC /smb/public This example shows the proper url to use to mount the share PUBLIC from the SMB server myserver as guest: mkdir /smb/public mount -t smbfs //guest:@myserver/PUBLIC /smb/public Note: You should always use the system mount command and never call mount_smbfs directly. SEE ALSO
mount(2), nsmb.conf(5), mount(8), umount(8) BUGS
Please report bugs to Apple. AUTHORS
Boris Popov <bp@butya.kz>, <bp@FreeBSD.org> FreeBSD March 10, 2000 FreeBSD
All times are GMT -4. The time now is 04:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy