passdb.c and nmbd
Luke Kenneth Casson Leighton
lkcl at switchboard.net
Thu Nov 26 00:56:02 GMT 1998
On Thu, 26 Nov 1998, Luke Kenneth Casson Leighton wrote:
> ok, we have a linking issue due to a bug-fix. i need to use
> lookup_user_rids() in passdb/smbpass.c. this function is in
> rpc_server/srv_lookup.c. this function requires references in
> rpc_server/srv_sid.c, rpc_parse/*.c, become_root() in smbd/uid.c etc etc.
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.
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 :)
luke
More information about the samba-technical
mailing list