[Samba-it] Non vedo i file da win ma su linux ci sono

Cucca liste at cuccarini.it
Thu Nov 29 02:29:44 MST 2007


Salve a tutti,

ho un problema molto strano. fino a 2 gg fa il mio pdc linux funzionava
correttamente, ieri a seguito di un riavvio del server, mi ha cominciato a
fare cose stranissime! Praticamente non vedo tutta la lista dei file
presenti in una share. vedo solamente i vecchi! Ho paura che il pasticcio
sia nato nel momento in cui ho aggiunto queste 2 righe per il charset:

        unix charset = ISO-8859-15

        display charset = UTF-8

nei log mi ritrovo questi messaggi:

 

[2007/11/29 09:31:49, 3] smbd/msdfs.c:dfs_redirect(435) dfs_redirect: Not
redirecting sirio /ARCHIVI/IMMAGINI/MainLogo.bmp.

[2007/11/29 09:31:49, 3] smbd/msdfs.c:dfs_redirect(439) dfs_redirect: Path
converted to non-dfs path ARCHI_VI/IMMAGINI/MAINLOGO.bmp

[2007/11/29 09:31:49, 3] smbd/trans2.c:call_trans2qfilepathinfo(2959)
call_trans2qfilepathinfo ARCHIVI/IMMAGINI/MAINLOGO.bmp (fnum = -1)
level=1004 call=5 total_data=0

[2007/11/29 09:31:49, 3] smbd/process.c:process_smb(1110) Transaction 22 of
length 178

[2007/11/29 09:31:49, 3] smbd/process.c:switch_message(914) switch message
SMBntcreateX (pid 30698) conn 0x847f0d0

[2007/11/29 09:31:49, 3] smbd/error.c:error_packet(146) error packet at
smbd/nttrans.c(647) cmd=162 (SMBntcreateX) NT_STATUS_OBJECT_PATH_NOT_FOUND

[2007/11/29 09:31:49, 3] smbd/process.c:process_smb(1110)  Transaction 23 of
length 178

[2007/11/29 09:31:49, 3] smbd/process.c:switch_message(914)  switch message
SMBntcreateX (pid 30698) conn 0x847f0d0

 

Da cosa potrebbe dipendere? Ovviamente sono sicuro che sui pc della rete non
ci siano virus (ne ho controllati un paio a fondo!)

 

Grazie a tutti

Cucca

 

Versione di samba:

ii  libcrypt-smbhash-perl           0.12-1
generate LM/NT hash of a password for samba

ii  samba                           3.0.24-6etch6                       a
LanManager-like file and printer server fo

ii  samba-common                    3.0.24-6etch6
Samba common files used by both the server a

ii  samba-doc                       3.0.24-6etch7
Samba documentation

 

smb.conf:

[global]

        unix charset = ISO-8859-15

        display charset = UTF-8

        workgroup = DOMINIO

        server string = Server

        interfaces = 192.168.50.3/24 127.0.0.1/24

        dns proxy = no

        log level = 3 passdb:5 auth:10 winbind:2

        log file = /var/log/samba/log.%m

        max log size = 1000

        syslog = 0

        panic action = /usr/share/samba/panic-action %d

        security = user

        encrypt passwords = true

        passdb backend = ldapsam:ldap://127.0.0.1

        obey pam restrictions = no

        passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*all*authentication*tokens*updated*

        passwd program = /usr/sbin/smbldap-passwd %u

        check password script = /usr/bin/crackcheck -d
/usr/lib/cracklib_dict

        hide dot files = yes

        hide files = /desktop.ini/RECYCLER/

        default case = Lower

        veto files = /.*/

        use sendfile = no

        admin users = administrator

        enable privileges = yes

        wins support = yes

        name resolve order = wins lmhosts host bcast

        time server = yes

        kernel change notify = yes

        winbind use default domain = yes

        printer admin = administrator, @"Domain Users"

        preserve case = yes

        short preserve case = yes

        case sensitive = no

        socket options = TCP_NODELAY

        read raw = yes

        write raw = yes

        lock spin time = 12

        lock spin count = 5

        max xmit = 65535

        dead time = 15

        getwd cache = yes

        lpq cache time = 30

        #store dos attributes = yes

 

        ########## PRINTING ##########

 

        printing = cups

        printcap name = CUPS

        printcap = cups

        load printers = yes

 

        ############ LDAP ############

 

        ldap suffix = dc=vitalicucine,dc=it

        ldap admin dn = cn=admin,dc=vitalicucine,dc=it

        ldap ssl = no

        ldap user suffix = ou=Users

        ldap idmap suffix = ou=Users

        ldap group suffix = ou=Groups

        ldap machine suffix = ou=Computers

        ldap password sync = yes

 

        ############ PDC #############

 

        os level = 255

        preferred master = yes

        domain master = yes

        local master = yes

        domain logons = yes

        logon path =

        logon home =

        logon script = startup.bat

 

 

        #### GESTIONE USER ####

 

        add user script = /usr/sbin/smbldap-useradd -a -m "%u"

        add machine script = /usr/sbin/smbldap-useradd -w %u

        ldap delete dn = Yes

        delete user script = /usr/sbin/smbldap-userdel "%u"

        add group script = /usr/sbin/smbldap-groupadd -p "%g"

        delete group script = /usr/sbin/smbldap-groupdel "%g"

        add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"

        delete user from group script = /usr/sbin/smbldap-groupmod -x "%u"
"%g"

        set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u"

 

 

#======================= Share Definitions =======================

 

[homes]

        comment = Home Directories

        browseable = no

        writable = no

        create mask = 0700

        directory mask = 0700

 

[condivisione]

        path = /dati/giotto/

        read only = no

        create mask = 0777

        directory mask = 0777

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/samba-it/attachments/20071129/8f0b2d1e/attachment.html>


More information about the samba-it mailing list