summaryrefslogtreecommitdiffstats
path: root/source/passdb/passdb.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-05-18 14:55:17 +0000
committerLuke Leighton <lkcl@samba.org>1998-05-18 14:55:17 +0000
commit98ab085b93fb25a4d9275c0d54a863fd9fae2548 (patch)
treee26a8c9a4a06c569089d6d21c3f6efa5cb3ae44b /source/passdb/passdb.c
parent8082239c81dfed5e3cc34a4d0a4e7195398ae627 (diff)
downloadsamba-98ab085b93fb25a4d9275c0d54a863fd9fae2548.tar.gz
samba-98ab085b93fb25a4d9275c0d54a863fd9fae2548.tar.xz
samba-98ab085b93fb25a4d9275c0d54a863fd9fae2548.zip
creating and using some pdb_init_(sam/smb) routines. putting ldap headers
back in (they had been taken out of includes.h because they are only local to ldap.c.
Diffstat (limited to 'source/passdb/passdb.c')
-rw-r--r--source/passdb/passdb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/passdb/passdb.c b/source/passdb/passdb.c
index 82ee94a1513..b43333f3893 100644
--- a/source/passdb/passdb.c
+++ b/source/passdb/passdb.c
@@ -495,7 +495,7 @@ struct sam_passwd *getsam21pwrid(uint32 rid)
/*************************************************************
initialises a struct smb_passwd.
**************************************************************/
-void pdb_init_sam(struct smb_passwd *user)
+void pdb_init_smb(struct smb_passwd *user)
{
if (user == NULL) return;
@@ -528,7 +528,7 @@ struct smb_passwd *pdb_sam_to_smb(struct sam_passwd *user)
if (user == NULL) return NULL;
- pdb_init_sam(&pw_buf);
+ pdb_init_smb(&pw_buf);
pw_buf.smb_userid = user->smb_userid;
pw_buf.smb_name = user->smb_name;
@@ -549,7 +549,7 @@ struct sam_passwd *pdb_smb_to_sam(struct smb_passwd *user)
if (user == NULL) return NULL;
- pdb_init_smb(&pw_buf);
+ pdb_init_sam(&pw_buf);
pw_buf.smb_userid = user->smb_userid;
pw_buf.smb_name = user->smb_name;