https://bugzilla.novell.com/show_bug.cgi?id=657194
https://bugzilla.novell.com/show_bug.cgi?id=657194#c12
--- Comment #12 from Adam Williams 2010-12-08 17:10:47 UTC ---
YES! It works.
ntp-4.2.6p2-38.1.i586 [1]
4.0.0alpha14-GIT-03b078c
openSUSE 11.3
The correct configuration is:
ntpsigndsocket /opt/ad/samba4/var/run/ntp_signd/
restrict default mssntp
With this package and configuration the command "w32m /resync /rediscover" on a
Windows 7 workstation correctly establishes communication with the openSUSE
[LINUX] Samba4/NTP time server. When running ntp without forking [strace ntpd
-n] communication between the Samba4 server and the NTP daemon is visible -
Samba4 opens the socket and listens while NTP only opens the socket momentarily
to satisfy the singing request [so fuser -u {NTP SOCKET}] can be misleading.
EXCHANGE:
select(25, [16 17 18 19 20 21 22 23 24], NULL, NULL, {0, 0}) = 1 (in [21], left
{0, 0})
recvmsg(21, {msg_name(-1734344)={...},
msg_iov(17832102453714092032)=0x14ffe5894c, msg_controllen=120259084288,
msg_control=0x848, msg_flags=MSG_DONTROUTE|MSG_PROXY}, 0) = 68
recvmsg(21, 0xffe5891c, 0) = -1 EAGAIN (Resource temporarily
unavailable)
clock_gettime(CLOCK_REALTIME, {1291827449, 637483079}) = 0
socket(PF_FILE, SOCK_STREAM, 0) = 4
connect(4, {sa_family=AF_FILE,
path="/opt/ad/samba4/var/run/ntp_signd//socket"}, 110) = 0
write(4, "\0\0\0@", 4) = 4
write(4,
"\0\0\0\0\0\0\0\0\1\0\0\0P\4\0\0\34\v\21\360\0\0\0\0\0\0002\337\177\177\1\0"...,
64) = 64
read(4, "\0\0\0P", 4) = 4
read(4,
"\0\0\0\0\0\0\0\3\0\0\1\0\34\v\21\360\0\0\0\0\0\0002\337\177\177\1\0\320\2527c"...,
80) = 80
sendto(21,
"\34\v\21\360\0\0\0\0\0\0002\337\177\177\1\0\320\2527c>\360\220\303\320\2527\201\3478
\330"..., 68, 0, {sa_family=AF_INET, sin_port=htons(123),
sin_addr=inet_addr("10.66.77.102")}, 16) = 68
close(4)
See Also:
http://lists.samba.org/archive/samba-technical/2010-December/075156.html
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.