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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-16-2010, 12:21 PM
|
#1
|
LQ Newbie
Registered: Mar 2009
Location: Ohio
Distribution: ubuntu, opensuse, debian, centos
Posts: 11
Rep:
|
Ubuntu Lucid samba share connectivity problem
Greetings, I have searched and searched for about three hours now trying to find a resolution none of which do a thing. I'm hoping since the community here is quite responsive you might be able to help me.
Why the heck is it so hard to get Lucid to connect to a samba share?
Alright heres the details: I recently setup a Maverick Samba server (I know I shouldn't have went bleeding edge) with multiple file shares. Windows XP connects to all three shares I have setup with no problems at all and accepts the credentials. I have a laptop and a media pc both of which run Lucid and neither of them seem to connect they both just continually prompt me for credentials. Now I'm a bit confused shouldn't Windows have the problems and not linux?
What I have done so far:
I have ripped all samba out of the media center pc completely. All dependencies and everything. (That was a pain as there were broken dependencies out of the box)
I reinstalled the entire samba package even server
I installed smbfs
I configured samba to use share level permissions instead of user (smb.conf)
I installed system-samba-config and changed the saved password as well
I can browse (nautilus) the base samba share and see the folders but when it comes to accessing them it prompts me for credentials continually.
I can list the shares from command with smbclient -L server no problem (syntax)
Still nothing, any ideas what could possibly be the problem? I'm sure you'll want to see my smb.conf file but seriously shouldn't one ubuntu system be able to talk to another ubuntu system without a bunch of bologna?
(Sorry if it seems a bit rant like, I'm just a bit perturbed. Everything with my setup has been a piece of cake until now.)
|
|
|
11-16-2010, 04:50 PM
|
#2
|
LQ Newbie
Registered: Nov 2010
Location: Portland, OR
Distribution: Ubuntu mostly
Posts: 5
Rep:
|
I have a similar setup, I use a Ubuntu system running samba. I intermittently get either the repeating credentials issue, or just no connection to the server. what usually fixes it is going to Places, and Connect to Server and choosing "Windows Share" even though it is Samba, and filling out the info and trying to connect then. sometimes that works, and sometimes that doesn't work but i find a few minutes after doing that I can then connect through Nautilus. It hasn't happened in a while though so I could be forgetting something.
|
|
|
11-16-2010, 07:45 PM
|
#3
|
LQ Newbie
Registered: Mar 2009
Location: Ohio
Distribution: ubuntu, opensuse, debian, centos
Posts: 11
Original Poster
Rep:
|
Hmm, thanx for the quick response and possible direction. It sounds a bit like a bug although I think there are quite a few similar bug reports. I may have tried that but I will actually test it now on my laptop before I test it on my media pc.
|
|
|
11-16-2010, 07:58 PM
|
#4
|
LQ Newbie
Registered: Mar 2009
Location: Ohio
Distribution: ubuntu, opensuse, debian, centos
Posts: 11
Original Poster
Rep:
|
Well no luck there unfortunately, the logs say it's using the wrong password. What a pain in the neck, such a trivial thing ends up being so complicated. So no working out of the box, oh well. I will post the resolution when I find it so hopefully someone will find this post when they run into the same problem.
|
|
|
11-16-2010, 08:33 PM
|
#5
|
LQ Newbie
Registered: Mar 2009
Location: Ohio
Distribution: ubuntu, opensuse, debian, centos
Posts: 11
Original Poster
Rep:
|
Alright so the answer is don't use nautilus in fact don't use any gui you'll only get angry. Go strait to the command line and mount the share, problem solved.
sudo mkdir /mnt/MOUNTDIR
sudo mount.cifs //SERVERIPADDRESS/SAMBASHARE /mnt/MOUNTDIR -o username="SAMBAUSERNAME",password=SAMBAPASSWORD,iocharset=utf8
Tada! What a bunch of hooey seriously. Oh make sure you have samba-common smbclient and smbfs installed.
If anyone's messing with XBMC on an Ubuntu box and you want to connect to an Ubuntu Maverick Samba server this is the answer. It's indirect IMHO but it works.
|
|
|
All times are GMT -5. The time now is 11:41 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
|
|