<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: how can I differentiate b/w LDAP master/client servers? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-can-i-differentiate-b-w-ldap-master-client-servers/m-p/4637121#M40900</link>
    <description>1) How can I find the list of LDAP client servers from the master server?&lt;BR /&gt;&lt;BR /&gt;look for the file &lt;BR /&gt;&lt;BR /&gt;/etc/openldap/slapd.conf&lt;BR /&gt;&lt;BR /&gt;toward the end..&lt;BR /&gt;&lt;BR /&gt;------------&lt;BR /&gt;replica host=&lt;LDAP-SLAVE&gt;.com:389&lt;BR /&gt;...&lt;BR /&gt;replica host=&lt;LDAP-SLAVE2&gt;.com:389&lt;BR /&gt;...&lt;BR /&gt;replica host=&lt;LDAP-SLACVE&gt;.com:389&lt;BR /&gt;------------&lt;BR /&gt;&lt;BR /&gt;2) Also very strange that, on one of the LDAP client server, I unable to see startup script in /etc/init.d&lt;BR /&gt;&lt;BR /&gt;but i see the appropiate entry in /etc/nsswitch.conf&lt;BR /&gt;&lt;BR /&gt;NSSWITCH file just tells you in what order find user information. If it lists LDAP, that only means check with LDAP for user information. It does NOT imply that LDAP has to be locally running. &lt;BR /&gt;&lt;BR /&gt;/etc/init.d is just recommendation for administrator, it is not mandatory to have start file there. LDAP can be started from anywhere else or manually. Make sure it is running on this box.&lt;BR /&gt;&lt;BR /&gt;OB&lt;/LDAP-SLACVE&gt;&lt;/LDAP-SLAVE2&gt;&lt;/LDAP-SLAVE&gt;</description>
    <pubDate>Wed, 26 May 2010 17:10:01 GMT</pubDate>
    <dc:creator>IT Csar</dc:creator>
    <dc:date>2010-05-26T17:10:01Z</dc:date>
    <item>
      <title>how can I differentiate b/w LDAP master/client servers?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-i-differentiate-b-w-ldap-master-client-servers/m-p/4637116#M40895</link>
      <description>Hello Gurus,&lt;BR /&gt;&lt;BR /&gt;I am on a linux server, and I am aware that there are few users are from ldap service, not a local one.&lt;BR /&gt;My doubt here is&lt;BR /&gt;&lt;BR /&gt;1) How can I understand, which is the master LDAP server of this?&lt;BR /&gt;2) (or) probably, how can I differentiate b/w LDAP master/client servers?</description>
      <pubDate>Tue, 25 May 2010 12:09:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-i-differentiate-b-w-ldap-master-client-servers/m-p/4637116#M40895</guid>
      <dc:creator>bullz</dc:creator>
      <dc:date>2010-05-25T12:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: how can I differentiate b/w LDAP master/client servers?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-i-differentiate-b-w-ldap-master-client-servers/m-p/4637117#M40896</link>
      <description>1) How can I understand, which is the master LDAP server of this?&lt;BR /&gt;&lt;BR /&gt;Check the uri or host definition in /etc/ldap.conf&lt;BR /&gt;&lt;BR /&gt;2) (or) probably, how can I differentiate b/w LDAP master/client servers?&lt;BR /&gt;&lt;BR /&gt;Maybe you are trying to identify if a user is on the passwd database or ldap database&lt;BR /&gt;&lt;BR /&gt;# getent -s files passwd&lt;BR /&gt;# getent -s ldap passwd</description>
      <pubDate>Tue, 25 May 2010 20:44:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-i-differentiate-b-w-ldap-master-client-servers/m-p/4637117#M40896</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2010-05-25T20:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: how can I differentiate b/w LDAP master/client servers?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-i-differentiate-b-w-ldap-master-client-servers/m-p/4637118#M40897</link>
      <description>&lt;!--!*#--&gt;Some clarification about LDAP servers:&lt;BR /&gt;&lt;BR /&gt;1- LDAP server can be either master or slave. The master LDAP server is one who can modify DB and push changes to the slaves. The slave LDAP server can NOT modify any entry in LDAP DB&lt;BR /&gt;&lt;BR /&gt;2- /etc/ldap.conf file usually will have URL pointing to one or more LDAP servers. If more than one address is configured in /etc/ldap.conf, the requests will be sent to the first responding one. They are only for fail over, not for load balancing.&lt;BR /&gt;&lt;BR /&gt;3- I am not sure whether LDAP client can distinguish between master and slave LDAP servers.&lt;BR /&gt;&lt;BR /&gt;4- first, check /etc/nsswitch file to understand in waht order user data is accessed, for instance:&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;passwd:     files ldap nis&lt;BR /&gt;shadow:     files ldap nis&lt;BR /&gt;group:      files ldap nis&lt;BR /&gt;---&lt;BR /&gt;&lt;BR /&gt;means 1st from /etc/passwd, then from LDAP and finally from NIS.&lt;BR /&gt;&lt;BR /&gt;5- when in doubt, check whether user is in your local /etc/passwd file, then in LDAP&lt;BR /&gt;&lt;BR /&gt;ldapsearch -x -h &lt;LDAPSERVERHOSTNAME&gt; -b dc=company,dc=com uid=&lt;USERNAME&gt;&lt;BR /&gt;&lt;BR /&gt;or &lt;BR /&gt;&lt;BR /&gt;ldapsearch -x -h &lt;LDAPSERVERHOSTNAME&gt; -b dc=company,dc=com cn=&lt;USERNAME&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;OB&lt;BR /&gt;&lt;/USERNAME&gt;&lt;/LDAPSERVERHOSTNAME&gt;&lt;/USERNAME&gt;&lt;/LDAPSERVERHOSTNAME&gt;</description>
      <pubDate>Wed, 26 May 2010 00:12:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-i-differentiate-b-w-ldap-master-client-servers/m-p/4637118#M40897</guid>
      <dc:creator>IT Csar</dc:creator>
      <dc:date>2010-05-26T00:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: how can I differentiate b/w LDAP master/client servers?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-i-differentiate-b-w-ldap-master-client-servers/m-p/4637119#M40898</link>
      <description>Hello Gurus,&lt;BR /&gt;Well spotted. Thanks. Points are given.&lt;BR /&gt;&lt;BR /&gt;One more doubt.&lt;BR /&gt;&lt;BR /&gt;Now I found the master LDAP server, thanks for this.&lt;BR /&gt;1) How can I find the list of LDAP client servers from the master server?&lt;BR /&gt;2) Also very strange that, on one of the LDAP client server, I unable to see startup script in /etc/init.d&lt;BR /&gt;&lt;BR /&gt;but i see the appropiate entry in /etc/nsswitch.conf&lt;BR /&gt;&lt;BR /&gt;passwd:     files ldap&lt;BR /&gt;&lt;BR /&gt;Please advise</description>
      <pubDate>Wed, 26 May 2010 08:53:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-i-differentiate-b-w-ldap-master-client-servers/m-p/4637119#M40898</guid>
      <dc:creator>bullz</dc:creator>
      <dc:date>2010-05-26T08:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: how can I differentiate b/w LDAP master/client servers?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-i-differentiate-b-w-ldap-master-client-servers/m-p/4637120#M40899</link>
      <description>Hi Bullz,&lt;BR /&gt;&lt;BR /&gt;For more information on LDAP, refer the following link -&lt;BR /&gt;&lt;A href="http://tldp.org/HOWTO/html_single/LDAP-HOWTO/" target="_blank"&gt;http://tldp.org/HOWTO/html_single/LDAP-HOWTO/&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://linux.about.com/library/cmd/blcmdl5_ldap.conf.htm" target="_blank"&gt;http://linux.about.com/library/cmd/blcmdl5_ldap.conf.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Murali</description>
      <pubDate>Wed, 26 May 2010 10:06:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-i-differentiate-b-w-ldap-master-client-servers/m-p/4637120#M40899</guid>
      <dc:creator>P Muralidhar Kini</dc:creator>
      <dc:date>2010-05-26T10:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: how can I differentiate b/w LDAP master/client servers?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-i-differentiate-b-w-ldap-master-client-servers/m-p/4637121#M40900</link>
      <description>1) How can I find the list of LDAP client servers from the master server?&lt;BR /&gt;&lt;BR /&gt;look for the file &lt;BR /&gt;&lt;BR /&gt;/etc/openldap/slapd.conf&lt;BR /&gt;&lt;BR /&gt;toward the end..&lt;BR /&gt;&lt;BR /&gt;------------&lt;BR /&gt;replica host=&lt;LDAP-SLAVE&gt;.com:389&lt;BR /&gt;...&lt;BR /&gt;replica host=&lt;LDAP-SLAVE2&gt;.com:389&lt;BR /&gt;...&lt;BR /&gt;replica host=&lt;LDAP-SLACVE&gt;.com:389&lt;BR /&gt;------------&lt;BR /&gt;&lt;BR /&gt;2) Also very strange that, on one of the LDAP client server, I unable to see startup script in /etc/init.d&lt;BR /&gt;&lt;BR /&gt;but i see the appropiate entry in /etc/nsswitch.conf&lt;BR /&gt;&lt;BR /&gt;NSSWITCH file just tells you in what order find user information. If it lists LDAP, that only means check with LDAP for user information. It does NOT imply that LDAP has to be locally running. &lt;BR /&gt;&lt;BR /&gt;/etc/init.d is just recommendation for administrator, it is not mandatory to have start file there. LDAP can be started from anywhere else or manually. Make sure it is running on this box.&lt;BR /&gt;&lt;BR /&gt;OB&lt;/LDAP-SLACVE&gt;&lt;/LDAP-SLAVE2&gt;&lt;/LDAP-SLAVE&gt;</description>
      <pubDate>Wed, 26 May 2010 17:10:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-i-differentiate-b-w-ldap-master-client-servers/m-p/4637121#M40900</guid>
      <dc:creator>IT Csar</dc:creator>
      <dc:date>2010-05-26T17:10:01Z</dc:date>
    </item>
  </channel>
</rss>

