Hallo,
als Linux-Einsteiger probiere ich gerade einen File-Server unter Redhat9 einzurichten. Ich habe dazu einen Benutzer im System und einen Samba Benutzer erstellt und die smb.conf (siehe unten) erstellt.
Vom und zum Server kann ich erfolgreich pingen, Dienst ist auch im System aktiviert. Aber ich kann leider unter WINDOWS/Arbeitsgruppe den Linux-Rechner nicht sehen.
Was hab ich falsch gemacht?
Gruß
red-ultra
als Linux-Einsteiger probiere ich gerade einen File-Server unter Redhat9 einzurichten. Ich habe dazu einen Benutzer im System und einen Samba Benutzer erstellt und die smb.conf (siehe unten) erstellt.
Vom und zum Server kann ich erfolgreich pingen, Dienst ist auch im System aktiviert. Aber ich kann leider unter WINDOWS/Arbeitsgruppe den Linux-Rechner nicht sehen.
Was hab ich falsch gemacht?
Gruß
red-ultra
Code:
[global]
printing = bsd
printcap name = /etc/printcap
load printers = yes
guest account = nobody
invalid users = root
; fix its netbios name
netbios name = pantoufle
; this is the network to listen to
; (you don't need samba on the other network card since it manages the Internet
; connection!)
interfaces = 192.168.0.1/255.255.255.0
; security user implies that every user must have an unix account on this server
security = user
; The workgroup name to which the server belongs
workgroup = MSHEIMNETZ
; The server description, readable when displaying the details
; %h is the DNS name of the server and %v the samba version
server string = %h server (Samba %v)
; We use the samba log file, not only the syslog one
syslog only = no
; The less important information has to be written into syslog,
; the other information is found in /var/log/smb(nmb)/
syslog = 0;
; Let's tune!
socket options = IPTOS_LOWDELAY TCP_NODELAY \
SO_SNDBUF=4096 SO_RCVBUF=4096
; We use encrypted passwords. Careful,
; every W95 client must be patched with MS SMB
; security patch.
; NT4 must be patched with SP3 or higher...
; I can't remember as far as W3.11 is concerned:
; it probably doesn't support encrypted passwords:(
encrypt passwords = yes
; This server also works as a WINS server.
; WINS allows two networks using different IP ranges
; (for example 192.168.0.0/255.255.255.0 et 192.168.0.1/255.255.255.0)
; to see the shared resources in the "other" network,
; as soon as the gateway is active.
wins support = yes
; OS level. Since our server is the domain master, local logons, etc, it is
; "higher" than the NT server, if there is one!
os level = 34
; Domain management
domain master = yes
local master = yes
preferred master = yes
; Management of domain connections
domain logons = yes
; Which script to run when a client connects?
; %g corresponds to the primary group name this user is a member
logon script = %g.bat
; In which directory can we find the startup script files?
; %L is the netbios name of the samba server
logon path=\\%L\netlogon
; Where to store the users profiles?
; %U is the user's login
logon home=\\%L\%U\winprofile
; In which order check the resources to find
; the name of a machine?
; Note the broadcast at the end ... unlike windows
; sending broadcast on a regular basis.
name resolve order = lmhosts host wins bcast
; Must Samba be used as a DNS proxy?
dns proxy = no
; Preserve filenames and their case
preserve case = yes
short preserve case = yes
; Must we synchronize windows and linux passwords?
unix password sync = yes
; What to use for passwords synchronization
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* \
%n\n *Retype\snew\sUNIX\spassword:* %n\n .
; Maximum size of the log file,
; prevents from saturating the /var directory:p
max log size = 1000
; We are a time server: good thing to synchronize
; the machines time a bit.
; We'll use this feature from the logon .bat file
time server = yes
; We specify where the netlogon is.
; It is only used at connecting time,
; thus we don't need to make it public.
[netlogon]
path = /home/netlogon/%g
public = no
writeable = no
browseable = no
; The Home directory for every user
[homes]
comment = Home Directories
browseable = no
; He can write, can't he!
read only = no
; The default unix creation umask
create mask = 0700
; For security purpose, the directory
; mask is set to 700 as well!
directory mask = 0700
; We share FTP, it's easier to have it in
; the network neigborhood than to run
; a specific program.
[ftp]
path = /home/ftp/pub
public = yes
printable = no
guest ok = yes
; The temporary directory
[tmp]
path = /tmp
public = yes
printable = no
guest ok = yes
writable = yes
; another special temporary directory
; for a user needing much space!
[bigtemp]
path = /home/bigtemp
public = yes
printable = no
guest ok = yes
valid users = erics
writable = yes