Oeboema
2010-Nov-11 20:57 UTC
[Samba] FreeBSD 8.1 & Samba4 alpha11 domain controller - cldapd bind problem
I've been trying to run samba4 alpha11 on a FreeBSD 8.1 system as a domain controller but I'm having trouble starting the cldapd server. For some reason it won't bind to the specified address or interface whatever I specify in smb.conf. I managed running the provision script without any trouble but I have no clue how to solve this problem in order to start the samba server. bitrot# samba4 -i -M single -d3 lp_load: refreshing parameters from /usr/local/etc/smb4.conf params.c:pm_process() - Processing configuration file "/usr/local/etc/smb4.conf" Processing section "[globals]" Processing section "[netlogon]" Processing section "[sysvol]" adding hidden service IPC$ adding hidden service ADMIN$ samba version 4.0.0alpha11 started. Copyright Andrew Tridgell and the Samba Team 1992-2010 GENSEC backend 'sasl-DIGEST-MD5' registered GENSEC backend 'krb5' registered GENSEC backend 'fake_gssapi_krb5' registered GENSEC backend 'schannel' registered GENSEC backend 'spnego' registered GENSEC backend 'gssapi_spnego' registered GENSEC backend 'gssapi_krb5' registered GENSEC backend 'gssapi_krb5_sasl' registered GENSEC backend 'ntlmssp' registered NTPTR backend 'simple_ldb' NTVFS backend 'simple' for type 1 registered NTVFS backend 'cifs' for type 1 registered NTVFS backend 'nbench' for type 1 registered NTVFS backend 'unixuid' for type 1 registered NTVFS backend 'unixuid' for type 3 registered NTVFS backend 'unixuid' for type 2 registered NTVFS backend 'cifsposix' for type 1 registered NTVFS backend 'smb2' for type 1 registered NTVFS backend 'default' for type 2 registered NTVFS backend 'default' for type 3 registered NTVFS backend 'default' for type 1 registered NTVFS backend 'posix' for type 1 registered PROCESS_MODEL 'standard' registered PROCESS_MODEL 'prefork' registered PROCESS_MODEL 'thread' registered PROCESS_MODEL 'single' registered AUTH backend 'winbind_samba3' registered AUTH backend 'winbind' registered AUTH backend 'winbind_wbclient' registered AUTH backend 'server' registered AUTH backend 'name_to_ntstatus' registered AUTH backend 'fixed_challenge' registered AUTH backend 'unix' registered AUTH backend 'anonymous' registered AUTH backend 'sam' registered AUTH backend 'sam_ignoredomain' registered SHARE backend [ldb] registered. SHARE backend [classic] registered. ldb_wrap open of sam.ldb ldb_wrap open of privilege.ldb ldb_wrap open of /usr/local/etc/samba/private/schannel.ldb samba: using 'single' process model added interface ip=192.168.162.2 nmask=255.255.255.0 DCERPC endpoint server 'wkssvc' registered DCERPC endpoint server 'drsuapi' registered DCERPC endpoint server 'spoolss' registered DCERPC endpoint server 'winreg' registered DCERPC endpoint server 'epmapper' registered DCERPC endpoint server 'srvsvc' registered DCERPC endpoint server 'netlogon' registered DCERPC endpoint server 'browser' registered DCERPC endpoint server 'rpcecho' registered DCERPC endpoint server 'unixinfo' registered DCERPC endpoint server 'samr' registered DCERPC endpoint server 'remote' registered DCERPC endpoint server 'dssetup' registered DCERPC endpoint server 'lsarpc' registered added interface ip=192.168.162.2 nmask=255.255.255.0 added interface ip=192.168.162.2 nmask=255.255.255.0 added interface ip=192.168.162.2 nmask=255.255.255.0 added interface ip=192.168.162.2 nmask=255.255.255.0 added interface ip=192.168.162.2 nmask=255.255.255.0 Failed to bind to ipv4:192.168.162.2:389 - NT_STATUS_INVALID_PARAMETER task_server_terminate: [cldapd failed to setup interfaces] samba_terminate: cldapd failed to setup interfaces
Michael Wood
2010-Nov-11 21:54 UTC
[Samba] FreeBSD 8.1 & Samba4 alpha11 domain controller - cldapd bind problem
On 11 November 2010 22:57, Oeboema <oeboema at sthuma.nl> wrote:> I've been trying to run samba4 alpha11 on a FreeBSD 8.1 system as aSamba 4 Alpha 11 is pretty old now. Have you tried Alpha 13? I don't know if it will fix the problem, of course, but I think it's worth a try.> domain controller but I'm having trouble starting the cldapd server. > For some reason it won't bind to the specified address or interface > whatever I specify in smb.conf. I managed running the provision script > without any trouble but I have no clue how to solve this problem in > order to start the samba server.Are you specifying a particular interface/address in smb.conf? Do you need to?> bitrot# samba4 -i -M single -d3 > lp_load: refreshing parameters from /usr/local/etc/smb4.conf > params.c:pm_process() - Processing configuration file "/usr/local/etc/smb4.conf" > Processing section "[globals]" > Processing section "[netlogon]" > Processing section "[sysvol]" > adding hidden service IPC$ > adding hidden service ADMIN$ > samba version 4.0.0alpha11 started. > Copyright Andrew Tridgell and the Samba Team 1992-2010 > GENSEC backend 'sasl-DIGEST-MD5' registered > GENSEC backend 'krb5' registered > GENSEC backend 'fake_gssapi_krb5' registered > GENSEC backend 'schannel' registered > GENSEC backend 'spnego' registered > GENSEC backend 'gssapi_spnego' registered > GENSEC backend 'gssapi_krb5' registered > GENSEC backend 'gssapi_krb5_sasl' registered > GENSEC backend 'ntlmssp' registered > NTPTR backend 'simple_ldb' > NTVFS backend 'simple' for type 1 registered > NTVFS backend 'cifs' for type 1 registered > NTVFS backend 'nbench' for type 1 registered > NTVFS backend 'unixuid' for type 1 registered > NTVFS backend 'unixuid' for type 3 registered > NTVFS backend 'unixuid' for type 2 registered > NTVFS backend 'cifsposix' for type 1 registered > NTVFS backend 'smb2' for type 1 registered > NTVFS backend 'default' for type 2 registered > NTVFS backend 'default' for type 3 registered > NTVFS backend 'default' for type 1 registered > NTVFS backend 'posix' for type 1 registered > PROCESS_MODEL 'standard' registered > PROCESS_MODEL 'prefork' registered > PROCESS_MODEL 'thread' registered > PROCESS_MODEL 'single' registered > AUTH backend 'winbind_samba3' registered > AUTH backend 'winbind' registered > AUTH backend 'winbind_wbclient' registered > AUTH backend 'server' registered > AUTH backend 'name_to_ntstatus' registered > AUTH backend 'fixed_challenge' registered > AUTH backend 'unix' registered > AUTH backend 'anonymous' registered > AUTH backend 'sam' registered > AUTH backend 'sam_ignoredomain' registered > SHARE backend [ldb] registered. > SHARE backend [classic] registered. > ldb_wrap open of sam.ldb > ldb_wrap open of privilege.ldb > ldb_wrap open of /usr/local/etc/samba/private/schannel.ldb > samba: using 'single' process model > added interface ip=192.168.162.2 nmask=255.255.255.0 > DCERPC endpoint server 'wkssvc' registered > DCERPC endpoint server 'drsuapi' registered > DCERPC endpoint server 'spoolss' registered > DCERPC endpoint server 'winreg' registered > DCERPC endpoint server 'epmapper' registered > DCERPC endpoint server 'srvsvc' registered > DCERPC endpoint server 'netlogon' registered > DCERPC endpoint server 'browser' registered > DCERPC endpoint server 'rpcecho' registered > DCERPC endpoint server 'unixinfo' registered > DCERPC endpoint server 'samr' registered > DCERPC endpoint server 'remote' registered > DCERPC endpoint server 'dssetup' registered > DCERPC endpoint server 'lsarpc' registered > added interface ip=192.168.162.2 nmask=255.255.255.0 > added interface ip=192.168.162.2 nmask=255.255.255.0 > added interface ip=192.168.162.2 nmask=255.255.255.0 > added interface ip=192.168.162.2 nmask=255.255.255.0 > added interface ip=192.168.162.2 nmask=255.255.255.0 > Failed to bind to ipv4:192.168.162.2:389 - NT_STATUS_INVALID_PARAMETER > task_server_terminate: [cldapd failed to setup interfaces] > samba_terminate: cldapd failed to setup interfaces-- Michael Wood <esiotrot at gmail.com>
Apparently Analagous Threads
- samba4 does not compile under opensolaris (wrong getpwent_r ptype)
- Samba 4 AD - Samba Fails to Start, hdb_samba4_create_kdc (setup KDC database) failed
- Samba 4 Kerberos: Failed to decrypt PA-DATA
- 4.0 stopped working after updating xubuntu 13.04
- Samba 4: Workstations unable to join, "The specified network name is no longer available"