|
iulian1989
Anmeldungsdatum: April 26, 2010
Beiträge: 17
|

15. Mai 2012 23:10
Ums vorweg zu nehmen ich bin schon fleißig am Lesen gewesen, von wegen fstab und UUIDs aber ich bekomme es einfahc nicht hin. Das habe ich: Ubuntu 12.04, eine externe Festplatte, eine interne. Ich weiß wie ich die UUIDs rausbekomme, der Nutzername ist iulian. Frage: Wie editiere ich die fstab so, das ich auch als Benutzer die Partition einhängen kann (ich hatte gelesen dass das nötig ist), das Dateisystem ist NTFS (2TB) Das möchte ich: Eine Samba-Freigabe für Windows, ich habe schon die erforderlichen Pakete hier aus dem Wiki installiert, damit komme ich zur not auch noch selbst klar. Was ist das Problem? Ich bekomme immer Fehlermeldungen beim mounten wenn ich versuche meine Festplatte zu mounten, ich kann meine Freigaben nicht sehen und immer wenn ich zugriffsrechte vergebe dann werden die immer storniert wenn ich aus dem Menü für die Freigaben gehe Ich weiß, es gibt schon unzählige Treads zu dem Thema, nur irgendwie passen die nicht und alle freuen sich weil sies hinbekommen haben -.- ich will auch;) Danke jetzt schonmal an alle hier
Bearbeitet von redknight: Titel angepasst. Verzichte auf Hilferufe und ähnliches, der Titel sollte eine kurze und prägnante Problembeschreibung sein.
|
|
Max-Ulrich Farber
Anmeldungsdatum: Jan. 23, 2007
Beiträge: 5545
|

16. Mai 2012 09:22
Was ist das Problem?
Um dies beantworten zu können, wären ein paar weitere Informationen nicht schlecht.
Hast Du für die externe Platte schon einen Eintrag in /etc/fstab vorgenommen? Wenn ja, wie lautet dieser ganz genau? Soll die externe Platte ausschließlich an diesem PC mit Ubuntu betrieben werden, oder wird sie auch umgesteckt? Wenn ja, auch an Windows-PCs? Wenn ja, existiert auf den Windows-PCs eine Verwaltung von Besitz- und Zugriffsrechten, und soll diese ggf. nach Linux übernommen werden (ist nicht ganz einfach!), oder ist das nicht nötig? Ist die Platte immer schon beim Systemstart am Linux-PC eingesteckt, oder soll sie im Betrieb aus- und eingesteckt werden? Wenn Du dann die Samba-Freigabe einrichtest: Wer soll auf den Windows-PCs auf sie zugreifen dürfen, und mit welchen Rechten? Sollen außer Windows-PCs auch Linux-PCs über das Netz zugreifen? Ist das lokale Netz sicher, oder müssen Zugriffskontrollen vorgesehen werden? Ist die Platte schon beschrieben, oder kannst Du sie nötigenfalls auch noch umformatieren?
Du siehst, um es richtig zu machen, muss man vieles berücksichtigen. Bitte mache deshalb möglichst viele und möglichst genaue Angaben, wie es nachher werden soll. Gruß - Max-Ulrich
|
|
iulian1989
(Themenstarter)
Anmeldungsdatum: April 26, 2010
Beiträge: 17
|

