Samba - Bad password. Ich dreh durch *g
tOM
- webserver
0 Daniel Thoma0 tOM
0 Andreas0 tOM
Hi leute!
Folgende Umgebung: Ein Suse Linux 7.2 - Rechner mit Samba 2.2.0. (Netbios-Name: tom1997)
Und ein Windows 2000 Professional Rechner mit SP3.
(Netbios-Name: tom2002)
Folgendes steht in der smb.conf:
;
; /etc/smb.conf
;
; Copyright (c) 1999 SuSE GmbH Nuernberg, Germany.
;
[global]
workgroup = WORKGROUP
server string = Suse Linux Samba Server
guest account = nobody
keep alive = 30
os level = 2
kernel oplocks = false
security = user
case sensitive = no
mangle case = no
preserve case = yes
; allow hosts = 192.168.0.
netbios name = tom1997
; Siehe Seite 55 - Suse Linux Buch (Netzwerk)
domain logons = yes
domain master = 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
[homes]
comment = Unix-Home-Verzeichnisbereich
path = %H
writeable = yes
valid users = %S
create mode = 0600
directory mode = 0700
locking = no
[cdrom]
comment = Linux CD-ROM
path = /cdrom
read only = yes
locking = no
guest ok = yes
[root]
comment = Linux_Server root
path = /
read only = no
locking = no
create mode = 0750
browseable = yes
writeable = yes
public = yes
[clients]
comment = Freigegebens Verzeichnis für die Gruppe clients
path = /export/smb/clients
writeable = yes
valid users = @clients
locking = yes
create mode = 0660
directory mode = 0770
[printer1]
comment = Epson Stylus Color 640
printable = yes
writeable = no
-----------------------------------------------
Ein User TOM2002 existiert
mit passwort 'test'
wenn ich jetzt versuche mich einzuloggen kommt das:
root@tom1997:/ > smbclient //tom1997/clients -U TOM2002
added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0
Password:
session setup failed: ERRSRV - ERRbadpw (Bad password - name/password pair in a Tree Connect or Session Setup are invalid.)
root@tom1997:/ >
Dasselbe passiert von der W2k-Seite aus. Es is lediglich möglich mich auf root einzuloggen - logisch, da public = yes.
Aber das soll nat. nicht so bleiben!
Jemand eine Idee?
thx TOM
Hallo TOM
Samba verwendet eine eigene Passwortdatei.
Du solltest allso mit smbpasswd das Passwort für den entsprechenden User setzen.
Bist Du sicher, dass es eine gute Idee ist / öffentlich lesbar zu machen?
Grüße
Daniel
Hallo TOM
hallo Daniel
Samba verwendet eine eigene Passwortdatei.
Du solltest allso mit smbpasswd das Passwort für den entsprechenden User setzen.
hab ich ja ;(
einfach so oder?
smbpasswd -u TOM2002
und dann passwort eingeben!
Bist Du sicher, dass es eine gute Idee ist / öffentlich lesbar zu machen?
natürlich nicht. Das ist erstmal ein Test ;)
Grüße
Daniel
thx tOM
Hi,
probiers mal in folgender NG: de.comp.os.unix.networking.samba
Ich danke mal, die können Dir helfen. Aber so als Tipp. Hast Du mal versucht Deine Win-User auch unter Samba mit "smbpasswd" anzulegen? Als Passwort verwendest Du Dein W2K-Passwort.
Grüße
Andreas
Thx ihr 2
jetzt hats doch geklappt.
Weiß auch net was ich vorher falsch gemacht hab...
gg
tOM