Hi Team,
I am not able to get file name from shared drive when filename have spaces in it.
following command i am using.
filename="REP00105 - ABC XYZ (SCM)_ 1.TXT"
/hfx/opt/samba220/bin/smbclient \\\\${nt_host}\\${nt_share} ${NT_PASSWORD} -U${NT_USERNAME} -c "cd ${nt_directory}; prompt;... (1 Reply)
When i tried to mount the nfs i see this error message
mount -t nfs 192.168.20.194:/remote/proj1 /nfsmount
mount: 192.168.20.194:/remote/proj1 failed, reason given by server: Permission denied
and the /etc/exports file in the host side looks like this
/remote/proj1 ... (12 Replies)
I have AD (active directory) user, "asdf", created and a matching local AIX user name. Using "kinit", I can successfully authenticate it against the MS AD but when they I try to login via SSH with the same user name, it doesn't work. How can I get AIX to allow kerberos authentication as a valid... (1 Reply)
I've got an unusual problem that deals with connecting via SMB under Snow Leopard, to a directory share with over 1,000 users. When I connect to the main directory share, the next level reveals 1,000 users, but I'd like to have the connection identify me as a registered user in AD at the time of... (0 Replies)
It is possible to authenticate AIX-users to the Windows 2003 Active Directory.
But is it also possible to do full useradministration in the ADS without also adding users to the local AIX-server?
I have the following working:
1. Add user to the ADS
2. Add user to AIX with 'mkuser... (2 Replies)
Hi ,
I am new to the unix .
And right now I have a unix machine "test" . I want to share a folder in the /opt/example .AND I hope when I use a windows machine to access the unix machine ,ep:start->cmd->\\test,I can see the shared folder "example",
what shall I do
thanks :) (2 Replies)
sharing(8) BSD System Manager's Manual sharing(8)NAME
sharing -- create share points for afp and smb services.
SYNOPSIS
sharing [-a <path> [options]] [-e <share point name> [options]] [-r <share point name>] [-l]
DESCRIPTION
A list of flags and their descriptions:
-a <path>
Add a new share point for the directory specified by <path>.
-e <share point name>
Edit the share point record specified by <share point name>.
-r <share point name>
Delete the share point record specified by <share point name>.
-l List all existing share point records.
The following options modify share point record attributes:
-A <afp name>
Use customized name <afp name> when using share point with afp.
-S <smb name>
Use customized name <smb name> when using share points with smb.
-s <flags>
Use this option to enable and disable sharing via afp and smb. By default a share point is enabled for afp and smb protocols. To
enable and disable particular services, combine (binary AND) the following flags as required: 100 (enable sharing for afp) and 001
(enable sharing for smb). Specify 000 to turn off sharing of a share point altogether.
-g <guest flag>
Use this option to enable and disable guest access for afp and smb. By default guest access is enabled for afp and smb. To enable
and disable guest access to particular services, combine (binary AND) the following flags as required: 100 (enable guest for afp)
and 001 (enable guest for smb). Specify 000 to turn off guest access for a share point altogether.
-i <inherit privileges flag>
Use this option to enable and disable the "inherit privileges" attribute for afp. By default "inherit privileges" is enabled for
afp. To enable "inherit privileges", combine (binary AND) the following flags as required: 10 ("inherit privileges" for afp).
Specify 00 to turn off "inherit privileges" for a share point altogether.
-n <customized record name>
Specify a <customized record name> to be used as the share point record name. By default the record name is the name of the direc-
tory pointed to by the share point record. This directory is specified by the <path> when the record is created.
EXAMPLES
/usr/sbin/sharing -a /SomePath/ShareThisDirectory
This example shows how to create a share point for the directory "/SomePath/ShareThisDirectory":
/usr/sbin/sharing -e ShareThisDirectory -A SP1 -g 101
This example shows how to edit the share point record created above, adding a customized name "SP1" for afp servies, and enabling guest
access only for afp and smb.
FILES
/usr/sbin/sharing location of tool
macOS June 1, 2019 macOS