samba password

johnbock

Mitglied
Mitglied seit
2 Mrz 2008
Beiträge
310
Punkte für Reaktionen
0
Punkte
0
I can't log onto my samba share when passwords are activated in the avm front-end. It works as soon as it's deactivated.

I attempted to changed the password on the command line, but that didn't work either.

Here's my configuration
Code:
 # cat /mod/etc/smb.conf
### global
[global]
netbios name = delaware
workgroup = XXXX
server string = %h (Samba %v)
syslog = 0
encrypt passwords = true
passdb backend = smbpasswd
obey pam restrictions = yes
socket options = TCP_NODELAY
unix charset = ISO-8859-1
preferred master = no
os level = 50
security = SHARE
guest account = ftpuser
interfaces = 10.0.1.101/255.255.255.0
bind interfaces only = yes
### expert

### default
[uStor02]
 path = /var/media/ftp/uStor02
 user = ftpuser
 read only = no
 guest ok = yes
 write cache size = 65536
### shares
### fin


BTW: I can't get any kind logging to work...
 
This setting causes samba not to use a username and password when it authenticates a smb connection setup. Authentication is based solely on a password per share and smb clients only setup a connection by providing a password.
 
you can change this with an entry in the samba expert settings in the Freetz-Webinterface:
this overrides the setting and you can logon with username and password
 
@johnbock: Are you trying to log on to your share from Windows or from Linux? For me, everything works fine from Windows, but form Linux I get:

Code:
christof@scooter:~$ smbclient -L  //fritz
Password:
Domain=[WARLICH] OS=[Unix] Server=[Samba 3.0.24]

        Sharename       Type      Comment
        ---------       ----      -------
        daten           Disk      Zentralarchiv
        fritzbox        Disk      Fritzbox
        IPC$            IPC       IPC Service (fritz (Samba 3.0.24))
Domain=[WARLICH] OS=[Unix] Server=[Samba 3.0.24]

        Server               Comment
        ---------            -------
        FRITZBOX             fritz (Samba 3.0.24)
        SAM                  Samba 3.0.28a

        Workgroup            Master
        ---------            -------
        WARLICH              FRITZBOX
christof@scooter:~$ smbclient  //fritz/daten
Password:
Domain=[WARLICH] OS=[Unix] Server=[Samba 3.0.24]
Server not using user level security and no password supplied.
Server requested LANMAN password (share-level security) but 'client use lanman auth' is disabled
tree connect failed: SUCCESS - 0
christof@scooter:~$

You may refer to http://www.ip-phone-forum.de/showthread.php?t=168481 to see what I've tried to get closer to the issue.

@all: Could anyone having a Linux box post the output of the two commands:

smbclient -L //yourserver # do not type a password when you are prompted
smbclient //yourserver/yourshare # type your ftpuser password when you are prompted

Thanks for any help,

Christof
 
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.