Koozali.org: home of the SME Server

problema samba

Offline bennyjag

  • *
  • 7
  • +0/-0
problema samba
« on: April 09, 2012, 12:32:36 AM »
Buonasera a tutti
due sere fa ho aggiornato sme 7.5.1 come descritto qui http://forums.contribs.org/index.php/topic,48424.0.html  per risolvere il problema "not using ftp, http, or file for repos, skipping - 4 is not a valid release or hasnt been released yet". Sistema aggiornato, ma da quel momento sono sparite le cartelle condivise: il servizio samba è attivo, ma le cartelle condivise non si vedono più - sia quelle degli utenti, sia le ibays.
A qualcuno è successa la stessa cosa?   Conosco poco samba e non sò proprio dove mettere le mani, chi mi aiuta?

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: problema samba
« Reply #1 on: April 09, 2012, 12:09:54 PM »
come determini che samba è attivo?

da console, loggato come root, dai
Code: [Select]
testparm

e vedi se ti da qualche info..
che contrib girano sulla macchina?
hai dato il classico

Code: [Select]
signal-event post-upgrade
signal-event reboot

dopo l'aggiornamento?

Offline bennyjag

  • *
  • 7
  • +0/-0
Re: problema samba
« Reply #2 on: April 09, 2012, 06:28:42 PM »
config show smb    mi dice status=enabled

[root# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Processing section "[print$]"
Processing section "[Primary]"
Processing section "[multimedia]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
        dos charset = 850
        unix charset = UTF8
        display charset = ISO8859-1
        workgroup = xxxx
        server string = SME Server
        interfaces = 127.0.0.1, 192.168.1.254/255.255.255.0
        passdb backend = smbpasswd:/etc/samba/smbpasswd
        guest account = public
        pam password change = Yes
        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*
        check password script = /sbin/e-smith/samba_check_password
        unix password sync = Yes
        log file = /var/log/samba/log.%m
        max log size = 50
        smb ports = 139
        name resolve order = wins lmhosts bcast
        unix extensions = No
        deadtime = 10080
        printcap name = /etc/printcap
        add machine script = /sbin/e-smith/signal-event machine-account-create '%u'
        logon drive = Z:
        os level = 35
        domain master = No
        dns proxy = No
        hosts allow = 127.0.0.1, 192.168.1.0/255.255.255.0
        printing = lprng
        print command = /usr/bin/lpr -b -h -r -P%p %s
        lpq command = lpq -P'%p'
        lprm command = lprm -P'%p' %j
        lppause command = lpc hold '%p' %j
        lpresume command = lpc release '%p' %j
        queuepause command = lpc stop '%p'
        queueresume command = lpc start '%p'
        case sensitive = No
        strict locking = No

[homes]
        comment = Home directory
        path = /home/e-smith/files/users/%S/home
        read only = No
        create mask = 0660
        force create mode = 0660
        directory mask = 0770
        force directory mode = 0770
        browseable = No

[printers]
        comment = All Printers
        path = /var/spool/samba
        printable = Yes
        use client driver = Yes
        browseable = No

[print$]
        comment = Printer drivers
        path = /home/e-smith/files/samba/printers
        guest ok = Yes

[Primary]
        comment = Primary i-bay
        path = /home/e-smith/files/ibays/Primary
        read only = No
        create mask = 0640
        inherit permissions = Yes

[multimedia]
        comment = multimedia
        path = /home/e-smith/files/ibays/multimedia
        read only = No
        create mask = 0640
        inherit permissions = Yes
[root@perro ~]#

Quando ho aggiornato ho fatto post-upgrade e reboot, da quel momento sparite le cartelle.
Da mesi ci sono installati squid e dansguardian e null'altro.

Grazie.


Offline bennyjag

  • *
  • 7
  • +0/-0
Re: problema samba
« Reply #3 on: May 13, 2012, 05:10:25 PM »
Sistema aggiornato alla 8 beta 7, per qualche giorno samba si comporta bene poi il problema si ripresenta ad intermittenza.
ora il testparm mi risponde così:

# testparm hostname x.x.x.x xxxx
Load smb config files from hostname
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
params.c:OpenConfFile() - Unable to open configuration file "hostname":

Non mi pare un bug noto, come si risolve?