Hello,
Today I installed Samba4 on a fresh 9.1 server via ports. The install went fine but when trying to start Samba I get the following in my log:
This is the output from my domain provision:
My NIC:
My ISP's DNS is 116.228.111.118 but I am using SAMBA_INTERNAL. The error is:
but I am unable to figure my way out of this. When I run
After a day of exhausting Google and these forums, I am out of ideas and am hoping someone here may be able to shed some light on this.
Today I installed Samba4 on a fresh 9.1 server via ports. The install went fine but when trying to start Samba I get the following in my log:
Code:
[2013/05/28 16:49:08, 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/05/28 16:49:09, 0] ../source4/smbd/server.c:475(binary_smbd_main)
samba: using 'standard' process model
[2013/05/28 16:49:09, 0] ../source4/nbt_server/interfaces.c:205(nbtd_add_socket)
[B]Failed to bind to 192.168.2.255:137 - NT_STATUS_ADDRESS_NOT_ASSOCIATED[/B]
[2013/05/28 16:49:09, 0] ../source4/smbd/service_task.c:35(task_server_terminate)
task_server_terminate: [nbtd failed to setup interfaces]
[2013/05/28 16:49:09, 0] ../source4/smbd/server.c:210(samba_terminate)
samba_terminate: nbtd failed to setup interfaces
This is the output from my domain provision:
Code:
root@vpn:/usr/ports/net/samba4 # samba-tool domain provision
Realm [MARS]: MARS.GALAXY
Domain [MARS]:
Server Role (dc, member, standalone) [dc]: dc
DNS backend (SAMBA_INTERNAL, BIND9_FLATFILE, BIND9_DLZ, NONE) [SAMBA_INTERNAL]:
DNS forwarder IP address (write 'none' to disable forwarding) [116.228.111.118]:
Administrator password:
Retype password:
Looking up IPv4 addresses
Looking up IPv6 addresses
No IPv6 address will be assigned
Setting up share.ldb
Setting up secrets.ldb
Setting up the registry
Setting up the privileges database
Setting up idmap db
Setting up SAM db
Setting up sam.ldb partitions and settings
Setting up sam.ldb rootDSE
Pre-loading the Samba 4 and AD schema
Adding DomainDN: DC=mars,DC=galaxy
Adding configuration container
Setting up sam.ldb schema
Setting up sam.ldb configuration data
Setting up display specifiers
Modifying display specifiers
Adding users container
Modifying users container
Adding computers container
Modifying computers container
Setting up sam.ldb data
Setting up well known security principals
Setting up sam.ldb users and groups
Setting up self join
Adding DNS accounts
Creating CN=MicrosoftDNS,CN=System,DC=mars,DC=galaxy
Creating DomainDnsZones and ForestDnsZones partitions
Populating DomainDnsZones and ForestDnsZones partitions
Setting up sam.ldb rootDSE marking as synchronized
Fixing provision GUIDs
A Kerberos configuration suitable for Samba 4 has been generated at /var/db/samba4/private/krb5.conf
Once the above files are installed, your Samba4 server will be ready to use
Server Role: active directory domain controller
Hostname: vpn
NetBIOS Domain: MARS
DNS Domain: mars.galaxy
DOMAIN SID: S-1-5-21-1643614572-718938930-437681598
My NIC:
Code:
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC>
ether 82:4d:eb:47:b9:1c
inet 192.168.2.202 netmask 0xffffff00 broadcast 255.255.255.255
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
My ISP's DNS is 116.228.111.118 but I am using SAMBA_INTERNAL. The error is:
Code:
013/05/28 16:49:09, 0] ../source4/nbt_server/interfaces.c:205(nbtd_add_socket)
[B]Failed to bind to 192.168.2.255:137 - NT_STATUS_ADDRESS_NOT_ASSOCIATED[/B]
sockstat
I don't see any process on port 137After a day of exhausting Google and these forums, I am out of ideas and am hoping someone here may be able to shed some light on this.