LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-18-2009, 10:47 AM   #1
DarkFlame
Member
 
Registered: Nov 2008
Location: San Antonio, TX, USA
Distribution: Ubuntu Server 8.10 & SAMBA 3.2.3
Posts: 158
Blog Entries: 1

Rep: Reputation: 30
Ubuntu Desktop access to Ubuntu Server


SETUP:
I've got a box running nothing but Ubuntu Server 8.10 (Intrepid Ibex), including Samba 3.2.3. It works fine. I've got 2 more boxes running nothing but WinXP Pro, and they have access to the server. I just built my daughter a box with Ubuntu 8.10 Desktop. ALL the boxes have access to the Internet. The XP boxes have access to the server, and to each other. It is a Windows Worgroup, not a domain. I have two logins on the new Ibex box, one for my daughter, who does not have any UID or PW on the Linux server or the Samba server (both in the same box, Samba running as part of Linux on the box). But, my login is as an admin on both boxes (& I can root, also). My server is running headless, and I'm using only the CLI. The data drive on the server is in ext3 format.
DESIRED RESULT:
I would like to get the Ubuntu Desktop box to have access to the server, too, when I login as me, but not my daughter. Currently neither of us can see the server. I just want my login to be able to see it.
SUSPECTED ISSUE:
I believe that I need to share the folder not only in Samba, but also in NFS, but I'm not sure. I'm not even sure if it IS shared yet in NFS.
I would have posted this in the Newbie forum, or in the Desktop forum, but I suspect the issue is with the Server setup instead of the Desktop. I think that if the Server is setup correctly, I should be able to see the folder in the File Browser (on the Ubuntu Desktop box), but it's not there, and it's not in the "Network places" although "Windows Network" is, and the RCH-WORKGROUP (workgroup) is. However, there is nothing in the workgroup. I have not shared anything on the WinXP boxes, so I wouldn't expect to see anything there.

Any suggestions will be GREATLY appreciated!!!
 
Old 01-19-2009, 04:48 AM   #2
robertjinx
Member
 
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 587

Rep: Reputation: 58
What does it mean, currently we cant see the server? Can you ping it something?!

Try to do something like smb://XXX.XXX.XXX.XXX/, I have also the same idea, Ubuntu Desktop, Windows XP and Ubuntu Server and samba seems to work quite fine, im using a Workgroup too, not Domain.
 
Old 01-19-2009, 09:45 AM   #3
DarkFlame
Member
 
Registered: Nov 2008
Location: San Antonio, TX, USA
Distribution: Ubuntu Server 8.10 & SAMBA 3.2.3
Posts: 158
Blog Entries: 1

Original Poster
Rep: Reputation: 30
I am able to ping the server ("ping 192.168.2.5") from the Ubuntu desktop. I can login to the router from any computer and see the DHCP client list that includes all 3 workstations and the server.

But, from the Ubuntu Desktop, trying to use the file browser, I'm not able to see the shared data folder on the server. If I go to "File, Connect to Server" & then type in the name of the server "//RCH-SERVER" or the IP address of the server, it just gives me a blank screen.
 
Old 01-19-2009, 10:04 AM   #4
robertjinx
Member
 
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 587

Rep: Reputation: 58
But try in Nautilus something lile: location: smb://192.168.2.5/

See if it works.
 
Old 01-19-2009, 11:49 AM   #5
DarkFlame
Member
 
Registered: Nov 2008
Location: San Antonio, TX, USA
Distribution: Ubuntu Server 8.10 & SAMBA 3.2.3
Posts: 158
Blog Entries: 1

Original Poster
Rep: Reputation: 30
Apparently, Gnome (ver 2.24.1) doesn't have Nautilus, only a "Places" thing on the "task bar" and I can sftp to it. But, I want to mount the drive so that it's always there whenever I login as me.

