RC1 build fails on Ubuntu 12.04 error with LDAP_MOD_REPLACE

Andrew Bartlett abartlet at samba.org
Fri Sep 14 11:57:15 MDT 2012


On Fri, 2012-09-14 at 19:43 +0200, steve wrote:
> samba --version
> Version 4.1.0pre1-GIT-9158423
> Make distclean
> git clean -xdf
> git pull
> 
> ./configure.developer
> make
> [2565/3957] Compiling source3/passdb/pdb_ldap_util.c
> ../source3/passdb/pdb_ldap_util.c:36:7: warning: ‘struct smbldap_state’ 
> declared inside parameter list [enabled by default]
> ../source3/passdb/pdb_ldap_util.c:36:7: warning: its scope is only this 
> definition or declaration, which is probably not what you want [enabled 
> by default]
> ../source3/passdb/pdb_ldap_util.c: In function 
> ‘add_new_domain_account_policies’:
> ../source3/passdb/pdb_ldap_util.c:85:3: error: implicit declaration of 
> function ‘smbldap_set_mod’ [-Werror=implicit-function-declaration]
> ../source3/passdb/pdb_ldap_util.c:85:27: error: ‘LDAP_MOD_REPLACE’ 
> undeclared (first use in this function)

Steve,

If one of you could please read the mailing list before posting it would
save a lot of time.

Thanks,

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org




More information about the samba-technical mailing list