[Samba-it] Winbind fallisce l'avvio

Mario Vittorio Guenzi jclark at tiscali.it
Fri Nov 16 08:35:55 UTC 2018


Buongiorno a tutti,
premetto che e' la prima volta che metto le mani su samba con systemd e
che ci sono costretto.
La situazione e' la seguente, devo joinare una macchina con debian 9 a
un dominio samba 4, il smb.conf e' questo:

[global]
server string = PC0
security = ADS
realm = DOMINIO.LOCAL
workgroup = DOMINIO
auth methods = guest, sam, winbind
password server urania.dominio.local, danaide.dominio.local
log level = 3 passdb:10 aut:10 winbind:10
max log size = 50
load printers = no
show add printer wizard = no
preferred master = no
ldap ssl = no
domain master = no
local master = no
os level = 0
#idmap uid = 10000-20000
#idmap gid = 10000-20000
idmap config * : backend = tdb
idmap config * : range = 3000-7999
template shell = /bin/bash
create mask = 0770
directory mask = 0770
reset on zero vc = yes

che aggiungo sino a scorsa settimana su debian 8 funzionava senza nessun
problema.

il krb5.conf e' questo

 default = FILE:/var/log/krb5libs.log
 kdc = FILE:/var/log/krb5kdc.log
 admin_server = FILE:/var/log/kadmind.log

[libdefaults]
        default_realm = DOMINIO.LOCAL
        ticket_lifetime = 24h
        dns_lookup_realm = false
        dns_lookup_kdc = true


[realms]
        DOMINIO.LOCAL = {
                kdc = urania.dominio.local:88
                kdc = danaide.dominio.local:88
                admin_server = urania.dominio.local:749
                default_domain = DOMINIO.LOCAL
        }

[domain_realm]
       .dominio.local = DOMINIO.LOCAL
        dominio.local = DOMINIO.LOCAL


Quando restarto i servizi samba parte senza problemi winbind non parte
neanche a piangere in cinese e mi da

[....] Starting winbind (via systemctl): winbind.serviceJob for
winbind.service failed because the control process exited with error code.
See "systemctl status winbind.service" and "journalctl -xe" for details.
 failed!

il journal dice :

nov 16 09:17:59 pc0 systemd[1]: Failed to start Samba Winbind Daemon.
-- Subject: L'unità winbind.service è fallita
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- L'unità winbind.service è fallita.
-- 
-- Il risultato è failed.
nov 16 09:17:59 pc0 systemd[1]: winbind.service: Unit entered failed state.
nov 16 09:17:59 pc0 systemd[1]: winbind.service: Failed with result
'exit-code'.
nov 16 09:18:35 pc0 PackageKit[3558]: uid 1000 is trying to obtain
org.freedesktop.packagekit.system-sources-refresh auth (only_trusted:0)
nov 16 09:18:35 pc0 PackageKit[3558]: uid 1000 obtained auth for
org.freedesktop.packagekit.system-sources-refresh
nov 16 09:18:38 pc0 PackageKit[3558]: refresh-cache transaction
/2219_dbcecdce from uid 1000 finished with failed after 2630ms
nov 16 09:18:43 pc0 PackageKit[3558]: get-updates transaction
/2220_cbbbddde from uid 1000 finished with success after 2690ms
nov 16 09:18:44 pc0 PackageKit[3558]: get-updates transaction
/2221_caaaecae from uid 1000 finished with success after 739ms
nov 16 09:24:00 pc0 smartd[767]: Device: /dev/sdc [SAT], SMART Usage
Attribute: 194 Temperature_Celsius changed from 115 to 114
nov 16 09:24:36 pc0 PackageKit[3558]: uid 1000 is trying to obtain
org.freedesktop.packagekit.system-sources-refresh auth (only_trusted:0)
nov 16 09:24:36 pc0 PackageKit[3558]: uid 1000 obtained auth for
org.freedesktop.packagekit.system-sources-refresh
nov 16 09:24:40 pc0 PackageKit[3558]: refresh-cache transaction
/2223_aaeedabc from uid 1000 finished with failed after 4125ms
nov 16 09:24:45 pc0 PackageKit[3558]: get-updates transaction
/2224_dcbaeacc from uid 1000 finished with success after 2707ms
nov 16 09:24:46 pc0 PackageKit[3558]: get-updates transaction
/2225_dccadacd from uid 1000 finished with success after 723ms
nov 16 09:27:06 pc0 systemd[1]: Starting Samba Winbind Daemon...
-- Subject: L'unità winbind.service inizia la fase di avvio
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- L'unità winbind.service ha iniziato la fase di avvio.
nov 16 09:27:06 pc0 systemd[1]: winbind.service: Supervising process
3228 which is not our child. We'll most likely not notice when it exits.
nov 16 09:27:06 pc0 winbindd[3228]: [2018/11/16 09:27:06.772108,  0,
pid=3228, effective(0, 0), real(0, 0), class=winbind]
../source3/winbindd/winbindd_cache.c:3244(initialize_wi
nov 16 09:27:06 pc0 winbindd[3228]:   initialize_winbindd_cache:
clearing cache and re-creating with version number 2
nov 16 09:27:06 pc0 winbindd[3228]: [2018/11/16 09:27:06.793341,  0,
pid=3228, effective(0, 0), real(0, 0), class=winbind]
../source3/winbindd/winbindd_util.c:902(init_domain_lis
nov 16 09:27:06 pc0 winbindd[3228]:   Could not fetch our SID - did we join?
nov 16 09:27:06 pc0 winbindd[3228]: [2018/11/16 09:27:06.793384,  0,
pid=3228, effective(0, 0), real(0, 0), class=winbind]
../source3/winbindd/winbindd.c:1401(winbindd_register_h
nov 16 09:27:06 pc0 winbindd[3228]:   unable to initialize domain list
nov 16 09:27:06 pc0 systemd[1]: winbind.service: Main process exited,
code=exited, status=1/FAILURE
nov 16 09:27:06 pc0 systemd[1]: Failed to start Samba Winbind Daemon.
-- Subject: L'unità winbind.service è fallita
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- L'unità winbind.service è fallita.
-- 
-- Il risultato è failed.
nov 16 09:27:06 pc0 systemd[1]: winbind.service: Unit entered failed state.
nov 16 09:27:06 pc0 systemd[1]: winbind.service: Failed with result
'exit-code'.

Ho cercato in rete ma davvero non son riuscito a trovare non dico una
soluzione ma neanche una rotta da seguire per risolvere, qualcuno si e'
giatrovato in questa situazione e mi puo' dare una dritta per favore?

Grazie in anticipo.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-it/attachments/20181116/0e4e9b1a/signature.sig>


More information about the samba-it mailing list