Probably the fastest way is to mount the share using the cifs filesystem on Linux.
It gets accessed with a passwd, you can have passwords on a per user basis, or use LDAP (active directory).
HI All,
I need a script to reboot a linux box from a windows box.
The script needs to run automatically whenever a sitescope alerts with an error message.
Have searched for this in the forums, but could not get something relative.
Pls. let me know the various alternatives we have to do... (2 Replies)
How in AIX 5.1 can I access a windows shared drive without using NFS. I have looked into cifs but I can not seem to find the package that I need to install for AIX 5.1 if anyone can give me any further direction please let me know. (2 Replies)
Hi All,
I am basically new to this forum as well as AIX. To share some huge files between 2 servers I thought of creating a shared Directory in my AIX machine to access it in Solaris. I am very new to this AIX. Help me out how can u share a directory in AIX to access (mount) it on Solaris.
Hope... (2 Replies)
Hi all,
Hopefully this question hasn't been asked a thousand times. I am trying to connect a Windows Server to an exported NFS share which resides on an AIX box.
I think the directory is exported correctly from the AIX side but I can't verify that because I didn't do it myself. On the... (6 Replies)
Are there any special requirements/tools needed for a AIX server to see (copy data) a Windows share? Only need 1-way copy (Windows-to-AIX). (8 Replies)
Hi,
I am trying to access a NFS shared directory on Solaris 10 Server from a client which is RHEL 4 Server.
On the NFS Server, in /etc/dfs/, I added following line to dfstab file.
& then ran the following
On the client machine, while running the mount command, I am... (0 Replies)
Hi,
I am trying to access a NFS shared directory on Solaris 10 Server from a client which is RHEL 4 Server.
On the NFS Server, in /etc/dfs/, I added following line to dfstab file.
share -F nfs -o rw /var/share
& then ran the following
svcadm -v enable -r... (3 Replies)
Hi
I have a linux box and need to access from windows graphically
# uname -a
Linux pc-l416116 2.6.18-155.el5 #1 SMP Fri Jun 19 17:06:47 EDT 2009 i686 i686 i386 GNU/Linux
What components do I need to install on Linux and windows to do that?
TIA (6 Replies)
Hello,
I want to connect to two samba shares both on the same Linux box but each with a different username from a windows server 2008. I created 2 gpos to connect and I can connect to the shares individually via net use command, but once I entered credentials for one of the shares, it seems I... (1 Reply)
Hi All
Actually I have NAS Storage and Suddenly I got problem
Unable to access the CIFS share folder on windows host, however the IP is pinging and the share is accessible via share name.
The share can be accessed via share name only on Windows higher Windows Versions.
Any help guys (4 Replies)
Discussion started by: Abu_SM
4 Replies
LEARN ABOUT LINUX
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] [--legacy-uid|-l] [--krb5conf=/path/to/krb5.conf|-k /path/to/...] {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.
--krb5conf=/path/to/krb5.conf|-k /path/to/krb5.conf
This option allows administrators to set an alternate location for the krb5.conf file that cifs.upcall will use.
--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.
--legacy-uid|-l
Traditionally, the kernel has sent only a single uid= parameter to the upcall for the SPNEGO upcall that's used to determine what
user's credential cache to use. This parameter is affected by the uid= mount option, which also governs the ownership of files on the
mount.
Newer kernels send a creduid= option as well, which contains what uid it thinks actually owns the credentials that it's looking for. At
mount time, this is generally set to the real uid of the user doing the mount. For multisession mounts, it's set to the fsuid of the
mount user. Set this option if you want cifs.upcall to use the older uid= parameter instead of the creduid= parameter.
--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. Support for this key type may eventually be deprecated (see below).
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/sbin/cifs.upcall %k
create dns_resolver * * /usr/sbin/cifs.upcall %k
See request-key.conf(5) for more info on each field.
The keyutils package has also started including a dns_resolver handling program as well that is preferred over the one in cifs.upcall. If
you are using a keyutils version equal to or greater than 1.5, you should use key.dns_resolver to handle the dns_resolver keytype instead
of cifs.upcall. See key.dns_resolver(8) for more info.
SEE ALSO request-key.conf(5), mount.cifs(8), key.dns_resolver(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 02/07/2010 CIFS.UPCALL(8)