From 6d698d51b324f84b2d2b4c56ea1e728c0c30b220 Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Mon, 8 Feb 1999 00:24:57 +0000 Subject: iteration of sam passwd entries was an order n-cubed algorithm due to resolution of unix name to nt name being unnecessarily _inside_ another loop. (This used to be commit d455c9d2c9f60289d78d0331228f5922152070bf) --- source3/include/proto.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index bf5f8076fe..301fcbe755 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1449,10 +1449,6 @@ struct passgrp_ops *ldap_initialise_password_grp(void); /*The following definitions come from passdb/sampass.c */ -void *startsamfilepwent(BOOL update); -void endsamfilepwent(void *vp); -SMB_BIG_UINT getsamfilepwpos(void *vp); -BOOL setsamfilepwpos(void *vp, SMB_BIG_UINT tok); struct sam_passdb_ops *file_initialise_sam_password_db(void); /*The following definitions come from passdb/sampassdb.c */ @@ -1481,6 +1477,7 @@ struct sam_passdb_ops *ldap_initialise_sam_password_db(void); /*The following definitions come from passdb/smbpass.c */ +struct smb_passwd *getsmbfilepwent(void *vp); struct smb_passdb_ops *file_initialise_password_db(void); /*The following definitions come from passdb/smbpasschange.c */ -- cgit