LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Ubuntu Desktop access to Ubuntu Server (https://www.linuxquestions.org/questions/linux-server-73/ubuntu-desktop-access-to-ubuntu-server-698117/)

DarkFlame 01-18-2009 09:47 AM

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!!!

robertjinx 01-19-2009 03:48 AM

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.

DarkFlame 01-19-2009 08:45 AM

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.

robertjinx 01-19-2009 09:04 AM

But try in Nautilus something lile: location: smb://192.168.2.5/

See if it works.

DarkFlame 01-19-2009 10:49 AM

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

DarkFlame 01-19-2009 10:49 AM

dup'd post

robertjinx 01-20-2009 01:45 AM

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

DarkFlame 01-20-2009 11:25 PM

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.

robertjinx 01-21-2009 01:31 AM

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.

DarkFlame 01-21-2009 07:17 AM

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


robertjinx 01-21-2009 07:22 AM

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 :)


All times are GMT -5. The time now is 04:26 AM.