Synology LDAP server linux and windows setting

出自 DDCC TCAD TOOL Manual
於 2024年5月26日 (日) 10:08 由 Yrwu (對話 | 貢獻) 所做的修訂 (已建立頁面,內容為 "To make linux working with Synology LDAP server (not AD server). we can follow steps apt-get install -y ldap-utils libpam-ldap libnss-ldap nslcd Then edit /etc/ld...")

(差異) ←上個修訂 | 最新修訂 (差異) | 下個修訂→ (差異)
前往: 導覽搜尋

To make linux working with Synology LDAP server (not AD server). we can follow steps

apt-get install -y ldap-utils libpam-ldap libnss-ldap nslcd

Then edit /etc/ldap.conf

host 192.168.0.2
base dc=synology-wk
uri ldaps://192.168.0.2/
ldap_version 3
binddn
rootbinddn uid=rootuser,cn=users,dc=synology-wk
pam_password md5
nss_initgroups_ignoreusers ajaxterm,amavis,avahi,avahi-autoipd,backup,bin,clamav,colord,couchdb,daemon,dhcp,dovecot,dovenull,festival,games,gdm,gnats,haldaemon,hplip,irc,kernoops,kloglandscape,libuuid,lightdm,list,lp,mail,man,messagebus,mysql,news,nslcd,ntop,ntp,polkituser,postfix,postgrey,proxy,pulse,root,rtkit,saned,speech-dispatcher,sshd,statd,sync,sys,syslog,usbmux,uucp,whoopsie,www-data


cp ldap.conf /etc/ cp nsswitch.conf /etc/ cp ldap.secret /etc/ sudo update-rc.d nslcd enable sudo /etc/init.d/nscd restart