02-15-2017
It looks reasonably accurate. Mounting a share without a password isn't the greatest idea though. You may want to tailor it a bit more to your own needs; rather than giving access to everyone (dangerous for obvious reasons), open the share as your user and give it a password. -o user=linuxuser,username=winuser,password=pass
See man mount.cifs for more options you can put in -o to control permissions and the like.
Depending on your distro, cifs-utils may be the wrong package, or unnecessary - CIFS share mounting is a device driver, part of the Linux kernel, and might just be there already. If you don't have mount.cifs, try mount -t cifs.
Hosting a CIFS share on Linux is a totally different story, that requires the Samba package.
This User Gave Thanks to Corona688 For This Post:
8 More Discussions You Might Find Interesting
1. Windows & DOS: Issues & Discussions
Hi,
How can I mount a Windows share (over samba) on an AIX machine?
I know there is a utility called smbmount on Linux, but alas, I cannot find out how to the same thing on AIX.
anyone have any ideas?
thanks! (3 Replies)
Discussion started by: szahir1
3 Replies
2. UNIX for Advanced & Expert Users
We recently upgraded one of our engineering servers, and now the lone UNIX box that houses older CAD files can not connect to it. I have tried every variation of mount I can find, but to no avail. Help is appreciated. Here are the specs:
Server: Windows 2003 x64 with Unix Services for Windows... (8 Replies)
Discussion started by: shatterstorm
8 Replies
3. Solaris
please help me,,i need step to mount windows share folder,,i try samba and nfs and it didnt work (in my linux server the command is fine),,can somenone give me an example for this to be done? (0 Replies)
Discussion started by: Cellscript
0 Replies
4. UNIX for Dummies Questions & Answers
Hi whan i am trying to mount a windows share on linux i received the following error can some one help me with thsi
# mount -t cifs \\\\servername\testdata -o username=xw27,password=*es*feed /test
Mounting the DFS root for a particular server not implemented yet
No ip address specified... (5 Replies)
Discussion started by: robo
5 Replies
5. UNIX for Dummies Questions & Answers
I know how to mount my share via /etc/fstab automatically when the system boots but since I do not have root permission to access the /etc/fstab nor do I think that the system admin wants me to add an entry in /etc/fstab all together. So what file could I add my mount entry in?
mount -t cifs... (8 Replies)
Discussion started by: metallica1973
8 Replies
6. Red Hat
Hello
Can someone please suggest how should I configure Samba to share the drive from Linux to Window server, and Windows server is in AD environment.
is this require winbind to be installed ??
Thanks, (0 Replies)
Discussion started by: bobby320
0 Replies
7. Linux
Dear Experts,
My buissness requierment is to place some automated files in Windows server, Now Can you help me to map the Windows folder into Linux server.
Windows Details:-windows 2003
Linux Details:-
$ uname -a
Linux testdb.mawarid.local 2.6.9-55.ELsmp #1 SMP Fri Apr 20 16:36:54 EDT 2007... (3 Replies)
Discussion started by: Mohammed Fareed
3 Replies
8. UNIX for Beginners Questions & Answers
Hello,
I have 3 solaris 11.2 servers:
1 and 2: are just fileservers with 1 zfs-share
server 3: i want to use this one to connect to the rest of our network (windows machines and a few solaris machines)
I created the shares on all servers like this (x needs to be replace with the number... (9 Replies)
Discussion started by: Wim_123
9 Replies
LEARN ABOUT SUSE
cifs.upcall
CIFS.UPCALL(8) System Administration tools CIFS.UPCALL(8)
NAME
cifs.upcall - Userspace upcall helper for Common Internet File System (CIFS)
SYNOPSIS
cifs.upcall [--trust-dns|-t] [--version|-v] {keyid}
DESCRIPTION
This tool is part of the cifs-utils suite.
cifs.upcall is a userspace helper program for the linux CIFS client filesystem. There are a number of activities that the kernel cannot
easily do itself. This program is a callout program that does these things for the kernel and then returns the result.
cifs.upcall is generally intended to be run when the kernel calls request-key(8) for a particular key type. While it can be run directly
from the command-line, it's not generally intended to be run that way.
OPTIONS
-c
This option is deprecated and is currently ignored.
--trust-dns|-t
With krb5 upcalls, the name used as the host portion of the service principal defaults to the hostname portion of the UNC. This option
allows the upcall program to reverse resolve the network address of the server in order to get the hostname.
This is less secure than not trusting DNS. When using this option, it's possible that an attacker could get control of DNS and trick
the client into mounting a different server altogether. It's preferable to instead add server principals to the KDC for every possible
hostname, but this option exists for cases where that isn't possible. The default is to not trust reverse hostname lookups in this
fashion.
--version|-v
Print version number and exit.
CONFIGURATION FOR KEYCTL
cifs.upcall is designed to be called from the kernel via the request-key callout program. This requires that request-key be told where and
how to call this program. The current cifs.upcall program handles two different key types:
cifs.spnego
This keytype is for retrieving kerberos session keys
dns_resolver
This key type is for resolving hostnames into IP addresses
To make this program useful for CIFS, you'll need to set up entries for them in request-key.conf(5). Here's an example of an entry for each
key type:
#OPERATION TYPE D C PROGRAM ARG1 ARG2...
#========= ============= = = ================================
create cifs.spnego * * /usr/local/sbin/cifs.upcall %k
create dns_resolver * * /usr/local/sbin/cifs.upcall %k
See request-key.conf5() for more info on each field.
SEE ALSO
request-key.conf(5), mount.cifs(8)
AUTHOR
Igor Mammedov wrote the cifs.upcall program.
Jeff Layton authored this manpage.
The maintainer of the Linux CIFS VFS is Steve French.
The Linux CIFS Mailing list is the preferred place to ask questions regarding these programs.
cifs-utils 4.0 02/07/2010 CIFS.UPCALL(8)