-   Linux - Networking (
-   -   Windows 7 users can't connect to samba server after dhcp config (

AndrewGaven 06-27-2011 12:45 PM

Windows 7 users can't connect to samba server after dhcp config
Greetings everyone,
Please excuse me if i make any grammatical errors(english is not my first language).
I have an ubuntu 11,04 samba domain server, I want to also configure this machine to work as a dhcp server, however this have give me some issues with te windows 7 workstations, my guest is that it have something to do with the iptables because those station do join the samba domain went both server and workstation are conected to a router.

This is the script I use at boot

/sbin/iptables -P FORWARD ACCEPT
/sbin/iptables --table nat -A POSTROUTING -o eth2 -j MASQUERADE

/sbin/iptables -I INPUT -i eth0 -p TCP -m multiport --dports 135,139,445 -j ACCEPT
/sbin/iptables -I INPUT -i eth0 -p UDP -m multiport --dports 137,138 -j ACCEPT

Internet works fine in the station main problem is went joining the domain, it won't join.

I haven't test it with windows xp station but I have use the same code in the past with no problems, and since this is my first time joining windows 7 station i belive there must be some other port that need fowarding.

Thanks in advance.

Simon Bridge 06-28-2011 05:55 AM

Or, possibly, windows 7 has "upgraded" windows networking.

Check that your version of samba allows win7 clients to join
Check that the win7 registries are set up for this etc.

other refs: (you've seen these of course.)

AndrewGaven 07-03-2011 12:24 PM

Thanks, for the reply the problem was in the smb.conf, i had commented (#) the netlogon section and forgot to remove the #. On the other hand your links are very usefull. Thank for your time.

Simon Bridge 07-04-2011 04:05 AM

So line #2 then :) sort of.
Well done figuring it out and letting us know.

All times are GMT -5. The time now is 09:10 AM.