LinuxQuestions.org
Have you listened to LQ Radio?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Thread Tools
Old 11-26-2006, 05:20 AM   #1
Peter@KKVS
LQ Newbie
 
Registered: Aug 2006
Posts: 7
Thanked: 0
Swat uses PAM but changes linux passwd not samba passwd


[Log in to get rid of this advertisement]
Hi
Have standalone server with swat to change passwds.
relevant smb.conf lines.
passdb=tdbsam
Pam restrictions = yes
Use pam for passwd change = yes
encrypted passwords = yes
sync linux passwd = yes (along with a line on passwd chat etc)

Samba does not use PAM when "encrypted passwords = yes" but SWAT does. Problem is that swat changes the linux passwd and not the samba one. Clearly PAM does not know to look to tdbsam for the passwd backend. So users can log into their home directory on the smb passwd but if they change psswd wih swot then they have to use their new passwd for swat and old passwd to get into their fies

So how do you tell it.

On other distros there is a pam_smbpass.so to tell pam where to find the passwds but in the ubuntu distribution there is not.

Any clues
Peter@KKVS is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
Configuring /etc/pam.d/passwd module plexus Linux - Security 2 05-25-2004 08:55 PM
Samba guests and changes in /etc/passwd krajzega Linux - Networking 1 03-08-2004 08:53 AM
ProFTPd. Authenticating using /etc/passwd instead of PAM wenberg Linux - Software 2 01-04-2004 11:14 AM
/etc/pam.d/passwd leandrop Linux - Security 1 09-30-2003 02:06 PM
Samba blew my passwd? oneiltj Linux - Software 2 01-18-2003 01:47 PM


All times are GMT -5. The time now is 01:19 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration