[Samba-it] wide links = yes non funziona?

Marco Gaiarin gaio at sv.lnf.it
Tue Apr 3 03:57:51 MDT 2012


Sono passato a squeeze (samba 3.5.6) e non sembrano andare più i link
simbolici fuori dal path base, anche usando wide links = yes.

Esempio:

 [netlogon]
  comment = Network Logon Service
  path = /etc/samba/netlogon
  browseable = no
  read only = yes
  force create mode = 0664
  force directory mode = 2775
  write list = SVCORSI\root +SVCORSI\domadms
  wide links = yes

In /etc/samba/netlogon ho

 mouse:/etc/samba/netlogon# ls -la
 totale 532
 drwxr-xr-x 2 root root   4096  1 apr 06.52 .
 drwxr-xr-x 3 root root   4096  1 apr 06.52 ..
 lrwxrwxrwx 1 root root     25  3 feb  2010 LNFFVG.pem -> /etc/ssl/certs/LNFFVG.pem
 lrwxrwxrwx 1 root root     20  3 feb  2010 NTConfig.POL -> SVCorsi-20080917.POL
 -rw-rw-r-- 1 root root   1855 20 mar 18.06 startup.bat
 -rw-rw-r-- 1 root root 262144 28 mar  2006 SVCorsi-20060328.POL
 -rw-r--r-- 1 root root 262144 17 set  2008 SVCorsi-20080917.POL

Il link locale (NTConfig.POL) funziona perfettamente; il link fuori dalla
cartella (LNFFVG.pem) no, da ''accesso negato''.

Ah, ovviamente:

 mouse:/etc/samba/netlogon# ls -la /etc/ssl/certs/LNFFVG.pem
 -rw-r--r-- 1 root root 2744 15 giu  2007 /etc/ssl/certs/LNFFVG.pem
 mouse:/etc/samba/netlogon# ls -la /etc/ssl/
 totale 60
 drwxr-xr-x   4 root root      4096 15 mar 12.40 .
 drwxr-xr-x 121 root root     12288  3 apr 09.59 ..
 drwxr-xr-x   2 root root     20480 15 mar 12.40 certs
 -rw-r--r--   1 root lpadmin   2699 15 giu  2007 LNFFVGMouse-cert-old.pem
 -rw-r-----   1 root ssl-cert  3243 15 giu  2007 LNFFVGMouse-key-old.pem
 -rw-r--r--   1 root root      9374 30 nov  2006 openssl.cnf
 drwx--x---   2 root ssl-cert  4096  6 set  2010 private

non è un banale problema di permessi. ;-)


Grazie.

-- 
dott. Marco Gaiarin				    GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''                http://www.sv.lnf.it/
  Polo FVG  -  Via della Bontà, 7 - 33078  -  San Vito al Tagliamento (PN)
  marco.gaiarin(at)sv.lnf.it	  tel +39-0434-842711  fax +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
	   http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)


More information about the samba-it mailing list