LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 09-12-2007, 05:29 AM   #16
pwabrahams
Member
 
Registered: Nov 2005
Location: Deerfield MA
Distribution: OpenSuSE, Kubuntu
Posts: 272

Original Poster
Rep: Reputation: 41
winbind


Also make sure that winbind is running.
Code:
ps -A | grep winbind
will tell you for sure.
 
Old 09-12-2007, 07:06 PM   #17
Baloo_PNW
LQ Newbie
 
Registered: Jun 2006
Posts: 12

Rep: Reputation: 0
I've got to throw out a big mea culpa. Evidently our 2 year old can now reach the power button on the "Kitchen" box. Since it stores all of our Music it's "always on" so I didn't even think to double check that it was accessible.

So yes editing nsswitch.conf did fix the problem for me thanks.
 
Old 10-15-2007, 12:31 AM   #18
Baloo_PNW
LQ Newbie
 
Registered: Jun 2006
Posts: 12

Rep: Reputation: 0
OK so I've just upgraded from Suse 10.2 to Suse 10.3 and now cifs is giving me the following error
mount error 13 = Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

I've tried as sudo and just running as root even as su -. I can access the share via the smb:// protocol so yes they are currently running.

Why does Linux make it next to impossible to set up and maintain a simple home network?
 
Old 10-16-2007, 01:09 PM   #19
jimu
LQ Newbie
 
Registered: Sep 2007
Posts: 5

Rep: Reputation: 0
Quote:
Originally Posted by Baloo_PNW View Post
OK so I've just upgraded from Suse 10.2 to Suse 10.3 and now cifs is giving me the following error
mount error 13 = Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

I've tried as sudo and just running as root even as su -. I can access the share via the smb:// protocol so yes they are currently running.
What's your mount command look like?

try changing:
mount -t cifs //server/share /mymount -o
user=myuser,password=mypassword,domain=mydomain
to:
mount -t cifs //server/share /mymount -o
user=mydomain/myuser,password=mypassword

ref: http://osdir.com/ml/linux.file-systems.cifs/2004-04/msg00016.html
 
Old 10-17-2007, 07:37 PM   #20
Baloo_PNW
LQ Newbie
 
Registered: Jun 2006
Posts: 12

Rep: Reputation: 0
Quote:
Originally Posted by jimu View Post
What's your mount command look like?
mount /mnt/Music :^)

The line in fstab is

//kitchen/music /mnt/Music cifs username=un,password=pw,gid=users 0 0

which was finally working without the IP address in 10.2 thanks to pwabrahams. When I upgraded to 10.3 (KDE keeps getting better and better while Samba seems to be going down the drain), I followed his instructions again but cifs was still griping about the host so I added the current IP of the kitchen box and got the permission denied error.

Thanks for the tip. I'd seen posts like that one about cifs now requiring a domain name and attempted both of those configurations but neither worked where mydomain=myWindowsNetworkName.
Should I be using a different value?
 
Old 10-24-2007, 08:36 PM   #21
dtmbmw325i
Member
 
Registered: May 2006
Location: Lebanon, PA
Distribution: Ubuntu 7.10
Posts: 47

Rep: Reputation: 16
Quote:
Originally Posted by dtmbmw325i View Post
I feel as if I could be having the same issue so any help is appreciated. When trying to connect to a Samba share from a Windows XP machine I cannot connect to it via hostname only by IP address. The odd thing is that the first time on another box I set this up without issue, this time I am having this issue. I am assuming its a DNS style issue. I am obtaining DHCP ip numbers from the router so creating entries into an lmhosts file or wins file is pointless because of that ip address getting changed at some point. Can the router resolve in house dns or do I have to run a dns server? I would prefer not to run dns on my server unless thats what was going on with my original box. Thanks in advance for the help.
The solution to my problem was rather simple. I dont know if it would help any of you but it was rather basic and easy to overlook. I had my box named mysticalalero2400. The problem is that hostnames are only good under 15 characters (rather that is the maximum length). The name of mine was over 15. I changed my hostname to something smaller and it works without issue, imagine that!
 
  


Reply

Tags
cifs, mount, samba, winbind, wins


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
mounting samba shares wheaties_box Linux - Software 1 01-23-2007 01:21 AM
mounting shares with samba darkleaf Linux - Software 1 02-13-2005 07:13 AM
Mounting Samba shares and Samba Share Login time112852 Linux - Software 1 09-14-2003 03:23 PM
mounting samba shares easily crisponions Linux - General 4 07-17-2003 12:07 AM
Mounting Win98 shares using SAMBA desbyleo Linux - Software 3 02-17-2002 08:47 PM


All times are GMT -5. The time now is 01:51 PM.

Main Menu
Advertisement
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