<?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: &amp;quot;wbinfo -u&amp;quot; works but &amp;quot;getent passwd&amp;quot; does not in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/quot-wbinfo-u-quot-works-but-quot-getent-passwd-quot-does-not/m-p/5121249#M49908</link>
    <description>Amazingly enough this obscure little site gave me the answer. I'll paste the URL below so that anyone that encounters the same problem can find the solution. Somehow the Winbind Daemon got "confused."&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.aerospacesoftware.com/LinuxActiveDirectory.html" target="_blank"&gt;http://www.aerospacesoftware.com/LinuxActiveDirectory.html&lt;/A&gt;</description>
    <pubDate>Wed, 23 Jul 2008 21:03:04 GMT</pubDate>
    <dc:creator>Firebird_1</dc:creator>
    <dc:date>2008-07-23T21:03:04Z</dc:date>
    <item>
      <title>"wbinfo -u" works but "getent passwd" does not</title>
      <link>https://community.hpe.com/t5/operating-system-linux/quot-wbinfo-u-quot-works-but-quot-getent-passwd-quot-does-not/m-p/5121248#M49907</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;First off thanks for viewing this and offering suggestions.&lt;BR /&gt;&lt;BR /&gt;What I can do:&lt;BR /&gt;&lt;BR /&gt;authenticate via kerberos&lt;BR /&gt;join the ADS domain&lt;BR /&gt;=&amp;gt; gives message "Joined SERVER to MYDOMAIN"&lt;BR /&gt;run wbinfo -u &amp;amp; -g&lt;BR /&gt;=&amp;gt; returns full list of AD users &amp;amp; groups&lt;BR /&gt;&lt;BR /&gt;What seems odd:&lt;BR /&gt;&lt;BR /&gt;wbinfo -m does not return the name of the default domain in any of my config files&lt;BR /&gt;&lt;BR /&gt;What I can't do:&lt;BR /&gt;&lt;BR /&gt;running getent passwd does not return AD users, only local users&lt;BR /&gt;&lt;BR /&gt;My nsswitch.conf file:&lt;BR /&gt;passwd:     files winbind&lt;BR /&gt;shadow:     files winbind&lt;BR /&gt;group:      files winbind&lt;BR /&gt;&lt;BR /&gt;ethers:     files&lt;BR /&gt;netmasks:   files&lt;BR /&gt;networks:   files&lt;BR /&gt;protocols:  files winbind&lt;BR /&gt;rpc:        files&lt;BR /&gt;services:   files winbind&lt;BR /&gt;&lt;BR /&gt;netgroup:   files winbind&lt;BR /&gt;&lt;BR /&gt;publickey:  nisplus&lt;BR /&gt;&lt;BR /&gt;automount:  files winbind&lt;BR /&gt;aliases:    files nisplus&lt;BR /&gt;&lt;BR /&gt;My smb.conf file:&lt;BR /&gt;workgroup = MYWORKGROUP&lt;BR /&gt;   realm = MYDOMAIN&lt;BR /&gt;   security = ads&lt;BR /&gt;&lt;BR /&gt;   password server = 192.168.111.2&lt;BR /&gt;        server string = Linux Server&lt;BR /&gt;&lt;BR /&gt;  #Samba Performance&lt;BR /&gt;        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192&lt;BR /&gt;        client schannel = no&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;        preferred master = no&lt;BR /&gt;        log level = 3&lt;BR /&gt;        log file = /var/log/samba/%m.log&lt;BR /&gt;        max log size = 50&lt;BR /&gt;        printcap name = cups&lt;BR /&gt;        printing = cups&lt;BR /&gt;&lt;BR /&gt;   # Winbind Settings&lt;BR /&gt;   winbind separator = +&lt;BR /&gt;   winbind use default domain = yes&lt;BR /&gt;   idmap uid = 10000-20000&lt;BR /&gt;   idmap gid = 10000-20000&lt;BR /&gt;        winbind enum users = yes&lt;BR /&gt;        winbind enum groups = yes&lt;BR /&gt;        winbind cache time = 10&lt;BR /&gt;        pass db backend = tdbsam&lt;BR /&gt;&lt;BR /&gt;   template shell = /bin/bash&lt;BR /&gt;        pam password change = yes&lt;BR /&gt;&lt;BR /&gt;   template homedir = /home/mydomain/%U&lt;BR /&gt;&lt;BR /&gt;        server signing = auto&lt;BR /&gt;        wins server = 192.168.111.2&lt;BR /&gt;&lt;BR /&gt;        dns proxy = no&lt;BR /&gt;[samba]&lt;BR /&gt;        comment = My Samba Share&lt;BR /&gt;&lt;BR /&gt;        path = /shares/samba&lt;BR /&gt;&lt;BR /&gt;        writeable = yes&lt;BR /&gt;&lt;BR /&gt;[homes]&lt;BR /&gt;        comment = Home Directories&lt;BR /&gt;        path = /home/mydomain/%U&lt;BR /&gt;  root preexec = usr/local/sbin/mkhomedir.sh %U&lt;BR /&gt;        valid users = %S&lt;BR /&gt;        writeable = yes&lt;BR /&gt;&lt;BR /&gt;[printers]&lt;BR /&gt;        comment = All Printers&lt;BR /&gt;        path = /car/spool/cups&lt;BR /&gt;        browseable = no&lt;BR /&gt;        printable = yes&lt;BR /&gt;        guest ok = yes&lt;BR /&gt;&lt;BR /&gt;[schema]&lt;BR /&gt;        comment = V8 Schema&lt;BR /&gt;        path = /var/www/html/schema&lt;BR /&gt;        writeable = yes&lt;BR /&gt;        guest ok = yes&lt;BR /&gt;&lt;BR /&gt;of course MYWORKGROUP refers to the name of the workgroup in use and MYDOMAIN refers to the Domain with the ADS.&lt;BR /&gt;&lt;BR /&gt;Any ideas on this one?&lt;BR /&gt;From what I've seen, it's most commonly a nsswitch.conf fie problem but I've tripple checked that.&lt;BR /&gt;&lt;BR /&gt;Thanks for your help.</description>
      <pubDate>Wed, 23 Jul 2008 18:49:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/quot-wbinfo-u-quot-works-but-quot-getent-passwd-quot-does-not/m-p/5121248#M49907</guid>
      <dc:creator>Firebird_1</dc:creator>
      <dc:date>2008-07-23T18:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: "wbinfo -u" works but "getent passwd" does not</title>
      <link>https://community.hpe.com/t5/operating-system-linux/quot-wbinfo-u-quot-works-but-quot-getent-passwd-quot-does-not/m-p/5121249#M49908</link>
      <description>Amazingly enough this obscure little site gave me the answer. I'll paste the URL below so that anyone that encounters the same problem can find the solution. Somehow the Winbind Daemon got "confused."&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.aerospacesoftware.com/LinuxActiveDirectory.html" target="_blank"&gt;http://www.aerospacesoftware.com/LinuxActiveDirectory.html&lt;/A&gt;</description>
      <pubDate>Wed, 23 Jul 2008 21:03:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/quot-wbinfo-u-quot-works-but-quot-getent-passwd-quot-does-not/m-p/5121249#M49908</guid>
      <dc:creator>Firebird_1</dc:creator>
      <dc:date>2008-07-23T21:03:04Z</dc:date>
    </item>
  </channel>
</rss>

