Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 09-24-2007, 01:18 PM   #1
LQ Newbie
Registered: Jul 2006
Posts: 14

Rep: Reputation: 0
can access a share through smbclient but not though mount.cifs

Hi there
That's my problem:
ck@cdm:~> smbclient //fs/KIAGCAD -U ck
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
mount error 1 = Operation not permitted
Refer to the mount.cifs(8) manual page ( 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
Old 10-13-2007, 04:30 AM   #2
LQ Newbie
Registered: Jul 2006
Posts: 14

Original Poster
Rep: Reputation: 0

Does noone have an idea or solution?

Greets chris
Old 10-13-2007, 09:24 AM   #3
LQ Newbie
Registered: Jul 2006
Posts: 14

Original Poster
Rep: Reputation: 0
Hi there

I did various searches. Here are the most relevant links and what I concluded / learnt there

No help at all, I do not want to use credentials on each linux client
Does not meet my problem really
There is no true answer to this and I certainly do not want to have passwords in fstab!
I don't have a networking problem, ong by name and IP works well, can see my shares through konqueror
I don't have this kind of problem. When I do as root (but that's exactly what I do not want, anyway)
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.
p_s_shah hints I shoud try using smbclient: that works.
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:
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
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cifs "mount error 13 = Permission denied" CIFS SUCKS humbletech99 Linux - Networking 44 02-26-2016 12:45 PM
Mount cifs share problems BarryLinux Linux - Newbie 11 06-04-2012 12:42 AM
Mount.cifs Mounting a subdirectory of a windows share MonctonJohn Linux - Networking 4 09-28-2007 05:15 AM
Can't mount nfs- or cifs-share rw in Debian pingu Linux - Networking 0 07-03-2007 07:43 AM
Access CIFS Share from Linux johnnybhoy67 Linux - Networking 0 11-30-2005 09:30 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:02 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration