View previous topic :: View next topic |
Author |
Message |
tester0815 n00b
Joined: 07 Mar 2005 Posts: 62 Location: Kassel
|
Posted: Sat Mar 12, 2005 11:13 pm Post subject: Samba unauffindbar |
|
|
aloha...
habe kernel 2.6.11.2
das system ist sehr frisch und es funktioniert alles.
es soll ein router / fileserver werden.
nun denn ich bin an der samba config.
habe folgendes:
[global]
workgroup = Homi
netbios name = knilch
server string = knilch
log file = /var/log/samba/log.%m
max log size = 75
interfaces = lo eth1
bind interfaces only = yes
hosts allow = 127.0.0.1 192.168.0.0/24
hosts deny = 0.0.0.0/0
security =share
guest account = samba
guest ok = yes
[ftp]
guest ok =yes
comment = Public Files
browseable = yes
writeable = yes
public = yes
create mode = 0766
directory mask = 777
create mask = 666
path = /server/ftp
wenn ist samba starte sagt er mir alles ok
wenn ich testparm ausführe funzt auch alles:
knilch root # testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[ftp]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
# Global parameters
[global]
workgroup = HOMI
server string = knilch
interfaces = lo, eth1
bind interfaces only = Yes
security = SHARE
guest account = samba
log file = /var/log/samba/log.%m
max log size = 75
guest ok = Yes
hosts allow = 127.0.0.1, 192.168.0.0/24
hosts deny = 0.0.0.0/0
[ftp]
comment = Public Files
path = /server/ftp
read only = No
create mask = 0666
directory mask = 0777
bei smbstatur jedoch komm nur dies:
knilch root # smbstatus
Samba version 3.0.10
PID Username Group Machine
-------------------------------------------------------------------
Service pid machine Connected at
-------------------------------------------------------
No locked files
knilch root #
habe ich was vergessen? oder was falsch gemacht?
finde die kiste einfach nicht im windows. die ganzen windows rechner kann ich aber sehen... sind alle in Homi drin.
PLEASE HELP
mfg
tester |
|
Back to top |
|
|
kopfsalat Apprentice
Joined: 01 Dec 2003 Posts: 181 Location: Cologne, Germany
|
Posted: Sun Mar 13, 2005 12:00 am Post subject: |
|
|
Den Zugriff beschränke ich mit
Code: |
hosts allow = 192.168.
interfaces = 192.168.2.3/255.255.255.0
|
aufs LAN, wobei 192.168.2.3 die IP der Samba-Kiste ist. Es könnte sein das Du mit Deiner deny-Klausel die allow-Klausel außer Kraft setzt.
Wenn das nicht hilft, würde ich darauf tippen das "samba" nicht der Eigentümer von /server/ftp ist.
Zu guter Letzt hilft es manchmal in Windows "manuell" mit \\computername\freigabename das Netzlaufwerk zu mounten.
Ansonsten unterscheidet sich Deine smb.conf nicht wesentlich von meiner. |
|
Back to top |
|
|
tester0815 n00b
Joined: 07 Mar 2005 Posts: 62 Location: Kassel
|
Posted: Sun Mar 13, 2005 1:16 pm Post subject: |
|
|
ok es lag an der eth1....
habe den fehler gefunden........ |
|
Back to top |
|
|
|