|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Member
Iscritto dal: Apr 2004
Città: Vicenza
Messaggi: 123
|
Problema Samba modalità Share
Ciao, ho un server in linux e voglio accervi da un pc con win xp pro.
Ecco la configurazione di smb.conf: [global] workgroup = MSHOME server string = Samba Server security = share guest account = nobody [public] comment = Server path = /usr/local/ftp/ public = yes writable = yes Riesco a vedere ma non ad accedere alla cartella (l'utente potrebbe non disporre dell'autorizzazione necessaria) In teoria se metto security = share, non devo creare utenti o sbaglio? Forse ho sbagliato a configurare il file? O devo fare qualcosa in windows..
__________________
Love, let me sleep tonight on your couch And remember the smell of the fabric of your simple city dress [Jeff Buckley - So real] |
![]() |
![]() |
![]() |
#2 | |
Senior Member
Iscritto dal: Jan 2002
Città: Imola
Messaggi: 1116
|
Quote:
|
|
![]() |
![]() |
![]() |
#3 |
Member
Iscritto dal: Apr 2004
Città: Vicenza
Messaggi: 123
|
![]() mmm.. no..
__________________
Love, let me sleep tonight on your couch And remember the smell of the fabric of your simple city dress [Jeff Buckley - So real] |
![]() |
![]() |
![]() |
#4 |
Senior Member
Iscritto dal: Jan 2002
Città: Imola
Messaggi: 1116
|
guestok = yes
|
![]() |
![]() |
![]() |
#5 |
Member
Iscritto dal: Apr 2004
Città: Vicenza
Messaggi: 123
|
[global]
workgroup = MSHOME server string = Samba Server interfaces = 192.168.0.2/24, 192.168.1.2/24 security = SHARE log file = /var/log/samba.%m max log size = 50 server signing = auto preferred master = No domain master = No dns proxy = No ldap ssl = no [public] comment = Server path = /urs/local/ftp/ read only = No guest ok = Yes Ancora niente.. può essere che il problema sia su interfaces? Il mio ip è 192.168.1.5 quello del server 192.168.1.1
__________________
Love, let me sleep tonight on your couch And remember the smell of the fabric of your simple city dress [Jeff Buckley - So real] |
![]() |
![]() |
![]() |
#6 |
Senior Member
Iscritto dal: Nov 2003
Città: VERONA
Messaggi: 9158
|
in public prova ad aggiungere:
writable = yes create mode = 0777 lo riavvii il servizio dopo ogni modifica vero ? ![]() ![]()
__________________
Thezeb@PSN ![]() |
![]() |
![]() |
![]() |
#7 |
Senior Member
Iscritto dal: Nov 2003
Città: VERONA
Messaggi: 9158
|
mmmmm ... ora che ci penso.. mi viene un dubbio sulle password criptate di xp...
![]() hai usato smbpasswd per aggiungere la password dell'utente che usa xp ? prova... dovrebbe andare..
__________________
Thezeb@PSN ![]() |
![]() |
![]() |
![]() |
#8 |
Senior Member
Iscritto dal: Nov 2000
Città: Lucca
Messaggi: 1501
|
prova a fare una public così
workgroup = TUTTO server string = Samba Server %v map to guest = bad user hosts allow = 192.10.0. 192.10.1. 127. (metti la tua classe di ip e 127. ) encrypt passwords = yes smb passwd file = /etc/samba/private/smbpasswd [immagini] comment = foto path = /mnt/store/immagini only guest = yes public = yes writable = yes printable = no a me funziona senza password o altro, da qualsiasi pc con windows penso che la cosa che manchi più a te sia only guest=yes |
![]() |
![]() |
![]() |
#9 | ||
Member
Iscritto dal: Apr 2004
Città: Vicenza
Messaggi: 123
|
Quote:
Quote:
Adesso il mio smbd.conf è così: [global] workgroup = MSHOME server string = Samba Server interfaces = 192.168.1./24 security = SHARE map to guest = Bad User log file = /var/log/samba.%m max log size = 50 server signing = auto preferred master = No domain master = No dns proxy = No ldap ssl = no hosts allow = 192.168.1., 127. [public] comment = Iore path = /urs/local/ftp/ read only = No create mask = 0777 guest only = Yes guest ok = Yes Ormai ci ho aggiunto di tutto.. ma niente.. ![]()
__________________
Love, let me sleep tonight on your couch And remember the smell of the fabric of your simple city dress [Jeff Buckley - So real] |
||
![]() |
![]() |
![]() |
#10 |
Senior Member
Iscritto dal: Nov 2003
Città: VERONA
Messaggi: 9158
|
mi sa che ne devi crearne una comunque per l'utente "pippo" di xp...
smbpasswd -a pippo
__________________
Thezeb@PSN ![]() Ultima modifica di TheZeb : 10-05-2005 alle 10:41. |
![]() |
![]() |
![]() |
#11 |
Senior Member
Iscritto dal: Nov 2000
Città: Lucca
Messaggi: 1501
|
hai messo "guest only=yes", hai provato " only guest = yes " ?
magari è la stessa cosa, cmq una prova falla nel file smbusers cos'hai? il mio è così root = administrator admin nobody = guest pcguest smbguest |
![]() |
![]() |
![]() |
#12 | ||
Member
Iscritto dal: Apr 2004
Città: Vicenza
Messaggi: 123
|
Quote:
New SMB password: Retype new SMB password: Failed to initialise SAM_ACCOUNT for user pippo. Does this user exist in the UNIX password database ? Failed to modify password entry for user pippo Quote:
__________________
Love, let me sleep tonight on your couch And remember the smell of the fabric of your simple city dress [Jeff Buckley - So real] |
||
![]() |
![]() |
![]() |
#13 |
Senior Member
Iscritto dal: Nov 2003
Città: VERONA
Messaggi: 9158
|
allora.... ho fatto pure io con xp e red hat...
prova ad aggiungere sotto la sez. public public = Yes se non va così..... ![]()
__________________
Thezeb@PSN ![]() |
![]() |
![]() |
![]() |
#14 |
Senior Member
Iscritto dal: Mar 2004
Città: Monza e Brianza
Messaggi: 2034
|
vuoi sapere come ho fatto io grazie al consiglio di un amico?
prendi il file di esempio che sta nella dir samba, metti solo il nome del gruppo (tipo workgroup) dei tuoi pc e poi alla fine del file aggiungi: [share] Comment = Dati condivisi path = /data public = yes writable = yes only guest = yes browseable = yes Ovviamente modifichi il comment e la path.. Dopo se usi gnome 2.10, nella barra degli strumenti vai a desktop-amministrazione-cartelle condivise, setti le dir e sei apposto..ti funge al primo colpo, senza pass da xp e senza particolari richieste.. prova e facci sapè ![]()
__________________
Apple MacBook Pro Retina - Apple iMac - Fujifilm X20 - Canon 5d Mk III - Canon 50mm 1,4 - Canon 28mm - Tamrac Expedition 5 |
![]() |
![]() |
![]() |
#15 | |
Member
Iscritto dal: Apr 2004
Città: Vicenza
Messaggi: 123
|
Quote:
Alla fine le ho provate tutte quando bastava usare il file di esempio.. Grazie.. ps l'unica modifica da fare ovviamente è mettere "security = share" ![]()
__________________
Love, let me sleep tonight on your couch And remember the smell of the fabric of your simple city dress [Jeff Buckley - So real] |
|
![]() |
![]() |
![]() |
#16 |
Senior Member
Iscritto dal: Mar 2004
Città: Monza e Brianza
Messaggi: 2034
|
io ho passato la mattina a bestemmiare santo samba!
poi quando ho appreso ciò, sono rimasto felicissimo :P buon samba! ![]()
__________________
Apple MacBook Pro Retina - Apple iMac - Fujifilm X20 - Canon 5d Mk III - Canon 50mm 1,4 - Canon 28mm - Tamrac Expedition 5 |
![]() |
![]() |
![]() |
#17 |
Senior Member
Iscritto dal: Mar 2004
Città: Monza e Brianza
Messaggi: 2034
|
l'unica cosa che non riesco a risolvere, è che da linux non vedo il pc winzozz
![]()
__________________
Apple MacBook Pro Retina - Apple iMac - Fujifilm X20 - Canon 5d Mk III - Canon 50mm 1,4 - Canon 28mm - Tamrac Expedition 5 |
![]() |
![]() |
![]() |
#18 | |
Member
Iscritto dal: Apr 2004
Città: Vicenza
Messaggi: 123
|
Quote:
Cmq grazie ancora! Ciao
__________________
Love, let me sleep tonight on your couch And remember the smell of the fabric of your simple city dress [Jeff Buckley - So real] |
|
![]() |
![]() |
![]() |
#19 | |
Senior Member
Iscritto dal: Jul 2002
Città: Padova
Messaggi: 4245
|
Quote:
Se usi kde, prova ad installare (se non è già installato) smb4k. Ciao. |
|
![]() |
![]() |
![]() |
#20 |
Member
Iscritto dal: Apr 2004
Città: Vicenza
Messaggi: 123
|
Sono tornato.. eheh..
![]() [share] Comment = Server path = /usr/local/ftp/ public = yes writable = yes only guest = yes browseable = yes Ho il problema che ogni volta che si scarica un file nuovo (da amule i file completi finiscono li) devo dare un "chmod 777 *" all'interno della cartella per poter prendere il file con samba. Ho provato ad aggiungere create mask = 0777 in share ma non cambia.. Cosa posso provare?
__________________
Love, let me sleep tonight on your couch And remember the smell of the fabric of your simple city dress [Jeff Buckley - So real] |
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 10:16.