LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-02-2009, 11:49 PM   #1
odyssey84
Member
 
Registered: Dec 2004
Posts: 50

Rep: Reputation: 15
Samba in Ubuntu Intrepid - renaming workgroup problem


Greetings,

I have my Ubuntu Samba set up with workgroup default named to WORKGROUP and my Windows machine set up with workgroup set as GALAXY. The Ubuntu machine can see into the shares on the Windows machine, however, the Windows machine can't see into the Ubuntu machine. Is this due to the workgroup names being different? If so, I'll change the smb.conf file to GALAXY (what I'd rather have).

I'm also having trouble setting up shares on the Ubuntu machines that the Windows machine can see - I'm not being allowed to. Do I need root access to do this? Please let me know how to set things to read/write as I need to transfer some files between the machines.

Thanks,

Scott
 
Old 01-03-2009, 05:23 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,229

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Quote:
Is this due to the workgroup names being different?
Yes, this is one of many causes why windoze can not see a Samba share. There are many more.

Quote:
I'm not being allowed to. Do I need root access to do this?
You need root privileges, for Ubuntu ( or any buntu flavour ) you use sudo. The file you need to edit is /etc/samba/smb.conf

I don't know what editor you have, possibly gedit? So, form a command prompt, enter 'sudo gedit /etc/samba/smb.conf' ( without the quotes ) and press enter. You will be prompted for the root password, you should have set it up during install. Enter it, the gedit session will open with root privileges. You can then edit the file.
 
Old 01-03-2009, 04:06 PM   #3
odyssey84
Member
 
Registered: Dec 2004
Posts: 50

Original Poster
Rep: Reputation: 15
Cliff,

I made the change in smb.conf. Now I see the two computers plus Windows Network. When I click on Windows Network, I see GALAXY and WORKGROUP. The two computers are also in GALAXY with nothing in WORKGROUP. Any ideas?

I'm also not sure how to set up the shares as root when I can't log in as such from the GNOME. Can you let me know how to do so?

Thanks,

Scott
 
Old 01-04-2009, 05:43 AM   #4
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,229

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Quote:
I see GALAXY and WORKGROUP. The two computers are also in GALAXY with nothing in WORKGROUP. Any ideas?
Strange. The workgroup is probably residual. Are you seeing 'workgroup' on a windoze system as an Icon? If yes, delete it.

Ubuntu out of the box, you have to sue 'sudo' to get root privileges. I know it's a pain, that is the way Ubuntu is. I have used it, didn't like this, ( and other things in Ubuntu ) and dropped it. It is possible to change Ubuntu to allow root use via su, you would have to look up how. I haven't used Ubuntu in a long time, and don't remember how.

There are more choices. I always install Webmin on my systems. For samba there is Swat, I install that also. Then I do most of the configuration and monitoring through Webmin + Swat. You can look in Synaptic, the package manager for Ubuntu for those packages. When you set up Webmin, you can create a user, and allow the Webmin user the ability to use the Samba tools in Webmin and Swat. That takes more effort, but makes things easier in the long run. Cool thing about Webmin, you can log in from any system all you need is a web browser, then you use in the location bar

https://xxx.yyy.zzz.aaa:10000 to connect, where xxx.yyy.zzz.aaa is the IP address of the host you want to connect to. So, you can administer your Linux system from windoze, if you want to.
 
  


Reply



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
Can't log into Ubuntu(Intrepid)! Deewanagan Ubuntu 2 12-31-2008 08:23 AM
Problem: corrupt initrd, Ubuntu Intrepid won't boot..... tlesinsk Linux - Kernel 1 12-10-2008 09:16 AM
LXer: The Perfect Server - Ubuntu Intrepid Ibex (Ubuntu 8.10) LXer Syndicated Linux News 0 11-02-2008 05:10 PM
LXer: Simple Guide How to Upgrade Ubuntu 8.04 (Hardy Heron) to Ubuntu 8.10 (Intrepid LXer Syndicated Linux News 0 10-31-2008 10:50 AM
Samba workgroup madivad Solaris / OpenSolaris 10 03-23-2008 03:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:45 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