16. Mai 2012 09:40
Ich finds super, dass ich mal in einem Forum gelandet bin wo man wirklich hilfe findet. Ich werde versuchen die fragen alle zu beantworten. 1. NEIN, ich hatte schon etwas experimentiert mit der fstab, aber nach vielen Fehlschlägen die Einträge alle wieder gelöscht, weil nichts davon so funktionierte wie es sollte.
2. Die Platte soll auf Ubuntu und auf Windows genutzt werden (DualBoot) und wenn nötig auch an meinem Notebook, dort sind auch Ubuntu und Windows nebeneinander installiert, dort sind Benutzernamen und Kennwörter für jedes System die gleichen (iulXXX für Linux, IulXXX für Windows)
3. Nein, unter Windows arbeite ich immer als Admin, es gibt keine eingeschränkten Benutzer
4. Die Platte ist normalerweise immer schon im PC eingesteckt, soll aber auch an- und abgesteckt werden, wenn es mal sein muss, das ist aber nicht der Sinn der Sache.
5. Auf den Windows-PCs soll nur der Hauptbenutzer mit Adminrechten (IulXXX) auf die Festplatten zugreifen dürfen
6. Ja - auch das Notebook soll auf die Festplatte zugreifen dürfen, wenn es mit Ubuntu bootet. Das lokale Netz ist gut abgesichert. Es muss keine Zugriffskontrolle vorhanden sein.
7. Ja - Leider ist die Festplatte schon beschrieben (meine Datensicherung) also auch unersetzliche Daten, die dürfen auf keinen Fall verloren gehen. Ich hoffe meine Antworten helfen weiter, vielleicht will ich ja auch einfach zu viel von Linux??) Ich hab Linux schon ein Jahr ausprobiert, aber noch nie mit Freigaben gearbeitet, weil ich sie bis jetzt auch nicht gebraucht habe (Notebook ist neu)... Tja, hoffe die nächste Antwort kommt auch so schnell:) Danke im Voraus an alle.
|
|
Max-Ulrich Farber
Anmeldungsdatum: Jan. 23, 2007
Beiträge: 5545
|

