Improve company productivity with a Business Account.Sign Up

x
?
Solved

using pam or something with samba for password authentication from xp to suze 9.1

Posted on 2004-10-13
6
Medium Priority
?
245 Views
Last Modified: 2013-12-16
Hello all,

we are currently using windows xp and get to linux server files through samba.

we managed to succesfully implement pam onto our webserver for password authentication

now we want to do the same thing through samba where passwords are authenticated through the linux etc/password file

were kinda new to samba and the documentation in samba.conf is a little confusing

there might be a very simple way to do this

ive read about pam_smb .. but this seems to only work with NT (or 95 or 98)

and ive also read about winbind ... im not sure if this works with XP.

any suggestions would be very appreciated.

Bryan
0
Comment
Question by:bryanberg
3 Comments
 
LVL 10

Accepted Solution

by:
Luxana earned 672 total points
ID: 12304984
not sure about your question but it seem that you want change samba passwords from XP.

you have unix password:
passwd
and samba have :
smbpasswd

are you looking for something like this?
http://changepassword.sourceforge.net/

0
 
LVL 40

Assisted Solution

by:jlevie
jlevie earned 664 total points
ID: 12305254
Because SMB authentication uses a different encryption method than Linux the DES or MD5 encrypted passwords in /etc/password or /etc/shadow aren't useable for Samba authentication. You can create SMB compatible encrypted passwords with smbpasswd and Samba will use that for authenticating windows connections.

The PAM modules are only for allowing Linux to authenticate against an NT or Active Directory domain. They won't help for your requirement.
0
 
LVL 38

Assisted Solution

by:yuzh
yuzh earned 664 total points
ID: 12316515
0

Featured Post

Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question