Einzelnen Beitrag anzeigen

Alt 29.06.2007, 02:03  
Rote Socke->Emailproblem
Emailadresse berichtigen!
 
Registriert seit: 17.09.2005
Ort: Bochum
Beiträge: 1.035
Rote Socke Rote Socke
Standard

Du musst auf dem LINUX-PC nicht eine FAT32 einrichten.

Aber Du musst SAMBA installieren.
In der /etc/samba/smb.conf (Ich hoffe, der Pfad ist richtig) muß der Pfad eingerichtet sein, in dem die Freigabe steht.
BEISPIEL:
Samba-Server:

Frei zu gebende Verz.
/mnt/back0
/mnt/back1

#======================= Global Settings =======================

[global]

## Browsing/Identification ###

workgroup = msheimnetz
dos charset = CP1250
unix charset = ISO8859-15
display charset = ISO8859-15
server string = %h server (Samba %v)
; wins support = no
; wins server = w.x.y.z
dns proxy = no
; name resolve order = lmhosts host wins bcast

#### Debugging/Accounting ####

log file = /var/log/samba/log.%m
max log size = 1000
; syslog only = no
syslog = 0

####### Authentication #######

security = user
encrypt passwords = true
passdb backend = tdbsam guest
obey pam restrictions = yes
; guest account = nobody
invalid users = root
; unix password sync = no
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword:* %n\n .
; pam password change = no


########## Printing ##########

; load printers = yes
; printing = bsd
; printcap name = /etc/printcap
; printing = cups
; printcap name = cups
; printer admin = @ntadmin


######## File sharing ########

; preserve case = yes
; short preserve case = yes
; include = /home/samba/etc/smb.conf.%m
socket options = TCP_NODELAY
; message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &
; domain master = auto
; idmap uid = 10000-20000
; idmap gid = 10000-20000
; template shell = /bin/bash



#======================= Share Definitions =======================

[homes]
comment = Home Directories
browseable = no
writable = yes
create mask = 0700
directory mask = 0700
;[netlogon]
; comment = Network Logon Service
; path = /home/samba/netlogon
; guest ok = yes
; writable = no
; share modes = no

;[printers]
; comment = All Printers
; browseable = no
; path = /tmp
; printable = yes
; public = no
; writable = no
; create mode = 0700

;[print$]
; comment = Printer Drivers
; path = /var/lib/samba/printers
; browseable = yes
; read only = yes
; guest ok = no
; write list = root, @ntadmin

[cdrom]
comment = Samba server's CD-ROM
writable = no
locking = no
path = /cdrom
public = yes

[back0]
comment = Laufwerk RAID1 auf LINUX-server
writable = yes
locking = no
path = /mnt/back0
browseable=yes
valid users = Rüdiger_V
public = yes
create mode = 0700

[back1]
comment = Laufwerk RAID2 auf tuxsrv
writable = yes
locking = no
path = /mnt/back1
browseable=yes
valid users = pedder
public = yes
create mode = 0700

; preexec = /bin/mount /cdrom
; postexec = /bin/umount /cdrom

User hinzu fügen:
smbpasswd -e -a Rüdiger_V
/etc/init.d/samba restart
__

1989 wurde der Sozialismus abgeschafft...nicht mehr und nicht weniger.
Rote Socke ist offline