• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

( gelöst ) Kein Zugriff auf smb share

geistloss

Newbie
Kenndaten : Linux 2.6.22.18-0.2-default i686
KDE 3.5.7 release 72.9
Samba 3.0.26a-3.7-1787

Problem : Von Vista her sehe ich zwar die Freigabe , habe aber keinen Zugriff

smb.conf :
Code:
# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2008-05-28
[global]
workgroup = ICH
printing = cups
printcap name = cups
cups options = raw
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
usershare allow guests = Yes
add machine script = /usr/sbin/useradd  -c Machine -d /var/lib/nobody -s /bin/false %m$
domain master = no
restrict anonymous = no
preferred master = no
max protocol = NT
acl compatibility = winnt
ldap ssl = No
server signing = Auto
usershare max shares = 100
server string = Samba 3.0.26a-3.7-1787
hostname lookups = yes

[home]
inherit acls = yes
path = /home/geistloss/
read only = no
guest ok = yes
case sensitive = no
strict locking = no
msdfs proxy = no
hosts allow = meinich
write list = geistloss
valid users = geistloss
username = geistloss

bin noch noob , danke für eure Denkanstösse gruss
 

andidos

Member
Hallo,

nach deiner smb.conf gehe ich davon aus das du dich unter deinem Vista auch den Benützernamen "geistlos" verwendest, mit dem selben Password. Samba unterscheidet zwischen groß und kleinschreibung, es gibt aber einen Parameter der dies teilweise ausschaltet. Dann probiere folgendes:
Code:
smbpasswd -a geistlos
An der Aufforderung 2 mal dein Password eingeben.

Viel Glück!
 
OP
geistloss

geistloss

Newbie
hi

du hast Recht . ich habe den Benutzer geistloss auf dem Vista Rechner und auf dem Linux Rechner. beide haben das identisch geschriebene Passwort. ich habe dass Problem nun irgendwie gelöst . Im Kontrollzentrum habe ich in der Rubrik samba eine neue Freigabe gemacht mit der Option allle Persönlichen Ordner freigeben und nun habe ich Zugriff und Schreibrechte . Keine Ahnung wiso, andere Freigaben funktionieren im moment nicht aber dass ist im Moment nicht so wichtig . Besten Dank für deine Antwort.

ps. wenn du einen linux user hast und im ein smb passwort geben willst machst du das in der console mit smbpasswd -a blalbal ? danach machst du nur noch die freigabe im Kontrollzentrum ? besten dank
 

andidos

Member
Nicht ganz, ich habe meine smb.conf selber geschrieben, mit vi. Das Kontrollzentrum habe ich nicht benützt. Kann sein dass, das Kontrollzentrum das SMB Password automatisch einträgt. Wenn du es ohne Kontrollzentum machst must du auf jeden fall
Code:
smbpasswd -a username
eingeben.
 
Oben