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

Server requested plaintext password but 'client plaintext ..

smbclient -L localhost
Enter root's password:
Server requested plaintext password but 'client plaintext auth' is disabled
tree connect failed: SUCCESS - 0

Threads dazu gibt es viele, aber bei keinem fand ich die Antwort, was da falsch ist. Ich habe die Konfiugration mit http://localhost:901/ und über die KDE-Systemeinstellungen von KDE 4.3.4 probiert. Distri ist Opensuse 11.1

[global]
workgroup = TUX-NET
map to guest = Bad User
ntlm auth = no
client plaintext auth = yes
printcap name = cups
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
logon path = \\%25L\profiles\.msprofile
logon drive = P:
logon home = \\%25L\%25U\.9xprofile
domain master = no
ldap ssl = No
valid users = ab, cd
admin users = root, ab
hosts allow = 192.168.2.96/255.255.255.240
cups options = raw
include = /etc/samba/dhcp.conf
restrict anonymous = no
unix password sync = yes
encrypt passwords = no
 
Gibt es den Benutzer "root" in der Sambabenutzerverwaltung? Der root sollte auch nicht im Samba auftauchen. Da solltest du einen extra Benutzer Admin mit der RID=500 und der SambaGroupId 512 anlegen.
 
Code:
/etc/samba/smbpasswd
root:0:XXXXXXXXXXXXXXX .......
ab:1000:XXXXXXXXXXXXXXXXX .......

Ich habe das Problem auch mit dem User ab

Soll ich die User löschen und neu mit smbpasswd anlegen? Mit welchen Optionen? Die User wurden mit swat angelegt.

Wie frage ich SambaGroupId und RID ab?
 
Danke, jetzt bin ich einen Schritt weiter. Swat akzeptiert nun auch "client plaintext auth = Yes "

[global]
workgroup = TUX-NET
encrypt passwords = No
map to guest = Bad User
unix password sync = Yes
ntlm auth = No
client lanman auth = Yes
client plaintext auth = Yes
printcap name = cups
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
logon path = \\%25L\profiles\.msprofile
logon drive = P:
logon home = \\%25L\%25U\.9xprofile
domain master = No
ldap ssl = no
valid users = ab, cd
admin users = root, ab
hosts allow = 192.168.2.96/255.255.255.240
cups options = raw
include = /etc/samba/dhcp.conf


# /etc/init.d/smb restart
Shutting down Samba SMB daemon done
Starting Samba SMB daemon done

# smbclient -L localhost
Enter root's password:
Receiving SMB: Server stopped responding
tree connect failed: Call returned zero bytes (EOF)

# /etc/init.d/smb status
Checking for Samba SMB daemon running


Was bedeutet "Server stopped responding"?
 
Ich prüfe lt. http://samba.sernet.de/dokumentation/diagnosis.html und ganz gelöst dürfte die Authentifizierung noch ncht sein:

An einem Linux-Client:
smbclient '\\sv\TMP'
Enter ab's password:
Server requested plaintext password but 'client plaintext auth' is disabled
session setup failed: SUCCESS - 0

Am Samba-Server:
smbclient -L localhost
Enter ab's password:
Receiving SMB: Server stopped responding
tree connect failed: Call returned zero bytes (EOF)
 
Oben