Nice thank you! I linked the right libraries and it works for smbd, unfortunately winbind isn't working. Seems like something with passdb is wrong but i didn't find out how to fix it.
# ./sbin/winbindd -d3 -i winbindd version 3.4.15 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 lp_load_ex: refreshing parameters Initialising global parameters rlimit_max: rlimit_max (1024) below minimum Windows limit (16384) params.c:pm_process() - Processing configuration file "/usr/local/samba/lib/smb.conf" Processing section "[global]" Registered MSG_REQ_POOL_USAGE Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED lp_load_ex: refreshing parameters Initialising global parameters rlimit_max: rlimit_max (1024) below minimum Windows limit (16384) params.c:pm_process() - Processing configuration file "/usr/local/samba/lib/smb.conf" Processing section "[global]" Processing section "[netlogon]" adding IPC service interpret_interface: Adding interface 10.0.0.1/24 added interface 10.0.0.1/24 ip=10.0.0.1 bcast=10.0.0.255 netmask=255.255.255.0 added interface lo ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0 interpret_interface: Adding interface 10.0.0.1/24 added interface 10.0.0.1/24 ip=10.0.0.1 bcast=10.0.0.255 netmask=255.255.255.0 added interface lo ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0 initialize_winbindd_cache: clearing cache and re-creating with version number 1 Added domain BUILTIN S-1-5-32 Added domain FUKS S-1-5-21-3050478778-1692888539-3214437583 connection_ok: Connection to for domain FUKS is not connected Connecting to 10.0.0.1 at port 445 Doing spnego session setup (blob length=58) got OID=1.3.6.1.4.1.311.2.2.10 got principal=NONE Got challenge flags: Got NTLMSSP neg_flags=0x60898215 NTLMSSP: Set final flags: Got NTLMSSP neg_flags=0x60088215 NTLMSSP Sign/Seal - Initialising with flags: Got NTLMSSP neg_flags=0x60088215 [29258]: request interface version [29258]: request location of privileged pipe [29258]: gid to sid 51018 [29256]: gid 51018 to sid idmap backend passdb not found Error loading module '/usr/local/samba/lib/idmap/passdb.so': /usr/local/samba/lib/idmap/passdb.so: cannot open shared object file: No such file or directory Could not probe idmap module passdb Could not init passdb idmap domain idmap_init: using 'ldap' as remote backend smbldap_open_connection: connection opened ldap_connect_system: successful connection to the LDAP server Failure looking up ids (No such object) [29258]: sid to gid S-1-5-21-3050478778-1692888539-3214437583-513 connection_ok: Connection to for domain FUKS is not connected Connecting to 10.0.0.1 at port 445 get_dc_list: preferred server list: "CONSTANZE, *" resolve_lmhosts: Attempting lmhosts lookup for name FUKS<0x1c> resolve_wins: Attempting wins lookup for name FUKS<0x1c> resolve_wins: WINS server resolution selected and no WINS servers listed. name_resolve_bcast: Attempting broadcast lookup for name FUKS<0x1c> Got a positive name query response from 10.0.0.1 ( 10.0.0.1 ) resolve_lmhosts: Attempting lmhosts lookup for name CONSTANZE<0x20> resolve_wins: Attempting wins lookup for name CONSTANZE<0x20> resolve_wins: WINS server resolution selected and no WINS servers listed. resolve_hosts: Attempting host lookup for name CONSTANZE<0x20> connection_ok: Connection to for domain FUKS is not connected Connecting to 127.0.0.1 at port 445 Receiving SMB: Server stopped responding cm_get_ipc_userpass: No auth-user defined cli_chain_cork failed get_dc_list: preferred server list: ", *" Connecting to 10.0.0.1 at port 445 fcntl_lock: fcntl lock gave errno 11 (Resource temporarily unavailable) fcntl_lock: lock failed at offset 0 count 1 op 13 type 0 (Resource temporarily unavailable) Doing spnego session setup (blob length=58) got OID=1.3.6.1.4.1.311.2.2.10 got principal=NONE Got challenge flags: Got NTLMSSP neg_flags=0x60898215 NTLMSSP: Set final flags: Got NTLMSSP neg_flags=0x60088215 NTLMSSP Sign/Seal - Initialising with flags: Got NTLMSSP neg_flags=0x60088215 Receiving SMB: Server stopped responding cm_get_ipc_userpass: No auth-user defined cli_chain_cork failed get_dc_list: preferred server list: ", *" Connecting to 10.0.0.1 at port 445 fcntl_lock: fcntl lock gave errno 11 (Resource temporarily unavailable) fcntl_lock: lock failed at offset 0 count 1 op 13 type 0 (Resource temporarily unavailable) Doing spnego session setup (blob length=58) got OID=1.3.6.1.4.1.311.2.2.10 got principal=NONE Got challenge flags: Got NTLMSSP neg_flags=0x60898215 NTLMSSP: Set final flags: Got NTLMSSP neg_flags=0x60088215 NTLMSSP Sign/Seal - Initialising with flags: Got NTLMSSP neg_flags=0x60088215 Receiving SMB: Server stopped responding cm_get_ipc_userpass: No auth-user defined cli_chain_cork failed get_dc_list: preferred server list: ", *" Connecting to 10.0.0.1 at port 445 fcntl_lock: fcntl lock gave errno 11 (Resource temporarily unavailable) fcntl_lock: lock failed at offset 0 count 1 op 13 type 0 (Resource temporarily unavailable) Doing spnego session setup (blob length=58) got OID=1.3.6.1.4.1.311.2.2.10 got principal=NONE Got challenge flags: Got NTLMSSP neg_flags=0x60898215 NTLMSSP: Set final flags: Got NTLMSSP neg_flags=0x60088215 NTLMSSP Sign/Seal - Initialising with flags: Got NTLMSSP neg_flags=0x60088215 Receiving SMB: Server stopped responding cm_get_ipc_userpass: No auth-user defined cli_chain_cork failed get_dc_list: preferred server list: ", *" Connecting to 10.0.0.1 at port 445 fcntl_lock: fcntl lock gave errno 11 (Resource temporarily unavailable) fcntl_lock: lock failed at offset 0 count 1 op 13 type 0 (Resource temporarily unavailable) Doing spnego session setup (blob length=58) got OID=1.3.6.1.4.1.311.2.2.10 got principal=NONE Got challenge flags: Got NTLMSSP neg_flags=0x60898215 NTLMSSP: Set final flags: Got NTLMSSP neg_flags=0x60088215 NTLMSSP Sign/Seal - Initialising with flags: Got NTLMSSP neg_flags=0x60088215 ^CReceiving SMB: Server stopped responding cm_get_ipc_userpass: No auth-user defined cli_chain_cork failed get_dc_list: preferred server list: ", *" Connecting to 10.0.0.1 at port 445 fcntl_lock: fcntl lock gave errno 11 (Resource temporarily unavailable) fcntl_lock: lock failed at offset 0 count 1 op 13 type 0 (Resource temporarily unavailable) Doing spnego session setup (blob length=58) got OID=1.3.6.1.4.1.311.2.2.10 got principal=NONE Got challenge flags: Got NTLMSSP neg_flags=0x60898215 NTLMSSP: Set final flags: Got NTLMSSP neg_flags=0x60088215 NTLMSSP Sign/Seal - Initialising with flags: Got NTLMSSP neg_flags=0x60088215 Receiving SMB: Server stopped responding cm_get_ipc_userpass: No auth-user defined cli_chain_cork failed get_dc_list: preferred server list: ", *" Connecting to 10.0.0.1 at port 445 fcntl_lock: fcntl lock gave errno 11 (Resource temporarily unavailable) fcntl_lock: lock failed at offset 0 count 1 op 13 type 0 (Resource temporarily unavailable) ... any ideas? Holger -------- Original-Nachricht -------- > Datum: Sun, 4 Sep 2011 18:01:37 +0200 > Von: Volker Lendecke <[email protected]> > An: Holger Trittenbach <[email protected]> > CC: [email protected] > Betreff: Re: [Samba] smbd crashes at startup (3.4.15) > On Sat, Sep 03, 2011 at 09:07:25AM +0200, Holger Trittenbach wrote: > > I had troubles with samba 3.5.6 so I wanted to test a > > previous version. I have installed samba 3.4.15 from > > source but smbd crashes at startup with following output. > > I faced the same problem with other 3.4. versions. > > Please install matching talloc and libwbclient versions as > well. > > Volker -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
