[Samba] cant login with my samba password only with my linux password
Daniel Müller
mueller at tropenklinik.de
Tue Jan 4 14:17:55 MST 2011
What about,
unix password sync = yes instead of no
Did you try smbclient?
On some OS you need:
obey pam restrictions = no!?
How did you add your users?
First linux? Then samba?
did you: smbpasswd user -e
Good luck
Daniel
On Tue, 4 Jan 2011 21:16:08 +0100, Hartmut <freemlist at googlemail.com>
wrote:
> On Sat, Dec 25, 2010 at 5:32 PM, Hartmut <freemlist at googlemail.com>
wrote:
>> Hello,
>>
>> I have a strange problem with my samba server. When I try to connect
>> with my (Windows)client and samba ask for the password, it's only
>> accepting my linux-user password, not my samba-user password (set with
>> smbpasswd and as root with smbpasswd <user>).
>>
>> And now the strange about it. When i change my sambapassword with
>> smbpasswd, and try to login from my client, then the samba-user
password
>> is accepted. But after a reboot of my samba server, the server accepts
>> only the linux-user password. I have to (re)set the samba-user password
>> again with smbpasswd and only after that, I can login with the
>> samba-user password.
>>
>> Is there something wrong with my smb.conf (see below)? Or what else
>> could be the problem?
>>
>>
>> -------------
>> smb.conf:
>> [global]
>> # debuglevel = 1
>> workgroup = Gruppe
>> server string = Datastring
>> wins support = no
>> dns proxy = no
>>
>> interfaces = 192.168.1.0/24 127.0.0.1/8
>> bind interfaces only = yes
>>
>> log file = /var/log/samba/log.%m
>> max log size = 1000
>> syslog = 0
>> security = user
>> encrypt passwords = true
>> passdb backend = tdbsam
>> obey pam restrictions = yes
>> unix password sync = no
>> pam password change = no
>> map to guest = bad user
>> domain logons = no
>> load printers = no
>> domain master = no
>> usershare allow guests = no
>>
>> vfs objects = recycle
>> recycle: repository = .trash.bin
>> recycle: keeptree = Yes
>> recycle:versions = Yes
>>
>> [lager]
>> comment = Lager
>> path = /media/lager_hdd
>> public = no
>> valid users = user1
>> read only = no
>> browseable = no
>> -------------
>>
>> Greetings
>> Hartmut
>>
>
> The problem still exist. Has no one a clue?
More information about the samba
mailing list