I need to mount a directory from a Windows server to a CentOS box.
The Windows server used is Windows Server 2003, and the path to the directory that I want to mount on CentOS is
.
I am not sure of the correct way to mount this on CentOS, as most of the articles/documents I read on mounting a CIFS share shows that this is the syntax :
So is this the correct way to put the entry in /etc/fstab :
OR just like this :
Thanks,
ana
Last edited by anaigini45; 01-16-2020 at 02:12 AM..
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)
Is it possible to mount a samba share on a solaris system? I know this is possible with Linux using a fstype of smbfs. I am trying to aviod having to share the same directories via cifs and nfs on a solaris box to windows and solaris clients. (3 Replies)
For my kickstart install I use an NFS share on another machine in order to install the packages. For the most part, all configuration required after each time I reimage is set up in the kickstart file, but this one portion is giving me issues. I'm trying to mount an NFS share in the kickstart post... (0 Replies)
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)
I have one machine "The server" ip: 192.168.1.1, it runs ubu 8.04(LTS) and - I have a folder (/shareme) that I want to share with other linux machines on my LAN.
- The server runs NFS server and common and portmap and so do the other machines on my LAN.
- The server has the export file with the... (2 Replies)
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)
Hi All, I've been trying to configure samba on Solaris 10 to allow me to have one share that is open and writable to all users and have the rest of my shares password protected by a generic account.
If I set my security to user, my secured shares work just fine and prompt accordingly, but when... (0 Replies)
Hi all, new here.
I'm attempting to mount an NFS share I've created on a 2012r2 esx VM on my solaris 10 vm, I'm using the following command:
mount 2012box:/sharename /mnt
and I get the following result:
nfs mount: mount: /mnt: Operation not supported
Both vms can ping one... (3 Replies)
Hi Folks -
I need to mount a Windows Share to a Linux server. What is the best/easiest way to do this?
Is this 'how-to' guide accurate:
How to Share Files Between Windows and Linux
Or is there a better method you could share?
Thanks! (8 Replies)
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 LINUX
cifs.idmap
CIFS.IDMAP(8) System Administration tools CIFS.IDMAP(8)NAME
cifs.idmap - Userspace helper for mapping ids for Common Internet File System (CIFS)
SYNOPSIS
cifs.idmap [--version|-v] {keyid}
DESCRIPTION
This tool is part of the cifs-utils suite.
cifs.idmap 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.idmap 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 is not generally intended to be run that way.
cifs.idmap works in conjuction with winbind facility of Samba suite to map owner and group SIDs to uids and gids respectively. It is best
utilized when
- a mount option of cifsacl is specified when mounting a cifs share
- winbind is specified as one of the search entries for passwd and group databases in file /etc/nsswitch.conf
- file smb.conf has winbind specific entries
- winbind daemon program is running
In case winbind and cifs.idmap facilities are unavailable, file objects in a mounted share are assigned uid and gid of the credentials of
the process that mounted the share. So it is strongly recomemended to use mount options of uid and gid to specify a default uid and gid to
map owner SIDs and group SIDs respectively in case services of winbind and cifs.idmap facility are unavailable.
OPTIONS
--version|-v
Print version number and exit.
CONFIGURATION FOR KEYCTL
cifs.idmap 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. Currently cifs.idmap handles a key type of:
cifs.idmap
This keytype is for mapping a SID to either an uid or a gid
To make this program useful for CIFS, you will need to set up entry for it in request-key.conf(5). Here is an example of an entry for this
key type:
#OPERATION TYPE D C PROGRAM ARG1 ARG2...
#========= ============= = = ================================
create cifs.idmap * * /usr/sbin/cifs.idmap %k
See request-key.conf(5) for more info on each field.
NOTES
Support for upcalls to cifs.idmap was initially introduced in the 3.0 kernel.
SEE ALSO request-key.conf(5), mount.cifs(8)AUTHOR
Shirish Pargaonkar wrote the cifs.idmap program.
The Linux CIFS Mailing list is the preferred place to ask questions regarding these programs.
cifs-utils 05/26/2011 CIFS.IDMAP(8)