- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: CIFS client issue
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2006 10:53 PM
тАО01-20-2006 10:53 PM
CIFS client issue
Getting the Permission Denied error
Checked the Folder permission it has Full 777 permissions even in windows side as well
You experts points are welcome
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2006 03:44 AM
тАО01-21-2006 03:44 AM
Re: CIFS client issue
Don't check from the windows side. If the Unix side is the server, check from the Unix side.
Lets say the folder is named /schmobagel
ll -d /schmobagel
For non-root users to write to it, it must have write permissions for those users.
If there are subfolders in /schmobagel then their ownership should be checked as well.
Its possible to limit access to the share in the smb.cnf file as well. Check the shares in there to make sure they permit write and are not set readonly=yes
Any of these little things will prevent non-root users access.
If you have a question, post the ll -d and snippet from smb.conf back to this thread.
/etc/opt/samba/smb.conf
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2006 03:48 AM
тАО01-21-2006 03:48 AM
Re: CIFS client issue
As you said Cifs server setup has been successfully done in unix server . windows clients are able to access it ..
My issue is Windows is the file server i am mounting that windows directory in Unix using the command
#mount -F cifs -o username=user,password=pass servername:/mountpoint /localmountpoint
Except the root user other users are unable to access it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2006 04:03 AM
тАО01-21-2006 04:03 AM
Re: CIFS client issue
In this case the Unix users need to correspond to valid Windows users to have proper access.
Since root is doing the mount, it makes sense that it has access.
Has the Unix machine used the net command to join the domain? If security=domain is being used, and its a good idea, then join the domain and the problem should go away.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2006 04:24 AM
тАО01-21-2006 04:24 AM
Re: CIFS client issue
For Cifsclient we have mentioned the /etc/opt/cifsclient/cifsclient.cfg
Domain=workgroupname
it's workgroup based what is the suggested way to acieve and gimme the setup so that i can re configure it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2006 04:28 AM
тАО01-21-2006 04:28 AM
Re: CIFS client issue
If there is no domain, I guess it should work. If there is a domain, you may get better results by joining the Samba server to the domain.
Also, even though you are only using CIFS client, you may need to have CIFS server installed, but not running. I've found CIFS server does not work right when CIFS client is not installed. The net join command in my case failed until client was installed.
I now believe that the two depots should be installed as a pair.
After this nice digression, my next question is what version of CIFS is installed. The newer the better, there were lots of bugs in older versions.
swlist -l product | grep -i CIFS
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2006 04:40 AM
тАО01-21-2006 04:40 AM
Re: CIFS client issue
CIFS-Development A.01.11.02 HP CIFS Server Source Code Files
CIFS-Server A.01.11.02 HP CIFS Server (Samba) File and Print Services
it will mount succesfully ... no issues only clients i checked the Directory permissions from windows side & unix directory as well all are having full permission
The unix user which it's trying to access the mount point should be logged into the wins server(CIFS server) using cifslogin?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2006 05:18 AM
тАО01-21-2006 05:18 AM
Re: CIFS client issue
If you don't have full integration of the windows server to the windows domain, the same character user id from unix will be recognized by windows.
There may be password issues.
If the user can use the cifsmount command(I don't know) perhaps if the user did the mount with user id and password it would work.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2006 09:00 AM
тАО01-23-2006 09:00 AM
Re: CIFS client issue
You did the cifsmount with root - that is why you have root access. All other users must do a cifslogin - that is the authentication required to access the share (mount). Look at the newest CIFS Client Admin manual (docs.hp.com) on page 43:
Before a user on a CIFS client can access the mountpoint of a CIFS server, the user must be authenticated by the server (the user must login to the server). Four login methods are available; they are explained in the following pages. Restrictions at the file or directory level on the server's filesystem are also enforced by the server
Then you get all of the auth-n detail. You can even do kerberos, etc....
Here is the manual url:
http://www.docs.hp.com/en/B8724-90067/B8724-90067.pdf
Eric Roseme
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2006 09:50 AM
тАО01-26-2006 09:50 AM