PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Fehler in der smb.conf



florian86
25.01.07, 13:09
Hallo

Ich nutze SuSE 10.2 habe Samba 3.0 am laufen (Wenns gehn würde)

Ich kann nicht Ohne Log in nicht auf die Freigegebenen Ordner zugreifen

Bei SuSE 10.0 hats geklappt mit der gleichen art. Mit YAST vorkonfiguriert, und dann über Kword nachgearbeitet und samba neu gestartet.


Meine smb.conf


# 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: 2006-11-27
[global]
workgroup = LAN
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 logons = No
domain master = No
netbios name = Samba
security = share

## Share disabled by YaST
# [homes]
# comment = Home Directories
# valid users = %S, %D%w%S
# browseable = No
# read only = No
# inherit acls = Yes

## Share disabled by YaST
# [profiles]
# comment = Network Profiles Service
# path = %H
# read only = No
# store dos attributes = Yes
# create mask = 0600
# directory mask = 0700

## Share disabled by YaST
# [users]
# comment = All users
# path = /home
# read only = No
# inherit acls = Yes
# veto files = /aquota.user/groups/shares/

## Share disabled by YaST
# [groups]
# comment = All groups
# path = /home/groups
# read only = No
# inherit acls = Yes

## Share disabled by YaST
# [printers]
# comment = All Printers
# path = /var/tmp
# printable = Yes
# create mask = 0600
# browseable = No

## Share disabled by YaST
# [print$]
# comment = Printer Drivers
# path = /var/lib/samba/drivers
# write list = @ntadmin root
# force group = ntadmin
# create mask = 0664
# directory mask = 0775

[bilder]
comment = Landschaftsbilder, Pornobilder, Sonstige Bilder
inherit acls = Yes
path = /samba/Bilder
read only = No

[clips]
comment =
inherit acls = Yes
path = /samba/Clips
read only = No

[installation]
comment = Installationsdatein aller Art
inherit acls = Yes
path = /samba/Installation
read only = No

[sonstiges]
comment =
inherit acls = Yes
path = /samba/Sonstiges
read only = No

## Share disabled by YaST
# [netlogon]


wo könnte ich was abändern?

muell200
25.01.07, 15:34
Ich kann nicht Ohne Log in nicht auf die Freigegebenen Ordner zugreifen



eine info:

INFO (http://www.amazon.de/Grammatik-verstehen-lernen-Wortarten-Lernmaterialien/dp/3893120637/sr=8-3/qid=1169735351/ref=pd_ka_3/028-0117748-2302970?ie=UTF8&s=books) :))





Bei SuSE 10.0 hats geklappt mit der gleichen art. Mit YAST vorkonfiguriert, und dann über Kword nachgearbeitet und samba neu gestartet.



wenn wann dir helfen soll, dann poste bitte mal die auszuege von den logdateien.
es klappt nicht ist keine fehlermeldung

florian86
25.01.07, 18:20
welche logdatein?

Ich kenne mich mit Suse doch noch etwas zuwenig aus.

Nur ich wüsste jetzt nicht was ich da Noch ändern könnte.

Bisher wenn es Probleme gab hab ich smb.conf abgeändert, mehr nochnicht.

florian86
26.01.07, 00:35
smb.conf sieht jetzt wie Folgt aus.


# 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: 2006-11-27
[global]
workgroup = LAN
security = share

[bilder]
guest ok = yes
path = /samba/Bilder/
read only = no

[clips]
guest ok = yes
path = /samba/Clips/
read only = no

[datein]
allow host = 192.168.1.12, 192.168.1.2
path = /samba/Datein/
read only = no
guest ok = yes

[installation]
guest ok = yes
path = /samba/Installation
read only = No

[sonstiges]
path = /samba/Sonstiges
read only = No
guest ok = yes

[spiele]
path = /samba/Spiele
read only = No
guest ok = yes


Kann jetzt Lesen aber nicht Schreiben

Wenn ich im Konqueror auf /samba gehe.
Rechtsklick, Eigenschaften, Berechtigungen,

ist unter Sonstige = Inhalt Darstellbar

Jetzt wenn ich dies auf Anzeigen & Ändern des Inhalts umänder, auf OK klicke, wird diese nicht übernommen. Wie kann ich das machen das dies dauerhaft bleibt.

MiGo
26.01.07, 10:44
Kann jetzt Lesen aber nicht Schreiben
Dann wirst du vermutlich ein Problem mit den Linux-Rechten des per Samba freigegebenen Verzeichnisses haben.
Was sagt denn "find /samba -type d -exec ls -ld {} \;" (Das listet dir sämtliche Unterordner in /samba nebst ihren Rechten auf)?

florian86
26.01.07, 11:51
find /samba -type d -exec ls -ld {} \;

zeigte dies


drwxrwxr-x 2 root users 16384 24. Dez 04:22 /samba/Datein/W-Lan/myspeednoc
drwxrwxr-x 3 root users 16384 25. Jan 18:25 /samba/Datein/Zubehr
drwxrwxr-x 2 root users 16384 25. Jan 18:25 /samba/Datein/Zubehr/Amarok
drwxrwxr-x 2 root users 16384 25. Jan 18:39 /samba/Clips
drwxrwxr-x 2 root users 16384 25. Jan 18:38 /samba/Sonstiges

als root will ich das ja Ändern oder soll ich mich mit einen Useracount einloggen, under Ordner erstellen?

florian86
26.01.07, 11:56
kann ich da was ändern?

/etc/fstab:


/dev/hda3 / ext3 acl,user_xattr 1 1
/dev/hda1 /boot ext2 acl,user_xattr 1 2
/dev/hda4 /samba vfat users,gid=users,umask=0002,utf8=true 0 0
/dev/hda2 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0

MiGo
31.01.07, 22:27
/dev/hda4 /samba vfat users,gid=users,umask=0002,utf8=true 0 0
Mach da ein "umask=000" draus und gut is :)

florian86
01.02.07, 20:04
Danke Jetzt Funktioniert alles