LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-07-2013, 12:18 PM   #1
stureedy
Member
 
Registered: Jul 2009
Location: Lexington, Kentucky, USA
Distribution: Slackware
Posts: 45
Blog Entries: 4

Rep: Reputation: 2
Users unable to change password using SWAT on Slackware64 14.0


Greetings,

Our users are unable to change their passwords using SWAT on our Slackware64 14.0 server(s). No error (or success) message shows on the page after the attempt.

This shows up in /var/log/samba/log.swat:

[2013/10/07 12:58:35.464763, 3] lib/dbwrap_tdb.c:359(db_open_tdb)
Could not open tdb: Permission denied
[2013/10/07 12:58:35.464787, 0] passdb/secrets.c:76(secrets_init)
Failed to open /etc/samba/private/secrets.tdb

I tried changing the perms on /etc/samba/private and /etc/samba/private/secrets.tdb to be readable by all users. After his, I could stat and cat the file as a user, but the error messages still show up in log.swat for that user.

Info:

In /etc/samba/smb.conf:

passwd program = /usr/bin/passwd %u
unix password sync = Yes

I'm at a loss. Any help would be greatly appreciated!
 
Old 10-07-2013, 01:29 PM   #2
stureedy
Member
 
Registered: Jul 2009
Location: Lexington, Kentucky, USA
Distribution: Slackware
Posts: 45

Original Poster
Blog Entries: 4

Rep: Reputation: 2
I believe I have found the answer to this, thought the answer I found is: "It can't be done with Samba 3.6.18:
It seems that between 3.2.15 and 3.6.18 Samba changed SWAT so users can no longer change their own passwords.

I suppose this is to prevent users from changing other users' passwords via SWAT. (I was able to to this with Samba 3.2.15 on Slackware 12.2).

So, the new problem is that I need a way for user's to be able to change their own passwords.

Any ideas?
Thanks!
Stu...
 
  


Reply

Tags
password, swat


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Let users to change password when locked-out noir911 Linux - Server 5 03-11-2011 03:29 PM
[SOLVED] How can the non-root users change their password if....... challavijay Linux - Newbie 3 07-31-2010 02:55 PM
Avoid users to change password sinchan_ Linux - General 10 10-21-2009 02:48 PM
Help in LDAP; Users can change their password ashwintumma Linux - Software 1 08-22-2009 10:24 AM
Samba (via Webmin or SWAT) unable to change pre-encrypted password requirement booberandpuzz Linux - Newbie 18 05-08-2008 09:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration