Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Usermin and Samba (installed by Fink)

Usermin and Samba (installed by Fink)
Thread Tools
Addicted to MacNN
Join Date: Sep 2000
Status: Offline
Reply With Quote
Jul 5, 2003, 02:10 PM
 
I installed Samba with Fink (who here doesn't like Fink).


Now I want to use Usermin (part of webmin) so that users can change their own passwords, to all services.

The URL for the page I'm looking at runs something like this:

http://<SERVERIP>:10000/usermin/edit_configs.cgi?mod=changepass

there is an option to "Also change samba password with command"...

I used the command:

/sw/bin/smbpasswd -a $REMOTE_USER


with no success.

Anyone know how to do this successfully?


(I know keychain support breaks when you do this... they only connect via SHell (well, just me)... FTP, Samba, and AppleShare...so it's irrelevent.)


Thanks!
I always use protection when fscking my Mac... Do you?
     
Fresh-Faced Recruit
Join Date: Jul 2001
Status: Offline
Reply With Quote
Jul 7, 2003, 11:17 PM
 
On my Linux box it works like this (in Webmin 1.100):

I assume your users already have Samba accounts on the system, and you want the Samba passwords updated whenever they change their Unix passwords with Usermin.

In Webmin, select the 'Server > Samba Windows File Sharing' module.

Near the bottom of the page select 'Configure automatic Unix and Samba user synchronisation' and mark the checkbox that says 'Change the Samba user when a Unix user is changed'.

Now when my password is changed with Usermin, I get the response:

"Your password for phil has been changed successfully. Any telnet, SSH, FTP or POP3 logins made from now on will require the new password. Your Samba password for windows file sharing has also been changed."

So you may want to check that out (I don't know if it works the same in OS X).

BTW -- Port 10000 is usually Webmin, and port 20000 is usually Usermin (in my experience).
     
   
Thread Tools
Forum Links
Forum 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 10:01 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2