<?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: Samba configuration question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration-question/m-p/3033373#M132964</link>
    <description>Heres our /etc/opt/samba/smb.conf&lt;BR /&gt;Orion is the name of our server and we have multiple vols exported;&lt;BR /&gt;&lt;BR /&gt;# Samba config file created using SWAT&lt;BR /&gt;# from localhost (127.0.0.1)&lt;BR /&gt;# Date: 2003/07/15 16:51:03&lt;BR /&gt;&lt;BR /&gt;# Global parameters&lt;BR /&gt;[global]&lt;BR /&gt;        netbios name = ORION&lt;BR /&gt;        server string = Samba Server&lt;BR /&gt;        security = SERVER&lt;BR /&gt;        encrypt passwords = Yes&lt;BR /&gt;        password server = orion&lt;BR /&gt;        syslog = 0&lt;BR /&gt;        log file = /var/opt/samba/log.%m&lt;BR /&gt;        max log size = 1000&lt;BR /&gt;        local master = No&lt;BR /&gt;        read only = No&lt;BR /&gt;        short preserve case = No&lt;BR /&gt;        dos filetime resolution = Yes&lt;BR /&gt;&lt;BR /&gt;[homes]&lt;BR /&gt;        comment = Home Directories&lt;BR /&gt;        browseable = No&lt;BR /&gt;&lt;BR /&gt;[tmp]&lt;BR /&gt;        path = /tmp&lt;BR /&gt;&lt;BR /&gt;[root_home]&lt;BR /&gt;        path = /root_home&lt;BR /&gt;&lt;BR /&gt;[swdepot]&lt;BR /&gt;        path = /swdepot&lt;BR /&gt;&lt;BR /&gt;[tony_pc]&lt;BR /&gt;        path = /tony_pc&lt;BR /&gt;&lt;BR /&gt;[tmp_mnt]&lt;BR /&gt;        path = /tmp&lt;BR /&gt;</description>
    <pubDate>Fri, 25 Jul 2003 10:11:55 GMT</pubDate>
    <dc:creator>Stefan Farrelly</dc:creator>
    <dc:date>2003-07-25T10:11:55Z</dc:date>
    <item>
      <title>Samba configuration question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration-question/m-p/3033371#M132962</link>
      <description>I seem to be having a problem configuring Samba that I just cannot get to the bottom of.&lt;BR /&gt;&lt;BR /&gt;Recently I had a server failure and I had no choice but to do a complete fresh installation without restoring from tape, as such I ended up installing a new version of Samba which I obtained from the HP SW center.&lt;BR /&gt;samba                         2.2.3a&lt;BR /&gt;&lt;BR /&gt;Afterwards I tried restoring my old configuration file literally just allowed one filesystem to be available with a unix account logon and password but it no longer works.&lt;BR /&gt;&lt;BR /&gt;I managed to set up a public share with guest access with no problems but this is of no use as the information that needs to be exported is payroll data but at least this proves that the software is installed correctly.&lt;BR /&gt;&lt;BR /&gt;Can anyone please post an example of how the configuration file should look to enable one filesystem to be exported with only standard unix logon and password for authentication.&lt;BR /&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;&lt;BR /&gt;Robert Thorneycroft</description>
      <pubDate>Fri, 25 Jul 2003 09:37:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration-question/m-p/3033371#M132962</guid>
      <dc:creator>Robert Thorneycroft</dc:creator>
      <dc:date>2003-07-25T09:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Samba configuration question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration-question/m-p/3033372#M132963</link>
      <description>The smb.conf is basically divided into two parts.-global and shares.&lt;BR /&gt;&lt;BR /&gt;For global parameters applies to al shares you define in smb.conf file.&lt;BR /&gt;&lt;BR /&gt;Post the error message you are getting.&lt;BR /&gt;&lt;BR /&gt;Regards,</description>
      <pubDate>Fri, 25 Jul 2003 10:09:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration-question/m-p/3033372#M132963</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2003-07-25T10:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: Samba configuration question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration-question/m-p/3033373#M132964</link>
      <description>Heres our /etc/opt/samba/smb.conf&lt;BR /&gt;Orion is the name of our server and we have multiple vols exported;&lt;BR /&gt;&lt;BR /&gt;# Samba config file created using SWAT&lt;BR /&gt;# from localhost (127.0.0.1)&lt;BR /&gt;# Date: 2003/07/15 16:51:03&lt;BR /&gt;&lt;BR /&gt;# Global parameters&lt;BR /&gt;[global]&lt;BR /&gt;        netbios name = ORION&lt;BR /&gt;        server string = Samba Server&lt;BR /&gt;        security = SERVER&lt;BR /&gt;        encrypt passwords = Yes&lt;BR /&gt;        password server = orion&lt;BR /&gt;        syslog = 0&lt;BR /&gt;        log file = /var/opt/samba/log.%m&lt;BR /&gt;        max log size = 1000&lt;BR /&gt;        local master = No&lt;BR /&gt;        read only = No&lt;BR /&gt;        short preserve case = No&lt;BR /&gt;        dos filetime resolution = Yes&lt;BR /&gt;&lt;BR /&gt;[homes]&lt;BR /&gt;        comment = Home Directories&lt;BR /&gt;        browseable = No&lt;BR /&gt;&lt;BR /&gt;[tmp]&lt;BR /&gt;        path = /tmp&lt;BR /&gt;&lt;BR /&gt;[root_home]&lt;BR /&gt;        path = /root_home&lt;BR /&gt;&lt;BR /&gt;[swdepot]&lt;BR /&gt;        path = /swdepot&lt;BR /&gt;&lt;BR /&gt;[tony_pc]&lt;BR /&gt;        path = /tony_pc&lt;BR /&gt;&lt;BR /&gt;[tmp_mnt]&lt;BR /&gt;        path = /tmp&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Jul 2003 10:11:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration-question/m-p/3033373#M132964</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2003-07-25T10:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: Samba configuration question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration-question/m-p/3033374#M132965</link>
      <description>Example for Global Part:&lt;BR /&gt;&lt;BR /&gt;[global]&lt;BR /&gt;        server string = SAMBA&lt;BR /&gt;        allow hosts = ALL&lt;BR /&gt;&lt;BR /&gt;        workgroup = WORKGROUP&lt;BR /&gt;        guest only = yes&lt;BR /&gt;        dead time = 5&lt;BR /&gt;        security = share&lt;BR /&gt;&lt;BR /&gt;        guest account = lp&lt;BR /&gt;        auto services = lp&lt;BR /&gt;        postscript = no&lt;BR /&gt;        print command = /usr/bin/lp -d %p %s ; /usr/bin/sleep 10 ; /usr/bin/rm %&lt;BR /&gt;s&lt;BR /&gt;        printcap name = lpstat&lt;BR /&gt;        load printers = yes&lt;BR /&gt;        socket options = TCP_NODELAY SO_KEEPALIVE SO_SNDBUF=8192 SO_RCVBUF=8192&lt;BR /&gt;        preserve case = yes&lt;BR /&gt;        short preserve case = yes&lt;BR /&gt;        unix password sync = yes&lt;BR /&gt;&lt;BR /&gt;        browsable = yes&lt;BR /&gt;        share modes = yes&lt;BR /&gt;        browsable = yes&lt;BR /&gt;        share modes = yes&lt;BR /&gt;        os level = 64&lt;BR /&gt;        wins support = Yes&lt;BR /&gt;&lt;BR /&gt;Example for Specific Part:&lt;BR /&gt;[test]&lt;BR /&gt;       path = /test&lt;BR /&gt;       public = yes&lt;BR /&gt;       writeable = yes&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Example for Printer Part:&lt;BR /&gt;[printers]&lt;BR /&gt;        comment = Networkprinter&lt;BR /&gt;        printable = yes&lt;BR /&gt;        path = /tnq/Printerqueue&lt;BR /&gt;        printing = hpux&lt;BR /&gt;        public = yes&lt;BR /&gt;        guest ok = yes&lt;BR /&gt;        browsable = yes&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Jul 2003 10:15:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration-question/m-p/3033374#M132965</guid>
      <dc:creator>RolandH</dc:creator>
      <dc:date>2003-07-25T10:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Samba configuration question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration-question/m-p/3033375#M132966</link>
      <description>Hi Robert,&lt;BR /&gt;&lt;BR /&gt;In the old samba version, by default the parameter security is set to shared, in the new samba versions this is not by default.&lt;BR /&gt;&lt;BR /&gt;Perhaps adding in the [global] section this directive you can put all in order:&lt;BR /&gt;&lt;BR /&gt;security = share&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Frank.</description>
      <pubDate>Fri, 25 Jul 2003 10:30:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration-question/m-p/3033375#M132966</guid>
      <dc:creator>Francisco J. Soler</dc:creator>
      <dc:date>2003-07-25T10:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: Samba configuration question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration-question/m-p/3033376#M132967</link>
      <description>Hi Robert,&lt;BR /&gt;&lt;BR /&gt;Can you post your old smb.conf - we might be able to make a minor correction to that rather than posting lots of different customised files!&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;Darren.&lt;BR /&gt;&lt;BR /&gt;PS:  Stefan - Just a quick fyi from the smb.conf man page:  "Never point a Samba server at itself for password serving. This will cause a loop and could lock up your Samba server!"</description>
      <pubDate>Fri, 25 Jul 2003 10:32:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration-question/m-p/3033376#M132967</guid>
      <dc:creator>Darren Prior</dc:creator>
      <dc:date>2003-07-25T10:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: Samba configuration question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration-question/m-p/3033377#M132968</link>
      <description>Thanks for the help so far, as requested here is my original smb.conf file:&lt;BR /&gt;&lt;BR /&gt;# Samba config file created using SWAT&lt;BR /&gt;# from opcpc01.brake.co.uk (150.150.101.201)&lt;BR /&gt;# Date: 2003/06/11 13:18:37&lt;BR /&gt;&lt;BR /&gt;# Global parameters&lt;BR /&gt;[global]&lt;BR /&gt;        workgroup = UK_BRAKES&lt;BR /&gt;        server string = tst01: Samba Server&lt;BR /&gt;        password server = *&lt;BR /&gt;        syslog = 0&lt;BR /&gt;        log file = /var/opt/samba/log.%m&lt;BR /&gt;        max log size = 1000&lt;BR /&gt;        local master = No&lt;BR /&gt;        wins server = 150.150.119.101&lt;BR /&gt;        read only = No&lt;BR /&gt;        short preserve case = No&lt;BR /&gt;        dos filetime resolution = Yes&lt;BR /&gt;&lt;BR /&gt;[homes]&lt;BR /&gt;        comment = Home Directories&lt;BR /&gt;        browseable = No&lt;BR /&gt;&lt;BR /&gt;[edi]&lt;BR /&gt;        comment = EDI data share&lt;BR /&gt;        path = /edi&lt;BR /&gt;&lt;BR /&gt;[dataload]&lt;BR /&gt;        comment = dataload share&lt;BR /&gt;        path = /usr/sap/trans/DATALOAD&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;below is also a copy of the file I am currently using, this one is primarily based on the Orion example above.  When I try to connect to the server using this script I get the user id and password box displayed however when I enter a unix user id and password the NT box respondes with incorrect password or incorrect username for: \\tst01\edi&lt;BR /&gt;&lt;BR /&gt;# Samba config file created using SWAT&lt;BR /&gt;# from opcpc01.brake.co.uk (150.150.101.201)&lt;BR /&gt;# Date: 2003/07/25 12:23:36&lt;BR /&gt;&lt;BR /&gt;# Global parameters&lt;BR /&gt;[global]&lt;BR /&gt;        workgroup = UK_BRAKES&lt;BR /&gt;        netbios name = TST01&lt;BR /&gt;        security = SERVER&lt;BR /&gt;        encrypt passwords = Yes&lt;BR /&gt;        password server = tst01&lt;BR /&gt;        log file = /var/opt/samba/log.%m&lt;BR /&gt;        max log size = 1000&lt;BR /&gt;        log level = 3&lt;BR /&gt;        preferred master = False&lt;BR /&gt;        local master = No&lt;BR /&gt;        read only = No&lt;BR /&gt;        short preserve case = No&lt;BR /&gt;        dos filetime resolution = Yes&lt;BR /&gt;&lt;BR /&gt;[dataload]&lt;BR /&gt;        comment = tst01 DATALOAD directory&lt;BR /&gt;        path = /usr/sap/trans/DATALOAD&lt;BR /&gt;&lt;BR /&gt;[edi]&lt;BR /&gt;        comment = tst01 edi directory&lt;BR /&gt;        path = /edi&lt;BR /&gt;&lt;BR /&gt;[edi2]&lt;BR /&gt;        comment = tst01 edi2 directory&lt;BR /&gt;        path = /edi2&lt;BR /&gt;&lt;BR /&gt;I am afraid I am about to finish work for the day so I will not be able to answer any further questions or give ratings till Monday morning.  Have a good weekend everyone and thanks for your help so far.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Robert Thorneycroft</description>
      <pubDate>Fri, 25 Jul 2003 10:59:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration-question/m-p/3033377#M132968</guid>
      <dc:creator>Robert Thorneycroft</dc:creator>
      <dc:date>2003-07-25T10:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: Samba configuration question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration-question/m-p/3033378#M132969</link>
      <description>Hi Robert,&lt;BR /&gt;&lt;BR /&gt;I think Francisco has got the answer - you haven't defined a security level in your previous smb.conf, so the default for the new version is being used, which is different to the older version you had.  The default for newer versions is user; which requires a smbpasswd file to be created (hence the error message you're seeing.)&lt;BR /&gt;&lt;BR /&gt;Share security isn't a particularly nice method of authentication; it's documented in Chapter 6 in the O'Reilly Using Samba book (which you can access via SWAT.)  I believe adding a security = share line in your [global] section of your original smb.conf will fix your problem, though I'd suggest you look at the other security methods for the future.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;Darren</description>
      <pubDate>Fri, 25 Jul 2003 11:09:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration-question/m-p/3033378#M132969</guid>
      <dc:creator>Darren Prior</dc:creator>
      <dc:date>2003-07-25T11:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Samba configuration question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration-question/m-p/3033379#M132970</link>
      <description>This may be dumb question, but have you added edi user with smbpasswd -a command.&lt;BR /&gt;&lt;BR /&gt;What is the errror you get in log file?</description>
      <pubDate>Fri, 25 Jul 2003 11:13:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration-question/m-p/3033379#M132970</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2003-07-25T11:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: Samba configuration question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration-question/m-p/3033380#M132971</link>
      <description>For some reason the above suggestions still would not work, so in the end I set up the security as USER and created smbpasswd entries for the users to connect with, which whilst not 100% ideal will have to do.&lt;BR /&gt;&lt;BR /&gt;Thanks for all the help.&lt;BR /&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;&lt;BR /&gt;Robert Thorneycroft</description>
      <pubDate>Tue, 29 Jul 2003 08:54:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-configuration-question/m-p/3033380#M132971</guid>
      <dc:creator>Robert Thorneycroft</dc:creator>
      <dc:date>2003-07-29T08:54:22Z</dc:date>
    </item>
  </channel>
</rss>

