[Samba-it] utente anonimo
Riccardo Gaggero
riccardo.gaggero at sogefifiltration.it
Tue Jun 29 15:01:01 MDT 2004
Si e quello ch evolevo fare
intanto ho letto letto letto e ultime prove ho fatto:
ho aggiunto a mano
guestpc::499:100::/dev/null:/dev/null
piccolo test
stargate:/etc/samba# su guestpc
No shell
la dir /home/public ha diritti 777
drwxrwxrwx 5 root staff 4096 Jun 29 08:19 public
modificato smb.conf
[Global]
guest account = guestpc
[Public]
comment = Dir Public
browseable = yes
path = /home/public
writable = yes
public = yes
guest ok = yes
guest only = yes
create mode = 0777
Il mio client NT non apre NIENTE del mio server SAMBA xche prima mi chiede
le credenziali (quindi discorso samba, non linux).
stargate:/etc/samba# testparm
Load smb config files from /etc/samba/smb.conf
Can't find include file /etc/samba/dhcp.conf
Processing section "[homes]"
Processing section "[printers]"
Processing section "[Public]"
Processing section "[Cont]"
Processing section "[Ced]"
Processing section "[Amm]"
Processing section "[print$]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
# Global parameters
[global]
workgroup = FIAAMFILTER
server string = %h server (Samba %v)
obey pam restrictions = Yes
passdb backend = tdbsam, guest
guest account = guestpc
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword:* %n\n .
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
printcap name = cups
dns proxy = No
panic action = /usr/share/samba/panic-action %d
invalid users = root
printing = cups
include = /etc/samba/dhcp.conf
[homes]
comment = Home Directories
read only = No
create mask = 0700
directory mask = 0700
browseable = No
[printers]
comment = All Printers
path = /tmp
create mask = 0700
printable = Yes
browseable = No
[Public]
comment = Dir Public
path = /home/public
read only = No
create mask = 0777
guest only = Yes
guest ok = Yes
[Cont]
comment = Dir Cont
path = /home/cont
valid users = @cont
read only = No
create mask = 0777
[Ced]
comment = Dir Ced
path = /home/ced
valid users = @ced
read only = No
create mask = 0777
[Amm]
comment = Dir Amm
path = /home/amm
valid users = @amm
read only = No
create mask = 0777
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
dove cavolo sbaglio????
----- Original Message -----
From: "Piviul" <pluto at flanet.org>
To: <samba-it at xsec.it>
Sent: Tuesday, June 29, 2004 2:29 PM
Subject: Re: [Samba-it] utente anonimo
> Non so se ho capito bene ciò che dici: vuoi creare una share Public su
> un server linux e in smb.conf inserisci
> > [Public]
> > comment = Dir Public
> > browseable = yes
> > path = /home/public
> > writable = yes
> > public = yes
> > guest account = nobody
> > guest ok = yes
> > guest only = yes
> > create mode = 0777
> e non ti funziona? guest account = nobody... hai un utente nobody? Tieni
> conto che "This user must exist in the password file, but does not
> require a valid login"
> (http://www.samba.org/samba/docs/man/smb.conf.5.html#GUESTACCOUNT)
>
> Se hai un utente nobody allora tale utente ha i permessi in /home/public?
>
> Ma la password NT te la chiede quando tenti di accedere al server o alla
> share?
>
>
> Le cose che ti ho scritto non centrano niente? Scusa allora ma non ho
> ancora capito.
>
> Un saluto
>
> Piviul
>
> _______________________________________________
> Samba-it mailing list
> Samba-it at xsec.it
> https://lists.xsec.it/mailman/listinfo/samba-it
>
More information about the samba-it
mailing list