samba-users May 2010 archive
Main Archive Page > Month Archives  > samba-users archives
samba-users: Re: [Samba] unable to join to a Samba4 domain

Re: [Samba] unable to join to a Samba4 domain

From: Tomasz Chmielewski <mangoo_at_nospam>
Date: Tue May 25 2010 - 12:50:51 GMT
To: Lukasz Zalewski <lukas@dcs.qmul.ac.uk>

Am 25.05.2010 13:58, Lukasz Zalewski wrote:

>> What more info should I provide?
>>
>>
>
> The only way i can replicate your problem and get simmilar message, is
> by blocking access to port 389 both TCP and UDP on the samba4 host - it
> seems like enabling either (i.e. TCP or UDP) produces enter credentials
> dialog. Note that i have used Windows 7 rather than Srv2008

The only packets exchanged, from the moment I press "OK" button to when the error is shown, are:

- DNS queries
- LDAP queries

(192.168.128.11 - Samba4; 192.168.128.12 - Windows 2008)

So, nothing blocked on Samba4 side (and LDAP queries add some data to Samba debug log).

14:46:05.532923 arp who-has 192.168.128.11 tell 192.168.128.12
14:46:05.532961 arp reply 192.168.128.11 is-at d2:7d:af:e2:79:1a
14:46:05.534041 IP (tos 0x0, ttl 128, id 18659, offset 0, flags [none], proto UDP (17), length 88) 192.168.128.12.53283 > 192.168.128.11.53: 25540+[|domain]
14:46:05.534705 IP (tos 0x0, ttl 64, id 17706, offset 0, flags [none], proto UDP (17), length 174) 192.168.128.11.53 > 192.168.128.12.53283: 25540*[|domain]
14:46:05.538852 IP (tos 0x0, ttl 128, id 18660, offset 0, flags [none], proto UDP (17), length 162) 192.168.128.12.53284 > 192.168.128.11.389: UDP, length 134
14:46:05.545754 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 207) 192.168.128.11.389 > 192.168.128.12.53284: UDP, length 179
14:46:10.534732 arp who-has 192.168.128.12 tell 192.168.128.11
14:46:10.535963 arp reply 192.168.128.12 is-at 6a:7b:36:2f:08:24
14:46:13.029943 IP (tos 0x0, ttl 128, id 18661, offset 0, flags [none], proto UDP (17), length 162) 192.168.128.12.53285 > 192.168.128.11.389: UDP, length 134
14:46:13.033741 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 207) 192.168.128.11.389 > 192.168.128.12.53285: UDP, length 179
14:46:13.436515 IP (tos 0x0, ttl 128, id 18662, offset 0, flags [none], proto UDP (17), length 88) 192.168.128.12.61415 > 192.168.128.11.53: 38601+[|domain]
14:46:13.436904 IP (tos 0x0, ttl 64, id 17707, offset 0, flags [none], proto UDP (17), length 174) 192.168.128.11.53 > 192.168.128.12.61415: 38601*[|domain]

-- Tomasz Chmielewski http://wpkg.org -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba