Headaches, time lossed...is Samba working or not, Windows can't see samba...crap
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.
Headaches, time lossed...is Samba working or not, Windows can't see samba...crap
I don't know where to start. I think samba is working, but am not sure. I get this message:
User's $HOME/.dmrc file is being ignored. This prevents the default seession and language from being saved. File shouldbe owned by user and have 644 permissions. User's $HOME directory must be owned by user and not writable by users.
What is this ? I am the admininstrator and owner. All su and SMB password are originated by me.
Also, I get these silly windows alerting me to this:
Unable to mount location. Failed to retrieve share list from server.
My Windows XP laptop is saying that it can locate my samba server when I go to run and type: \\192.168.9.3 which is my Ubuntu, samba server.
Also, I am unable to see the Windows computer from my Ubuntu computer. What is that ?
Help !!!! It looks like soon I am going back to Windows where you have to pay for things. I wonder if you get what you pay for ? I'm willing to pay for the solution.
At first glance I do not know if this is a typo or cut/paste error but I do not see a [homes] line. Should be first line after the *** shares definition ***. This sets up the home directories for each user. Run the testparm utility in a console windows which checks for syntax errors in the smb.conf file. Is smbd and nmbd running? You can check via the top or ps command. If not then restart and check the logs. Try the following command
smbclient -L UBUNTU (Press the enter key when asked for a password)
Should see lots of info. Also you can try the this command in a windows cmd box.
net view \\UBUNTU
To add a samba user use the smbpasswd command.
Quote:
User's $HOME directory must be owned by user and not writable by users.
drwxrwxrwx 62 vince vince 4.0K 2009-10-25 13:14 vince
Should I also be able to see my Windows XP machine from Ubuntu
Oh BTW, what do I use to see my Windows XP machine from Ubuntu ? Do I use Mozilla Firefox, and is there a command I type in ? Just to let you know that smb://192.168.9.3 doesn't work. I've typed shares-admin in the terminal mode and I don't know if that's helping me at all.
I appreciate all your help. BTW, how do I give thanks so that it is seen on my profile ? How is this done ? When do I give thanks using this method ?
I've tried out doing the following on my Windows XP machine:
\\UBUNTU
\\192.168.9.2\
\\HOMENET\UBUNTU
These don't work. I'll I get coming up is a window saying:
<The path> The network location cannot be reached. For information about network troubleshooting, see Windows help.
When I ping both the Linux and the Windows machine, they respond appropriately.
I have my GUFW firewall as follows for files sharing according to what I read about making sure the firewall is setup right:
ps shows what process are running.
ps ax | grep smbd
ps ax | grep nmbd
It does look like there are problems. Lets accomplish one thing at a time. Once we get the XP PC to "see" the Ubuntu then we will work on the Ubuntu seeing XP.
Typical homes directory samba share.
Quote:
[homes]
comment = Home Directories
valid users = %S
create mask = 0700
directory mask = 0700
browseable = No
Did you add a samba user?
smbpasswd -a <username> (User your linux username)
If samba is not installed on your system prior to the installation of webmin, and you install samba afterwards, you need to "refresh modules" in Webmin in order to get the perl module to show up under the "servers" section. After that, the docs should get you the rest of the way there.
Quote:
Originally Posted by vigdavies
So, how do I set up the work group, username, and password in it ? The option to do so is not there. Can you please instruct ?
Also, I have posted my smb.conf file. Please review & edit. I think the workgroup, username, and password is there, right ?
After I had done a ipconfig /all on my Windows XP machine, I saw that the TCPIP protocol needed to be reset since it was disabled. The quick and only fix is the following.
Now I have a stable Samba server, and it can be seen and edited by my Windows computer.
Good, glad it worked out for you. I would be interested in how the TCP/IP protocol came to be corrupted in your XP registry, and if it was me, I would be checking for rootkits, double-checking my antivirus, and making sure all updates are applied. It's up to you!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.