summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-03-20 12:05:10 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-03-20 12:05:10 +0000
commit520c8626dc238a1e338635981d1b41950f2219b6 (patch)
treea92452185547da8b8607de8bd5ccea5c7916cc80
parent2be9b253ad40e125169725ea79e6723cb40c5e6a (diff)
downloadsamba-520c8626dc238a1e338635981d1b41950f2219b6.tar.gz
samba-520c8626dc238a1e338635981d1b41950f2219b6.tar.xz
samba-520c8626dc238a1e338635981d1b41950f2219b6.zip
Make ldapsam compile again.
-rw-r--r--source/passdb/pdb_ldap.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/source/passdb/pdb_ldap.c b/source/passdb/pdb_ldap.c
index a16fb115fcd..5d485977b70 100644
--- a/source/passdb/pdb_ldap.c
+++ b/source/passdb/pdb_ldap.c
@@ -1163,24 +1163,6 @@ static BOOL ldapsam_getsampwrid(struct pdb_context *context, SAM_ACCOUNT * user,
}
/**********************************************************************
- get rid by uid
-*********************************************************************/
-
-static uint32 ldapsam_uid_to_user_rid(struct pdb_context *context, uid_t uid)
-{
- return fallback_pdb_uid_to_user_rid(uid);
-}
-
-/**********************************************************************
- get uid by rid
-*********************************************************************/
-
-static uid_t ldapsam_user_rid_to_uid(struct pdb_context *context, uint32 rid)
-{
- return fallback_pdb_user_rid_to_uid(rid);
-}
-
-/**********************************************************************
Delete entry from LDAP for username
*********************************************************************/
static BOOL ldapsam_delete_sam_account(struct pdb_context *context, const SAM_ACCOUNT * sam_acct)
@@ -1445,8 +1427,6 @@ NTSTATUS pdb_init_ldapsam(PDB_CONTEXT *pdb_context, PDB_METHODS **pdb_method, co
(*pdb_method)->add_sam_account = ldapsam_add_sam_account;
(*pdb_method)->update_sam_account = ldapsam_update_sam_account;
(*pdb_method)->delete_sam_account = ldapsam_delete_sam_account;
- (*pdb_method)->uid_to_user_rid = ldapsam_uid_to_user_rid;
- (*pdb_method)->user_rid_to_uid = ldapsam_user_rid_to_uid;
/* TODO: Setup private data and free */