Dobias
30.08.07, 12:21
aloa :)
konnte leider nix ergoogeln und auch mit der suchfunktion nix finden.
also, ich hab hier im netzwerk zwei linux rechner, auf beiden läuft ein samba server.
seit beide ein unterschiedliches os level in der .conf haben, kann ich auch beide von den windowskisten aus mounten und drauf zugreifen, aber ich kann nur einen anpingen oder mich mit putty drauf einloggen. weder über den namen, noch über die ip.
hier mal die conf von server nr 1 ( der, der sich nicht anpingen lässt )
[global]
workgroup = SIF
server string = Samba Server nr1
interfaces = 192.168.20.1/24
NetBios name = SIF
guest account = nobody
smb passwd file = /etc/smbpasswd
encrypt passwords = yes
keep alive = 30
os level = 2
; security = user
; 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.20.1/255.255.255.0
; If you want Samba to act as a wins server, please set
; 'wins support = yes'
wins support = yes
; 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
[homes]
comment = Heimatverzeichnis
browseable = no
read only = no
create mode = 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
security = server
path = /usr/spool/lpd
browseable = no
writeable = no
printable = yes
public = yes
create mode = 0700
[raw]
security = server
path = /var/spool/lpd
guest ok = TRUE
printer name = raw
writeable = yes
public = yes
printable = yes
print command = lpr -r -h -P %p %s
[spool]
commemt = spool
path = /var/spool/lpd
guest ok = TRUE
read only = no
browseable = yes
create mode = 0770
directory mode = 0779
[SIF]
comment = Platz fuer uns
path = /kram
guest ok = TRUE
read only = no
browseable = yes
valid users = a,b,c
create mode = 0770
directory mode = 0770
[ALLE]
comment = ALLE
path = /kram/ALLE
guest ok = TRUE
read only = no
browseable = yes
valid users = a,b,c
create mode = 0770
directory mode = 0770
und hier die von server nr 2
# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SuSE
# Date: 2004-07-22
[global]
workgroup = SIF
local master = no
interfaces = 192.168.20.155
netbios name = maxdb
os level = 0
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
update encrypted = yes
guest account = nobody
map to guest = Bad User
security = user
username map = /etc/samba/smbusers
server string = Samba Server %v auf Rechner %h
share modes = yes
log level = 2
log file = /var/log/samba/samba.log.%m
max log size = 1000
debug timestamp = yes
# deadtime = 10
keepalive = 30
hosts allow = 192.168.20.
wins support = no
socket options = SO_KEEPALIVE TCP_NODELAY
[public]
comment = Allgemeines Verzeichnis
path = /samba/public
read only = no
writeable = yes
guest ok = yes
browseable = yes
valid users = a,b,c
create mode = 0777
directory mode = 0777
ansonsten sind hier nur windowsrechner im netz und ein router, damit wir raus kommen.
der server 2 is neu, also als wir hier früher nur den ersten laufen hatten, gabs keine probleme, und ich konnte den ersten auch immer pingen.
also, is jetz nich so dramatisch, weil man ja an die dateien dran kommt, aber bischen seltsam isses schon, dass ich nichmehr über putty an server no1 komme, sondern immer aufstehn und hingehn muss :D
wär super, wenn jemand von euch wüsste, woran es liegen kann, und es mir sagen könnte ^^
vielen dank schonmal
konnte leider nix ergoogeln und auch mit der suchfunktion nix finden.
also, ich hab hier im netzwerk zwei linux rechner, auf beiden läuft ein samba server.
seit beide ein unterschiedliches os level in der .conf haben, kann ich auch beide von den windowskisten aus mounten und drauf zugreifen, aber ich kann nur einen anpingen oder mich mit putty drauf einloggen. weder über den namen, noch über die ip.
hier mal die conf von server nr 1 ( der, der sich nicht anpingen lässt )
[global]
workgroup = SIF
server string = Samba Server nr1
interfaces = 192.168.20.1/24
NetBios name = SIF
guest account = nobody
smb passwd file = /etc/smbpasswd
encrypt passwords = yes
keep alive = 30
os level = 2
; security = user
; 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.20.1/255.255.255.0
; If you want Samba to act as a wins server, please set
; 'wins support = yes'
wins support = yes
; 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
[homes]
comment = Heimatverzeichnis
browseable = no
read only = no
create mode = 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
security = server
path = /usr/spool/lpd
browseable = no
writeable = no
printable = yes
public = yes
create mode = 0700
[raw]
security = server
path = /var/spool/lpd
guest ok = TRUE
printer name = raw
writeable = yes
public = yes
printable = yes
print command = lpr -r -h -P %p %s
[spool]
commemt = spool
path = /var/spool/lpd
guest ok = TRUE
read only = no
browseable = yes
create mode = 0770
directory mode = 0779
[SIF]
comment = Platz fuer uns
path = /kram
guest ok = TRUE
read only = no
browseable = yes
valid users = a,b,c
create mode = 0770
directory mode = 0770
[ALLE]
comment = ALLE
path = /kram/ALLE
guest ok = TRUE
read only = no
browseable = yes
valid users = a,b,c
create mode = 0770
directory mode = 0770
und hier die von server nr 2
# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SuSE
# Date: 2004-07-22
[global]
workgroup = SIF
local master = no
interfaces = 192.168.20.155
netbios name = maxdb
os level = 0
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
update encrypted = yes
guest account = nobody
map to guest = Bad User
security = user
username map = /etc/samba/smbusers
server string = Samba Server %v auf Rechner %h
share modes = yes
log level = 2
log file = /var/log/samba/samba.log.%m
max log size = 1000
debug timestamp = yes
# deadtime = 10
keepalive = 30
hosts allow = 192.168.20.
wins support = no
socket options = SO_KEEPALIVE TCP_NODELAY
[public]
comment = Allgemeines Verzeichnis
path = /samba/public
read only = no
writeable = yes
guest ok = yes
browseable = yes
valid users = a,b,c
create mode = 0777
directory mode = 0777
ansonsten sind hier nur windowsrechner im netz und ein router, damit wir raus kommen.
der server 2 is neu, also als wir hier früher nur den ersten laufen hatten, gabs keine probleme, und ich konnte den ersten auch immer pingen.
also, is jetz nich so dramatisch, weil man ja an die dateien dran kommt, aber bischen seltsam isses schon, dass ich nichmehr über putty an server no1 komme, sondern immer aufstehn und hingehn muss :D
wär super, wenn jemand von euch wüsste, woran es liegen kann, und es mir sagen könnte ^^
vielen dank schonmal