• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 243
  • Last Modified:

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

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
bryanberg
Asked:
bryanberg
3 Solutions
 
LuxanaCommented:
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
 
jlevieCommented:
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
 
yuzhCommented:
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now