1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

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
This commit is contained in:
Michael Adam 2012-12-03 16:52:12 +01:00 committed by Andreas Schneider
parent d913fb1304
commit 61e8b80c85
2 changed files with 3 additions and 2 deletions

View File

@ -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 *)

View File

@ -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;