• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Netzwerk mit SuSE 9.3

kmichk

Newbie
Hallo zusammen


Habe 2 Rechner mit SuSE 9.3 drauf (auf beiden)
habe einen router dazwischen (level one fbr1413)
kann über konsole beide anpingen mit adresse und biosnamen.
kann aber in der netzwerkumgebung mit smb:/ keinen von beiden sehen.
hab auf einem samba server und auf dem anderen samba client zum laufen gebracht.
hab auch die dateien (hostname und hosts verändert)

so meine frage

wie oder was muss ich tun um meine arbeitsgruppe bzw rechner um netz sehen zu könen und darauf zugreifen kann

danke im voraus.

helft mir bitte , bin um jede antwort froh

_____________________________________________________
Rechner A Rechner B
name = server name = minipc
SuSE 9.3 SuSE 9.3
192.168.123.179 192.168.123.101

mask = 255.255.255.0
 

rolle

Guru
wenn du nur zwei linuxrechner hast, dann nutze doch nfs zur freigabe von verzeichnissen. samba brauchst du eigentlich nur, wenn du mit windows sprechen moechtest.
 

pdug

Newbie
rolle schrieb:
wenn du nur zwei linuxrechner hast, dann nutze doch nfs zur freigabe von verzeichnissen.
Hört sich plausibel an...

Was macht (in einer Konsole):
Code:
smbclient -L //rechnername

Hast du Samba-Beneutzer angelegt?
Hast du Verzeichnisse freigegeben?

Was macht (in einer Konsole):
Code:
smbmount //hostname/directory /mnt username=me workgroup=any
 

Frankie777

Advanced Hacker
nimm NFS, das funktioniert prima..

ansonsten hier eine gute CheckListe:

http://samba.sernet.de/diagnosis.html
 
OP
K

kmichk

Newbie
Was macht (in einer Konsole):
Code:
smbclient -L //server

das macht er

Domain=[LOCAL] OS=[Unix] Server=[Samba 2.2.8a-SuSE]

Sharename Type Comment
--------- ---- -------
homes Printer Home Directories
print$ Disk Printer Drivers
home Printer home
IPC$ IPC IPC Service (Linux Server)
ADMIN$ Disk IPC Service (Linux Server)
Domain=[LOCAL] OS=[Unix] Server=[Samba 2.2.8a-SuSE]

Server Comment
--------- -------
SERVER Linux Server

Workgroup Master
--------- -------
LOCAL SERVER
______________________________________________________

nein samba hab ich nicht angelegt , weil ich nicht weis wie.
samba wär aber nicht schlecht , weil ich ab und an mal ein win rechner hier hab.
 
OP
K

kmichk

Newbie
ich seh grad das oben genante macht nur recher 2 , rechner 1 macht nix bringt fehler =
error connect to xxx.xxx.xxx.xxx:xxx
connecting to rechner 2 failed
 
OP
K

kmichk

Newbie
der 2te rechner machts jetzt auch hab firewall ausgeschaltet

aber im smb// seh ich noch nichts
er findet keine gruppe schreibt er da
 

Frankie777

Advanced Hacker
- dann schauen ober der Samba Sever überhaupt läuft, im Zweifel bei Yast schauen-
Firewall darf das natürlich auch nicht abwürgen

und dann Checkliste durchgehen
http://samba.sernet.de/diagnosis.html

oder noch mal von vorne smb.conf durchprüfen
http://www.linuxhaven.de/dlhp/HOWTO/DE-Samba-HOWTO-8.html

evtl. Rechte nicht vergeben...
 
OP
K

kmichk

Newbie
was muss ich eigentlich für ein passwort eingeben beim autorisierungsdialog ???
oder wo mach i des passwort neu ??
 
OP
K

kmichk

Newbie
das ist die smb.conf auf rechner 1


