[Samba-it] Problemi in winbind dopo aggiornamento samba 3.0.25a

Paolo Sala piviul at riminilug.it
Wed Jun 6 01:28:27 MDT 2007


simo scrisse in data 05/06/2007 15:20:
> Intendi dire che parte e muore?
> Non vedo ne uno stacktrace ne una condizione di errore nel log ...
> controlla nei vari log.winbind* (c'e' piu' di un file di log per
> winbindd)
>   
Ho stoppato samba e winbind; ho eliminato tutti i file di log; ho
avviato samba e sono stati creati i log log.nmbd e log.smbd (direi che
non servono... giusto?); ho avviato winbind ed è stato creato soltanto
il log log.winbindd:
> jukebox:~# ls -lR /var/log/samba/
> /var/log/samba/:
> totale 945
> drwx------  5 root root   1024 2006-08-17 12:10 cores
> -rw-r--r--  1 root root 837609 2007-06-06 09:23 log.nmbd
> -rw-r--r--  1 root root 111605 2007-06-06 09:06 log.smbd
> -rw-r--r--  1 root root  10941 2007-06-06 09:06 log.winbindd
>
> /var/log/samba/cores:
> totale 3
> drwx------  2 root root 1024 2006-08-17 12:10 nmbd
> drwx------  2 root root 1024 2006-08-17 12:10 smbd
> drwx------  2 root root 1024 2006-08-17 12:10 winbindd
>
> /var/log/samba/cores/nmbd:
> totale 0
>
> /var/log/samba/cores/smbd:
> totale 0
>
> /var/log/samba/cores/winbindd:
> totale 0

