Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samba-Login von Windows aus nicht möglich!?!?!
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
barthi
Apprentice
Apprentice


Joined: 02 Mar 2003
Posts: 256

PostPosted: Thu Mar 30, 2006 1:07 pm    Post subject: Samba-Login von Windows aus nicht möglich!?!?! Reply with quote

Hallo!

Ich habe Samba auf meinem Linux-Server eingerichtet.
Hier meine Conf-Datei:
Code:

[global]
        log file = /var/log/samba/log.%m
        smb passwd file = /etc/samba/private/smbpasswd
        display charset = iso-8859-15
        map hidden = yes
        socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
        null passwords = yes
        interfaces = eth0
        encrypt passwords = yes
        public = yes
        keepalive = 30
        allow hosts = 192.168.1.
        case sensitive = yes
        dns proxy = no
        map system = yes
        server string = Rock
        writeable = yes
        dos charset = 850
        workgroup = HOMEZONE
        os level = 20
        security = share
        create mode = 777
        unix charset = iso-8859-15
        max log size = 50
        bind interfaces only = yes
        directory mode = 777

[Media]
        browseable = yes
        path = /mnt/data/Media
        valid users = barthi
        comment = Unterhaltung


Der Ordner Media wird unter Windows richtig angezeigt.
Wenn ich diesen mit einem Doppelklick auswähle, kommt die Aufforderung, ein Passwort einzugeben. Das ist ja auch so gewollt.
Das Problem dabei ist nur, dass für Benutzername immer ROCK/Gast ausgewählt ist und das Feld ausgegraut ist. Ich kann dann nur noch ein Passwort eingeben.
Ich stelle mir das aber so vor, dass ich als Benutzer "Barthi" eingebe und dann das entsprechende Passwort.

Was hab ich denn falsch gemacht?

Danke,
Barthi
Back to top
View user's profile Send private message
gismo.100
n00b
n00b


Joined: 06 Oct 2005
Posts: 42
Location: NRW

PostPosted: Thu Mar 30, 2006 1:53 pm    Post subject: Reply with quote

Hallo barthi,

lass mal den server als wins laufen. dann müsste es funktionieren.

gruss

gismo
Back to top
View user's profile Send private message
barthi
Apprentice
Apprentice


Joined: 02 Mar 2003
Posts: 256

PostPosted: Thu Mar 30, 2006 2:02 pm    Post subject: Reply with quote

äh, und wie genau mach ich das?

Ich hab jetzt einfach mal
Code:

wins support = yes


in die Global section geschrieben. Aber das half leider nicht.
Back to top
View user's profile Send private message
gismo.100
n00b
n00b


Joined: 06 Oct 2005
Posts: 42
Location: NRW

PostPosted: Thu Mar 30, 2006 2:37 pm    Post subject: Reply with quote

versuch es noch mal mit

Code:

guest ok = no




starte danach mal ne´ testparm

Dann kann es eigendlich nicht mehr an dem Samba Server liegen....
Back to top
View user's profile Send private message
barthi
Apprentice
Apprentice


Joined: 02 Mar 2003
Posts: 256

PostPosted: Thu Mar 30, 2006 2:47 pm    Post subject: Reply with quote

geht immer noch nicht. So ne SCH****

Muss ich vielleicht unter windows XP noch was einstellen? Ich finde halt nirgends irgendwelche Infos.

Das muss doch irgendwie gehn.
Back to top
View user's profile Send private message
Aldo
Guru
Guru


Joined: 15 Jan 2003
Posts: 440
Location: Cologne, Germany

PostPosted: Thu Mar 30, 2006 3:09 pm    Post subject: Re: Samba-Login von Windows aus nicht möglich!?!?! Reply with quote

Wirf mal das
Code:

null passwords = yes
security = share

raus.
Meine smb.conf sieht so aus und funktioniert:
Code:

[global]
workgroup = Arbeitsgruppe
server string = Gentoo-Linux
veto files = /riched20.dll/
encrypt passwords = yes
update encrypted = yes
username map = /etc/samba/smbusers
map to guest = Bad User
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
os level = 2
log file = /var/log/samba/log.%m
max log size = 50
log level = 3
kernel oplocks = no
hosts allow = 127.0.0. 192.168.1.0/255.255.255.0
hosts deny = 192.168.1.254
load printers = no
restrict anonymous = yes
domain master = no
preferred master = no
interfaces = lo eth0
bind interfaces only = yes

Und natürlich nicht vergessen die User mit
Code:
smbpasswd -a $USERNAME
anzulegen...
_________________
Abit A-N78-HD
Phenom 9750
8 GB Ram
Linux 2.6.29-gentoo
FreeBSD 7.2
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1844
Location: Oranienburg/Germany

PostPosted: Thu Mar 30, 2006 3:32 pm    Post subject: Reply with quote

barthi wrote:
geht immer noch nicht. So ne SCH****

Muss ich vielleicht unter windows XP noch was einstellen? Ich finde halt nirgends irgendwelche Infos.

Das muss doch irgendwie gehn.


ganz wichtig: den gast account unter windows abschalten (deaktivieren reicht aus).
_________________
Desktop: Ryzen 5 5600G, 32GB, 2TB, RX7600
Notebook: Dell XPS 13 9370, 16GB, 1TB
Server #1: Ryzen 5 Pro 4650G, 64GB, 16.5TB
Server #2: Ryzen 4800H, 32GB, 22TB
Back to top
View user's profile Send private message
barthi
Apprentice
Apprentice


Joined: 02 Mar 2003
Posts: 256

PostPosted: Thu Mar 30, 2006 7:41 pm    Post subject: Reply with quote

Der Gast-Account ist aktiviert.

Ich hab jetzt rausgefunden, dass es am security-Level hängt.

Wenn ich
Code:

security = share

mache, dann ist für Benutzername "Rock/Gast" fest eingetragen.

Wenn ich
Code:

security = user

mache (ist übrigens das gleiche, wie wenn ich's ganz weg lasse), dann kann ich zwar einen Namen und ein Passwort eingeben, aber es wird nicht akzeptiert.
Der User existiert aber ganz sicher. Ich hab die Unix-User mit den Samba-Usern synchronisiert.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum