summaryrefslogtreecommitdiff
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
commitb1062ece13632f974625275868e309fa53cab6a5 (patch)
tree7eb235d1810ee2014971fabe5afed755d343d748
parentea6099e30c0da1934b1bb7b0e171d80eef72d9bc (diff)
downloadsamba-b1062ece13632f974625275868e309fa53cab6a5.tar.gz
samba-b1062ece13632f974625275868e309fa53cab6a5.tar.bz2
samba-b1062ece13632f974625275868e309fa53cab6a5.zip
Make ldapsam compile again.
(This used to be commit 520c8626dc238a1e338635981d1b41950f2219b6)
-rw-r--r--source3/passdb/pdb_ldap.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c
index a16fb115fc..5d485977b7 100644
--- a/source3/passdb/pdb_ldap.c
+++ b/source3/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 */