Samba in Ubuntu Intrepid - renaming workgroup problem
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
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.
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.
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.
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.