




已阅读5页,还剩3页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
ASA-LDAPASA的基本配置:ciscoasa(config)# inter e0/0ciscoasa(config-if)# ip add 100.1.1.254 255.255.255.0ciscoasa(config-if)# no shciscoasa(config-if)# nameif insideINFO: Security level for inside set to 100 by default.ciscoasa(config-if)# security-level 100 ciscoasa(config-if)# inter e0/2ciscoasa(config-if)# ip add 192.168.2.254 255.255.255.0ciscoasa(config-if)# no shciscoasa(config-if)# nameif dmzINFO: Security level for dmz set to 0 by default.ciscoasa(config-if)# security-level 10ciscoasa(config-if)# ciscoasa(config)# telnet 0 0 inside 在防火墙上开启telnetciscoasa(config)# ciscoasa# ping 192.168.2.1Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds:!Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/10 msciscoasa# client(config)#inter f0/0client(config-if)#ip add 100.1.1.1 255.255.255.0client(config-if)#no shclient(config-if)#endclient#ping 100.1.1.254Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 100.1.1.254, timeout is 2 seconds:.!Success rate is 80 percent (4/5), round-trip min/avg/max = 12/23/32 msclient#在AD上面创建一个用户。ciscoasa(config)# aaa-server win08 protocol ldap 指定防火墙与AD中使用的协议ciscoasa(config-aaa-server-group)# exitciscoasa(config)# aaa-server win08 (dmz) host 192.168.2.1 指定aaa服务器的地方ciscoasa(config-aaa-server-host)# ? AAA server configuration commands: exit Exit from aaa-server host configuration mode help Help for AAA server configuration commands ldap-attribute-map Specify the name of the LDAP attribute mapping table ldap-base-dn Specify the location to begin searching in the LDAP hierarchy ldap-login-dn Specify the DN to be used to bind to the LDAP server ldap-login-password Specify password to be used to bind to the LDAP server ldap-naming-attribute Specify the Relative Distinguished Name attribute that uniquely identifies an entry on the LDAP server ldap-over-ssl Specify if an SSL connection is needed to the LDAP server ldap-scope Specify the extent of the search in the LDAP hierarchy no Remove an item from aaa-server host configuration sasl-mechanism Specify which authentication mechanism(s) to use with the LDAP server server-port Specify the port number to be used for AAA operations server-type Specify the vendor of the LDAP server timeout Specify the maximum time to wait for response from configured serverciscoasa(config-aaa-server-host)# ldap-base-dn DC=zhenyi, DC=com 指定AD的域ciscoasa(config-aaa-server-host)# ciscoasa(config-aaa-server-host)# ldap-scope subtree 在AD中查询的范围ciscoasa(config-aaa-server-host)# ciscoasa(config-aaa-server-host)# ldap-naming-attribute sAMAccountName 查询账户的文件ciscoasa(config-aaa-server-host)# ciscoasa(config-aaa-server-host)# ldap-login-password 123 管理员密码ciscoasa(config-aaa-server-host)# ciscoasa(config-aaa-server-host)# ldap-login-dn cn=administrator, cn=users, dc=zhenyi, dc=com 写出管理员的FQDNciscoasa(config-aaa-server-host)# ciscoasa(config-aaa-server-host)# server-type microsoft 指定服务器的类型ciscoasa(config-aaa-server-host)# exitciscoasa(config)# ciscoasa(config)# aaa authentication telnet console win08 在AAA中调用telnetciscoasa(config)# ciscoasa(config)# ciscoasa(config)# endciscoasa# test aaa-server authentication win08 host 192.168.2.1 测试账户是否成功Username: test1Password: *INFO: Attempting Authentication test to IP address (timeout: 12 seconds)INFO: Authentication Successfulciscoasa# client#client#telnet 100.1.1.254 telnet到ASA上面去,测试成功。Trying 100.1.1.254 . OpenUser Access VerificationUsername: Username: test1Password: *Type help or ? for a list of available commands.ciscoasa ciscoasaciscoasa# debug ldap 255 dabug一下ldap的信息debug ldap enabled at level 255ciscoasa# 3 Session Start3 New request Session, context 0xd886ae30, reqType = 13 Fiber started3 Creating LDAP context with uri=ldap:/192.168.2.1:3893 Connect to LDAP server: ldap:/192.168.2.1:389, status = Successful3 defaultNamingContext: value = DC=zhenyi,DC=com3 supportedLDAPVersion: value = 33 supportedLDAPVersion: value = 23 supportedSASLMechanisms: value = GSSAPI3 supportedSASLMechanisms: value = GSS-SPNEGO3 supportedSASLMechanisms: value = EXTERNAL3 supportedSASLMechanisms: value = DIGEST-MD53 Binding as administrator3 Performing Simple authentication for administrator to 192.168.2.13 LDAP Search: Base DN = DC=zhenyi, DC=com Filter = sAMAccountName=test1 Scope = SUBTREE3 User DN = CN=test1,OU=p1,DC=zhenyi,DC=com3 Talking to Active Directory server 192.168.2.13 Reading password policy for test1, dn:CN=test1,OU=p1,DC=zhenyi,DC=com3 Read bad password count 03 Binding as user3 Performing Simple authentication for test1 to 192.168.2.13 Checking password policy for user test13 Binding as administrator3 Performing Simple authentication for administrator to 192.168.2.13 Authentication successful for test1 to 192.168.2.13 Retrieving user attributes from server 192.168.2.13 Retrieved Attributes:3 objectClass: value = top3 objectClass: value = person3 objectClass: value = organizationalPerson3 objectClass: value = user3 cn: value = test13 sn: value = test13 distinguishedName: value = CN=test1,OU=p1,DC=zhenyi,DC=com3 instanceType: value = 43 whenCreated: value = 20140603023258.0Z3 whenChanged: value = 20140603023258.0Z3 displayName: value = test13 uSNCreated: value = 140103 uSNChanged: value = 140153 name: value = test13 objectGUID: value = G.fEJ.3 userAccountControl: value = 660483 badPwdCount: value = 03 codePage: value = 03 countryCode: value = 03 badPasswordTime: value = 03 lastLogoff: value = 03 lastLogon: value = 03 pwdLastSet: value = 1304623637803900003 primaryGroupID: value = 5133 objectSid: value = .7.p.%.0.T.S.3 accountExpires: value =
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 互联网金融平台合规发展动态与风险管理策略研究报告
- 欧文集体歪头看课件
- 监狱公选面试题库及答案
- 三基提升竞赛复习测试卷附答案
- 2025年电子竞技赛事赞助策略:深度解析品牌合作新趋势报告
- 贵州警务辅助管理办法
- 财务专业提升管理办法
- 九、制造业标杆企业绿色制造技术应用分析报告
- 速写技能面试题目及答案
- 建设部购房合同
- 2025年中国物流集团国际物流事业部招聘面试经验及模拟题集
- 乡镇安全培训课件
- 2025年航空业面试者必看航空公司招聘笔试预测试题及答案
- 2025年全国企业员工全面质量管理知识竞赛题及参考答案
- 2025年《中华人民共和国民法典》网络知识竞赛100题题库(含答案)
- 2025秋仁爱科普版(2024)七年级上册英语教学计划
- 2025四川省公安厅招聘辅警(448人)笔试参考题库附答案解析
- 《非物质文化遗产概论(第三版)》全套教学课件
- 2025新疆天泽和达水务科技有限公司部分岗位社会招聘28人笔试备考题库及答案解析
- 中望CAD机械版使用手册
- 定额〔2025〕1号文-关于发布2018版电力建设工程概预算定额2024年度价格水平调整的通知
评论
0/150
提交评论