服务器 Gind.cn

服务器问题集锦,包括 Linux(Ubuntu, Centos,Debian等)和Windows Server服务器

openSuse和openldap:只有ldaplogin

我设法设置ldap服务器,我可以从服务器机器成功地search它。 我已经添加到数据库的所有信息,除了从fstab文件和automount信息。 我也成功迁移了sudoers文件。 我使用padl脚本。 但是我想通过ldaplogin无线客户端,我不能。 我所做的是从我运行的客户端 pam-config -a –ldap 并编辑nsswitch.conf以允许ldap绑定。 当我login,如果我已经从/ etc / passwd擦除了我的本地帐户,我有一个关键的login错误,几分钟后我得到一个login提示,但我的input不显示在屏幕上(尽pipe事实上,我input)。 在服务器上,我可以看到客户端已成功查询服务器的活动,服务器接受连接,但经过一些读取之后写入两台机器之间的密码消息,我看到一些条目 TLS trace: SSL_accept:error in SSLv2/v3 read client hello A TLS: can't accept: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol. 50aba02e connection_read(16): TLS accept failure error=-1 id=1508, closing 50aba04c conn=1510 fd=16 closed (TLS negotiation failure) 但是我已经在客户机和服务器机器上configuration了正确的tls指令(ldap.conf文件是相同的).cacert.pem被复制到客户端。 slapd.conf中的服务器不必validation客户端证书。 这里是slapd.conf中的条目 TLSCACertificateFile /etc/openldap/cacert.pem TLSCertificateFile /etc/openldap/newcert.pem TLSCertificateKeyFile /etc/openldap/newkey.pem TLSVerifyClient […]

Apache 2.4代理服务器获取客户端身份validation,但不传递给Tomcat

我以前已经有Apache 2.2.17作为反向代理运行,它将请求客户端authentication(使用SSLVerifyClient),并将authentication传递给jetty / tomcat应用程序servlet引擎。 然后我的Java应用程序会从请求中读取这个信息(x509Certificate)。 当升级到新服务器时,我们决定迁移到最新版本的Apache,但这个过程似乎不再起作用。 Apache仍然要求客户端身份validation,但似乎没有传递给Tomcat。 以下是工作(v2.2.17)httpd.conf文件的相关位: <VirtualHost _default_:443> ServerName xxxxxxxx SSLEngine On SSLCertificateFile conf/ssl-prod/xxxxxxxx.crt SSLCertificateKeyFile conf/ssl-prod/xxxxxxxx.key SSLCACertificatePath conf/ssl.certs/ <Location /> ProxyPass http://xxxxxxxx:8009/ ProxyPassReverse http://xxxxxxxx:8009/ Order deny,allow Allow from all </Location> <Location /login/> SSLVerifyClient optional SSLVerifyDepth 10 ProxyPass http://xxxxxxxx:8009/ ProxyPassReverse http://xxxxxxxx:8009/ Order deny,allow Allow from all </Location> </VirtualHost> 所以,这只是一个标准的SSL代理,直到用户转到“login”文件夹中的一个页面,此时apache要求客户端进行身份validation。 我已经尝试设置一些其他variables,看看是否会导致它ProxyAddHeaders ProxyPreserverHost上(和closures),但没有成功的工作。 我们在移植到2.2.23分支的最新版本时也遇到了同样的问题,但是当我们复制旧版本的时候,我们正在使用新的服务器。 唯一的区别是我们正在从32位服务器转移到64位服务器(都使用ApacheLounge可执行文件的Windows)。 有任何想法吗?