<?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 samba : minimum 8 character password. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-minimum-8-character-password/m-p/3537656#M222585</link>
    <description>I'm using samba with hp-ux 11.23. I'm using the version of samba that comes with the operating system.&lt;BR /&gt;The system is a trusted system.&lt;BR /&gt;&lt;BR /&gt;I want to set and verify passwords on the unix system itself i.e. I don't want to use the local windows domain.&lt;BR /&gt;&lt;BR /&gt;How can I make sure that the users have to use at least 8 character passwords.&lt;BR /&gt;&lt;BR /&gt;With my current smb.conf "min passwd length = 8" doesn't seem to be effective.&lt;BR /&gt;&lt;BR /&gt;"min passwd length", according to the man pages, applies to the unix password. Can I have "unix password sync = yes" and "encrypt password - yes" or are these mutually exclusive ?&lt;BR /&gt;&lt;BR /&gt;I there any way I can get samba to simply use the unix passwd database ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This is my current - fairly simple - smb.conf&lt;BR /&gt;&lt;BR /&gt;[global]&lt;BR /&gt;unix password sync = no&lt;BR /&gt;encrypt passwords = yes&lt;BR /&gt;min passwd length = 8&lt;BR /&gt;&lt;BR /&gt;[homes]&lt;BR /&gt;; comment = Home Directories&lt;BR /&gt;guest ok = no&lt;BR /&gt;read only = no&lt;BR /&gt;; browseable = no&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Richard Price</description>
    <pubDate>Wed, 04 May 2005 10:21:19 GMT</pubDate>
    <dc:creator>Richard Price_1</dc:creator>
    <dc:date>2005-05-04T10:21:19Z</dc:date>
    <item>
      <title>samba : minimum 8 character password.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-minimum-8-character-password/m-p/3537656#M222585</link>
      <description>I'm using samba with hp-ux 11.23. I'm using the version of samba that comes with the operating system.&lt;BR /&gt;The system is a trusted system.&lt;BR /&gt;&lt;BR /&gt;I want to set and verify passwords on the unix system itself i.e. I don't want to use the local windows domain.&lt;BR /&gt;&lt;BR /&gt;How can I make sure that the users have to use at least 8 character passwords.&lt;BR /&gt;&lt;BR /&gt;With my current smb.conf "min passwd length = 8" doesn't seem to be effective.&lt;BR /&gt;&lt;BR /&gt;"min passwd length", according to the man pages, applies to the unix password. Can I have "unix password sync = yes" and "encrypt password - yes" or are these mutually exclusive ?&lt;BR /&gt;&lt;BR /&gt;I there any way I can get samba to simply use the unix passwd database ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This is my current - fairly simple - smb.conf&lt;BR /&gt;&lt;BR /&gt;[global]&lt;BR /&gt;unix password sync = no&lt;BR /&gt;encrypt passwords = yes&lt;BR /&gt;min passwd length = 8&lt;BR /&gt;&lt;BR /&gt;[homes]&lt;BR /&gt;; comment = Home Directories&lt;BR /&gt;guest ok = no&lt;BR /&gt;read only = no&lt;BR /&gt;; browseable = no&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Richard Price</description>
      <pubDate>Wed, 04 May 2005 10:21:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-minimum-8-character-password/m-p/3537656#M222585</guid>
      <dc:creator>Richard Price_1</dc:creator>
      <dc:date>2005-05-04T10:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: samba : minimum 8 character password.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-minimum-8-character-password/m-p/3537657#M222586</link>
      <description>Hi Richard&lt;BR /&gt;&lt;BR /&gt;The samba passwords are not stored in /etc/passwd. Rather it is stored in /var/opt/samba/private/smbpasswd.&lt;BR /&gt;&lt;BR /&gt;You add samba passwords to users using the following command:&lt;BR /&gt;&lt;BR /&gt;/opt/samba/bin/smbpasswd -a username&lt;BR /&gt;&lt;BR /&gt;To sync Unix passwords with the samba passwords use:&lt;BR /&gt;&lt;BR /&gt;unix password sync = Yes&lt;BR /&gt;&lt;BR /&gt;- Andre</description>
      <pubDate>Thu, 05 May 2005 08:55:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-minimum-8-character-password/m-p/3537657#M222586</guid>
      <dc:creator>Andre Thompson_1</dc:creator>
      <dc:date>2005-05-05T08:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: samba : minimum 8 character password.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-minimum-8-character-password/m-p/3537658#M222587</link>
      <description>I think command you are looking for is&lt;BR /&gt;&lt;BR /&gt;# pdbedit -P "min password length" -C 8</description>
      <pubDate>Fri, 06 May 2005 02:19:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-minimum-8-character-password/m-p/3537658#M222587</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2005-05-06T02:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: samba : minimum 8 character password.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-minimum-8-character-password/m-p/3537659#M222588</link>
      <description>Thanks Ermin. I've had a quick read up on pdbedit and it looks useful. &lt;BR /&gt;However I don't think that command is available on my system. &lt;BR /&gt;I'm using the default version of CIFS that comes with 11.23 which is &lt;BR /&gt;CIFS A.01.11.02</description>
      <pubDate>Wed, 11 May 2005 11:03:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-minimum-8-character-password/m-p/3537659#M222588</guid>
      <dc:creator>Richard Price_1</dc:creator>
      <dc:date>2005-05-11T11:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: samba : minimum 8 character password.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-minimum-8-character-password/m-p/3537660#M222589</link>
      <description>I don't know how to enforce the length limit.&lt;BR /&gt;&lt;BR /&gt;I do not believe that min passwd length and unix password synch and encrypt password are mutually exclusive.&lt;BR /&gt;&lt;BR /&gt;/opt/samba/bin/smbpasswd username password&lt;BR /&gt;&lt;BR /&gt;for each user you want in the samba password database.&lt;BR /&gt;&lt;BR /&gt;You can enforce password length on the OS level by having an /etc/default/security file.&lt;BR /&gt;&lt;BR /&gt;Attaching an example.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 11 May 2005 11:15:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-minimum-8-character-password/m-p/3537660#M222589</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-05-11T11:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: samba : minimum 8 character password.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-minimum-8-character-password/m-p/3537661#M222590</link>
      <description>pdbedit doesn't exist in Samba version 2, which is what HP's CIFS A.01.11.02 is based on.&lt;BR /&gt;&lt;BR /&gt;This command was introduced with Samba version 3. You can download CIFS server A.02.01.01, which should include the command from&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B8725AA" target="_blank"&gt;http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B8725AA&lt;/A&gt;</description>
      <pubDate>Wed, 11 May 2005 18:04:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-minimum-8-character-password/m-p/3537661#M222590</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2005-05-11T18:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: samba : minimum 8 character password.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-minimum-8-character-password/m-p/3537662#M222591</link>
      <description>Thanks Ermin, &lt;BR /&gt;I had already tried installing that kit. It said there were 2 missing dependencies...&lt;BR /&gt;&lt;BR /&gt;KRB5-Client.KRB5-SHLIB,r&amp;gt;=B.11.2*.%&lt;BR /&gt;LdapUxClient.LDAP-C-SDK,r&amp;gt;=B.03.20.%&lt;BR /&gt;&lt;BR /&gt;I found and installed KRB5, but can't find &lt;BR /&gt;LdapUxClient. &lt;BR /&gt;&lt;BR /&gt;I don't really want to go down the LDAP route if I can avoid it. Maybe I can't.</description>
      <pubDate>Thu, 12 May 2005 03:57:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-minimum-8-character-password/m-p/3537662#M222591</guid>
      <dc:creator>Richard Price_1</dc:creator>
      <dc:date>2005-05-12T03:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: samba : minimum 8 character password.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-minimum-8-character-password/m-p/3537663#M222592</link>
      <description>LDAP-UX client software, which includes the required fileset, can be found here&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=J4269AA" target="_blank"&gt;http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=J4269AA&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Otherwise, you can get samba source and compile it yourself.&lt;BR /&gt;</description>
      <pubDate>Thu, 12 May 2005 07:18:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-minimum-8-character-password/m-p/3537663#M222592</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2005-05-12T07:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: samba : minimum 8 character password.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-minimum-8-character-password/m-p/3537664#M222593</link>
      <description>Thanks Erin, &lt;BR /&gt;&lt;BR /&gt;I've successfully installed the new version of CIFS (in essence samba 3). &lt;BR /&gt;Now "min passwd length = 8 " just works !&lt;BR /&gt;&lt;BR /&gt;I didn't even need to use the pdbedit command.&lt;BR /&gt;&lt;BR /&gt;This what I get now if I try and set a password with less than 8 chars...&lt;BR /&gt;_____________________________________&lt;BR /&gt;$ smbpasswd&lt;BR /&gt;Old SMB password:&lt;BR /&gt;New SMB password:&lt;BR /&gt;Retype new SMB password:&lt;BR /&gt;&lt;BR /&gt;machine 127.0.0.1 rejected the (anonymous) password change: Error was : Password restriction.&lt;BR /&gt;Failed to change password for pricer&lt;BR /&gt;_____________________________________&lt;BR /&gt;&lt;BR /&gt;...and my smb.conf is still very simple...&lt;BR /&gt;&lt;BR /&gt;[global]&lt;BR /&gt;  invalid users = root bin daemon adm sync shutdown halt mail news uucp operator&lt;BR /&gt;  min passwd length = 8&lt;BR /&gt;  encrypt passwords = yes&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks very much for your help everyone.&lt;BR /&gt;</description>
      <pubDate>Thu, 12 May 2005 10:02:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-minimum-8-character-password/m-p/3537664#M222593</guid>
      <dc:creator>Richard Price_1</dc:creator>
      <dc:date>2005-05-12T10:02:24Z</dc:date>
    </item>
  </channel>
</rss>

