LinuxQuestions.org
Visit Jeremy's Blog.
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 11-16-2010, 12:21 PM   #1
zuasive
LQ Newbie
 
Registered: Mar 2009
Location: Ohio
Distribution: ubuntu, opensuse, debian, centos
Posts: 11

Rep: Reputation: 0
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.)
 
Old 11-16-2010, 04:50 PM   #2
mlh122
LQ Newbie
 
Registered: Nov 2010
Location: Portland, OR
Distribution: Ubuntu mostly
Posts: 5

Rep: Reputation: 0
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.
 
Old 11-16-2010, 07:45 PM   #3
zuasive
LQ Newbie
 
Registered: Mar 2009
Location: Ohio
Distribution: ubuntu, opensuse, debian, centos
Posts: 11

Original Poster
Rep: Reputation: 0
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.
 
Old 11-16-2010, 07:58 PM   #4
zuasive
LQ Newbie
 
Registered: Mar 2009
Location: Ohio
Distribution: ubuntu, opensuse, debian, centos
Posts: 11

Original Poster
Rep: Reputation: 0
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.
 
Old 11-16-2010, 08:33 PM   #5
zuasive
LQ Newbie
 
Registered: Mar 2009
Location: Ohio
Distribution: ubuntu, opensuse, debian, centos
Posts: 11

Original Poster
Rep: Reputation: 0
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.
 
  


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
Connection to DAAP music share refused (on Ubuntu Lucid) wichiff Linux - Software 0 10-13-2010 01:12 PM
LXer: Puppy 5.1 codename Lucid is out- Now is compatible with Ubuntu 10.04 Lucid Lynx package LXer Syndicated Linux News 0 08-15-2010 02:20 PM
LAMP Installation Problem in Ubuntu Lucid 10.04 arun-linux Linux - Newbie 9 07-02-2010 04:49 AM
Ubuntu Lucid codeblocks problem artur13 Linux - Software 0 04-23-2010 06:53 AM
Connectivity problem with network on Mandrake 10.1 LAN/WAN/Samba BiO|Happy Linux - Wireless Networking 0 04-29-2005 04:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:41 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
Open Source Consulting | Domain Registration