16. Mai 2012 14:45
vielleicht will ich ja auch einfach zu viel von Linux?
Nee, sowas muss klappen. Soo kompliziert ist es ja nicht. Also, NTFS muss offenbar bleiben. Du kannst aber ganz einfach auf der Platte eine Linux- (UNIX-) Rechteverwaltung einrichten, die dann allerdings nicht ohne Weiteres auch für Windows gilt. Doch dort brauchst Du sie ja anscheinend nicht. Die Platte kann dann trotzdem auch unter Windows direkt verwendet werden, nur eben ohne die Rechte-Verwaltung, d.h. dort darf dann jeder alles. Wie das geht, findest Du im Artikel NTFS-3G hier beschrieben. Für die so präparierte Platte brauchst Du dann im Prinzip gar keinen fstab-Eintrag, denn sie wird dann automatisch mit den richtigen Optionen gemountet und von Linux genau so behandelt wie eine Platte mit einem Linux-Dateisystem (z.B. ext3). Du findest sie dann im Systemordner /media mit ihrem Label als Ordnername. Dort kannst Du sie über Samba freigeben. Ich würde für die Platte auf jeden Fall eine Allgemeine Freigabe einrichten. Wenn Du keine ausgefallenen Optionen brauchst (und dies scheint ja nicht der Fall zu sein), genügt dafür das eben dort beschriebene graphische Tool system-config-samba. Speziellere Optionen lassen sich nötigenfalls nur über die Datei /etc/samba/smb.conf einstellen. Wenn Du in diesem Tool auch Andern Zugriffsrechte einräumst, dann musst Du für die betreffenden Dateien auch die UNIX-Dateirechte entsprechend festlegen (nötigenfalls mit Administrator-Rechten, also mit sudo chown ... und udo chmod Siehe dazu die Artikel chown und chmod. Denn Samba kann ja nichts erlauben, was vom System verboten ist. Eigentlich sind wir damit schon fertig. Wenn aber noch Schwierigkeiten im Detail auftreten, dann melde Dich bitte einfach wieder. Gruß - Max-Ulrich
|
|
iulian1989
(Themenstarter)
Anmeldungsdatum: April 26, 2010
Beiträge: 17
|

16. Mai 2012 15:30
Also einen Erfolg habe ich schon mal vorzuweisen, ich konnte den Besitzer von root auf iulian ändern auf der ganzen festplatte, das ist schon mal was glaube ich?
Dann habe ich einfach einen Ordner mit Namen .NTFS-3G und einer einzigen Datei UserMapping erstellt und den Beispieltext ::S-1-5-21-3141592653-589793238-462643383-10000 eingefügt. herausgezogen, wiederangesteckt. ich habe das grafische Programm von Samba gestartet - und ihm gesagt er soll die Dateien freigeben mit /media/Sicherungen, beschreibbar und sichtbar, Zugang für alle. Aber warum isehe ich in Windows denn noch nichts? oder habe ich etwas verkehrt gemacht? Update: auch vom Notebook mit Ubuntu 12.04 ist die freigabe nicht zusehen
|
|
Max-Ulrich Farber
Anmeldungsdatum: Jan. 23, 2007
Beiträge: 5545
|

16. Mai 2012 22:03
Kannst Du jetzt auf der Platte für die einzelnen Ordner und Dateien die Besitz- und Zugriffsrechte ändern? Das sollte jetzt klappen. Wenn das ok ist, könntest Du dann bitte die Datei /etc/samba/smb.conf posten. Richte dazu einfach einen Codeblock ein (drittes Symbol von rechts), und kopiere die Datei da hineun. Codeblock muss sein, sonst wird's unlesbar. Die Einstellungen, die Du bei system-config-samba vorgenommen hast, sieht man an der Datei. Du bekommst sie aber auch noch einmal übersichtlicher zusammengefasst mit dem Befehl testparm im Terminal.
|
|
iulian1989
(Themenstarter)
Anmeldungsdatum: April 26, 2010
Beiträge: 17
|

16. Mai 2012 22:04
Max-Ulrich Farber schrieb: Kannst Du jetzt auf der Platte für die einzelnen Ordner und Dateien die Besitz- und Zugriffsrechte ändern? Das sollte jetzt klappen.
Nein - das klappt leider doch nicht:( für die ordner schon, für die dateien nicht=(
Wenn das ok ist, könntest Du dann bitte die Datei /etc/samba/smb.conf posten. Richte dazu einfach einen Codeblock ein (drittes Symbol von rechts), und kopiere die Datei da hineun. Codeblock muss sein, sonst wird's unlesbar. Die Einstellungen, die Du bei system-config-samba vorgenommen hast, sieht man an der Datei. Du bekommst sie aber auch noch einmal übersichtlicher zusammengefasst mit dem Befehl testparm im Terminal.
|
|
iulian1989
(Themenstarter)
Anmeldungsdatum: April 26, 2010
Beiträge: 17
|

16. Mai 2012 22:06
iulian1989 schrieb: Max-Ulrich Farber schrieb: Kannst Du jetzt auf der Platte für die einzelnen Ordner und Dateien die Besitz- und Zugriffsrechte ändern? Das sollte jetzt klappen.
Nein - das klappt leider doch nicht:( für die ordner schon, für die dateien nicht=(
Wenn das ok ist, könntest Du dann bitte die Datei /etc/samba/smb.conf posten. Richte dazu einfach einen Codeblock ein (drittes Symbol von rechts), und kopiere die Datei da hineun. Codeblock muss sein, sonst wird's unlesbar. Die Einstellungen, die Du bei system-config-samba vorgenommen hast, sieht man an der Datei. Du bekommst sie aber auch noch einmal übersichtlicher zusammengefasst mit dem Befehl testparm im Terminal.
ich weiß ich weiß es gibt ein tutorial - nur könntest du mir erklären wie man das macht mit dem ntfs-3g/usermapping? ich weiß einfach nicht wie ich das RICHTIG mache -.- so was dummes
|
|
Max-Ulrich Farber
Anmeldungsdatum: Jan. 23, 2007
Beiträge: 5545
|

17. Mai 2012 10:38
Nein - das klappt leider doch nicht: (für die ordner schon, für die dateien nicht )
Das kann eigentlich nicht sein. Wenn es für die Ordner geht, dann geht es für die Dateien auch. - Wenn Du natürlich selber nicht Eigentümer eines Ordners bzw. der Dateien bist, dann kannst Du deren Rechte nur mit Administrator-Rechten ändern. Aber das hat mit Usermapping nichts zu tun, das ist in Linux immer so. Auch in Original Linux-Dateisystemen.
nur könntest du mir erklären wie man das macht mit dem ntfs-3g/usermapping?
Ein echtes Usermapping brauchst Du gar nicht. Das ist nur nötig, wenn Linux und Windows die Rechte gegenseitig anerkennen sollten. Uns das willst Du ja nicht. Du musst also nur die (versteckte) Datei nach o.g. Muster im Wurzelverzeichnis der externen NTFS-Partition anlegen - fertig! Damit simulierst Du ein Usermapping: Linux meint, dass eines da ist, aber Windows versteht dieses nicht. Wenn Windows etwas damit anfangen soll, dann darf man eben nicht irgendwas Zufälliges dort eintragen. Wenn es nicht klappt, hast Du die versteckte Datei vielleicht an der falschen Stelle plaziert, oder den Punkt am Anfang vergessen? Dann poste mir bitte noch die smb.conf und vielleicht noch die Ausgabe von testparm als Codeblöcke. Gruß - Max-Ulrich
|
|
iulian1989
(Themenstarter)
Anmeldungsdatum: April 26, 2010
Beiträge: 17
|

18. Mai 2012 23:54
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37 | Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[printers]"
Processing section "[Sicherungen]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
server string = %h server (Samba, Ubuntu)
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
username map = /etc/samba/smbusers
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d
idmap config * : backend = tdb
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
print ok = Yes
browseable = No
[Sicherungen]
path = /media/Sicherungen
read only = No
guest ok = Yes
|
und die smb.conf 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312 | #
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options most of which
# are not shown in this example
#
# Some options that are often worth tuning have been included as
# commented-out examples in this file.
# - When such options are commented with ";", the proposed setting
# differs from the default Samba behaviour
# - When commented with "#", the proposed setting is the default
# behaviour of Samba but the option is considered important
# enough to be mentioned here
#
# NOTE: Whenever you modify this file you should run the command
# "testparm" to check that you have not made any basic syntactic
# errors.
# A well-established practice is to name the original file
# "smb.conf.master" and create the "real" config file with
# testparm -s smb.conf.master >smb.conf
# This minimizes the size of the really used smb.conf file
# which, according to the Samba Team, impacts performance
# However, use this with caution if your smb.conf file contains nested
# "include" statements. See Debian bug #483187 for a case
# where using a master file is not a good idea.
#
#======================= Global Settings =======================
[global]
## Browsing/Identification ###
# Change this to the workgroup/NT-domain name your Samba server will part of
workgroup = WORKGROUP
# server string is the equivalent of the NT Description field
server string = %h server (Samba, Ubuntu)
# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable its WINS Server
# wins support = no
# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
; wins server = w.x.y.z
# This will prevent nmbd to search for NetBIOS names through DNS.
dns proxy = no
# What naming service and in what order should we use to resolve host names
# to IP addresses
; name resolve order = lmhosts host wins bcast
#### Networking ####
# The specific set of interfaces / networks to bind to
# This can be either the interface name or an IP address/netmask;
# interface names are normally preferred
; interfaces = 127.0.0.0/8 eth0
# Only bind to the named interfaces and/or networks; you must use the
# 'interfaces' option above to use this.
# It is recommended that you enable this feature if your Samba machine is
# not protected by a firewall or is a firewall itself. However, this
# option cannot handle dynamic or non-broadcast interfaces correctly.
; bind interfaces only = yes
#### Debugging/Accounting ####
# This tells Samba to use a separate log file for each machine
# that connects
log file = /var/log/samba/log.%m
# Cap the size of the individual log files (in KiB).
max log size = 1000
# If you want Samba to only log through syslog then set the following
# parameter to 'yes'.
# syslog only = no
# We want Samba to log a minimum amount of information to syslog. Everything
# should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to log
# through syslog you should set the following parameter to something higher.
syslog = 0
# Do something sensible when Samba crashes: mail the admin a backtrace
panic action = /usr/share/samba/panic-action %d
####### Authentication #######
# "security = user" is always a good idea. This will require a Unix account
# in this server for every user accessing the server. See
# /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html
# in the samba-doc package for details.
# security = user
# You may wish to use password encryption. See the section on
# 'encrypt passwords' in the smb.conf(5) manpage before enabling.
; encrypt passwords = yes
# If you are using encrypted passwords, Samba will need to know what
# password database type you are using.
; passdb backend = tdbsam
obey pam restrictions = yes
# This boolean parameter controls whether Samba attempts to sync the Unix
# password with the SMB password when the encrypted SMB password in the
# passdb is changed.
unix password sync = yes
# For Unix password sync to work on a Debian GNU/Linux system, the following
# parameters must be set (thanks to Ian Kahan <<kahan@informatik.tu-muenchen.de> for
# sending the correct chat script for the passwd program in Debian Sarge).
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
# This boolean controls whether PAM will be used for password changes
# when requested by an SMB client instead of the program listed in
# 'passwd program'. The default is 'no'.
pam password change = yes
# This option controls how unsuccessful authentication attempts are mapped
# to anonymous connections
map to guest = bad user
########## Domains ###########
# Is this machine able to authenticate users. Both PDC and BDC
# must have this setting enabled. If you are the BDC you must
# change the 'domain master' setting to no
#
; domain logons = yes
#
# The following setting only takes effect if 'domain logons' is set
# It specifies the location of the user's profile directory
# from the client point of view)
# The following required a [profiles] share to be setup on the
# samba server (see below)
; logon path = \\%N\profiles\%U
# Another common choice is storing the profile in the user's home directory
# (this is Samba's default)
# logon path = \\%N\%U\profile
# The following setting only takes effect if 'domain logons' is set
# It specifies the location of a user's home directory (from the client
# point of view)
; logon drive = H:
# logon home = \\%N\%U
# The following setting only takes effect if 'domain logons' is set
# It specifies the script to run during logon. The script must be stored
# in the [netlogon] share
# NOTE: Must be store in 'DOS' file format convention
; logon script = logon.cmd
# This allows Unix users to be created on the domain controller via the SAMR
# RPC pipe. The example command creates a user account with a disabled Unix
# password; please adapt to your needs
; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u
# This allows machine accounts to be created on the domain controller via the
# SAMR RPC pipe.
# The following assumes a "machines" group exists on the system
; add machine script = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u
# This allows Unix groups to be created on the domain controller via the SAMR
# RPC pipe.
; add group script = /usr/sbin/addgroup --force-badname %g
########## Printing ##########
# If you want to automatically load your printer list rather
# than setting them up individually then you'll need this
# load printers = yes
# lpr(ng) printing. You may wish to override the location of the
# printcap file
; printing = bsd
; printcap name = /etc/printcap
# CUPS printing. See also the cupsaddsmb(8) manpage in the
# cupsys-client package.
; printing = cups
; printcap name = cups
############ Misc ############
# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting
; include = /home/samba/etc/smb.conf.%m
# Most people will find that this option gives better performance.
# See smb.conf(5) and /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/speed.html
# for details
# You may want to add the following on a Linux system:
# SO_RCVBUF=8192 SO_SNDBUF=8192
# socket options = TCP_NODELAY
# The following parameter is useful only if you have the linpopup package
# installed. The samba maintainer and the linpopup maintainer are
# working to ease installation and configuration of linpopup and samba.
; message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &
# Domain Master specifies Samba to be the Domain Master Browser. If this
# machine will be configured as a BDC (a secondary logon server), you
# must set this to 'no'; otherwise, the default behavior is recommended.
# domain master = auto
# Some defaults for winbind (make sure you're not using the ranges
# for something else.)
; idmap uid = 10000-20000
; idmap gid = 10000-20000
; template shell = /bin/bash
# The following was the default behaviour in sarge,
# but samba upstream reverted the default because it might induce
# performance issues in large organizations.
# See Debian bug #368251 for some of the consequences of *not*
# having this setting and smb.conf(5) for details.
; winbind enum groups = yes
; winbind enum users = yes
# Setup usershare options to enable non-root users to share folders
# with the net usershare command.
# Maximum number of usershare. 0 (default) means that usershare is disabled.
; usershare max shares = 100
# Allow users who've been granted usershare privileges to create
# public shares, not just authenticated ones
usershare allow guests = yes
username map = /etc/samba/smbusers
security = user
; guest ok = no
; guest account = nobody
#======================= Share Definitions =======================
# Un-comment the following (and tweak the other settings below to suit)
# to enable the default home directory shares. This will share each
# user's home director as \\server\username
;[homes]
; comment = Home Directories
; browseable = no
# By default, the home directories are exported read-only. Change the
# next parameter to 'no' if you want to be able to write to them.
; read only = yes
# File creation mask is set to 0700 for security reasons. If you want to
# create files with group=rw permissions, set next parameter to 0775.
; create mask = 0700
# Directory creation mask is set to 0700 for security reasons. If you want to
# create dirs. with group=rw permissions, set next parameter to 0775.
; directory mask = 0700
# By default, \\server\username shares can be connected to by anyone
# with access to the samba server. Un-comment the following parameter
# to make sure that only "username" can connect to \\server\username
# The following parameter makes sure that only "username" can connect
#
# This might need tweaking when using external authentication schemes
; valid users = %S
# Un-comment the following and create the netlogon directory for Domain Logons
# (you need to configure Samba to act as a domain controller too.)
;[netlogon]
; comment = Network Logon Service
; path = /home/samba/netlogon
; guest ok = yes
; read only = yes
# Un-comment the following and create the profiles directory to store
# users profiles (see the "logon path" option above)
# (you need to configure Samba to act as a domain controller too.)
# The path below should be writable by all users so that their
# profile directory may be created the first time they log on
;[profiles]
; comment = Users profiles
; path = /home/samba/profiles
; guest ok = no
; browseable = no
; create mask = 0600
; directory mask = 0700
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
; guest ok = no
; read only = yes
create mask = 0700
# Windows clients look for this share name as a source of downloadable
# printer drivers
[Sicherungen]
path = /media/Sicherungen
writeable = yes
; browseable = yes
guest ok = yes
|
Postscriptum: sorry dass ich so spät schreibe, bin die tage sehr beschäftigt gewesen
|
|
Max-Ulrich Farber
Anmeldungsdatum: Jan. 23, 2007
Beiträge: 5545
|

19. Mai 2012 14:58
sorry dass ich so spät schreibe, bin die tage sehr beschäftigt gewesen
Ich war auch nicht zu Hause! Ich sehe nicht, warum das nicht funktionieren sollte. Die Datei smb.conf scheint in Ordnung zu sein. workgroup = WORKGROUP
Heißt die Arbeitsgruppe auf den Clients vielleicht anders? Dann solltest Du diese anpassen. Du kannst Die Datei smb.conf einfach mit Administrator-Rechten in einem Editor öffnen und diese Zeile ändern. Dann speichern. Nach sudo service smbd restart musst Du noch etwas warten, bis es sich "herumgesprochen" hat. Ein Neustart des Servers bewirkt das Gleiche. Würdest Du bitte ganz genau schreiben, was Du auf welchem Rechner versucht hast, und in welcher Weise dies nicht geklappt hat, damit wir nicht unnötig an der falschen Schraube drehen. Interessant wäre auch, ob Du denn auf dem Server selbst in einem Nautilus-Fenster über "Netzwerk -> Windows-Netzwerk ..." auf die Freigabe zugreifen kannst. Wenn es dort klappt, aber auf den Windows-Rechnern nicht, dann prüfe doch bitte mal mit ping die Netzwerk-Verbindung. Gruß - Max-Ulrich
|
|
iulian1989
(Themenstarter)
Anmeldungsdatum: April 26, 2010
Beiträge: 17
|

19. Mai 2012 18:23
ich hab gedacht ich spinne - für ein paar sekunden war die freigabe zu sehen und zu benutzen - jetzt ist sie wieder weg:( wie kann sowas sein?
|
|
Max-Ulrich Farber
Anmeldungsdatum: Jan. 23, 2007
Beiträge: 5545
|

19. Mai 2012 21:54
wie kann sowas sein?
Hellsehen kann ich leider auch nicht. Vielleicht ist die Netzwerk-Verbindung nicht stabil?
|