我在查露西。我已经设置了openldap和samba一段时间前,这个问题一直存在,我仍然不知道如何解决它。我使用webmin的LDAP客户端创建一个"testuser“帐户,并获得以下错误:
failed to save user : /usr/bin/pdbedit failed :
pdb_set_user_sid_from_string: -21020 isn't a valid SID!
init_sam_from_ldap: no sambaSID or sambaSID attribute found for this user atest
ldapsam_gets
我正在尝试创建一个web服务器,它需要在服务器内部进行一些用户身份验证。我需要使用Perl来完成此任务,因此我决定尝试在localhost中使用LDAP服务器。 我一直在尝试使用下面的脚本。一切都配置正确(当我试图搜索已经配置好的条目时),但是,当我试图运行脚本时,它告诉我“索引生成失败”。 my $ldap = Net::LDAP->new( '127.0.0.1' ) or die "$@";
my $mesg = $ldap->bind ('cn=admin, dc=ramal, dc=com',
以下LDAP URL身份验证不适用于ubuntu14.04LTS服务器上的mediawiki,该服务器运行在ubuntu9.10服务器上。
cat /etc/apache2/站点-现有/global.conf
<Directory /mediawiki>
Options +FollowSymLinks
AllowOverride all
order allow,deny
allow from all
AuthType Basic
AuthName "Web Site Authenti