smbpasswd database is corrupt error

Luke Kenneth Casson Leighton lkcl at switchboard.net
Fri Nov 20 11:41:28 GMT 1998


yes, it's a bit stupid: no checks against UNIX should be made anywhere in
the passdb code.  HOWEVER, there should be checks made that the unix user
or unix group (passdb and groupdb respectively) exists.

this will give consistent results and also keep passdb and groupdb clean.

On Thu, 19 Nov 1998, Tim Winders wrote:

> OK.  I am using the cvs HEAD from this morning and I found a problem with
> the way smbd deals with the smbpasswd database.  If a username is in the
> smbpasswd file but *NOT* in the unix passwd file it reports an error that
> the smbpasswd database is corrupt and will not let the user login.  I
> *THINK* this only occurs to users listed AFTER the "problem" in the
> smbpasswd file.  I don't think previous alpha versions worked the same
> way.
> 
> I have removed the offending entry in smbpasswd and my users can login
> again.
> 
> === Tim
> 
> ---------------------------------------------------------------------
> |  Tim Winders, CNE, MCSE     |  Email:  Tim.Winders at SPC.cc.tx.us   |
> |  Network Administrator      |  Phone:  806-894-9611 x 2369        |
> |  South Plains College       |  Fax:    806-897-4711               |
> |  Levelland, TX  79336       |                                     |
> ---------------------------------------------------------------------
> 
> 
> 

<a href="mailto:lkcl at samba.anu.edu.au" > Luke Kenneth Casson Leighton  </a>
<a href="http://mailhost.cb1.com/~lkcl"> Samba and Network Development </a>
<a href="http://www.samba.co.uk"       > Samba and Network Consultancy </a>



More information about the samba-technical mailing list