passdb.c and nmbd

Jeremy Allison jallison at
Thu Nov 26 01:05:39 GMT 1998

Luke Kenneth Casson Leighton wrote:

> ok, there's a simple (relatively speaking) solution.  split passdb_ops
> into smb_passwd and sam_passwd operations.  smbd links against both: nmbd
> links only against smb_passwd ops.

I'm glad you got there without any input from me :-).
I always hated the way you glued the smbpasswd and
sampasswd stuff together :-). UNIX is UNIX and NT
is NT and never the twain shall meet (except for
Samba... :-).

> struct smb_passwd is used in nmbd_processlogon.c, it actually only
> needs ACB_PWNOTREQ (password not required) and "does the user account
> exist"?
> which we probably ought to do on a unix basis, not an nt basis, which is
> _another_ way of solving the problem.  *oh* except we may need to answer
> in "appliance" mode, so we can't do that, have to stick with smb_passwd
> darn darn :)

Let's fix the issues with 'appliance' mode when we're
*designing* appliance mode - not now.


Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.

More information about the samba-technical mailing list