Autore Topic: [Risolto]Problema Condivisone File/Stampante (SCX 4521 F )Samba Windows7/Centos6  (Letto 83892 volte)

Offline mayers81

  • Hero Member
  • *****
  • Post: 613
    • Mostra profilo
    • E-mail
Re: Problema Condivisone Cartella e Stampante Samba Windows 7 / Centos 6
« Risposta #30 il: 02 Settembre 2011, 12:58:15 »
domanda stupida quando cambi smb.conf riavvi il servizio dopo?
Mayers

Where there is a shell, there is a way

Offline Ratne

  • Jr. Member
  • **
  • Post: 30
    • Mostra profilo
    • iSayR
Re: Problema Condivisone Cartella e Stampante Samba Windows 7 / Centos 6
« Risposta #31 il: 02 Settembre 2011, 13:00:18 »
sisi xD

Offline mayers81

  • Hero Member
  • *****
  • Post: 613
    • Mostra profilo
    • E-mail
Re: Problema Condivisone Cartella e Stampante Samba Windows 7 / Centos 6
« Risposta #32 il: 02 Settembre 2011, 13:05:21 »
testparm cosa dice?
Mayers

Where there is a shell, there is a way

Offline Ratne

  • Jr. Member
  • **
  • Post: 30
    • Mostra profilo
    • iSayR
Re: Problema Condivisone Cartella e Stampante Samba Windows 7 / Centos 6
« Risposta #33 il: 02 Settembre 2011, 13:12:40 »
Codice: [Seleziona]
Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Processing section "[davide]"
Processing section "[printers]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
printcap name = cups
show add printer wizard = No

[davide]
path = /home/davide/condivisa
read only = No

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

Offline mayers81

  • Hero Member
  • *****
  • Post: 613
    • Mostra profilo
    • E-mail
Re: Problema Condivisone Cartella e Stampante Samba Windows 7 / Centos 6
« Risposta #34 il: 02 Settembre 2011, 14:01:38 »
non puo comparire solo questo in global

[global]
   printcap name = cups
   show add printer wizard = No
Mayers

Where there is a shell, there is a way

Offline Ratne

  • Jr. Member
  • **
  • Post: 30
    • Mostra profilo
    • iSayR
Re: Problema Condivisone Cartella e Stampante Samba Windows 7 / Centos 6
« Risposta #35 il: 02 Settembre 2011, 14:06:52 »
così sembra



edit
questo è l'smb.conf

Codice: [Seleziona]
[global]
workgroup = workgroup
security = user
encrypt passwords = yes
printing = cups
printcap name = cups
show add printer wizard = No
[davide]
path = /home/davide/condivisa
browsable = yes
writable = yes

[printers]
comment = All Printers
path = /var/spool/samba
guest ok = Yes
printable = Yes
use client driver = Yes
browseable = Yes
                       
« Ultima modifica: 02 Settembre 2011, 14:09:27 da Ratne »

Offline mayers81

  • Hero Member
  • *****
  • Post: 613
    • Mostra profilo
    • E-mail
Re: Problema Condivisone Cartella e Stampante Samba Windows 7 / Centos 6
« Risposta #36 il: 02 Settembre 2011, 14:13:25 »
il security va in share non in user
Mayers

Where there is a shell, there is a way

Offline Ratne

  • Jr. Member
  • **
  • Post: 30
    • Mostra profilo
    • iSayR
Re: Problema Condivisone Cartella e Stampante Samba Windows 7 / Centos 6
« Risposta #37 il: 02 Settembre 2011, 14:17:49 »
nel momento che inserisco lo share al posto di user non mi funziona più la condivisione della cartella dandomi questo errore nel terminale
Codice: [Seleziona]
Server not using user level security and no password supplied.
Server requested LANMAN password (share-level security) but 'client lanman auth' is disabled
tree connect failed: NT_STATUS_ACCESS_DENIED

e non facendomi più connettere da windows o altro

Offline mayers81

  • Hero Member
  • *****
  • Post: 613
    • Mostra profilo
    • E-mail
