[Samba] New users not visible within webmin

Kari Kostamo kari at gvsjobs.com
Thu Aug 27 00:00:13 UTC 2015

After looking into the issue further, I discovered the just running 
pdbedit -L returned with an error

build_sam_account: smbpasswd database is corrupt!  username {user 
account} with uid {####} is not in unix passwd database!  The names 
being displayed stopped at the name just before the one giving the error.

I had thought I had all these fixed prior to doing the upgrade to Samba 
but I guess not.  Removing the names from the password file and I get 
further into the list of names being displayed.  Now I just have to 
remove all the problem accounts.


On 26/08/2015 4:11 PM, Kari Kostamo wrote:
> I have recently upgraded samba to 3.6.23-9.el5_11 and have noticed all 
> new users created can not be seen with using the samba config tool 
> within CentOS or within the samba webmin module.
> I can manually log in and look the account information within the 
> smbpasswd file and can query it using pdbedit.
> I need to be able to edit this information from within the webmin 
> module as there are a number of people that create/modify/delete 
> accounts on the server.
> I have tried converting the password file into the tdbsam backend with 
> the same results, only some of the accounts are visible within either 
> the webmin module or directly using the samba config tool within centos.
> There are over 5000 accounts with only a fraction of them visible.
> Any help on where I can look for a resolution would be helpful.
> Thanks


Kari Kostamo
WorkBC Employment Services Centre
Global Vocational Services Inc.
301 - 80 Station Street
Duncan, BC V9L 1M4
250-748-9880 (office)
250-746-8986 (fax)
Kari at GVSJobs.com <mailto:kari at GVSJobs.com>
www.GVSJobs.com <http://gvsjobs.com/>


/The information contained in this e-mail is intended only for the 
individual or entity to whom it is addressed. Its content (including any 
attachments) are confidential and may contain privileged information. If 
you are not an intended recipient, you must not use, disclose, 
disseminate, copy or print its contents. If you receive this e-mail in 
error, please notify the sender by reply e-mail and delete and destroy 
the message. /

/Les informations dans ce courriel sont seulement pour l’utilisation de 
l’individu ou de l'entité à qui ells sont adressées. Le contenu (y 
compris les fichiers joints) sont personnel et pourraient contenir des 
renseignements confidentiels. Si vous n'êtes pas la personne désignée 
pour recevoir ce message, vous ne devez pas l’utiliser, en révéler le 
contenu, le propager, le copier, ni en imprimer le contenu. Si vous 
recevez ce courriel par erreur, en averter l'expéditeur par courriel et 
détruisez ensuite le message. /

More information about the samba mailing list