PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : noch mal ne frage zu LINUX -> windows netzwerk



SATRAP
05.11.01, 19:56
hallo leute,

hebe ne frage, ich kopiere's immer noch nicht wie mache ich binde ich 2 windows und ein linux server im netz(windows sind 2000der und linux redhat 7.1) damit ich auch auf datein auf den rechnern zugreifen kann????
kann mir bitte jemand ne detalierte beschreibung geben?
wo gibts sehr gute und einfache bücher über linux im netz?

danke im voraus für ihre hilfe.

MfG Alex

leon
05.11.01, 20:05
Alles was Du brauchst ist Samba. Er stellt die Linuxresourcen für die Windowsrechner frei.

Installier erstmal Samba und dann schau Dir mal man smb.conf an.

Gruss Leon

SATRAP
05.11.01, 20:14
habe gemacht und ca. diese eingeben gemacht es funktioniert immer noch nicht was mache ich falsch oder was muss ich noch machen?

mist es scheint so leicht ist aber in der wirklichkeit bissle komplizierter, oder ich bin bissle blöde :)))

aber danke für hilfe :))

mfg alex

leon
05.11.01, 20:22
Du bist nicht blöd, es ist wirklich am Anfang nicht so leicht. Man kann es aber leider auch nicht so erklären, das ist das Problem.

Leon

SATRAP
05.11.01, 20:25
das habe ich bei smb.conf drinne
ist es richtig?

; /etc/smb.conf
;

[global]

workgroup = netz
server string = Samba Server %h, running Samba %v
guest account = nobody
keep alive = 30
os level = 2
kernel oplocks = false
security = user
encrypt passwords = yes
socket options = TCP_NODELAY
map to guest = Bad User
netbios name = cfs-lx

; Please uncomment the following entry and replace the
; ip number and netmask with the correct numbers for
; your ethernet interface.


interfaces = 192.168.1.111/255.255.255.0
; If you want Samba to act as a wins server, please set
; 'wins support = yes'


wins support = yes

muss ich bei windows auch was einstellen? oder nich?

mfg alex

leon
05.11.01, 20:36
Hast Du mal mit Windows Deinen Server gesucht. Mach erstmal ping server und dann lass nach suchen.
In Windows heisst Deine Arbeitgruppe auch netz ?

SATRAP
05.11.01, 21:20
also das mit ping das funktioniert wie aus windows nach linux so auch von linux nach windows aber nich mehr (workgroup ist ueberall NETZ)

mfg alex

thanx 2 lion

leon
05.11.01, 21:47
Und der smb-Server läuft auch. Ist schon komisch. Ich gib DIr mal meine smb.conf, die passt Du einfach an.

;
; /etc/smb.conf
;
;
[global]
workgroup = LEON
encrypt passwords = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *New*password*(again)* %n\n *Password*changed*
unix password sync = yes
log file = /var/log/samba/log.%m
keepalive = 30
socket options = TCP_NODELAY
logon script = scripts\default.bat
logon path = \\%L\%U\profile
logon home = \\%L\%U
domain logons = yes
os level = 65
preferred master = yes
domain master = yes
wins proxy = yes
wins support = yes


; Uncomment the following, if you want to use an existing
; NT-Server to authenticate users, but don't forget that
; you also have to create them locally!!!
; security = server
; password server = 192.168.1.10
; encrypt passwords = yes

printing = bsd
printcap name = /etc/printcap
load printers = yes

socket options = TCP_NODELAY

map to guest = Bad User

; Uncomment this, if you want to integrate your server
; into an existing net e.g. with NT-WS to prevent nettraffic
; local master = no

; Please uncomment the following entry and replace the
; ip number and netmask with the correct numbers for
; your ethernet interface.
; interfaces = 192.168.1.1/255.255.255.0

; If you want Samba to act as a wins server, please set
; wins support = yes
wins support = no

; If you want Samba to use an existing wins server,
; please uncomment the following line and replace
; the dummy with the wins server's ip number.
; wins server = 192.168.1.1

; Do you wan't samba to act as a logon-server for
; your windows 95/98 clients, so uncomment the
; following:
; logon script =%U.bat
; domain logons = yes
; domain master = yes
; [netlogon]
; path = /netlogon


[public]
path = /home4/public/samba
; comment = Public
read only = no
create mask = 0777
force create mode = 0777
directory mask = 0777
force directory mode = 0777
; browseable = yes
; public = yes
; create mode = 0750



[homes]
comment = Heimatverzeichnis
browseable = no
read only = no
create mask = 0750

; The following share gives all users access to the Server's CD drive,
; assuming it is mounted under /cd. To enable this share, please remove
; the semicolons before the lines
;
; [cdrom]
; comment = Linux CD-ROM
; path = /cd
; read only = yes
; locking = no

[printers]
comment = All Printers
browseable = no
printable = yes
public = no
read only = yes
create mode = 0700
directory = /tmp


[netlogon]
path = /home/netlogon

So versuch erstmal ob Du den Samba Server mit dieser config findest. Pass sie aber vorher an.