# Global parameters
[global]
coding system =
client code page = 850
code page directory = /usr/share/samba/codepages
workgroup = LOCAL
netbios name =
netbios aliases =
netbios scope =
server string = Linux Server
interfaces =
bind interfaces only = No
security = DOMAIN
encrypt passwords = Yes
update encrypted = No
allow trusted domains = Yes
hosts equiv =
min passwd length = 5
map to guest = Bad User
null passwords = No
obey pam restrictions = No
password server =
smb passwd file = /etc/samba/smbpasswd
root directory =
pam password change = No
passwd program = /usr/bin/passwd
passwd chat = *new*password* %n\n *new*password* %n\n *changed*
passwd chat debug = No
username map =
password level = 0
username level = 0
unix password sync = No
restrict anonymous = No
lanman auth = Yes
use rhosts = No
admin log = No
log level = 0
syslog = 1
syslog only = No
log file =
max log size = 5000
timestamp logs = Yes
debug hires timestamp = No
debug pid = No
debug uid = No
protocol = NT1
large readwrite = Yes
max protocol = NT1
min protocol = CORE
read bmpx = No
read raw = Yes
write raw = Yes
acl compatibility =
nt smb support = Yes
nt pipe support = Yes
nt status support = Yes
server schannel = Auto
announce version = 4.9
announce as = NT
max mux = 50
max xmit = 16644
name resolve order = lmhosts host wins bcast
max ttl = 259200
max wins ttl = 518400
min wins ttl = 21600
time server = Yes
unix extensions = Yes
change notify timeout = 60
deadtime = 0
getwd cache = Yes
keepalive = 300
lpq cache time = 10
max smbd processes = 0
max disk size = 0
max open files = 10000
name cache timeout = 660
read size = 16384
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
stat cache size = 50
use mmap = Yes
total print jobs = 0
load printers = Yes
printcap name = CUPS
disable spoolss = No
enumports command =
addprinter command =
deleteprinter command =
show add printer wizard = Yes
os2 driver map =
strip dot = No
mangling method = hash
character set =
mangled stack = 50
stat cache = Yes
domain admin group =
domain guest group =
machine password timeout = 604800
add user script = /usr/sbin/useradd -c Machine -d /dev/null -s /bin/false %m$
delete user script =
logon script =
logon path = \\%N\%U\profile
logon drive =
logon home = \\%N\%U
domain logons = Yes
os level = 65
lm announce = Auto
lm interval = 60
preferred master = Yes
local master = Yes
domain master = Yes
browse list = Yes
enhanced browsing = Yes
dns proxy = Yes
wins proxy = No
wins server =
wins support = No
wins hook =
kernel oplocks = Yes
lock spin count = 3
lock spin time = 10
oplock break wait time = 0
add share command =
change share command =
delete share command =
config file =
preload =
lock dir = /var/lib/samba
pid directory = /var/run/samba
utmp directory =
wtmp directory =
utmp = No
default service =
message command =
dfree command =
valid chars =
remote announce =
remote browse sync =
socket address = 0.0.0.0
homedir map = auto.home
time offset = 0
NIS homedir = No
source environment =
panic action =
hide local users = No
host msdfs = No
winbind uid =
winbind gid =
template homedir = /home/%D/%U
template shell = /bin/false
winbind separator = \
winbind cache time = 15
winbind enum users = Yes
winbind enum groups = Yes
winbind use default domain = No
comment =
path =
alternate permissions = No
username =
guest account = nobody
invalid users =
valid users =
admin users =
read list =
write list =
printer admin =
force user =
force group =
read only = Yes
create mask = 0744
force create mode = 00
security mask = 0777
force security mode = 00
directory mask = 0755
force directory mode = 00
directory security mask = 0777
force directory security mode = 00
force unknown acl user = 00
inherit permissions = No
inherit acls = No
guest only = No
guest ok = No
only user = No
hosts allow =
hosts deny =
status = Yes
nt acl support = Yes
profile acls = No
block size = 1024
max connections = 0
min print space = 0
strict allocate = No
strict sync = No
sync always = No
use sendfile = No
write cache size = 0
max print jobs = 1000
printable = No
postscript = No
printing = cups
print command = lpr -r -P%p %s
lpq command = lpq -P%p
lprm command = lprm -P%p %j
lppause command =
lpresume command =
queuepause command =
queueresume command =
printer name =
use client driver = No
default devmode = No
printer driver =
printer driver file = /etc/samba/printers.def
printer driver location =
default case = lower
case sensitive = No
preserve case = Yes
short preserve case = Yes
mangle case = No
mangling char = ~
hide dot files = Yes
hide unreadable = No
delete veto files = No
veto files = /*.eml/*.nws/riched20.dll/*.{*}/
hide files =
veto oplock files =
map system = No
map hidden = No
map archive = Yes
mangled names = Yes
mangled map =
browseable = Yes
blocking locks = Yes
csc policy = manual
fake oplocks = No
locking = Yes
oplocks = Yes
level2 oplocks = Yes
oplock contention limit = 2
posix locking = Yes
strict locking = No
share modes = Yes
copy =
include =
exec =
preexec close = No
postexec =
root preexec =
root preexec close = No
root postexec =
available = Yes
volume =
fstype = NTFS
set directory = No
wide links = Yes
follow symlinks = Yes
dont descend =
magic script =
magic output =
delete readonly = No
dos filemode = No
dos filetimes = No
dos filetime resolution = No
fake directory create times = No
vfs object =
vfs options =
msdfs root = No
msdfs proxy =

[homes]
comment = Home Directories
valid users = %S
create mask = 0640
directory mask = 0750
guest ok = Yes
printable = Yes

[printers]
comment = All Printers
path = /var/tmp
create mask = 0600
printable = Yes
browseable = No

[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775

[home]
comment = home
path = /home/mich/
guest ok = Yes
printable = Yes
 

Frankie777

Advanced Hacker
User/Password mit
siehe /etc/samba/smbpasswd
smbpasswd --help
anlegen, enabeln etc.

Aufruf mit Benutzernamen
smbclient -L 192.168.2.50 --user=Anton

smb.conf Einstellungen
http://www.15bit.de/sambaref/

Neustart Samba-Server nach Änderungen nicht vergessen
/usr/sbin/rcsmb restart
 
OP
K

kmichk

Newbie
und das rechner 2

[global]
workgroup = LOCAL
map to guest = Bad User
username map = /etc/samba/smbusers
printcap cache time = 750
printcap name = cups
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s
/bin/false %m$
logon path = \\%L\profiles\.msprofile
logon drive = P:
logon home = \\%L\%U\.9xprofile
domain master = No
idmap uid = 10000-20000
idmap gid = 10000-20000
printer admin = @ntadmin, root, administrator
cups options = raw
include = /etc/samba/dhcp.conf

[printers]
comment = All Printers
path = /var/tmp
create mask = 0600
printable = Yes
browseable = No

[mome]
comment = home minipc
path = /home/mich/
read only = No
inherit acls = Yes
 
Oben