summaryrefslogtreecommitdiffstats
path: root/source3/passdb
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-01-02 22:02:11 +0000
committerGerald Carter <jerry@samba.org>2002-01-02 22:02:11 +0000
commit8718f839bef1e25521132912c947a990d433bfba (patch)
tree4811dce06c640fb84e3dc71c1adaef1db1b8b73e /source3/passdb
parentbf8e91e3625fd950218f07ef5bc0d08e09b38a1f (diff)
downloadsamba-8718f839bef1e25521132912c947a990d433bfba.tar.gz
samba-8718f839bef1e25521132912c947a990d433bfba.tar.xz
samba-8718f839bef1e25521132912c947a990d433bfba.zip
fixing compile error
(This used to be commit 999a2f5c847c6a4336df60807e2fb546a2a4894f)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/pdb_ldap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c
index c71f24f50eb..c4ff5cca9c9 100644
--- a/source3/passdb/pdb_ldap.c
+++ b/source3/passdb/pdb_ldap.c
@@ -636,16 +636,16 @@ static BOOL init_ldap_from_sam (LDAPMod *** mods, int ldap_state, const SAM_ACCO
make_a_mod(mods, ldap_state, "profilePath", pdb_get_profile_path(sampass));
- if ( !sampass->user_rid)
+ if ( !pdb_get_user_rid(sampass))
slprintf(temp, sizeof(temp) - 1, "%i", pdb_uid_to_user_rid(pdb_get_uid(sampass)));
else
- slprintf(temp, sizeof(temp) - 1, "%i", sampass->user_rid);
+ slprintf(temp, sizeof(temp) - 1, "%i", pdb_get_user_rid(sampass));
make_a_mod(mods, ldap_state, "rid", temp);
- if ( !sampass->group_rid)
+ if ( !pdb_get_group_rid(sampass))
slprintf(temp, sizeof(temp) - 1, "%i", pdb_gid_to_group_rid(pdb_get_gid(sampass)));
else
- slprintf(temp, sizeof(temp) - 1, "%i", sampass->group_rid);
+ slprintf(temp, sizeof(temp) - 1, "%i", pdb_get_group_rid(sampass));
make_a_mod(mods, ldap_state, "primaryGroupID", temp);
/* FIXME: Hours stuff goes in LDAP */