Samba 3.x build problems with LDAP support
Erik Van Benschoten
evanben at valleycomnet.com
Wed Apr 15 13:26:14 UTC 2009
Timur,
Thanks for the response. I seem to be having another issue, then. I've
checked that LDAP support is compiled in:
# smbd -b | grep LDAP
HAVE_LDAP_H
HAVE_LDAP
HAVE_LDAP_ADD_RESULT_ENTRY
HAVE_LDAP_INIT
HAVE_LDAP_INITIALIZE
HAVE_LDAP_SASL_WRAPPING
HAVE_LDAP_SET_REBIND_PROC
HAVE_LIBLDAP
LDAP_SET_REBIND_PROC_ARGS
And,
# smbd -b | grep ldap
pdb_ldap pdb_smbpasswd pdb_tdbsam rpc_lsarpc rpc_winreg
rpc_initshutdown rpc_dssetup rpc_wkssvc rpc_svcctl2 rpc_ntsvcs2
rpc_netlogon rpc_netdfs rpc_srvsvc rpc_spoolss rpc_eventlog2 rpc_samr
idmap_ldap idmap_tdb idmap_passdb idmap_nss nss_info_template auth_sam
auth_unix auth_winbind auth_server auth_domain auth_builtin vfs_default
vfs_posixacl
Yet, when I try to perform a 'net sam provision' command I get the
following:
Checking for Domain Users group.
Adding the Domain Users group.
Unable to allocate a new gid to create Domain Users group!
Checking for Domain Admins group.
Adding the Domain Admins group.
Unable to allocate a new gid to create Domain Admins group!
Check for Administrator account.
Adding the Administrator user.
Can't create Administrator user, Domain Admins group not available!
And this seems to be caused by what I see in the log.winbindd-idmap file:
[2009/04/15 09:14:12, 1] winbindd/idmap.c:idmap_alloc_init(578)
could not find idmap alloc module ldap
[2009/04/15 09:14:12, 1] winbindd/idmap.c:idmap_alloc_init(578)
could not find idmap alloc module ldap
How could it be that it can't find the module when support is compiled in?
Thanks,
Erik Van Benschoten
Timur I. Bakeyev wrote:
> Hi, Erik!
>
> I guess the answer lays in the config.log, where it said:
>
> idmap_ldap ... static
>
> So, it is compiled into Samba.
>
> Regards,
> Timur.
>
> On Sat, Apr 11, 2009 at 10:39 PM, Erik Van Benschoten
> <evanben at valleycomnet.com> wrote:
>
>> Hello,
>>
>> Is anyone else experiencing problems building/installing samba32 or samba33?
>> Either port does not seem to install the idmap_ldap backend. I've tried
>> uninstalling
>> everything and then reinstalling from scratch - no luck. The other idmap
>> backends
>> (ad, adex, hash, rid & tdb2) are installed fine.
>>
>> Thanks,
>> Erik Van Benschoten
>> _______________________________________________
>> freebsd-ports at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
>> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>>
> >
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 8.0.238 / Virus Database: 270.11.57/2059 - Release Date: 04/14/09 14:52:00
>
>
More information about the freebsd-ports
mailing list