The reason probably is that you're trying to mount the share without a password, and mount won't ask you for one. You'll have to install the smbfs package, and have these options available to successfully mount:
mount -t cifs -ousername=<user>,password=<pw> //host/share /path/to/mount: will work, but the username and password will be available to everyone on the machine.
mount -t cifs -ocredentials=/path/to/credential.file //host/share /path/to/mount: Tells mount.cifs to use the credentials from a file, which contains 2 lines:
mount -t cifs -ousername=<user>,guest //host/share /path/to/mount: Mount the share as the guest user
See this documentation and man mount.cifs for more information and options.
Until recently I have been using the following command successfully to connect to a windows share:
mount -t smbfs -o username=my_username,password=my_password /home/temp //oldserverx1/openexchange
But from today, I've been getting the following error:
INFO: Debug class all level = 1 (pid... (1 Reply)
Hello Everyone,
I have a pseries machine running AIX 4.3.3 that has an invalid IP in /etc/hosts. During a boot the system hangs because it's trying to mount an NFS share to this invalid IP.
I've tried to boot the system from a mksysb (not sure if the device was defined as rmt0) and AIX CD... (0 Replies)
We are trying to mount a Unix share drive on a Windows 2003 server to avoid transfering files accross the network using sftp. I can see shared drives on the Solaris server using the "share" command. How can I mount the drives on my Windows server so that I can read them directly. Do I need... (2 Replies)
Hi All
I am new for Solaris and, I have configured SAMBA on my SUN10 Network machine and it's working fine.
can anyone tell me how to mount windows share on my SUN10 machine.
Thanks in advance
daya (2 Replies)
this is probably a bit dumb ...but i read somewhere that one of the nfs versions can be mounted on a windows 2003 server ..if yes ..does anyone know how this can be achieved (1 Reply)
Hi,
Please let me know whether I can mount a windows share on Redhat, which does not have Samba installed. The constraint is that I cannot install Samba .
Looking forward for a possible solution. (1 Reply)
Hi, How can i mount an NFS share on a solaris machine a filesystem ?
I have enabled nfs on a windows server and the shares has given read/write access to it to all the users. I would like to mount it on around 10 different solaris boxes with different versions of solaris.
Thanks in advance. (2 Replies)
all,,i need help,,i try to mount a windows 2000 share folder to my system,,i already userd smb mount,mount -F and bunch of stuff and none is working,,can anyone give me a script to this??
PS : when i use mount -F i got this message :
nfs mount: insufficient privileges ,,,
is it must be root ? (6 Replies)
Hello,
I've been using AIX cifs to mount windows XP shares with no problems till now.
Now it's Windows Server 2008 R2 - no go:
mount -v cifs -n host1/user1/pass1 /share1 /mountpt1
There was an error connecting the share or the server.
Make sure the lsdev command shows that device nsmb0 is in... (6 Replies)
Right, now that I've finally worked out this website, I'll ask my question!
I am having an absolute nightmare with NFS on AIX. I have used it many times, and I know what I'm doing, however I cannot fathom what is going on here. I have 2 LPARs, sitting on the same physical host. They are... (12 Replies)
Discussion started by: tmooredba
12 Replies
LEARN ABOUT DEBIAN
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)