LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Changing Samba Passwords from 95/98 Clients? (https://www.linuxquestions.org/questions/linux-software-2/changing-samba-passwords-from-95-98-clients-86771/)

kofi 08-28-2003 06:42 PM

Changing Samba Passwords from 95/98 Clients?
 
Hello all,

I have a working setup of Samba 3.03 Beta version. All works well except password administration is becoming a bit of a headache.

Most of the client machines are running Win 95 & 98 which I know do not really support domain membership though clients can log unto a PDC.

My question is, as it is now.. if any user wants to change their password, I have to log into the Samba Server and run the smbpasswd -a command and let them input a new password.

Does anyone know of a script that will allow them to say go to a site and change that password anytime they want? Or can they actually change it from the 95/98 machine. I have currently disabled the password cache feature on all the client, so all authentication goes to to the Samba Server.

Any thoughts?

Thanks,

Kofi.

J_Szucs 08-28-2003 09:21 PM

When samba used plain text passwords, we did it with ssh.
We gave users the 'passwd' as their shell, so they were given the passwd prompt when they logged into the server via ssh.

kofi 09-01-2003 11:01 PM

Bummer, I am using the encrypted password enabled. At this point, I am thinking of writing a script in Perl on place it on the Intranet Site.

Trouble is I am not sure my scrypt can unencrypt the password from the smbpasswd file. Arggghh.. this is driving me crazy.

Any more ideas?

muah 09-02-2003 05:33 AM

Hi,

i have configured RedHat with samba server (2.2.7) working as PDC for Win95 and Win98 machines a few days ago.

When client logs in into domain from one of Win9x machines he/she can change samba password from Control Panels - Passwords menu. I m using localized version of Windows so i dont know how exactly its called in english version but there should be something like "Other passwords" and "Password for MS Network Client"

kofi 09-03-2003 12:46 AM

Great, I will try that. just thought that only changed the password in windows and not on the Samba PDC.

Thanks.

kofi 09-23-2003 04:58 PM

Hello People,

I found a better solution (At least I think so) to this problem and thought I would share.

The Samba Site lists a simple cgi plugin on Sourceforege that does this quite beautifully. So if you don't mind using the web interface try this:

http://changepassword.sourceforge.net/

Hope this helps somebody and my Sincere thanks to all.

muah 09-24-2003 01:01 AM

It looks good, i was about to code something similar but couldnt be bothered when i found that windows' feature :)


All times are GMT -5. The time now is 12:50 PM.