[Samba] Cant login to Samba PDC
Diego Julian Remolina
diego.remolina at ibb.gatech.edu
Mon Oct 30 19:40:57 GMT 2006
I think I had that issue in the past and was related to netbios. If you are running a firewall, did
you open all the samba ports on your gentoo box to the network?
This is an iptables sample used on a RHEL4 machine:
# Allow samba shares to my subnets
-A RH-Firewall-1-INPUT -s X.Y.Z.0/24 -m multiport -p tcp --dports 139,445 -j ACCEPT
-A RH-Firewall-1-INPUT -s X.Y.Z.0/24 -m multiport -p tcp --dports 139,445 -j ACCEPT
-A RH-Firewall-1-INPUT -s X.Y.Z.0/24 -m multiport -p tcp --dports 139,445 -j ACCEPT
-A RH-Firewall-1-INPUT -s X.Y.Z.0/24 -m multiport -p udp --dports 137,138 -j ACCEPT
-A RH-Firewall-1-INPUT -s X.Y.Z.0/24 -m multiport -p udp --dports 137,138 -j ACCEPT
-A RH-Firewall-1-INPUT -s X.Y.Z.0/24 -m multiport -p udp --dports 137,138 -j ACCEPT
If your gentoo system has the tcp wrappers option enabled as a USE flag, then make sure your
smb.conf file has:
hosts allow = X.Y.Z. 127.0.0.
hosts deny = ALL
X.Y.Z. is your network, note the "." at the end.
Try each solution at a time, remember to restart iptables after changing the file and restarting
samba if you change smb.conf or at list forcing it to reload.
Diego
timothy johnson wrote:
> I have tried it on both windows XP Pro, and windows 2k. Yes, it does have
> the domain on the drop down menu.
>
> On 10/30/06, Boniforti Flavio <boniforti.f at gmail.com> wrote:
>
>>
>> 2006/10/30, timothy johnson <mr2bigjohnson at gmail.com>:
>> > I have a gentoo install, running samba with ldap. I can access the PDC
>> > shares and the auth works fine. I can even add a computer to the
>> domain,
>> but
>> > after I reboot I can login. Something about not being able to fine the
>> > domain. I am not sure where to start looking for the problem. Any
>> Ideas?
>>
>> First of all: which OS is your client running?
>> If it's Windows 2k/XP, are you able to select with the drop-down menu
>> your domain name?
>>
More information about the samba
mailing list