Date: Wed, 15 Apr 2009 09:26:08 -0400 From: Erik Van Benschoten <evanben@valleycomnet.com> To: "Timur I. Bakeyev" <timur@FreeBSD.org> Cc: freebsd-ports@freebsd.org Subject: Re: Samba 3.x build problems with LDAP support Message-ID: <49E5E070.40902@valleycomnet.com> In-Reply-To: <7d743c270904141722l5617de3ck500c50d45e918727@mail.gmail.com> References: <49E10003.4030002@valleycomnet.com> <7d743c270904141722l5617de3ck500c50d45e918727@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-ports >> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@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 > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49E5E070.40902>