| Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
09-24-2007, 01:18 PM
|
#1
|
|
LQ Newbie
Registered: Jul 2006
Posts: 14
Rep:
|
can access a share through smbclient but not though mount.cifs
Hi there
That's my problem:
Quote:
ck@cdm:~> smbclient //fs/KIAGCAD -U ck
Password:
Domain=[K23.LOKAL] OS=[Unix] Server=[Samba 3.0.23d-19.7-1354-SUSE-SL10.2]
smb: \> q
ck@cdm:~> /sbin/mount.cifs //fs/KIAGCAD N
Password:
mount error 1 = Operation not permitted
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
|
So: I can access a share through smbclient but not though mount.cifs. ck has read/write access to directory N. Why does nount.cifs not work?
greets chris
|
|
|
|
10-13-2007, 04:30 AM
|
#2
|
|
LQ Newbie
Registered: Jul 2006
Posts: 14
Original Poster
Rep:
|
Hi
Does noone have an idea or solution?
Greets chris
|
|
|
|
10-13-2007, 09:24 AM
|
#3
|
|
LQ Newbie
Registered: Jul 2006
Posts: 14
Original Poster
Rep:
|
Hi there
I did various searches. Here are the most relevant links and what I concluded / learnt there
Links results http://www.linuxquestions.org/questi...fs#post2884859No help at all, I do not want to use credentials on each linux client Does not meet my problem really http://www.linuxquestions.org/questi...highlight=cifsThere is no true answer to this and I certainly do not want to have passwords in fstab! http://www.linuxquestions.org/questi...highlight=cifsI don't have a networking problem, ong by name and IP works well, can see my shares through konqueror http://www.linuxquestions.org/questi...highlight=cifsI don't have this kind of problem. When I do as root (but that's exactly what I do not want, anyway)
Code:
mount //server/share -o username=theuser
I get it mounted for good (after giving the passwd for theuser off course). Apart from that, I use cifs not smbfs I use cifs not smb, theuser exist on local linux client, server and a w2k machine with identical name and passwd. I guess that is proven by mount example above. Acces for theuser to the share is granted by correct rights also. I have disabled all internal firewalls for the time being. So no help here. http://www.linuxquestions.org/questi...highlight=cifsp_s_shah hints I shoud try using smbclient: that works.
Code:
mount -t cifs -o userid="theuser" //server/share /directory
mount: Only „root“ can do this
smbmount is not supported in suse 10.2, so I try using mount.cifs and/or mount -t cifs:
Code:
sudo mount -t cifs -o username=theuser //server/another_share /directory
works, and the difference is given by ls -l, it shows the owner root and a group of xxxx for the share and group users for another_share. on server theuser is part of groups xxxx and users, on client only of users Conclusion so far: it IS a permission problem. I need to get a single signon solution up and working, before haveing user dependant mounts working.
greets chris
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:34 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|