On Tue, Jan 4, 2011 at 10:17 PM, Daniel Müller <[email protected]> wrote: > What about, > unix password sync = yes instead of no
I like to have two different passwords, one for the shell and one for samba. So that's not an option. > Did you try smbclient? yes, with the same result. If i enter my samba password, i get "Login failed". After changing with smbpasswd it works. After a reboot, the same problem, i can't access with my, 5 minutes ago set, samba password. > On some OS you need: > obey pam restrictions = no!? Tired this, with obey pam = yes and no. Same result. Rebooted after changing it... Same result... (oh i have rebooted so many times since the last days) > How did you add your users? > First linux? Then samba? First linux, then samba (does the other order works? i thought a samba user needs a linux user? whatever) > did you: smbpasswd user -e yes, tried this though, same result, can't login with my samba password... (and yes, i tried it with a reboot too ;) ) > > Good luck > > Daniel > On Tue, 4 Jan 2011 21:16:08 +0100, Hartmut <[email protected]> > wrote: >> On Sat, Dec 25, 2010 at 5:32 PM, Hartmut <[email protected]> > 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? > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
