summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-12-03 16:52:12 +0100
committerAndreas Schneider <asn@cryptomilk.org>2012-12-03 19:12:29 +0100
commit61e8b80c85bf114da7f1d3dadfc2207564f5fbaa (patch)
tree2cbd39a6a0b0fb3923151f15843e5991a1a82ac7 /source3
parentd913fb1304378bdc8aac2543144d39ffa486f862 (diff)
downloadsamba-61e8b80c85bf114da7f1d3dadfc2207564f5fbaa.tar.gz
samba-61e8b80c85bf114da7f1d3dadfc2207564f5fbaa.tar.bz2
samba-61e8b80c85bf114da7f1d3dadfc2207564f5fbaa.zip
s3:passdb: fix building pdb_ldap as shared module
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Mon Dec 3 19:12:29 CET 2012 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/passdb/ABI/pdb-0.sigs1
-rw-r--r--source3/passdb/pdb_interface.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/source3/passdb/ABI/pdb-0.sigs b/source3/passdb/ABI/pdb-0.sigs
index f32ca4f61f..4108b9a23b 100644
--- a/source3/passdb/ABI/pdb-0.sigs
+++ b/source3/passdb/ABI/pdb-0.sigs
@@ -238,6 +238,7 @@ pdb_set_workstations: bool (struct samu *, const char *, enum pdb_value_state)
pdb_sethexhours: void (char *, const unsigned char *)
pdb_sethexpwd: void (char *, const unsigned char *, uint32_t)
pdb_sid_to_id: bool (const struct dom_sid *, struct unixid *)
+pdb_sid_to_id_unix_users_and_groups: bool (const struct dom_sid *, struct unixid *)
pdb_uid_to_sid: bool (uid_t, struct dom_sid *)
pdb_update_autolock_flag: bool (struct samu *, bool *)
pdb_update_bad_password_count: bool (struct samu *, bool *)
diff --git a/source3/passdb/pdb_interface.c b/source3/passdb/pdb_interface.c
index 436e774302..775f8a3e89 100644
--- a/source3/passdb/pdb_interface.c
+++ b/source3/passdb/pdb_interface.c
@@ -1425,8 +1425,8 @@ static bool pdb_default_gid_to_sid(struct pdb_methods *methods, gid_t gid,
* The "Unix User" and "Unix Group" domains have a special
* id mapping that is a rid-algorithm with range starting at 0.
*/
-_PRIVATE_ bool pdb_sid_to_id_unix_users_and_groups(const struct dom_sid *sid,
- struct unixid *id)
+bool pdb_sid_to_id_unix_users_and_groups(const struct dom_sid *sid,
+ struct unixid *id)
{
uint32_t rid;