Due to the smbldap tools moving away from .pl extensions on their scripts and just using (for example) smbldap-useradd rather than smbldap-useradd.pl the ebuild does not install the scripts correctly. The ebuild needs to be changed so that line 320 reads: exeinto /usr/share/samba/scripts ; doexe smbldap-* I think this is OK as the rest of the perl files are smbldap_ not smbldap-.
Ok thanks for the report, will fix shortly.
Actually, there appear to be more problems with smbldap_tools 0.84 - they seem to have changed significantly. They now seem to require a separate configuration directory (/etc/smbldap-tools), one changed file: smbldap_conf.pm is now /etc/smbldap-tools/smbldap.conf And one additional file: /etc/smbldap-tools/smbldap_bind.conf These don't seem to be installed by the current 3.0.2a script
Eeek. Ok, could somebody please help and dig in to this, possibly coming up with a patch I can apply to the ebuild please? I'm really busy at work this week, probably will not have too much time to fix it. That and my set up uses its own smbldap tools scripts, not the ones I've built into the samba ebuild, so I didnt notice the breakage. Would appreciate help here.
Am working on it - this is the first ebuild work I have done so it may need tidying up but I'm pretty sure the majority of the work is OK. Will post an update later when I have a version that I am satisfied with.
Have attached a patch generated with diff -Naur samba-3.0.2a.ebuild samba-3.0.2a-r1.ebuild which seems to do the job. Would be interested to know if I have made any major mistakes so I can get it right next time.
Created attachment 25846 [details, diff] patches ebuild to r1 This corrects the ebuild so that the smbldap-tools config files are in the correct place and warns the user about all the changes that will be required to their setup.
thanks for the patch :) included in proposed ebuild for samba 3.0.4 (please see bug 48871)
fixed in bug 48871