Skip to content

Commit

Permalink
s3-waf: filter out ldapsam internal init functions
Browse files Browse the repository at this point in the history
pdb_ldapsam_init* functions (init and init_common) are used in
pdb_ipa.c and pdb_nds.c which are always linked together with
pdb_ldap.c where pdb_ldapsam_init* functions reside.

Tested with both ldapsam integrated (into libpdb) and as
a separate module.

Reviewed-by: Andreas Schneider <[email protected]>
  • Loading branch information
abbra authored and cryptomilk committed Apr 9, 2013
1 parent 6058bc9 commit b752417
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source3/wscript_build
Original file line number Diff line number Diff line change
Expand Up @@ -721,6 +721,7 @@ ldapsam_pdb_match = ['!priv2ld', '!smbldap_search_domain_info',
'!get_attr_list']
private_pdb_match.append('!pdb_nds_*')
private_pdb_match.append('!pdb_init_ldapsam')
private_pdb_match.append('!pdb_ldapsam_init*')
private_pdb_match = private_pdb_match + ldapsam_pdb_match

private_pdb_match = private_pdb_match + map(lambda x: '!pdb_%s_init' % x, static_pdb_match)
Expand Down

0 comments on commit b752417

Please sign in to comment.