LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-27-2011, 12:45 PM   #1
AndrewGaven
LQ Newbie
 
Registered: Dec 2009
Location: Venezuela
Distribution: Slackware 13, Gentoo 2.6.34, Ubuntu 11.04
Posts: 10

Rep: Reputation: 0
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
Code:
#FOR SHARED INTERNET
/sbin/iptables -P FORWARD ACCEPT
/sbin/iptables --table nat -A POSTROUTING -o eth2 -j MASQUERADE

#FOR SAMBA
/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.
 
Old 06-28-2011, 05:55 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Or, possibly, windows 7 has "upgraded" windows networking.
http://wiki.samba.org/index.php/Wind...7_Domain_Logon

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.)
http://www.samba.org/samba/docs/man/...samba-pdc.html
 
Old 07-03-2011, 12:24 PM   #3
AndrewGaven
LQ Newbie
 
Registered: Dec 2009
Location: Venezuela
Distribution: Slackware 13, Gentoo 2.6.34, Ubuntu 11.04
Posts: 10

Original Poster
Rep: Reputation: 0
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.
 
Old 07-04-2011, 04:05 AM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

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


Reply

Tags
domain controller, iptables, samba, windows 7



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot connect to Samba Server over VPN on Windows Network trout256 Linux - Networking 12 11-05-2019 01:01 AM
Samba - Windows client cannot connect to Linux Server. nathacof Linux - Server 6 04-18-2008 02:45 PM
Validate Samba users on Windows 2003 Server FlyveR Linux - Newbie 3 05-20-2006 05:22 PM
Can't connect to Samba server from MS Windows kychan Linux - Networking 2 11-30-2003 04:50 AM
Is samba required to connect to a Windows Advanced server from RedHat 8.0 server? NemesisStar Linux - Hardware 1 10-20-2003 12:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration