<?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;smbpasswd -a&amp;quot; complains about negative ID in smbpasswd file. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-smbpasswd-a-quot-complains-about-negative-id-in-smbpasswd/m-p/3013873#M129160</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;There is no need for user nobody in samba implementation. Samba has it's own internal guest account with least priveleges. &lt;BR /&gt;&lt;BR /&gt;The user nobody is of no use relates to samba access. Include only valid accounts in smdpasswd file.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;U.SivaKumar</description>
    <pubDate>Thu, 03 Jul 2003 01:57:24 GMT</pubDate>
    <dc:creator>U.SivaKumar_2</dc:creator>
    <dc:date>2003-07-03T01:57:24Z</dc:date>
    <item>
      <title>"smbpasswd -a" complains about negative ID in smbpasswd file.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-smbpasswd-a-quot-complains-about-negative-id-in-smbpasswd/m-p/3013867#M129154</link>
      <description>Whenever we add a new user with smbpasswd -a we get an error message about a negative number in the smbpasswd file. The nobody ID is -2. Does the nobody ID really need to be in the smbpasswd file? Can I comment out the line or change the ID in SAM to a positive number? BTW, the user still gets added to smbpasswd file so the message isn't affecting access to Samba.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 02 Jul 2003 17:29:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-smbpasswd-a-quot-complains-about-negative-id-in-smbpasswd/m-p/3013867#M129154</guid>
      <dc:creator>Thomas Doherty_1</dc:creator>
      <dc:date>2003-07-02T17:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: "smbpasswd -a" complains about negative ID in smbpasswd file.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-smbpasswd-a-quot-complains-about-negative-id-in-smbpasswd/m-p/3013868#M129155</link>
      <description>The user needds to be set up in /etc/passwd first.&lt;BR /&gt;&lt;BR /&gt;If its not there, &lt;BR /&gt;&lt;BR /&gt;useradd username &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;as root&lt;BR /&gt;&lt;BR /&gt;Then try the smbpasswd -a command.&lt;BR /&gt;&lt;BR /&gt;This assumes no NIS or LDAP connection to a Microsoft box.  Thats a differenent scenario.&lt;BR /&gt;&lt;BR /&gt;If LDAP is in the authentication, you need account for the unix box on the LDAP server and you don't need to run smbpasswd to add users.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Jul 2003 17:32:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-smbpasswd-a-quot-complains-about-negative-id-in-smbpasswd/m-p/3013868#M129155</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-07-02T17:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: "smbpasswd -a" complains about negative ID in smbpasswd file.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-smbpasswd-a-quot-complains-about-negative-id-in-smbpasswd/m-p/3013869#M129156</link>
      <description>Thanks SEP but we have no problem adding the user. We just get the annoying warning message about a UID in smbpasswd with a negative number.</description>
      <pubDate>Wed, 02 Jul 2003 19:38:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-smbpasswd-a-quot-complains-about-negative-id-in-smbpasswd/m-p/3013869#M129156</guid>
      <dc:creator>Thomas Doherty_1</dc:creator>
      <dc:date>2003-07-02T19:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: "smbpasswd -a" complains about negative ID in smbpasswd file.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-smbpasswd-a-quot-complains-about-negative-id-in-smbpasswd/m-p/3013870#M129157</link>
      <description>Here is what I should have posted.&lt;BR /&gt;&lt;BR /&gt;pwck&lt;BR /&gt;&lt;BR /&gt;Check the integrity of /etc/passwd, because problems there can generate the error.&lt;BR /&gt;&lt;BR /&gt;grpck&lt;BR /&gt;&lt;BR /&gt;Same basic idea.&lt;BR /&gt;&lt;BR /&gt;There probably is an integrity check for the smbpasswd database as well.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 02 Jul 2003 19:55:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-smbpasswd-a-quot-complains-about-negative-id-in-smbpasswd/m-p/3013870#M129157</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-07-02T19:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: "smbpasswd -a" complains about negative ID in smbpasswd file.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-smbpasswd-a-quot-complains-about-negative-id-in-smbpasswd/m-p/3013871#M129158</link>
      <description>SEP, the password and group files check out fine. The nobody UID in /etc/passwd is a -2 which is the same UID for nobody in /opt/samba/private/smbpasswd. Apparently the smbpasswd command does not like the -2 in the smbpasswd file. My question is, should I comment out the nobody user from the smbpasswd file or change the UID from -2 to a positive integer for both /etc/passwd and /opt/samba/private/smbpasswd?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 02 Jul 2003 20:05:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-smbpasswd-a-quot-complains-about-negative-id-in-smbpasswd/m-p/3013871#M129158</guid>
      <dc:creator>Thomas Doherty_1</dc:creator>
      <dc:date>2003-07-02T20:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: "smbpasswd -a" complains about negative ID in smbpasswd file.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-smbpasswd-a-quot-complains-about-negative-id-in-smbpasswd/m-p/3013872#M129159</link>
      <description>The question is why should you have nobody in&lt;BR /&gt;the smbdpasswd (encrypted passwords) file?For&lt;BR /&gt;guest account?Define something else.&lt;BR /&gt;&lt;BR /&gt;As a matter of fact (and matter of samba source - see here &lt;A href="http://us2.samba.org/samba/ftp/cvs_current/source/passdb/pdb_smbpasswd.c" target="_blank"&gt;http://us2.samba.org/samba/ftp/cvs_current/source/passdb/pdb_smbpasswd.c&lt;/A&gt; :&lt;BR /&gt;if(*p == '-') {&lt;BR /&gt;      DEBUG(0, ("getsmbfilepwent: uids in the smbpasswd file must not be negative.\n"));&lt;BR /&gt;      continue;&lt;BR /&gt;    &lt;BR /&gt;) Samba wouldn't adjust itself to that one,so&lt;BR /&gt;one should get adjusted to Samba :)&lt;BR /&gt;&lt;BR /&gt;Zeev&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Jul 2003 20:39:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-smbpasswd-a-quot-complains-about-negative-id-in-smbpasswd/m-p/3013872#M129159</guid>
      <dc:creator>Zeev Schultz</dc:creator>
      <dc:date>2003-07-02T20:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: "smbpasswd -a" complains about negative ID in smbpasswd file.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-smbpasswd-a-quot-complains-about-negative-id-in-smbpasswd/m-p/3013873#M129160</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;There is no need for user nobody in samba implementation. Samba has it's own internal guest account with least priveleges. &lt;BR /&gt;&lt;BR /&gt;The user nobody is of no use relates to samba access. Include only valid accounts in smdpasswd file.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;U.SivaKumar</description>
      <pubDate>Thu, 03 Jul 2003 01:57:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-smbpasswd-a-quot-complains-about-negative-id-in-smbpasswd/m-p/3013873#M129160</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2003-07-03T01:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: "smbpasswd -a" complains about negative ID in smbpasswd file.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-smbpasswd-a-quot-complains-about-negative-id-in-smbpasswd/m-p/3013874#M129161</link>
      <description>I'd take out nobody completely.&lt;BR /&gt;&lt;BR /&gt;You don't need it for user validation.&lt;BR /&gt;&lt;BR /&gt;Surely if you are using smbpasswd to enable access you aren't authorizing worldwide access.&lt;BR /&gt;&lt;BR /&gt;Add guest account individually, so you can keep track of them.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 03 Jul 2003 02:04:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-smbpasswd-a-quot-complains-about-negative-id-in-smbpasswd/m-p/3013874#M129161</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-07-03T02:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: "smbpasswd -a" complains about negative ID in smbpasswd file.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-smbpasswd-a-quot-complains-about-negative-id-in-smbpasswd/m-p/3013875#M129162</link>
      <description>Thanks guys.</description>
      <pubDate>Thu, 03 Jul 2003 12:24:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-smbpasswd-a-quot-complains-about-negative-id-in-smbpasswd/m-p/3013875#M129162</guid>
      <dc:creator>Thomas Doherty_1</dc:creator>
      <dc:date>2003-07-03T12:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: "smbpasswd -a" complains about negative ID in smbpasswd file.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-smbpasswd-a-quot-complains-about-negative-id-in-smbpasswd/m-p/3013876#M129163</link>
      <description>Hi,&lt;BR /&gt;First of all, the guest account is not necessary for the Samba passwd file.&lt;BR /&gt;Just a test for root:&lt;BR /&gt;#smbpasswd -a root&lt;BR /&gt;The password may different to the password of /etc/passwd!&lt;BR /&gt;Do you still get -2 ID?&lt;BR /&gt;&lt;BR /&gt;-ux</description>
      <pubDate>Thu, 03 Jul 2003 12:53:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-smbpasswd-a-quot-complains-about-negative-id-in-smbpasswd/m-p/3013876#M129163</guid>
      <dc:creator>Fragon</dc:creator>
      <dc:date>2003-07-03T12:53:57Z</dc:date>
    </item>
  </channel>
</rss>