(That'll allow me to figure out how to sync my PocketPC to Ubuntu, which is one of the main hurdles to me replacing MY XP box with Ubuntu.)

I gotta go off to work, and won't be home till after 8 pm (cst). I'll look at it again then.

Thanks!
David
 
Old 01-19-2009, 11:49 AM   #6
DarkFlame
Member
 
Registered: Nov 2008
Location: San Antonio, TX, USA
Distribution: Ubuntu Server 8.10 & SAMBA 3.2.3
Posts: 158
Blog Entries: 1

Original Poster
Rep: Reputation: 30
dup'd post

Last edited by DarkFlame; 01-20-2009 at 11:58 PM. Reason: Duplicate post
 
Old 01-20-2009, 02:45 AM   #7
robertjinx
Member
 
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 587

Rep: Reputation: 58
OK, look do this: Go to Places, open Home Folder, and then do as in the screen shot

http://www.robertalks.com/img/nautilus_smbfs.png

It has to work... try it
 
Old 01-21-2009, 12:25 AM   #8
DarkFlame
Member
 
Registered: Nov 2008
Location: San Antonio, TX, USA
Distribution: Ubuntu Server 8.10 & SAMBA 3.2.3
Posts: 158
Blog Entries: 1

Original Poster
Rep: Reputation: 30
Ok, I did it. I had to figure out how to go from "button" based browsing to "text" based. But, once I did that, I was able to smb into the server. Here is the screen shot:
http://www.readycashhomebuyers.com/Linux/shot.png. But, when I tried to open the DATA folder (the one that is the "My Documents" from my XP box), I got this: http://www.readycashhomebuyers.com/Linux/notopen.png. And, I'm logged in as me (admin with full rw rights), so I'm not sure what's happening.
 
Old 01-21-2009, 02:31 AM   #9
robertjinx
Member
 
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 587

Rep: Reputation: 58
Well from my point of view, you might have 2 issue, wrong Samba configuration and/or firewall settings.

Check again samba configuration and firewall if you have.
 
Old 01-21-2009, 08:17 AM   #10
DarkFlame
Member
 
Registered: Nov 2008
Location: San Antonio, TX, USA
Distribution: Ubuntu Server 8.10 & SAMBA 3.2.3
Posts: 158
Blog Entries: 1

Original Poster
Rep: Reputation: 30
The firewall(s), on the server (and both XP boxes) is (are) turned off, and I don't see any settings (on the workstation, in Gnome) for a firewall - nothing in either "System Preferences" or "System Administration."

I'm pretty much thinking something with my smb.conf, so I've included it here:

Code:
[global]
        workgroup = RCH-WORKGROUP
        server string = %h server (File & Print Server)
        map to guest = Bad User
        obey pam restrictions = Yes
        passdb backend = tdbsam
        pam password change = Yes
        passwd program = /usr/bin/passwd %u
        passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
        unix password sync = Yes
        syslog = 0
        log file = /var/log/samba/log.%m
        max log size = 1000
        dns proxy = No
        usershare allow guests = Yes
        panic action = /usr/share/samba/panic-action %d

[homes]
        comment = Home Directories
        read only = No
        create mask = 0775
        directory mask = 0775

[DATA]
        comment = Network Data
        path = /NW-DATA/DATA
        read only = No
        force create mode = 0660
        force directory mode = 0770
        guest ok = Yes

[printers]
        comment = All Printers
        path = /var/spool/samba
        create mask = 0700
        printable = Yes
        browseable = No

[print$]
        comment = Printer Drivers
        path = /var/lib/samba/printers
 
Old 01-21-2009, 08:22 AM   #11
robertjinx
Member
 
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 587

Rep: Reputation: 58
I actually have the same config for samba, but for me it works...?! I dont really get it, whats the problem.

For me with that conf work on Ubuntu and Windows without any issues. So dont see any config problem, but if there is one, Im missing it
 
  


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
Ubuntu Desktop vs. Ubuntu Server Joe Donner Ubuntu 20 04-10-2013 04:20 AM
LXer: How To Configure Remote Access To Your Ubuntu Desktop LXer Syndicated Linux News 0 02-14-2008 04:20 PM
Intel i810 on-board graphics card bug, with Ubuntu server 7.04 running Ubuntu-Desktop calebf Linux - Server 2 05-15-2007 12:53 AM
Server packages for Ubuntu 6.06 Desktop johnincsoftware@gmai Linux - Software 6 08-03-2006 04:35 PM
Ubuntu Server with Samba, Windows PC's cant access server! elliotfuller Linux - Networking 1 09-10-2005 07:40 AM


All times are GMT -5. The time now is 12:30 AM.

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