Articles of authentication

仅与OpenLDAP slapd-meta后端返回第一个匹配项?

我将OpenLDAPconfiguration为在三个不同的后端之前充当元目录: database meta uri "ldap://ldap1.example.com/ou=domain1,o=combined" uri "ldap://ldap2.example.com/ou=domain2,o=combined" uri "ldap://ldap3.example.com/ou=domain3,o=combined" # …and some suffixmap rules… 我无法控制任何后端目录服务器。 后端提供了部分重叠的信息,有可能有人在不同的后端服务器上拥有相同用户名但密码不同的帐户。 是否有可能在后端执行某种sorting,使得(a)OpenLDAP将总是以相同的顺序查询后端,(b)在find匹配之后返回单个结果(并停止search)? 据我所知,可以并行查询后端,也可以按照与slapd.conf中列出的顺序无关的顺序进行查询。

configurationwinbind检查AD中的多个属性?

我已经winbind运行,并authentication工作正常。 在login时提示用户提供用户名检查的AD属性的凭据? 这是名字吗? sAMAccountName赋? CN? 后续的是,我可以通过authconfig或smb.conf对winbind进行更改,以允许两个可能的匹配? 例如,我想让用户能够在login时提供ID号(当前工作)和/或电子邮件用户名(属性是AD中的mailnickname) 编辑:这是不可能的?

尝试使用PuTTY(如实用程序KiTTY)时,ssh到prgmr框错误

我最近在prgmr上find了一个箱子。 兴奋的是,我试图用我的用户名密码在KiTTY (这基本上是一个改进的PuTTY)login,并得到以下错误,在截图中显示。 现在,当使用Linuxterminal时,我可以很好地连接。 在这种情况下的身份validation是有点不同,因为,成功身份validation后,它显示了一个菜单,其中有一些选项,您可以select启动/停止/重新启动服务器等 我GOOGLE了一下,知道它与Kerberos和身份validation有关,我需要在KiTTY的SSH> Auth部分启用一些设置。 我尝试启用/禁用,并尝试一切,但仍然得到这个错误。 任何帮助深表感谢 谢谢

我把我的数据库移动到一个新的服务器,但现在用户不能访问新的数据库,我该如何解决这个问题?

所以,正如我在过去的问题中提到的那样,我把数据库移到了新的服务器上,但是旧的代码无法访问数据库。 查询错误,如果有帮助: Warning: pg_connect(): Unable to connect to PostgreSQL server: FATAL: password authentication failed for user someuser 现在,我已经在线阅读,我是否认为这需要修改pg_hba.conf文件。 但! 我找不到这个文件。 我的数据库集群存储在/var/lib/postgresql/9.0,但是那里没有pg_hba文件! 有人可能已经将它从默认目录中移走,并将其存储在谁在哪里。 所以,我的问题是,我可以通过编辑pg_hba文件来修复用户未authentication的问题(我曾经想过,当你做了一个pg_dump并恢复数据库,authentication的用户会来,但也许这是错的),如果我需要访问pg_hba文件,我怎么find它? 如果有帮助,我正在使用Ubuntu。 谢谢你的一切。

是否有可能通过SSH守护进程规避公钥authentication限制?

我的虚拟主机计划不支持公钥authentication,但是在Web主机不支持的公钥authentication中给出的build议。 避免input密码的方法? 问题表明有可能实现使用SSH守护进程? 有没有可能做,如果是的话如何?

如何实现局域网的鱿鱼authentication

我正在做我最后一年使用squid作为代理服务器的项目,我需要在任何人都可以访问互联网之前实现一些安全的身份validation方式。 我如何去做呢? 我正在使用MySQL作为我的数据库,我可以这样做,还是有另一种方式来做到这一点?

libapache2-mod-auth-pgsql和ssl-cert在CentOS中相当

我之前从Ubuntu切换到CentOS。 现在,我面临这个问题: 试图安装我之前安装在Ubuntu中的软件,我停在了需要安装上述模块的地方: libapache2-mod-auth-pgsql和ssl-cert 。 任何人都可以告诉我如何将它们安装在CentOS或一些等效的库? 谢谢!

如何使用公钥authentication在服务器之间build立ssh连接

我正在build立连续集成(CI)服务器和testingWeb服务器。 我想CI服务器将访问公钥authentication的Web服务器。 在Web服务器中,我创build了一个用户并生成了密钥 sudo useradd -d /var/www/user -m user sudo passwd user sudo su user ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/var/www/user/.ssh/id_rsa): Created directory '/var/www/user/.ssh'. Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /var/www/user/.ssh/id_rsa. Your public key […]

无法为Reporting ServicesconfigurationKerberos

上下文 我正在尝试在域中configurationKerberos进行双跃点validation。 所以这里是机器和他们各自的angular色: client01 :Windows 7作为客户端 dc01 :Windows Server 2008 R2作为域控制器和dns server01 :Windows Server 2008 R2作为报告服务器( server01模式) server02 :Windows Server 2008 R2作为SQL Server数据库引擎 我希望我的client01连接到server01并使用集成安全性configuration位于server02上的数据源。 所以,作为NTLM无法推送凭据,我需要设置Kerberos启用双跳authentication。 报告服务由networking服务服务帐户运行,并仅使用RSWindowsNegotiate选项进行configuration以进行身份​​validation。 问题 在server02configuration数据源时,我无法将client01凭证传递给server01 。 所以我得到的错误: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'. 所以我继续dc01并委托完全信任任何服务到server01但它没有解决问题。 我想要注意的是,我没有为server01configuration任何SPN,因为Reporting Service是由networking服务运行的,从我在Internet上阅读的内容来看,当Reporting Services与networking服务一起上线时,SPN会自动注册。 我的问题是,即使我想手动configurationSPN,我不知道我必须设置它们。 在dc01或在server01 ? 所以我在这个问题上进一步讨论了这个问题。 从我对Kerberos的理解中,当我尝试连接数据源时,这是networking上应该发生的事情: client01 —- AS_REQ —> dc01 <— AS_REP —- client01 […]

无法在uWSGI的子目录上正确configurationnginx的HTTPauthentication

我有一个nginx.conf ,看起来像这样: server { server_name subdomain.example.com; listen 443 ssl; ssl_certificate /srv/ssl/something.crt; ssl_certificate_key /srv/ssl/something.key; access_log /var/log/something-nginx-access.log; error_log /var/log/something-nginx-error.log; location /private { try_files $uri @yourapplication; } location @yourapplication { include uwsgi_params; uwsgi_pass 127.0.0.1:3131; auth_basic "Restricted"; auth_basic_user_file /home/ubuntu/something.htpassword; } location / { try_files $uri @yourapplication; } location @yourapplication { include uwsgi_params; uwsgi_pass 127.0.0.1:3131; } keepalive_timeout 70; } server […]