[Samba-it] Configurazione Samba su SCO Unix 5.0.7

beppe gitrec at tin.it
Wed Jul 25 14:14:28 MDT 2012


Il 24/07/2012 18:25, marco999 a fastwebnet.it ha scritto:
> Ho installato Samba e configurato smb.conf e lanciato samba ma quando 
> cerco di accedere da una macchina XP non riesco e nel file di LOG mi 
> segnala "couldn't not find service unix"
>
> Qualcuno sà aiutarmi ?
Adesso ti sto rispondento da un pc windows e alcune cose non le posso 
testare,
non conosco pero' il sistema che stai usando.

in ubuntu un problema che sembra simile:
http://ubuntuforums.org/showthread.php?t=1666857
https://bugs.launchpad.net/ubuntu/+s...ba/+bug/750786 
<https://bugs.launchpad.net/ubuntu/+source/samba/+bug/750786>
https://bugs.launchpad.net/ubuntu/+s...ba/+bug/823878 
<https://bugs.launchpad.net/ubuntu/+source/samba/+bug/823878>
https://bugs.launchpad.net/ubuntu/lu...ba/+bug/596064 
<https://bugs.launchpad.net/ubuntu/lucid/+source/samba/+bug/596064>

Spero di non dire cose che hai gia controllato...

hai dato un'occhiata a questo file su samba.org:
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/install.html#id2553540

# testparm  /etc/samba/smb.conf o dove si trova in SCO
|
|per vedere se funziona in locale.

http://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html


Sono stati aggiunti gli utenti a samba con il comando:

smbpasswd -a nome_utente



un file di esempio smb.conf:

[global]
         workgroup = tuo_workgroup
         # netbios name = tuo_hostname (quello dato dal comando hostname
         # che deve essere diverso da quello di workgroup)
         netbios name = LINUXSERVER
         server string = PDC Linux
         security = USER
         smb passwd file = /etc/samba/smbpasswd
         encrypt passwords = YES
         passdb expand explicit = no
         log file =/var/log/samba/%m.log
         max log size = 1000
         log level = 1
         dns proxy = no
         # esempi di indirizzi che hanno accesso di solito non metto quello del gateway
         allow hosts = 192.168.1.11 127.0.0.1 oppure 192.168.1.0/24 e accedono tutti

# impostazione del server come domain master browser
         os level = 255
         preferred master = YES
         local master = YES
         domain master = YES
         wins support = yes

# attivazione supporto WINS
         wins support = YES

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

# con log level = 3 il file in breve diventa piuttosto grande, questo livello serve solo per il debug
         log file =/var/log/samba/%m.log
         max log size = 100
         log level = 3


[homedir]
         path =/home/%u
         read only = NO
         writable = YES
         browsable = NO
         create mask = 0600
         directory mask = 0700
         hide dot files = YES

[directory_condivisa]
         comment = directory_condivisa
         path = /home/directory_condivisa
         public = YES
         writable = YES
         browsable = YES
         force group =gruppo_file_condivisi
         valid users = utente_uno utente_due utente_tre

ciao
Beppe

-------------- parte successiva --------------
Un allegato HTML ? stato rimosso...
URL: <http://lists.samba.org/pipermail/samba-it/attachments/20120725/0088c01b/attachment.html>


More information about the samba-it mailing list