Re: Problema Condivisone Cartella e Stampante Samba Windows 7 / Centos 6
« Risposta #38 il: 02 Settembre 2011, 14:26:52 »
con security share

aggiungi

client ntlmv2 auth = no

riavvia smb
Mayers

Where there is a shell, there is a way

Offline Ratne

  • Jr. Member
  • **
  • Post: 30
    • Mostra profilo
    • iSayR
Re: Problema Condivisone Cartella e Stampante Samba Windows 7 / Centos 6
« Risposta #39 il: 02 Settembre 2011, 14:33:37 »
hemm non ho capito se inserirlo così

Codice: [Seleziona]
...
security = share
client ntlmv2 auth = no
...

o così
Codice: [Seleziona]
...
security = share  client ntlmv2 auth = no
...

comunque sia nel primo modo non mi fa entrare e mi da questo:
Codice: [Seleziona]
Server not using user level security and no password supplied.
Server requested LANMAN password (share-level security) but 'client lanman auth' is disabled
tree connect failed: NT_STATUS_ACCESS_DENIED

nel secondo modo non riconosce la linea e la ignora (facendomi poi connettere)

Offline mayers81

  • Hero Member
  • *****
  • Post: 613
    • Mostra profilo
    • E-mail
Re: Problema Condivisone Cartella e Stampante Samba Windows 7 / Centos 6
« Risposta #40 il: 02 Settembre 2011, 14:54:44 »
questo hai detto che l'avevi fatto

smbpasswd

Mayers

Where there is a shell, there is a way

Offline Ratne

  • Jr. Member
  • **
  • Post: 30
    • Mostra profilo
    • iSayR
Re: Problema Condivisone Cartella e Stampante Samba Windows 7 / Centos 6
« Risposta #41 il: 02 Settembre 2011, 14:56:44 »
si lo avevo gia fatto e il problema rimane

Codice: [Seleziona]
Server not using user level security and no password supplied.
Server requested LANMAN password (share-level security) but 'client lanman auth' is disabled
tree connect failed: NT_STATUS_ACCESS_DENIED

Offline mayers81

  • Hero Member
  • *****
  • Post: 613
    • Mostra profilo
    • E-mail
Re: Problema Condivisone Cartella e Stampante Samba Windows 7 / Centos 6
« Risposta #42 il: 02 Settembre 2011, 15:56:22 »
ecco ho trovato la documentazione centos

prova cosi!!!

http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-samba-servers.html
Mayers

Where there is a shell, there is a way

Offline Ratne

  • Jr. Member
  • **
  • Post: 30
    • Mostra profilo
    • iSayR
Re: Problema Condivisone Cartella e Stampante Samba Windows 7 / Centos 6
« Risposta #43 il: 02 Settembre 2011, 19:21:51 »
Buonasera la aggiorno prima di tutto ringraziandola dato che adesso funziona tutto sia la stampa in rete che la condivisione sia sotto windows che sotto linux che sotto Lion.

Dunque con la guida che mi ha passato ho modificato un po' l'smb e per i posteri in caso avranno lo stesso problema lo posto non si sa mai.

Codice: [Seleziona]
[global]
workgroup = workgroup
security = user
encrypt passwords = yes
printing = cups
printcap name = cups
show add printer wizard = No
[davide]
path = /home/davide/condivisa
browsable = yes
writable = yes
read only = no
guest ok = Yes

[printers]
comment = All Printers
path = /var/spool/samba
printer = SCX-4x21-Series
guest ok = Yes
writable = Yes
printable = Yes
use client driver = Yes
browseable = Yes

La stampante in questione è una SCX 4521 F riconosciuta grazie a cups automaticamente (NO funzionalità scanner)

Dopodichè sempre per la stampante su windows ho dovuto scaricare i driver proprietari e inserendo la stampante di rete come indirizzo

\\(indirizzo ip)\SCX-4x21-Series
e come driver scelti manualmente dalla lista (in quanto installati in precedenza):
Samsung / SCX 4x21 Series