[Samba] Noob having troubles with slapd-populate authentication
Chris Weiss
cweiss at casadelove.com
Thu Apr 7 19:50:10 GMT 2005
Not really sure what version it was - it was part of the Fedora install,
apparently and sat in /usr/share/doc/samba-3.0.10/LDAP/smbldap-tools/.
In any case, I found the solution to my problem - apparenly I did not
have the authentication options in /etc/ldap.conf set up (was confused
by the presence of /etc/ldap.conf and /etc/openldap/ldap.conf).
Additionally, I needed to install RPMs for the following:
perl-Crypt-SmbHash-0.02-8.i386
smbldap-tools-0.8.8-1.noarch.rpm
perl-Authen-SASL-2.08-1.1.fc3.rf.noarch.rpm
perl-IO-Socket-SSL-0.96-1.1.fc3.rf.noarch.rpm
Now things seem to work fine....
John H Terpstra wrote:
>On Thursday 07 April 2005 13:25, Chris Weiss wrote:
>
>
>>I'm following the "The Linux Samba-OpenLDAP Howto" at
>>http://samba.idealx.org/smbldap-howto.en.html and seem to have run into
>>a problem...
>>
>>I'm to the point where I want to do the initial database population
>>using smbldap-populate.pl, but when I run it, I'm getting:
>>
>>Using builtin directory structure
>>adding new entry: dc=pirategames,dc=net
>>failed to add entry: modifications require authentication at
>>/usr/local/sbin/smbldap-populate.pl line 323, <GEN1> line 2.
>>adding new entry: ou=_USERS_,dc=pirategames,dc=net
>>failed to add entry: modifications require authentication at
>>/usr/local/sbin/smbldap-populate.pl line 323, <GEN1> line 3.
>>adding new entry: ou=_GROUPS_,dc=pirategames,dc=net
>>failed to add entry: modifications require authentication at
>>/usr/local/sbin/smbldap-populate.pl line 323, <GEN1> line 4.
>>etc...
>>
>>
>
>It would appear from the above that you have not configured your
>smbldap-tools. You will need to do this by executing the configure.pl script
>in the smbldap-tools directory.
>
>Also, what version of smbldap-tools are you using? The .pl extension suggests
>you are using an old version. What version of Samba are you using? Please
>ensure that the two are matching versions.
>
>Samba pre-3.0.6 can use smbldap-tools 0.8.2 or 0.8.4
>Samba 3.0.6 or later requires smbldap-tools 0.8.5 or later.
>Samba 3.0.11 is best used with smbldap-tools 0.8.7 or later.
>
> - John T.
>
>
>
>>Something I thought was interesting is it's not even pointing out the
>>SID, although I've got it and populated the smbldap.conf file and
>>slapd.conf.pm (I'm using Fedora 3 and the smbldap-tools included seem to
>>have a different default configuration, so I downloaded the RPM and did
>>an update. This problem was occurring before and after the RPM update).
>>
>>Also, using smbldap-useradd.pl fails in the same manner.
>>$ smbldap-useradd.pl -m testuser1
>>failed to perform search; No such object at
>>/usr/local/sbin///smbldap_tools.pm line 154, <DATA> line 283.
>>failed to add entry: modifications require authentication at
>>/usr/local/sbin/smbldap-useradd.pl line 249, <DATA> line 283.
>>No such object at /usr/local/sbin///smbldap_tools.pm line 178, <DATA>
>>line 283.
>>
>>That message seems to indicate that I've not set the tools to choose
>>authentication - I've gone over the permissions settings a few times and
>>things should match up, can anyone help point me in the right direction
>>to look as to why this might be failing?
>>
>>
>>
>>--
>>No virus found in this outgoing message.
>>Checked by AVG Anti-Virus.
>>Version: 7.0.308 / Virus Database: 266.9.4 - Release Date: 4/6/2005
>>
>>
>>--
>>This message has been scanned for viruses and
>>dangerous content, and is believed to be clean.
>>
>>
>
>
>
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.4 - Release Date: 4/6/2005
--
This message has been scanned for viruses and
dangerous content, and is believed to be clean.
More information about the samba
mailing list