[K12OSN] Webmin Samba Problem

Jim Kronebusch jim at winonacotter.org
Wed Apr 21 22:05:12 UTC 2004

I think I understand what you are saying now.  I tried to add user test
with smbpasswd -a test without the user existing in the unix users list
and I received the error.  Then I did a adduser test and then passwd
test to add the user to unix, after that I issued the smbpasswd -a test
without errors.  So what you are saying is that Webmin should be issuing
this same set of commands?  If so why do I get an error in Webmin but
not when I issue it manually?  Should I try to re-install Webmin?  I
really want to be able to manage these users from a single area.  If I
cannot get Webmin to work is there a way I can set Samba and Unix to
syncronize users without using Webmin?


-----Original Message-----
From: k12osn-bounces at redhat.com [mailto:k12osn-bounces at redhat.com] On
Behalf Of Les Mikesell
Sent: Wednesday, April 21, 2004 10:20 AM
To: Support list for opensource software in schools.
Subject: RE: [K12OSN] Webmin Samba Problem

On Wed, 2004-04-21 at 13:25, Jim Kronebusch wrote:
> If I issue
> #smbpasswd -a test
> Then enter in new passwords I get the errors 
> Failed to initialise SAM_ACCOUNT for user test
> Failed to modify password entry for user test
> But if I issue the same command for an existing user, I receive no 
> errors.  Now what?

That's normal for a case where the user does not exist at all in the
unix /etc/passwd file - they must exist as unix users first. I think the
webmin 'convert' case should involve users who are in /etc/passwd but
not yet in /etc/samba/smbpasswd. If you don't get an error in that case,
then I don't see why webmin should fail either.

  Les Mikesell
    les at futuresource.com

K12OSN mailing list
K12OSN at redhat.com https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>

More information about the K12OSN mailing list