OpenLDAP Server configuration NFS Share, LDAP user Mount home Directory

Source: Internet
Author: User
Tags ldap openldap

Nfs-config () {#服务端配置nfs, #先关闭防火墙或开放端口vi  /etc/servicesmountd 1011/tcp  #rpc .mountd   mountd 1011/udp  #rpc .mountd  rquotad 1012/tcp  #rpc. Rquotad  rquotad  1012/udp  #rpc .rquotadvi /etc/sysconfig/iptables#portmap  -a input -p  tcp --dport 111 -j accept  -a input -p udp --dport 111  -j ACCEPT   #nfsd   -a input -p tcp --dport 2049 -j  accept  -a input -p udp --dport 2049 -j accept  # Mountd  -a input -p tcp --dport 1011 -j accept  -a  INPUT -p udp --dport 1011 -j ACCEPT   #rquotad   -a  INPUT -p tcp --dport 1012 -j ACCEPT  -A INPUT -p  Udp --dport 1012 -j accept   #rpc. statd  -a input -p tcp --dport 32768  -j accept  -a input -p udp --dport 32768 -j acceptyum  -y install nfs-utils rpcbindmkdir /ldapdir/users  #创建共享目录vi  /etc/exports/ ldapdir/users * (Rw,sync) #/usr/local/test/ 192.168.1.226 (Rw,no_root_squash,no_all_squash,sync) exportfs -r  #使配置生效service  rpcbind startservice nfs startchkconfig rpcbind  onchkconfig nfs on}
This article is OPENLDAP Server configuration NFS Share for LDAP users to mount home directories

2016.10.24

This article is from the "Potato It" blog, be sure to keep this source http://malin314.blog.51cto.com/7206614/1864983

OpenLDAP Server configuration NFS Share, LDAP user Mount home Directory

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.