免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1943 | 回复: 1
打印 上一主题 下一主题

[proxy] ldap认证配置时候遇到不解的地方 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-01-25 16:06 |只看该作者 |倒序浏览
auth_param basic program /usr/lib/squid/ldap_auth -R
        -b "dc=vm-domain,dc=papercut,dc=biz"
        -D "cn=Administrator,cn=Users,dc=your,dc=domain,dc=com"
        -w "password" -f sAMAccountName=%s -h 192.168.1.75
    auth_param basic children 5
    auth_param basic realm Your Organisation Name
    auth_param basic credentialsttl 5 minutes

请各位指导以下这里的 -f参数是什么意思,我英文比较搓,资料看不太懂

论坛徽章:
0
2 [报告]
发表于 2007-01-26 11:53 |只看该作者
squid_ldap_auth -h
Usage: squid_ldap_auth -b basedn [options] [ldap_server_name[:port]]...

        -b basedn (REQUIRED)    base dn under which to search 搜索指定的base dn
        -f filter               search filter to locate user DN   本地的DN用戶信息搜索過濾條件
        -u userattr             username DN attribute  用戶名的DN屬性
        -D binddn               DN to bind as to perform searches  綁定其他的DN搜索
        -w bindpasswd           password for binddn  綁定DN的密碼
        -W secretfile           read password for binddn from file secretfile 搜索綁定DN時使用的密碼
        -H URI                  LDAPURI (defaults to ldap://localhost) 指向其他LDAP服務器
        -h server               LDAP server (defaults to localhost)  一般都指為本地LDAP
        -p port                 LDAP server port     LDAP端口
        -P                      persistent LDAP connection  不中斷對LDAP服務器的連接
        -c timeout              connect timeout   連接超時的時間段
        -t timelimit            search time limit  最小的搜索時間
        -v 2|3                  LDAP version  LDAP的版本
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP