PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Win kommt nicht auf Samba server



silicore
25.07.02, 15:39
hi
ich kann nicht mit dem windows rechner auf den linux rechner zugreifen, mir fehlen die berechtigungen oder sowas schreibt mir windows dann. ich poste hier mal meine config. vielleicht kann mir da jemand weiter helfen, wie ich sie zu ändern hab.

#
# /etc/samba/smb.conf ist the main samba configuration file. Cf. the
# manual page of smb.conf and the included documantation in
# /usr/share/doc/packages/samba in order to understand the options
# listed here and many more features.
#
# Lines in this example which starts with ; and # are ignored comment
# ones. # indicates a comment and ; a deactivated example line.
#
# We suggest to use the command 'testparm' after any changes you made.
#
# Copyright (c) 1999 - 2001 SuSE GmbH Nuernberg, Germany.
#
# Please send bugfixes or comments to feedback@suse.de.
#
[global]
workgroup = MSHOME
guest account = nobody
keep alive = 30
os level = 2
kernel oplocks = false
security = user
printing = bsd
printcap name = /etc/printcap
load printers = yes
socket options = TCP_NODELAY
map to guest = Bad User
wins support = no
# This tells samba to use the file smbusers for user mapping.
; username map = /etc/samba/smbusers

# This tells samba to write log files per machine.
; log file = /var/log/samba/%m
# This sets an alternate log level. Default is 2.
; log level = 3

# 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!
;

# These settings are a suggestion for a local network. Cf. section
# 'socket options' in the man page of smb.conf and socket(7).


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

# Please uncomment the following entry and replace the ip number and
# netmask with the values of your network interface configuration.
; interfaces = 192.168.1.1/255.255.255.0

# If you want Samba to act as a wins server, please set
# 'wins support' to 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

# Set these two parameters to your DOS code page and appropriate UNIX
# character set. These values are for west European languages (Latin-9)
# UNIX character and MS-DOS Latin 1 code page.
; character set = ISO8859-15
; client code page = 850

# This is a simple measure against Nimba Worm. Cf. README.Win32-Viruses
; veto files = /*.eml/*.nws/riched20.dll/*.{*}/

# Do you wan't samba to act as a logon-server for your windows 95/98
# clients, so uncomment the following:
; domain logons = Yes
; domain master = Yes
# For a specific logon script per user
; logon script = %U.bat
# For a specific logon script per machine
; logon script = %m.bat

# Where to store the logon scripts.
;[netlogon]
; comment = Network Logon Service
; path = /var/lib/samba/netlogon

# Where profiles of Windows 9x systems are stored.
# First example for a centralized place.
; logon home = \\%L\profiles\%U
# Second example for a subdirectory of the users home.
; logon home = \\%L\%U\profile
# Where profiles of Windows NT systems are stored.
; logon path = \\%L\profiles\%U

# Extra share for profiles. Default is the home of the user.
;[profiles]
; comment = Network Profiles Service
; path = /var/lib/samba/profiles
; browseable = No

[homes]
comment = Home Directories
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 /media/cdrom. To enable this share,
# please remove the semicolons before the lines
;[cdrom]
; comment = Linux CD-ROM
; path = /media/cdrom
; locking = No

[printers]
comment = All Printers
path = /var/tmp
create mask = 0600
printable = Yes
browseable = No
[downloads]
comment = downloads
path = /root/Desktop/downloads
read only = No
browseable = No

realtec
25.07.02, 16:11
Siehe meinen Beitrag hier:

http://www.linuxforen.de/forums/showthread.php?s=&threadid=38877

silicore
25.07.02, 16:13
ich hab auch mal probiert, mit dem server auf den samba server zu kommen, das geht. nur windows kommt nicht drauf

realtec
25.07.02, 16:15
Erscheint die Samba Kiste in der Netzwerkumgebung von Windows?

silicore
25.07.02, 16:17
ja

realtec
25.07.02, 16:19
mach mal von der windows kiste einen:

ping ipdesservers

und einen

ping namederservers

Müssten beide gehen. Wenn ping namedesservers nicht geht, liegt das problem an der Namensauflösung!

silicore
25.07.02, 16:20
geht beides

realtec
25.07.02, 16:22
win2k oder winxp?

silicore
25.07.02, 16:22
winxp

realtec
25.07.02, 16:24
Okay, musst der Registry von XP anpassen, wie das geht steht hier:

http://www.pcwelt.de/tipps/betriebssysteme/21829/

Gib bitte Bescheid wenn`s klappt :-))

silicore
25.07.02, 16:29
das trifft bei mir aber nicht zu. mit der linux kiste kann ich auf die freigegeben ordner in windows zugreifen. aber von der windows kiste komm ich nicht auf den linux rechner drauf

realtec
25.07.02, 16:37
Setzte denoch mal den Registry Eintrag auf 0, könnte wetten es hängt an der besch**** Sicherheitseinstellungen von WinXP

silicore
25.07.02, 16:47
geht immernoch nit

realtec
25.07.02, 16:49
Wenn du die smb.conf von mir hast, die Namensauflösung geht, die Reg. geändert hast, und beide Systeme neu gestartet hast (!!) , dann weiss ich leider auch nicht mehr weiter, in meinem Netz ging es so....

silicore
25.07.02, 17:16
ich hatte deine config nicht drauf. danke. aber jetzt geht es.

MfG Silicore

silicore
25.07.02, 17:32
jetzt verlangt der benutzter namen und kennwort. ich hab aber nix davon eigestellt

Malekith
25.07.02, 17:58
WIE HAST DU DAS GESCHAFT?!?! Ich komm garnicht bis zu Nutzer + Kennwort!
Bitte bitte poste mal deine aktuelle Config! Ich flehe dich an!

Vielen Dank im Vorraus,
Marcel

realtec
25.07.02, 18:27
@Malekith

Lies dir den Thread von Anfang an durch, ich habe ehrlich gesagt keine Lust es nochmals Schritt für Schritt zu erklären :-))

Aber die einfachste smb.conf die man(n) haben kann poste ich nochmals:

[global]
workgroup = REALTEC
encrypt passwords = Yes
map to guest = Bad User
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
character set = ISO8859-15
os level = 2
printing = lprng
veto files = /*.eml/*.nws/riched20.dll/*.{*}/

[homes]
comment = Home Directories
read only = No
create mask = 0640
directory mask = 0750
browseable = No

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

silicore
25.07.02, 20:37
nur warum verlangt der einen benuzternamen und kennwort? ich hab gar keins eingestellt. wenn ich mich unter linux da anmelde komm ich mit root + password rein. unter win aber nit.

stratos1982
26.07.02, 16:32
Cool! :-)

Genau das gleiche Problem hab ich auch, allerdings mit Win2k --> Linux!!

Wäre cool wenn es da irgendeine Lösung gäbe!


Stratos