[Samba] Erro winbind and ACLs

Luis Henrique de Faria Guimarães henrique at ecp.org.br
Mon Sep 19 21:00:02 GMT 2005


Hi,
I am configuring a machine with Red Hat Enterprise Linux 3 with samba 3.0.14 to be member of a domain with PDC windows 2003.
However, the control of ACLCs is not functioning and winbind is interrupting the service frequently.
Below smb.conf follows mine and a part of the archive of log.

# Global parameters
[global]
        workgroup = ECPNET
        realm = ECP.ORG.BR
        server string = Samba Server
        security = ADS
        client schannel = No
        password server = 10.0.0.5, *
        passwd program = /usr/bin/passwd %u
        passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *
passwd:*all*authentication*tokens*updated*successfully*
        username map = /etc/samba/smbusers
        password level = 8
        username level = 8
        log file = /var/log/samba/%m.log
        max log size = 50
        acl compatibility = win2k
        name resolve order = host lmhosts wins bcast
        server signing = auto
        client use spnego = No
        socket options = TCP_NODELAY SO_RCVBUF=131072 SO_SNDBUF=131072
        addprinter command = addprinter
        deleteprinter command = delprinter
        add machine script = /usr/sbin/useradd -d /dev/null -g 504 -c
        local master = No
        dns proxy = No
        wins server = 10.0.0.5
        ldap idmap suffix = ou
        ldap ssl = no
        add share command = /usr/local/samba/modify_samba_config.pl
        change share command = /usr/local/samba/modify_samba_config.pl
        delete share command = /usr/local/samba/modify_samba_config.pl
        idmap uid = 10000-20000
        idmap gid = 10000-20000
        template primary group =
        template homedir = /data/users/%U
        template shell = /bin/ksh
        winbind separator = +
        winbind cache time = 120
        #winbind enable local accounts = Yes
       winbind use default domain = Yes
        auth methods = winbind, ntdomain
        admin users = ECPNET+administrator, ECPNET+corniani, administrator, root
        read only = No
        force unknown acl user = Yes
        guest ok = Yes
        profile acls = Yes
        preexec = sh /usr/bin/makedir %U

#Share
[data]
        comment = Area de dados do Servidor Pinheiros
        path = /data
        browseable = No
        #Otimizacoes DataFlex
        veto oplock files = /*.dat/*.DAT/*.k*/*.K*/*.cfg/*.CFG/*.VLD/*.vld/
        #Fim das otimizacoes DataFlex
###############################################################################

Log file /var/log/messages

Sep 17 06:54:22 pinheiros winbindd[22844]: [2005/09/17 06:54:22, 0] lib/fault.c:fault_report(36)
Sep 17 06:54:22 pinheiros winbindd[22844]:   ===============================================================
Sep 17 06:54:22 pinheiros winbindd[22844]: [2005/09/17 06:54:22, 0] lib/fault.c:fault_report(37)
Sep 17 06:54:22 pinheiros winbindd[22844]:   INTERNAL ERROR: Signal 6 in pid 22844 (3.0.14a)
Sep 17 06:54:22 pinheiros winbindd[22844]:   Please read the appendix Bugs of the Samba HOWTO collection
Sep 17 06:54:22 pinheiros winbindd[22844]: [2005/09/17 06:54:22, 0] lib/fault.c:fault_report(39)
Sep 17 06:54:22 pinheiros winbindd[22844]:   ===================================
============================
Sep 17 06:54:22 pinheiros winbindd[22844]: [2005/09/17 06:54:22, 0] lib/util.c:smb_panic2(1495)
Sep 17 06:54:22 pinheiros winbindd[22844]:   PANIC: internal error
Sep 17 06:54:22 pinheiros winbindd[22844]: [2005/09/17 06:54:22, 0] lib/util.c:smb_panic2(1503)
Sep 17 06:54:22 pinheiros winbindd[22844]:   BACKTRACE: 27 stack frames:
Sep 17 06:54:22 pinheiros winbindd[22844]:    #0 winbindd(smb_panic2+0x128) [0x80cfc48]
Sep 17 06:54:22 pinheiros winbindd[22844]:    #1 winbindd(smb_panic+0x19) [0x80cfb19]
Sep 17 06:54:22 pinheiros winbindd[22844]:    #2 winbindd [0x80bd592]
Sep 17 06:54:22 pinheiros winbindd[22844]:    #3 /lib/libc.so.6 [0x546188]
Sep 17 06:54:22 pinheiros winbindd[22844]:    #4 /lib/libc.so.6(abort+0x157) [0x5471cb]
Sep 17 06:54:22 pinheiros winbindd[22844]:    #5 winbindd [0x80f1e76]
ep 17 06:54:22 pinheiros winbindd[22844]:    #6 winbindd [0x80f2095]
Sep 17 06:54:22 pinheiros winbindd[22844]:    #7 winbindd(cli_krb5_get_ticket+0x1fa) [0x80f24ca]
Sep 17 06:54:22 pinheiros winbindd[22844]:    #8 winbindd(spnego_gen_negTokenTarg+0x41) [0x80f30f1]
Sep 17 06:54:22 pinheiros winbindd[22844]:    #9 winbindd [0x817922f]
Sep 17 06:54:22 pinheiros winbindd[22844]:    #10 winbindd [0x8179519]
Sep 17 06:54:22 pinheiros winbindd[22844]:    #11 winbindd(ads_sasl_bind+0x132)[0x8179c32]
Sep 17 06:54:22 pinheiros winbindd[22844]:    #12 winbindd(ads_connect+0x1a9) [0x81734f9]
Sep 17 06:54:22 pinheiros winbindd[22844]:    #13 winbindd(ads_do_search_retry+0xd5) [0x817ef35]
Sep 17 06:54:22 pinheiros winbindd[22844]:    #14 winbindd(ads_USN+0x51) [0x81778d1]
Sep 17 06:54:22 pinheiros winbindd[22844]:    #15 winbindd [0x80885e2]
Sep 17 06:54:22 pinheiros winbindd[22844]:    #16 winbindd [0x8078fd8]
Sep 17 06:54:22 pinheiros winbindd[22844]:    #17 winbindd [0x80791cc]
Sep 17 06:54:22 pinheiros winbindd[22844]:    #18 winbindd [0x807aaa2]
Sep 17 06:54:22 pinheiros winbindd[22844]:    #19 winbindd(winbindd_lookup_name_by_sid+0x6e) [0x8076a4e]
Sep 17 06:54:22 pinheiros winbindd[22844]:    #20 winbindd(winbindd_getpwuid+0x196) [0x80712b6]
Sep 17 06:54:22 pinheiros winbindd[22844]:    #21 winbindd(strftime+0x153b) [0x806f573]
Sep 17 06:54:22 pinheiros winbindd[22844]:    #22 winbindd(winbind_process_packet+0x21) [0x806f861]
Sep 17 06:54:22 pinheiros winbindd[22844]:    #23 winbindd(strftime+0x20eb) [0x8070123]
Sep 17 06:54:22 pinheiros winbindd[22844]:    #24 winbindd(main+0x41c) [0x80706bc]
Sep 17 06:54:22 pinheiros winbindd[22844]:    #25 /lib/libc.so.6(__libc_start_main+0x8d) [0x534bc1]
Sep 17 06:54:22 pinheiros winbindd[22844]:    #26 winbindd(ldap_msgfree+0x79) [0x806ed51]

Thanks,



Luís Henrique
Departamento de Tecnologia
Esporte Clube Pinheiros
henrique at ecp.org.br



More information about the samba mailing list