PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Samba - Kleinschreibung erzwingen?



duspat
31.07.02, 08:05
Hallo,

ich glaube schon mal von einem Parameter in der smb.conf gehört zu haben mit den man die Kleinschreibung erzwingen kann.

Nur leider kann ich mich nicht mehr daran erinnern. Wer weiß was zu den Thema, wie lautet der Parameter?


...und noch ne zweite Frage:

Wenn ich den smbstatus auf der Konsole Abfrage bringt er

No path in services daten - using /tmp

Was meint er damit?

Danke Euch

Gruß

Patrick

nrssiegen
31.07.02, 08:45
In der smb.conf musst du glaube ich folgendes hinzufügen:


[global]
...
encrypt password = yes
...


MFG

Nico

HaZZir
31.07.02, 08:50
hi duspat
die option:

encrypt password = yes

heißt nur das er verschlüsselte passworter aktiviert!


zu No path in services daten - using /tmp

schau mal in deiner smb.conf nach ob bei deiner freigabe [daten] auch der path = ... agegeben ist. un ob er wirklich existiert. Groß und kleinschreibung beachten!!!

mfg haZZir

duspat
31.07.02, 10:31
Hallo,

ja das wars, ich habe vergessen den path anzugeben. Peinlich! *grins*, aber großen Dank.

Na ja, damit wäre ja mein zweites Problem gelöst.

Wie funktioniert das jetzt mit der Kleinschreibung?

Ich habe irgendwas mit mangle case im Hinterkopf, das funkioniert aber nicht.

Gruß

Patrick

Jorge
31.07.02, 13:54
NAME MANGLING
Samba supports "name mangling" so that DOS and Windows clients can use files that don't conform to the 8.3
format. It can also be set to adjust the case of 8.3 format filenames.

There are several options that control the way mangling is performed, and they are grouped here rather
than listed separately. For the defaults look at the output of the testparm program.

All of these options can be set separately for each service (or globally, of course).

The options are:

mangling method
controls the algorithm used for the generating the mangled names. Can take two different values,
"hash" and "hash2". "hash" is the default and is the algorithm that has been used in Samba for many
years. "hash2" is a newer and considered a better algorithm (generates less collisions) in the
names. However, many Win32 applications store the mangled names and so changing to the new algo_
rithm must not be done lightly as these applications may break unless reinstalled. New installa_
tions of Samba may set the default to hash2. Default hash.

mangle case = yes/no
controls if names that have characters that aren't of the "default" case are mangled. For example,
if this is yes then a name like "Mail" would be mangled. Default no.

case sensitive = yes/no
controls whether filenames are case sensitive. If they aren't then Samba must do a filename search
and match on passed names. Default no.

default case = upper/lower
controls what the default case is for new filenames. Default lower.

preserve case = yes/no
controls if new files are created with the case that the client passes, or if they are forced to be
the "default" case. Default yes.

short preserve case = yes/no
controls if new files which conform to 8.3 syntax, that is all in upper case and of suitable
length, are created upper case, or if they are forced to be the "default" case. This option can be
use with "preserve case = yes" to permit long filenames to retain their case, while short names are
lowercased. Default yes.

By default, Samba 2.2 has the same semantics as a Windows NT server, in that it is case insensitive but
case preserving.