<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Jumpserver on HiDa</title><link>https://www.0niu.cn/tags/jumpserver/</link><description>Recent content in Jumpserver on HiDa</description><generator>Hugo -- gohugo.io</generator><language>zh</language><lastBuildDate>Wed, 01 Jun 2022 02:41:37 +0800</lastBuildDate><atom:link href="https://www.0niu.cn/tags/jumpserver/index.xml" rel="self" type="application/rss+xml"/><item><title>为Jumpserver配置RADIUS服务</title><link>https://www.0niu.cn/posts/%E4%B8%BAjumpserver%E9%85%8D%E7%BD%AEradius%E6%9C%8D%E5%8A%A1/</link><pubDate>Wed, 01 Jun 2022 02:41:37 +0800</pubDate><guid>https://www.0niu.cn/posts/%E4%B8%BAjumpserver%E9%85%8D%E7%BD%AEradius%E6%9C%8D%E5%8A%A1/</guid><description>&lt;p>用&lt;a href="https://jumpserver.org/">jumpserver&lt;/a>自建的堡垒机,已有用户是LDAP导入的。现在需要添加新的用户，用其他域认证。Jumpserver目前不能绑定两个LDAP服务器,所以考虑用RADIUS协议认证。&lt;/p>
&lt;ul>
&lt;li>Jumpserver上配置RADIUS服务器的IP,端口和密码即可。&lt;/li>
&lt;li>RADIUS服务器用的Windrows的“网络策略服务器”角色。&lt;/li>
&lt;/ul></description><content>&lt;p>用&lt;a href="https://jumpserver.org/">jumpserver&lt;/a>自建的堡垒机,已有用户是LDAP导入的。现在需要添加新的用户，用其他域认证。Jumpserver目前不能绑定两个LDAP服务器,所以考虑用RADIUS协议认证。&lt;/p>
&lt;ul>
&lt;li>Jumpserver上配置RADIUS服务器的IP,端口和密码即可。&lt;/li>
&lt;li>RADIUS服务器用的Windrows的“网络策略服务器”角色。&lt;/li>
&lt;/ul>
&lt;h2 id="配置方法">配置方法：&lt;/h2>
&lt;ul>
&lt;li>点击“策略”，在“网络策略”上面右击，点击“新建”。&lt;/li>
&lt;li>策略名称随意，点击“下一步”。&lt;/li>
&lt;li>条件选择
&lt;ul>
&lt;li>NAS标识符 django-radius&lt;/li>
&lt;li>客户端友好名称 jumpserver&lt;/li>
&lt;li>NASIPv4地址 堡垒机地址&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>选择“已授予访问权限”&lt;/li>
&lt;li>验证方法选择“未加密的身份验证（PAP,SPAP）”&lt;/li>
&lt;li>其他保持默认，直至完成&lt;/li>
&lt;/ul></content></item><item><title>Jumpserver与AD集成无法登陆问题</title><link>https://www.0niu.cn/posts/jumpserver%E4%B8%8Ead%E9%9B%86%E6%88%90%E6%97%A0%E6%B3%95%E7%99%BB%E9%99%86%E9%97%AE%E9%A2%98/</link><pubDate>Wed, 04 Sep 2019 19:52:59 +0800</pubDate><guid>https://www.0niu.cn/posts/jumpserver%E4%B8%8Ead%E9%9B%86%E6%88%90%E6%97%A0%E6%B3%95%E7%99%BB%E9%99%86%E9%97%AE%E9%A2%98/</guid><description>&lt;p>利用开源堡垒机jumpserver搭建了公司的堡垒机，顺便配置了AD集成服务，但是一直报错，提示用户不存在。后来发现是因为用户的CN属性有中文，配置改成下面就可以了。&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span> 用户过滤器 (sAMAccountName=%(user)s)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> LDAP属性映射 {&amp;#34;username&amp;#34;: &amp;#34;sAMAccountName&amp;#34;, &amp;#34;name&amp;#34;: &amp;#34;cn&amp;#34;, &amp;#34;email&amp;#34;: &amp;#34;mail&amp;#34;}
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description><content>&lt;p>利用开源堡垒机jumpserver搭建了公司的堡垒机，顺便配置了AD集成服务，但是一直报错，提示用户不存在。后来发现是因为用户的CN属性有中文，配置改成下面就可以了。&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span> 用户过滤器 (sAMAccountName=%(user)s)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> LDAP属性映射 {&amp;#34;username&amp;#34;: &amp;#34;sAMAccountName&amp;#34;, &amp;#34;name&amp;#34;: &amp;#34;cn&amp;#34;, &amp;#34;email&amp;#34;: &amp;#34;mail&amp;#34;}
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>&lt;img loading='lazy' src="https://cdn.hida.in/img/jumpserver-LDAPConfig.jpg" alt="jumpserver" />
&lt;/p>
&lt;p>&lt;a href="https://blog.51cto.com/12185273/2148746?utm_source=oschina-app">参考链接&lt;/a>&lt;/p></content></item></channel></rss>