Samba does not want to share.
Unfortunately, my Debian, or Gnome, was somehow corrupted and crashed. My UserID would not allow logins of any kind, except for the console. I ended up re-formatting my hard drive and doing my Debian Installation from scratch.
I have not followed my normal instincts to tinker with or make any changes to the installation. However, my new Samba will not share. I went back through the recommendations in my other Samba thread. The Hosts file was updated and the smb.conf file shows the 'workgroup = DAD'. I have added a user and password to Samba. I can see and use the network printer. I can not see the Linux system from the Windows systems and the Linux system does not see the Windows systems. The windows systems do see, and allow access, with each other. When I use the command 'smbclient -L //DAD' I get the following error: Quote:
Once again, I am searching for a way to share files between my Windows Systems and the Linux System. :confused: Here is my smb.conf Quote:
|
DAD is the workgroup name not the netbios name.
The computer netbios name is samba24 which is what you want to use when using the smbclient command. Look at the error logs nmbd error logs to see why its not starting. |
nmbd error logs
Quote:
Anyway, In one point of the log it says that nmdb is running and then when I check the Status the nmbd is not running. Most of the error log does not tell me, a novice, where the problem lies. Here is part of the log: Quote:
|
": p" without the space is the stick out tongue so when you copy past that, it becomes stick out tongue. As far as the user thing goes, you can google to set up root logins. That is a debian thing, so distro's like Ubuntu or mint would act similarly. You can use
PHP Code:
PHP Code:
|
Quote:
|
unknown nmbd will not run
Quote:
However, nmbd still will not run. From what I have read, nmbd has to be running for my Windows systems to access the Linux shares. So, does anyone have any clues why nmbd will not run? I have set-up the Linux IP in all of my hosts files, to bypass any name resolution problems. And, I can ping the Linux system from all of the other machines. Thanks |
Make sure you restart samba after changing parameters in the smb.conf file.
What OSs are running on jean and AHWEBS computers? You can switch to root via the su command. Using su - will use roots path environment. |
Different OS's
I have a variety of Windows OS's.
jean - XP Pro SP2 ahwebs - Debian lenny ahtestbed - Win 2000 Pro alive - Vista Premium 32 bit redone - XP Pro SP2 When I am in SWAT I do a 'Restart All' after making any changes. To double check, I have also done a 'Restart' of the Linux System. Yet, nmbd will not start. Thanks |
Quote:
http://www.linuxquestions.org/questi...tart-.-117283/ You have the interface set to a subnet rather than the IP address of your machine(and I think from above the wrong subnet at that) In my smb.conf I have this line commented out and the preconfigured description states that it is only for multiple interfaces (eth0, eth1, etc) so if you are using a single NIC then I don't think you even need it. |
Post the latest nmbd errors.
|
nmbd errors
Thanks for the offer of help.
Quote:
Quote:
|
hosts allow and interfaces
Quote:
As advised in the smb.conf documentation, those have already been reset to: hosts allow = interfaces = That was how I was able to gain one-way access from the Linux to the Windows. But, I still can not access the Linux Shares from the Windows systems. |
What is the output of the following console command
ps ax | grep nmbd |
nmbd grep
Quote:
Quote:
|
Quote:
smbclient -L Samba24 (Just press enter when the password prompt is displayed) You should see some output that shows the browseable shares. If that works then you should be able to see it on your windows PCs network places. BTW what did you put in the hosts file and did you add any samba users? Also, if you are running a firewall make sure the SMB ports are open. |
All times are GMT -5. The time now is 03:41 PM. |