OpenBSD下使用samba

2009-05-13 09:40:07来源:未知 阅读 ()

新老客户大回馈,云服务器低至5折

OpenBSD下使用samba环境:OpenBSD i386 4.0
1、安装samba(如果需要使用swat安装ldap才能使用)
--------------------------------------------------------------
OpenBSD%uname -a
OpenBSD OpenBSD.org 4.0 GENERIC#1107 i386
--------------------------------------------------------------
系统软件包:我这里安装的是samba-3.0.21bp3-ldap,需要安装的依赖包cyrus-sasl-2.1.21p2、libutf8-0.8、openldap-client-2.3.24、popt-1.7p0
--------------------------------------------------------------
OpenBSD%pkg_info
colorls-3.9         ls that can use color to display file attributes
cyrus-sasl-2.1.21p2 RFC 2222 SASL (Simple Authentication and Security Layer)
expat-2.0.0         XML 1.0 parser written in C
gettext-0.14.5p1    GNU gettext
libiconv-1.9.2p3    character set conversion library
libutf8-0.8         provides UTF-8 locale support
openldap-client-2.3.24 Open source LDAP software (client)
popt-1.7p0          getopt(3)-like library with a number of enhancements
samba-3.0.21bp3-ldap SMB and CIFS client and server for UNIX
vim-7.0.42-no_x11   vi clone, many additional features
--------------------------------------------------------------
本地机IP
--------------------------------------------------------------
OpenBSD#ifconfig pcn1
pcn1: flags=8843 mtu 1500
        lladdr 00:0c:29:de:21:78
        media: Ethernet autoselect (autoselect)
        inet 192.168.1.135 netmask 0xffffff00 broadcast 192.168.1.255
        inet6 fe80::20c:29ff:fede:2178%pcn1 prefixlen 64 scopeid 0x2
--------------------------------------------------------------
服务信息(系统默认就有)/etc/services
--------------------------------------------------------------
OpenBSD%cat /etc/services |grep netbios
netbios-ns      137/tcp                         # NETBIOS Name Service
netbios-ns      137/udp
netbios-dgm     138/tcp                         # NETBIOS Datagram Service
netbios-dgm     138/udp
netbios-ssn     139/tcp                         # NETBIOS session service
netbios-ssn     139/udp
--------------------------------------------------------------
2、使用swat
1)、在/etc/services中添加一行swat  901/tcp
--------------------------------------------------------------
OpenBSD%cat /etc/services |grep swat
swat            901/tcp                         # swat

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:123

下一篇:OpenVPN Man