LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 08-28-2003, 07:42 PM   #1
kofi
Member
 
Registered: Aug 2002
Location: Atlanta
Distribution: Redhat Linux 7.2 & 7.3 + 8.0
Posts: 59

Rep: Reputation: 15
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.
 
Old 08-28-2003, 10:21 PM   #2
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Rep: Reputation: 58
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.
 
Old 09-02-2003, 12:01 AM   #3
kofi
Member
 
Registered: Aug 2002
Location: Atlanta
Distribution: Redhat Linux 7.2 & 7.3 + 8.0
Posts: 59

Original Poster
Rep: Reputation: 15
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?
 
Old 09-02-2003, 06:33 AM   #4
muah
Member
 
Registered: Aug 2003
Location: Europe
Distribution: Slackware (current)
Posts: 228

Rep: Reputation: 32
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"
 
Old 09-03-2003, 01:46 AM   #5
kofi
Member
 
Registered: Aug 2002
Location: Atlanta
Distribution: Redhat Linux 7.2 & 7.3 + 8.0
Posts: 59

Original Poster
Rep: Reputation: 15
Great, I will try that. just thought that only changed the password in windows and not on the Samba PDC.

Thanks.
 
Old 09-23-2003, 05:58 PM   #6
kofi
Member
 
Registered: Aug 2002
Location: Atlanta
Distribution: Redhat Linux 7.2 & 7.3 + 8.0
Posts: 59

Original Poster
Rep: Reputation: 15
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.
 
Old 09-24-2003, 02:01 AM   #7
muah
Member
 
Registered: Aug 2003
Location: Europe
Distribution: Slackware (current)
Posts: 228

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


Reply


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
Samba 3 - changing passwords from windows michzap Linux - Networking 2 09-03-2004 02:48 AM
Changing Passwords dboogie Linux - Newbie 2 05-02-2004 11:45 PM
Changing Samba Passwords With Webmin djcomplex Linux - Software 0 03-08-2004 05:38 AM
Changing Passwords TheRealDeal Linux - General 3 01-21-2004 12:01 AM
Is there a way to sync Samba passwords with linux user passwords MarleyGPN Linux - Networking 2 09-09-2003 11:59 AM


All times are GMT -5. The time now is 06:57 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration