flugfaust
Goto Top

Benötige EINFACHSTE Samba konfig

Da ich es nun satt habe weiter irgendwelche "klugen" Tipps von möchtegern LINUX Spezialist zu hören, wende ich mich gleich an euch

Ich habe nun schon einige Konfigurationen unter Suse 10.1 mit Samba versucht aber ich bekomme es nicht hin, eine einfach Freigabe für meine Windows Clients hinzubekommen und zwar ohne anlegen von Benutzern oder Passworteingabe

Unter Fedora hab ich es auf anhioeb hinbekommen. Keine Ahnung was ich anders gemacht habe


So nun zu dem was ich brauche.

Das Verzeichnis /DATA soll für alles und jeden Freigegeben werden read/write.

Kan nir hier jemand kurz schreiben was ich in die smb.coof eintragn muss ?

Content-Key: 42847

Url: https://administrator.de/contentid/42847

Printed on: April 20, 2024 at 06:04 o'clock

Member: trapper-tom
trapper-tom Oct 24, 2006 at 11:42:45 (UTC)
Goto Top
Hi,

da ich aus der M$-Windows-Ecke komme, habe ich Samba über den KDE-Desktop mit Yast2 konfiguriert. Läuft mit Suse 9.3 ohne Benutzer anzulegen. Da ich erst morgen wieder an dem betreffenden PC bin, kann ich heute das conf-file nicht senden.

Gruß

Trapper Tom
Member: flugfaust
flugfaust Oct 25, 2006 at 08:48:58 (UTC)
Goto Top
Das wär ideal
Member: flugfaust
flugfaust Nov 02, 2006 at 11:07:22 (UTC)
Goto Top
Kann mir hier nun noch jemand weiter helfen ?
Benötige dringenst die smb.conf so dass JEDER schreib zugriff auf das Share bekommt
Member: trapper-tom
trapper-tom Nov 02, 2006 at 12:17:41 (UTC)
Goto Top
Hi,

sorry für verspätete Bearbeitung



  1. smb.conf is the main Samba configuration file. You find a full commented
  2. version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
  3. samba-doc package is installed.
  4. Date: 2005-03-22
[global]
workgroup = xxxx
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
printer admin = @ntadmin, root, administrator
username map = /etc/samba/smbusers
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
domain logons = No
domain master = No
security = domain
netbios name = linux1
password server = *

[homes]
comment = Home Directories
valid users = %S
browseable = No
read only = No
inherit acls = Yes

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

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

[groups]
comment = All groups
path = /home/groups
read only = No
inherit acls = Yes

[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No

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

[daten]
comment = Datenlaufwerk
inherit acls = Yes
path = /daten
read only = No


sollte funzen (natürlich ohne die ``)

Gruß Tom
Member: flugfaust
flugfaust Nov 02, 2006 at 22:19:45 (UTC)
Goto Top
Hmm. Also unter FEDORA hatte ich nur wenige Zeilen in die smb.conf eingegeben um ein Share zu erstellen wo JEDER drauf zugreiffen konnte ohne Benutzerabfrage.
Aber ich werds mir morgen mal genauer ansehen und testen
DANKE schon mal

Unter FEDORA hatte ich noch security = share angegeben und dann gings OHNE Benutzerdaten. Unter SUSE komischerweise nicht

Bekomme immer die Meldung " Das Netzlaufwerk konnte nicht verbunden werden. Mit diesem Benutzerkonto kann man sich von diesem Computer aus nicht anmelden"
Member: flugfaust
flugfaust Nov 04, 2006 at 13:11:43 (UTC)
Goto Top
Wieso bekomme ich auch hier eine Benutzeranfrage vom Server ?

[daten]
comment = Datenlaufwerk
inherit acls = Yes
path = /daten
`` read only = No


Ich möchte es so einstellen dass keine Benutzer abgefragt werden
Member: Maik87
Maik87 Dec 14, 2006 at 07:49:55 (UTC)
Goto Top
Hallo,
ich hab ka was inherit acls = Yes bedeutet, ich weiss nur, ich habs nie gebraucht . . .

Versuch mal folgendes:

[daten]
comment=Datenlaufwerk
path = /daten
guest ok = true
writeable = true


Vergiss in der Console das rcsmb reload nicht... Kannst aber auch erstmal mit testparm die Konfig überprüfen.

Dann würde ich noch chmod 777 /daten machen, schaden kanns ja nicht, da eh jeder Vollzugriff haben soll.