Ti riposto il file del log di winbind (come avrai capito in smb.conf ho
la direttiva *log file = /var/log/samba/log.%m*):
> jukebox:~# cat /var/log/samba/log.winbindd
> [2007/06/06 09:06:20, 1] nsswitch/winbindd.c:main(987)
>   winbindd version 3.0.25a started.
>   Copyright Andrew Tridgell and the Samba Team 1992-2007
> [2007/06/06 09:06:20, 5] lib/debug.c:debug_dump_status(391)
>   INFO: Current debug levels:
>     all: True/10
>     tdb: False/0
>     printdrivers: False/0
>     lanman: False/0
>     smb: False/0
>     rpc_parse: False/0
>     rpc_srv: False/0
>     rpc_cli: False/0
>     passdb: False/0
>     sam: False/0
>     auth: False/0
>     winbind: False/0
>     vfs: False/0
>     idmap: False/0
>     quota: False/0
>     acls: False/0
>     locking: False/0
>     msdfs: False/0
>     dmapi: False/0
>   doing parameter panic action = /usr/share/samba/panic-action %d
>   doing parameter security = domain
>   doing parameter password server = *
>   doing parameter encrypt passwords = true
>   doing parameter passdb backend = tdbsam
>   doing parameter obey pam restrictions = yes
>   doing parameter invalid users = root
>   doing parameter passwd program = /usr/bin/passwd %u
>   doing parameter passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
> *Retype\snew\ sUNIX\spassword:* %n\n .
>   doing parameter socket options = TCP_NODELAY
>   doing parameter idmap uid = 10000-25000
>   doing parameter idmap gid = 10000-25000
>   doing parameter idmap domains = DOMINIOCSA
>   doing parameter idmap config DOMINIOCSA:backend = rid
>   doing parameter idmap config DOMINIOCSA:base_rid = 1000
>   doing parameter idmap config DOMINIOCSA:range = 10000 - 25000
>   doing parameter allow trusted domains = No
>   doing parameter winbind enum users = Yes
>   doing parameter winbind enum groups = Yes
>   doing parameter winbind use default domain = Yes
> [2007/06/06 09:06:20, 2] param/loadparm.c:do_section(3788)
>   Processing section "[setup]"
> [2007/06/06 09:06:20, 8] param/loadparm.c:add_a_service(2575)
>   add_a_service: Creating snum = 0 for setup
> [2007/06/06 09:06:20, 10] param/loadparm.c:hash_a_service(2612)
>   hash_a_service: creating tdb servicehash
> [2007/06/06 09:06:20, 10] param/loadparm.c:hash_a_service(2622)
>   hash_a_service: hashing index 0 for service name setup
>   doing parameter comment = Condivisione contenente gli script di
> installazione per ARS
>   doing parameter browseable = yes
>   doing parameter read only = no
>   doing parameter force group = staff
>   doing parameter force create mode = 0650
>   doing parameter write list = DOMINIOCSA\admin, DOMINIOCSA\aarcangeli
>   doing parameter path = /home/samba/setup
> [2007/06/06 09:06:20, 2] param/loadparm.c:do_section(3788)
>   Processing section "[soci]"
> [2007/06/06 09:06:20, 8] param/loadparm.c:add_a_service(2575)
>   add_a_service: Creating snum = 1 for soci
> [2007/06/06 09:06:20, 10] param/loadparm.c:hash_a_service(2622)
>   hash_a_service: hashing index 1 for service name soci
>   doing parameter comment = Condivisione solo per i Soci
>   doing parameter browseable = no
>   doing parameter path = /home/soci
>   doing parameter force group = staff
>   doing parameter write list = @dominiocsa\soci
>   doing parameter valid users = @dominiocsa\soci
>   doing parameter create mask = 0664
>   doing parameter force create mode = 0664
>   doing parameter directory mask = 0775
>   doing parameter force directory mode = 0775
> [2007/06/06 09:06:20, 2] param/loadparm.c:do_section(3788)
>   Processing section "[cdrom]"
> [2007/06/06 09:06:20, 8] param/loadparm.c:add_a_service(2575)
>   add_a_service: Creating snum = 2 for cdrom
> [2007/06/06 09:06:20, 10] param/loadparm.c:hash_a_service(2622)
>   hash_a_service: hashing index 2 for service name cdrom
>   doing parameter comment = Samba server's CD-ROM
>   doing parameter writable = no
>   doing parameter locking = no
>   doing parameter path = /media/cdrom0
>   doing parameter public = yes
>   doing parameter preexec = /bin/mount /media/cdrom0
>   doing parameter root postexec = /bin/umount /media/cdrom0
> [2007/06/06 09:06:20, 2] param/loadparm.c:do_section(3788)
>   Processing section "[dvdrom]"
> [2007/06/06 09:06:20, 8] param/loadparm.c:add_a_service(2575)
>   add_a_service: Creating snum = 3 for dvdrom
> [2007/06/06 09:06:20, 10] param/loadparm.c:hash_a_service(2622)
>   hash_a_service: hashing index 3 for service name dvdrom
>   doing parameter comment = Samba server's CD-ROM
>   doing parameter writable = no
>   doing parameter locking = no
>   doing parameter path = /media/cdrom1
>   doing parameter public = yes
>   doing parameter preexec = /bin/mount /media/cdrom1
>   doing parameter root postexec = /bin/umount /media/cdrom1
> [2007/06/06 09:06:20, 4] param/loadparm.c:lp_load(5063)
>   pm_process() returned Yes
> [2007/06/06 09:06:20, 7] param/loadparm.c:lp_servicenumber(5201)
>   lp_servicenumber: couldn't find homes
> [2007/06/06 09:06:20, 8] param/loadparm.c:add_a_service(2575)
>   add_a_service: Creating snum = 4 for IPC$
> [2007/06/06 09:06:20, 10] param/loadparm.c:hash_a_service(2622)
>   hash_a_service: hashing index 4 for service name IPC$
> [2007/06/06 09:06:20, 3] param/loadparm.c:lp_add_ipc(2709)
>   adding IPC service
> [2007/06/06 09:06:20, 10] param/loadparm.c:set_server_role(4307)
>   set_server_role: role = ROLE_DOMAIN_MEMBER
> [2007/06/06 09:06:20, 5] lib/iconv.c:smb_register_charset(105)
>   Attempting to register new charset UCS-2LE
> [2007/06/06 09:06:20, 5] lib/iconv.c:smb_register_charset(113)
>   Registered charset UCS-2LE
> [2007/06/06 09:06:20, 5] lib/iconv.c:smb_register_charset(105)
>   Attempting to register new charset UTF-16LE
> [2007/06/06 09:06:20, 5] lib/iconv.c:smb_register_charset(113)
>   Registered charset UTF-16LE
> [2007/06/06 09:06:20, 5] lib/iconv.c:smb_register_charset(105)
>   Attempting to register new charset UCS-2BE
> [2007/06/06 09:06:20, 5] lib/iconv.c:smb_register_charset(113)
>   Registered charset UCS-2BE
> [2007/06/06 09:06:20, 5] lib/iconv.c:smb_register_charset(105)
>   Attempting to register new charset UTF-16BE
> [2007/06/06 09:06:20, 5] lib/iconv.c:smb_register_charset(113)
>   Registered charset UTF-16BE
> [2007/06/06 09:06:20, 5] lib/iconv.c:smb_register_charset(105)
>   Attempting to register new charset UTF8
> [2007/06/06 09:06:20, 5] lib/iconv.c:smb_register_charset(113)
>   Registered charset UTF8
> [2007/06/06 09:06:20, 5] lib/iconv.c:smb_register_charset(105)
>   Attempting to register new charset UTF-8
> [2007/06/06 09:06:20, 5] lib/iconv.c:smb_register_charset(113)
>   Registered charset UTF-8
> [2007/06/06 09:06:20, 5] lib/iconv.c:smb_register_charset(105)
>   Attempting to register new charset ASCII
> [2007/06/06 09:06:20, 5] lib/iconv.c:smb_register_charset(113)
>   Registered charset ASCII
> [2007/06/06 09:06:20, 5] lib/iconv.c:smb_register_charset(105)
>   Attempting to register new charset 646
> [2007/06/06 09:06:20, 5] lib/iconv.c:smb_register_charset(113)
>   Registered charset 646
> [2007/06/06 09:06:20, 5] lib/iconv.c:smb_register_charset(105)
>   Attempting to register new charset ISO-8859-1
> [2007/06/06 09:06:20, 5] lib/iconv.c:smb_register_charset(113)
>   Registered charset ISO-8859-1
> [2007/06/06 09:06:20, 5] lib/iconv.c:smb_register_charset(105)
>   Attempting to register new charset UCS2-HEX
> [2007/06/06 09:06:20, 5] lib/iconv.c:smb_register_charset(113)
>   Registered charset UCS2-HEX
> [2007/06/06 09:06:20, 5] lib/charcnv.c:charset_name(82)
>   Substituting charset 'ISO-8859-15' for LOCALE
> [2007/06/06 09:06:20, 5] lib/charcnv.c:charset_name(82)
>   Substituting charset 'ISO-8859-15' for LOCALE
> [2007/06/06 09:06:20, 5] lib/charcnv.c:charset_name(82)
>   Substituting charset 'ISO-8859-15' for LOCALE
> [2007/06/06 09:06:20, 5] lib/charcnv.c:charset_name(82)
>   Substituting charset 'ISO-8859-15' for LOCALE
> [2007/06/06 09:06:20, 5] lib/charcnv.c:charset_name(82)
>   Substituting charset 'ISO-8859-15' for LOCALE
> [2007/06/06 09:06:20, 5] lib/charcnv.c:charset_name(82)
>   Substituting charset 'ISO-8859-15' for LOCALE
> [2007/06/06 09:06:20, 5] lib/charcnv.c:charset_name(82)
>   Substituting charset 'ISO-8859-15' for LOCALE
> [2007/06/06 09:06:20, 5] lib/charcnv.c:charset_name(82)
>   Substituting charset 'ISO-8859-15' for LOCALE
> [2007/06/06 09:06:20, 5] lib/charcnv.c:charset_name(82)
>   Substituting charset 'ISO-8859-15' for LOCALE
> [2007/06/06 09:06:20, 5] lib/charcnv.c:charset_name(82)
>   Substituting charset 'ISO-8859-15' for LOCALE
> [2007/06/06 09:06:20, 5] lib/charcnv.c:charset_name(82)
>   Substituting charset 'ISO-8859-15' for LOCALE
> [2007/06/06 09:06:20, 5] lib/charcnv.c:charset_name(82)
>   Substituting charset 'ISO-8859-15' for LOCALE
> [2007/06/06 09:06:20, 5] lib/charcnv.c:charset_name(82)
>   Substituting charset 'ISO-8859-15' for LOCALE
> [2007/06/06 09:06:20, 5] lib/charcnv.c:charset_name(82)
>   Substituting charset 'ISO-8859-15' for LOCALE
> [2007/06/06 09:06:20, 5] lib/charcnv.c:charset_name(82)
>   Substituting charset 'ISO-8859-15' for LOCALE
> [2007/06/06 09:06:20, 5] lib/charcnv.c:charset_name(82)
>   Substituting charset 'ISO-8859-15' for LOCALE
> [2007/06/06 09:06:20, 5] lib/charcnv.c:charset_name(82)
>   Substituting charset 'ISO-8859-15' for LOCALE
> [2007/06/06 09:06:20, 5] lib/charcnv.c:charset_name(82)
>   Substituting charset 'ISO-8859-15' for LOCALE
> [2007/06/06 09:06:20, 5] lib/charcnv.c:charset_name(82)
>   Substituting charset 'ISO-8859-15' for LOCALE
> [2007/06/06 09:06:20, 5] lib/charcnv.c:charset_name(82)
>   Substituting charset 'ISO-8859-15' for LOCALE
> [2007/06/06 09:06:20, 5] lib/charcnv.c:charset_name(82)
>   Substituting charset 'ISO-8859-15' for LOCALE
> [2007/06/06 09:06:20, 5] lib/charcnv.c:charset_name(82)
>   Substituting charset 'ISO-8859-15' for LOCALE
> [2007/06/06 09:06:20, 5] lib/charcnv.c:charset_name(82)
>   Substituting charset 'ISO-8859-15' for LOCALE
> [2007/06/06 09:06:20, 5] lib/charcnv.c:charset_name(82)
>   Substituting charset 'ISO-8859-15' for LOCALE
> [2007/06/06 09:06:20, 2] lib/interface.c:add_interface(81)
>   added interface ip=192.168.70.114 bcast=192.168.70.255
> nmask=255.255.255.0
> [2007/06/06 09:06:20, 5] lib/util.c:init_names(287)
>   Netbios name list:-
>   my_netbios_names[0]="JUKEBOX"
> [2007/06/06 09:06:20, 2] lib/interface.c:add_interface(81)
>   added interface ip=192.168.70.114 bcast=192.168.70.255
> nmask=255.255.255.0
> [2007/06/06 09:06:20, 5] lib/gencache.c:gencache_init(61)
>   Opening cache file at /var/run/samba/gencache.tdb
> [2007/06/06 09:06:20, 5] libsmb/namecache.c:namecache_enable(58)
>   namecache_enable: enabling netbios namecache, timeout 660 seconds
> [2007/06/06 09:06:20, 10] nsswitch/idmap_cache.c:idmap_cache_init(60)
>   Opening cache file at /var/run/samba/idmap_cache.tdb
> [2007/06/06 09:06:20, 8] lib/util.c:fcntl_lock(1989)
>   fcntl_lock fd=8 op=13 offset=0 count=1 type=1
> [2007/06/06 09:06:20, 8] lib/util.c:fcntl_lock(2008)
>   fcntl_lock: Lock call successful
> [2007/06/06 09:06:20, 4] lib/time.c:TimeInit(1258)
>   TimeInit: Serverzone is -7200
> [2007/06/06 09:06:20, 2] lib/tallocmsg.c:register_msg_pool_usage(105)
>   Registered MSG_REQ_POOL_USAGE
> [2007/06/06 09:06:20, 2] lib/dmallocmsg.c:register_dmalloc_msgs(75)
>   Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
> [2007/06/06 09:06:20, 0]
> nsswitch/winbindd_cache.c:initialize_winbindd_cache(222 1)
>   initialize_winbindd_cache: clearing cache and re-creating with
> version number 1
> [2007/06/06 09:06:20, 0]
> nsswitch/winbindd_cache.c:initialize_winbindd_cache(222 9)

