Do you mean NFS share to another unix server? You can browse /etc/exports to see what you are sharing. A mount statement on the client would be something like:-
Do you mean a Samba share to mount with a Windows client?
If you fire up a browser like this, then you may get a management GUI where you can explore:-
You will need to put in the root password.
CAUTION - you will be able to edit the configuration very easily, so mistakes are easy.
The configuration file is likely to be similar to /opt/freeware/samba/version/etc/smb.conf
Find it and copy it away securely before you start. .
Not sure what else you might mean.
Do any of these help? If it's the 3rd option, can you explain a little more of what you are trying to achieve please.
Hello Unix Gurus Who I Hope Reads This,
I have quasi-inherited control over a Linux cluster at a university research lab. The post-doc that set it up is gone, and the person in charge of administering the cluster doesn't know a ton about Linux. Amongst other things, I want to use the cluster... (0 Replies)
Is there a way for a server to determine client's DNS ip? I have an application that logs client's IP but in certain cases its desirable to know their DNS too (1 Reply)
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 all,
Using sh/csh, unfortunately shell scripts are not my strong suit.
Trying to write a script that gets called from a program for pre-processing.
The program passes individual components of a UNC (//server/path1/path2/filename).
Thus the unc path of: //server/path1/path2/filename, is... (7 Replies)
Need help with the script, I am trying to include this script as part of kickstart profile.
based of the host's IP address, in this case if the host is IP starting with 10.10.3.* or 10.10.6.*, I will be pushing appropriate routing file from my web server.
I validate host IP from nslookup.
... (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)
Discussion started by: SIMMS7400
8 Replies
LEARN ABOUT MOJAVE
curlopt_share
CURLOPT_SHARE(3) curl_easy_setopt options CURLOPT_SHARE(3)NAME
CURLOPT_SHARE - specify share handle to use
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_SHARE, CURLSH *share);
DESCRIPTION
Pass a share handle as a parameter. The share handle must have been created by a previous call to curl_share_init(3). Setting this option,
will make this curl handle use the data from the shared handle instead of keeping the data to itself. This enables several curl handles to
share data. If the curl handles are used simultaneously in multiple threads, you MUST use the locking methods in the share handle. See
curl_share_setopt(3) for details.
If you add a share that is set to share cookies, your easy handle will use that cookie cache and get the cookie engine enabled. If you
unshare an object that was using cookies (or change to another object that doesn't share cookies), the easy handle will get its cookie
engine disabled.
Data that the share object is not set to share will be dealt with the usual way, as if no share was used.
Set this option to NULL again to stop using that share object.
DEFAULT
NULL
PROTOCOLS
All
EXAMPLE
TODO
AVAILABILITY
Always
RETURN VALUE
Returns CURLE_OK
SEE ALSO CURLOPT_COOKIE(3),
libcurl 7.54.0 February 03, 2016 CURLOPT_SHARE(3)