Hello,
I'm trying to run Samba4 (version 4.0.4) as an AD Domain Controller from a FreeBSD jail (FreeBSD 9.1) so I am following this HowTo:
http://wiki.samba.org/index.php/Samba_AD_DC_HOWTO
but after configuring Samba with
When I query
I installed Samba for the first time, not any previous version.
Here is
The jail has 192.168.33.120.
The smb4.conf (generated by samba-tool except for interfaces and bind interfaces only) is as follows:
The DNS forwarder is my host (DNS with BIND).
Here are the logs generated when attempting to start Samba:
log.samba
and log.smbd is empty.
I don't understand what the problem is...:x
Thanks.
I'm trying to run Samba4 (version 4.0.4) as an AD Domain Controller from a FreeBSD jail (FreeBSD 9.1) so I am following this HowTo:
http://wiki.samba.org/index.php/Samba_AD_DC_HOWTO
but after configuring Samba with
samba-tool domain provision
, I'm not able to start Samba deamons (trying to start with "samba4" command from the jail).When I query
/.../rc.d/samba4 status
I get the message "Samba4 is not running". Samba4 is enabled in rc.conf.I installed Samba for the first time, not any previous version.
Here is
ifconfig
(on em0) result from the host:
Code:
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
ether 00:0c:29:cd:8a:4a
inet 192.168.33.140 netmask 0xffffff00 broadcast 192.168.33.255
inet6 fe80::20c:29ff:fecd:8a4a%em0 prefixlen 64 scopeid 0x1
inet 192.168.33.120 netmask 0xffffffff broadcast 192.168.33.120
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
The jail has 192.168.33.120.
The smb4.conf (generated by samba-tool except for interfaces and bind interfaces only) is as follows:
Code:
# Global parameters
[global]
workgroup = SECRETNAME
realm = SECRETNAME.SECRETDOMAIN.FR
netbios name = SECRET_JAIL
server role = active directory domain controller
interfaces = em0, 192.168.33.120
bind interfaces only = yes
dns forwarder = 192.168.33.140
[netlogon]
path = /var/db/samba4/sysvol/secretname.secretdomain.fr/scripts
read only = No
[sysvol]
path = /var/db/samba4/sysvol
read only = No
The DNS forwarder is my host (DNS with BIND).
Here are the logs generated when attempting to start Samba:
log.samba
Code:
task_server_terminate: [kdc failed to setup interfaces]
[2013/04/29 17:55:59, 0] ../source4/smbd/server.c:369(binary_smbd_main)
samba version 4.0.4 started.
Copyright Andrew Tridgell and the Samba Team 1992-2012
[2013/04/29 17:56:00, 0] ../source4/smbd/server.c:475(binary_smbd_main)
samba: using 'standard' process model
[2013/04/29 17:56:00, 0] ../source4/nbt_server/interfaces.c:228(nbtd_add_socket)
Failed to bind to 192.168.33.120:137 - NT_STATUS_ADDRESS_ALREADY_ASSOCIATED
[2013/04/29 17:56:00, 0] ../source4/smbd/service_task.c:35(task_server_terminate)
task_server_terminate: [nbtd failed to setup interfaces]
[2013/04/29 17:56:01, 0] ../source4/smbd/server.c:210(samba_terminate)
samba_terminate: nbtd failed to setup interfaces
and log.smbd is empty.
I don't understand what the problem is...:x
Thanks.