Non mi sembra ci siano cose che dicano che winbind sia morto
improvvisamente però ho controllato e winbind non è fra i processi attivi:
> jukebox:~# ps ax | grep winbind
>  5452 pts/1    R+     0:00 grep winbind
E qui a questo punto non so cosa pensare...

simo scrisse in data 05/06/2007 15:20:
> Quale'e' la configurazione?
>   
eccoti la sezione global di smb.conf
> [global]
>         workgroup = DOMINIOCSA
>         server string = %h server (Samba %v)
>         security = DOMAIN
>         allow trusted domains = No
>         obey pam restrictions = Yes
>         passdb backend = tdbsam
>         passwd program = /usr/bin/passwd %u
>         passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
> *Retype\snew\sUNIX\spassword:* %n\n .
>         log level = 10
>         syslog = 0
>         log file = /var/log/samba/log.%m
>         max log size = 1000
>         dns proxy = No
>         panic action = /usr/share/samba/panic-action %d
>         idmap domains = DOMINIOCSA
>         idmap uid = 10000-25000
>         idmap gid = 10000-25000
>         winbind enum users = Yes
>         winbind enum groups = Yes
>         winbind use default domain = Yes
>         idmap config DOMINIOCSA:range = 10000 - 25000
>         idmap config DOMINIOCSA:base_rid = 1000
>         idmap config DOMINIOCSA:backend = rid
>         invalid users = root
Grazie mille ancora

Piviul



More information about the samba-it mailing list