文章分类 | 推荐文章 | 最新文章 | 热点文章 | 最新软件 | 精品软件 | 下载排行 | 推荐下载 | firefox | WPS | 杀毒软件 | Picasa
清风网络
首 页 软件下载 网络学院 数码学院
QQ 电脑入门 游戏 操作系统 图形图像 办公软件 媒体动画 精文荟萃 常用软件 网页编程 技术开发 网络技术 认证考试 网站建设 文章专栏
当前位置:清风网络学院程序开发其他语言samba和openldap结合实战
精品推荐
特别推荐
·给你十条学习Ruby语言的理由
·分页管理机制
·Perl 语言的重要价值体现
·经验技巧:分享两条Delphi开发经验
·Java编程思想:面向对象的逻辑思维方法
·Samba系统简介
热点TOP10
·DENX U-Boot及Linux使用手册
·在VC6中创建wxWidgets项目[附图]
·AIX 5L 学习大纲/简易教程(2)(未经许可,请勿COPY)
·图象处理中的边缘检测------canny算子
·Visual C++ ADO数据库编程入门
·飞机躲避小游戏---是男人就撑100秒的制作
·利用 wordXP 实现自动排班
·[仿真实验]操作系统的内存管理
·三维粒子系统在AS2中的实现
·EZ-USB 68013A开发指南
·跟我一起写 Makefile
·简单架设Jabber 局域网即时通讯服务器
·用汇编编写DOS下的内存驻留程序(3)
·Continuation 和高级流程控制
·数值计算程序大放送-线性代数方程组
·samba和openldap结合实战
·列表视图控件
·Internet Explorer 编程简述(十一)完美的Inplace Drag & Drop——“超级拖放”
·[分形]DLA团簇模型的摸拟
·Palm OS应用程序设计指南之五

samba和openldap结合实战

日期:2008年4月9日 作者:Fandy 查看:[大字体 中字体 小字体]


特别提示:在网上有一些文章介绍可以实现自动创建计算机帐号的方法,不知道可否正常使用,小弟没有试过!
操作如下在smb.conf文件的[global]里加入以下内容(注:适合Samba 3.0版以上):
add machind script = /usr/sbin/useradd –d /dev/null –g 100 –s /bin/false –M %u
-----------------------------------------------------------------------------------------------------------------------

建立目录和更改目录属性操作:

详细操作:
# mkdir /home/netlogon

# mkdir /home/public

启动Samba服务项目:

详细操作:
# service smb start

启动 SMB 服务: [ 确定 ]
启动 NMB 服务: [ 确定 ]

添加Samba admin dn的ldap管理密码(注意密码要和您openldap的rootdn密码要一致啊):

详细操作:
# smbpasswd -w jinbiao

Setting stored password for "cn=Manager,dc=easy,dc=com" in secrets.tdb

使用testparm命令来测试Samba服务器是否正常启动:

详细操作:
# testparm

Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[netlogon]"
Processing section "[public]"
Loaded services file OK.
Server role: ROLE_DOMAIN_PDC
Press enter to see a dump of your service definitions

Sambldap的配置使用过程:

详细操作:
# cd /usr/share/doc/smbldap-tools-0.9.1/

# ./configure.pl

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
smbldap-tools script configuration
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Before starting, check
. if your samba controller is up and running.
. if the domain SID is defined (you can get it with the 'net getlocalsid')

. you can leave the configuration using the Crtl-c key combination
. empty value can be set with the "." character
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Looking for configuration files...

Samba Configuration File Path [/etc/samba/smb.conf] >

The default directory in which the smbldap configuration files are stored is shown.
If you need to change this, enter the full directory path, then press enter to continue.
Smbldap-tools Configuration Directory Path [/etc/smbldap-tools/] >
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Let's start configuring the smbldap-tools scripts ...

. workgroup name: name of the domain Samba act as a PDC
workgroup name [easy-pdc] >
. netbios name: netbios name of the samba controler
netbios name [PDC] >
. logon drive: local path to which the home directory will be connected (for NT Workstations). Ex: 'H:'
logon drive [H:] >
. logon home: home directory location (for Win95/98 or NT Workstation).
(use %U as username) Ex:'\\PDC\%U'
logon home (press the "." character if you don't want homeDirectory) [\\PDC\%U] >
. logon path: directory where roaming profiles are stored. Ex:'\\PDC\profiles\%U'
logon path (press the "." character if you don't want roaming profile) [\\PDC\profiles\%U] > . (输入“.”)
. home directory prefix (use %U as username) [/home/%U] >

上一页 [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] 下一页 




上一篇:用Email免费发送传真

下一篇:C++ 内存布局(二) 虚继承 ---Empty virtual base classs (空虚基类)

samba和openldap结合实战 相关文章:
·Windows Server 2003 安全配置实战演习
·Photoshop商业实战:易拉罐设计
·妙法六则:双机互联上网实战全攻略
·隐蔽流媒体文件下载高级技巧实战
·PHP+Access设计留言版实战
·3DS Max 7客厅装饰设计实战:Lightscape操作流程
·实战台湾麻将
·实战Tomcat与Apache整合
·Visual C# 插件构架实战
·没有AP一样High 无线对等网实战(图)
samba和openldap结合实战 相关软件:
·3ds max & NURBS曲面建模实战教程
·超级短线实战经典
·注册表优化实战练习手册(图文教程 菜鸟先飞系列教材)
·CoreIDRAW实战锦囊
·3ds max & reactor动力学特效实战教程
·《真实战争》简体中文版
·加密与解密实战攻略
·围棋实战训练
·中文版ForntPage 2002实战入门
·Photoshop 6.0实战入门新概念

特别声明:本站除部分特别声明禁止转载的专稿外的其他文章可以自由转载,但请务必注明出处和原始作者。文章版权归文章原始作者所有。对于被本站转载文章的个人和网站,我们表示深深的谢意。如果本站转载的文章有版权问题请联系编辑人员,我们尽快予以更正。
[打印本页] [关闭窗口] 转载请注明来源:http://www.vipcn.com
| 帮助(?) | 版权声明 | 友情连接 | 关于我们 | 信息发布
Copyright 2007 www.vipcn.com All Rights Reserved. 鄂ICP备05000083号Powered by:vipcn