DebianThis forum is for the discussion of Debian Linux.
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.
All machines can ping all other others and the gateway.
You asked if i set up a /etc/hosts file. Do you mean /etc/hosts.allow?
The only difference is in Lenny I have NOT disabled ip v6. Well, and my hostnames are different!
I checked my host.allow file in Etch and it doesn't have any entries in it. I could have sworn that I had to add all my lan ip's to this file!
I have tried listing all the ip's of all systems on my lan in /etc/hosts.allow and leaving it blank with no effect. I cannot even see the Debian-Lenny through Win2k, XP, or Vista. Although when I reboot into Debian-Etch I can read and write to my Debian shares!
I would assume that since I cannot even see my Debian machine on the lan than it is a samba configuration error on my part but I have no idea how to fix it.
Samba uses names, so I'm not sure how samba finds the IP address of a host if you don't define it.
The file exists on windoze, all versions too. It has to do with looking up the hosts on your local lan, or any where for that matter. I use static IP addresses. For that laptops that come and go I allow DHCP, but in the router I find out the MAC address, and then set up a table so one MAC always gets the same IP address. This way there are no moving targets...
Host.allow is another thing. No problem adding what you have done. What have you got in hosts.deny ?
Added wins support option to global smb.conf.
Windows hosts files updated to include ip address of samba server still nothing.
I finally found part of the problem: /var/log/samba/log.nmbd
Quote:
nmbd/nmbd_nameregister.c:register_name(483)
register_name: NetBIOS name DEBIAN-LENNY-A320N is too long.
So I changed it to: Debian-Lenny.
Now, I can see the share from vista but it tells me "logon unsuccessful". All pc's have the same user names and passwords. So I tried smbpasswd again and it works! The only thing I can think of is I typo'd twice entering my password the first time.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.