LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 09-24-2007, 01:18 PM   #1
seuchato
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:
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
 
Old 10-13-2007, 04:30 AM   #2
seuchato
LQ Newbie
 
Registered: Jul 2006
Posts: 14

Original Poster
Rep: Reputation: 0
Hi

Does noone have an idea or solution?

Greets chris
 
Old 10-13-2007, 09:24 AM   #3
seuchato
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

Links
results
http://www.linuxquestions.org/questi...fs#post2884859
No 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=cifs
There is no true answer to this and I certainly do not want to have passwords in fstab!
http://www.linuxquestions.org/questi...highlight=cifs
I 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=cifs
I 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=cifs
p_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
 
  


Reply


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 40 10-31-2012 08:50 AM
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


All times are GMT -5. The time now is 04:05 PM.

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