Modified interfaces to getting smb password entries from
authorJeremy Allison <jra@samba.org>
Tue, 14 Apr 1998 00:41:59 +0000 (00:41 +0000)
committerJeremy Allison <jra@samba.org>
Tue, 14 Apr 1998 00:41:59 +0000 (00:41 +0000)
commit2a53d6f7077de596265a3e73e79827392054142c
tree9e3553f5c3210b814b14501fb2f6e6cd4a2c129b
parent49ce0cab3c3ec31e08be9afb7872b8bb03371810
Modified interfaces to getting smb password entries from
get_smbpwd_entry (now an internal function to smbpass.c)
to a more UNIX-like :

getsmbpwnam() - get entry by name.
getsmbpwuid() - get entry by uid.

Changed the type returned by the smbpasswd enumeration
functions to be a void * so that people don't come to
depend on it being a FILE *.

These abstractions should make it much easier to
replace the smbpasswd file with a better backend
in future.

Other files changed are to match the above changes.

Jeremy.
(This used to be commit 1161cfb7f2b0d5a6d3e2b524a14a6f325ce70efb)
source3/include/proto.h
source3/nmbd/nmbd_processlogon.c
source3/passdb/smbpass.c
source3/rpc_server/srv_netlog.c
source3/rpc_server/srv_samr.c
source3/rpc_server/srv_util.c
source3/smbd/chgpasswd.c
source3/smbd/password.c
source3/smbd/reply.c
source3/utils/smbpasswd.c