LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
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
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

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


Reply

Tags
domain controller, iptables, samba, windows 7


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Samba - Windows client cannot connect to Linux Server. nathacof Linux - Server 6 04-18-2008 02:45 PM
Cannot connect to Samba Server over VPN on Windows Network trout256 Linux - Networking 11 09-07-2007 09:26 AM
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


All times are GMT -5. The time now is 07:08 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration