<?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 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/samba/m-p/4845593#M394012</link>
    <description>And make sure /var/opt/samba/locks is writable by root!&lt;BR /&gt;&lt;BR /&gt;Hartmut</description>
    <pubDate>Fri, 12 Jul 2002 06:37:12 GMT</pubDate>
    <dc:creator>Hartmut Lang</dc:creator>
    <dc:date>2002-07-12T06:37:12Z</dc:date>
    <item>
      <title>Samba</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba/m-p/4845590#M394009</link>
      <description>Two files from the following&lt;BR /&gt;us6.samba.org&lt;BR /&gt;&lt;BR /&gt;package-hppa1.1-hp-hpux10.20  &lt;BR /&gt;&lt;BR /&gt;and&lt;BR /&gt;&lt;BR /&gt;samba-2.2.2-hppa1.1-hp-hpux10.20 &lt;BR /&gt;&lt;BR /&gt;Do I need the first file?&lt;BR /&gt;&lt;BR /&gt;I installed the second file in /opt/samba per the instructions. The smb.conf file verifies but does have an error that /var/opt/samba/locks is missing. I did install the recommended patch. I am using hpux 10.2x. The smbd and nmbd files execute but I don't see them with ps -e.&lt;BR /&gt;Any ideas on how to get Samba working? Thanks.&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Jul 2002 23:30:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba/m-p/4845590#M394009</guid>
      <dc:creator>Jeffrey W. Stewart</dc:creator>
      <dc:date>2002-07-11T23:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: Samba</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba/m-p/4845591#M394010</link>
      <description>Jeff-&lt;BR /&gt;&lt;BR /&gt;I'm curious to know how you are invoking samba.  Typically, you go to /opt/samba/bin and execute the startsmb script.&lt;BR /&gt;&lt;BR /&gt;If you can't see the daemon processes with a ps -ef, then I'd re-visit your smb.conf file.  Try executing the testparm script to see if it executes normally. &lt;BR /&gt;&lt;BR /&gt;If this does not work, then I'd recreate your smb.conf file using the swat utility that comes with Samba.&lt;BR /&gt;&lt;BR /&gt;Just my $.02 worth.&lt;BR /&gt;&lt;BR /&gt;Mike-</description>
      <pubDate>Fri, 12 Jul 2002 01:17:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba/m-p/4845591#M394010</guid>
      <dc:creator>Michael Elleby III_1</dc:creator>
      <dc:date>2002-07-12T01:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: Samba</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba/m-p/4845592#M394011</link>
      <description>Hi,&lt;BR /&gt;Does /var/opt/samba/locks exists ?. if not create it as root . Then there won't be any  problem.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;U.SivaKumar</description>
      <pubDate>Fri, 12 Jul 2002 05:29:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba/m-p/4845592#M394011</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2002-07-12T05:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Samba</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba/m-p/4845593#M394012</link>
      <description>And make sure /var/opt/samba/locks is writable by root!&lt;BR /&gt;&lt;BR /&gt;Hartmut</description>
      <pubDate>Fri, 12 Jul 2002 06:37:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba/m-p/4845593#M394012</guid>
      <dc:creator>Hartmut Lang</dc:creator>
      <dc:date>2002-07-12T06:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: Samba</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba/m-p/4845594#M394013</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;after installation you should see a samba startscript in /sbin/init.d. I normally use this file to manually start/stop samba.&lt;BR /&gt;&lt;BR /&gt;Also you should have a file /etc/rc.config.d/samba. Please check this file to see if it matches your installation.&lt;BR /&gt;&lt;BR /&gt;When i installed samba 2.2.x i had to manually create the directory /var/opt/samba/locks. This dir looks like:&lt;BR /&gt;drwxr-xr-x   2 root       sys           1024 Jul 12 10:38 locks&lt;BR /&gt;&lt;BR /&gt;To check your installation and configuration use /opt/samba/bin/testparm.&lt;BR /&gt;&lt;BR /&gt;Also for configuration use swat which comes with samba. Point your webbrowser to http://hostipadress:901.&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;Regards Stefan&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Jul 2002 07:40:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba/m-p/4845594#M394013</guid>
      <dc:creator>Stefan Schulz</dc:creator>
      <dc:date>2002-07-12T07:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: Samba</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba/m-p/4845595#M394014</link>
      <description>Jeffery,&lt;BR /&gt;As stated above I had to manually create the /var/opt/samba/lock file.  Then use the scripts to start samba.&lt;BR /&gt;&lt;BR /&gt;Also make sure the BROADCAST_ADDRESS in /etc/rc.config.d/netconf is set to xxx.xxx.xxx.255 so the pc workgroup can see the samba server in network neighbourhood/my network places.&lt;BR /&gt;&lt;BR /&gt;Jim</description>
      <pubDate>Fri, 12 Jul 2002 07:59:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba/m-p/4845595#M394014</guid>
      <dc:creator>Jim Adamson</dc:creator>
      <dc:date>2002-07-12T07:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: Samba</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba/m-p/4845596#M394015</link>
      <description>Hi Jeffrey,&lt;BR /&gt;&lt;BR /&gt;do you start "smbd -D" and "nmbd -D" to make them become a daemon.&lt;BR /&gt;&lt;BR /&gt;you can use "testparm -s" to verify that your smb.conf does not contain errors.&lt;BR /&gt;&lt;BR /&gt;I suspect that samba has problems starting if it cannot put any locks anywhere.&lt;BR /&gt;&lt;BR /&gt;Either create /var/opt/samba/locks or configuer it to be somwhere else with the smb.conf parameter "lock dir = /var/opt/samba/locks"&lt;BR /&gt;&lt;BR /&gt;I guess there might be start-scripts as well to start samba as daemon. Running a daemon is more recommended than using entries in inetd.conf. &lt;BR /&gt;BTW one would encounter problems if the daemons are called by inetd besides being run from a startscript.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Raine</description>
      <pubDate>Fri, 12 Jul 2002 08:06:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba/m-p/4845596#M394015</guid>
      <dc:creator>rainer doelker</dc:creator>
      <dc:date>2002-07-12T08:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: Samba</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba/m-p/4845597#M394016</link>
      <description>Michael, I don't have startsmb with the binaries I downloaded.&lt;BR /&gt;&lt;BR /&gt;U.SiavKumar, creating the locks directory fixed the error with testparms&lt;BR /&gt;&lt;BR /&gt;Hartmut, I made sure the permissions on locks was correct.&lt;BR /&gt;&lt;BR /&gt;Stefan, I am starting the smbd and nmbd manually(deamon), so I don't think I need /sbin/init.d or /etc/rc.config.d/samba. The http://hp3070t1:901 does not work.&lt;BR /&gt;&lt;BR /&gt;Jim, I attached the rc.config.d/netconf file, is it correct?&lt;BR /&gt;&lt;BR /&gt;rainer, I will have to learn more about the smb.conf file. Using a downloaded binary seems to have its disadvantages.&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Jul 2002 12:18:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba/m-p/4845597#M394016</guid>
      <dc:creator>Jeffrey W. Stewart</dc:creator>
      <dc:date>2002-07-12T12:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: Samba</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba/m-p/4845598#M394017</link>
      <description>Did you try to run smbd in debug mode?&lt;BR /&gt;&lt;BR /&gt;#smbd -D -d 0 -l &lt;LOGFILE&gt;&lt;BR /&gt;&lt;BR /&gt; And have a look at the log level for warnings..&lt;BR /&gt;&lt;/LOGFILE&gt;</description>
      <pubDate>Fri, 12 Jul 2002 14:24:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba/m-p/4845598#M394017</guid>
      <dc:creator>Arockia Jegan</dc:creator>
      <dc:date>2002-07-12T14:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: Samba</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba/m-p/4845599#M394018</link>
      <description>For the daemons to run correctly and for swat you need some entries in /etc/services and /etc/inetd.conf.&lt;BR /&gt;&lt;BR /&gt;Could you please check if they look like this:&lt;BR /&gt;&lt;BR /&gt;/etc/services:&lt;BR /&gt;swat            901/tcp                         # Samba configuration tool&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/etc/inetd.conf:&lt;BR /&gt;# SMB connections handled by Samba&lt;BR /&gt;swat stream tcp nowait.400 root /opt/samba/bin/swat swat&lt;BR /&gt;netbios-ssn stream tcp nowait root /opt/samba/bin/smbd smbd&lt;BR /&gt;netbios-ns dgram udp wait root /opt/samba/bin/nmbd nmbd&lt;BR /&gt;&lt;BR /&gt;Also i would first share something simple like /tmp.&lt;BR /&gt;&lt;BR /&gt;As you said it is not necessary to use /sbin/init.d/samba and the rc.config, but i think it makes life a little bit easier.&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;Regards Stefan&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Jul 2002 14:38:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba/m-p/4845599#M394018</guid>
      <dc:creator>Stefan Schulz</dc:creator>
      <dc:date>2002-07-12T14:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: Samba</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba/m-p/4845600#M394019</link>
      <description>Arockia J Jeganathan Pet, the smbd and nmbd daemons are running now.&lt;BR /&gt;&lt;BR /&gt;Stefan, i added to /etc/services: &lt;BR /&gt;swat 901/tcp # Samba configuration tool&lt;BR /&gt;&lt;BR /&gt;This should make the http://localhost:901 work with my browser?&lt;BR /&gt;&lt;BR /&gt;/etc/inetd.conf: &lt;BR /&gt;&lt;BR /&gt;swat stream tcp nowait.400 root /opt/samba/bin/swat swat &lt;BR /&gt;&lt;BR /&gt;I was not sure about the nowait.400. as my file just has wait and nowait.&lt;BR /&gt;&lt;BR /&gt;My problem is now mapping the share on a PC. I am reading about Encrypted passwords and trying to use the accounts I have on the hpux like &lt;BR /&gt;root, jstew, user1, user2</description>
      <pubDate>Fri, 12 Jul 2002 22:44:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba/m-p/4845600#M394019</guid>
      <dc:creator>Jeffrey W. Stewart</dc:creator>
      <dc:date>2002-07-12T22:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: Samba</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba/m-p/4845601#M394020</link>
      <description>Hi,&lt;BR /&gt;  &lt;BR /&gt;  Add the following line in  your smb.conf file,&lt;BR /&gt;&lt;BR /&gt;security = user&lt;BR /&gt;encrypt passwords = yes&lt;BR /&gt;&lt;BR /&gt;  And restart the smbd and nmbd daemons. You will be able to use the shared drive. It will prompt you for user name and password when you try to access the shared drive.&lt;BR /&gt;&lt;BR /&gt;  I have this setup in my system and it's working fine. If you have any issues, please post your modified smb.conf file.</description>
      <pubDate>Fri, 12 Jul 2002 23:24:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba/m-p/4845601#M394020</guid>
      <dc:creator>Arockia Jegan</dc:creator>
      <dc:date>2002-07-12T23:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: Samba</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba/m-p/4845602#M394021</link>
      <description>Here's a simple model smb.conf file,&lt;BR /&gt;&lt;BR /&gt;[global]&lt;BR /&gt;&lt;BR /&gt;# workgroup = NT-Domain-Name or Workgroup-Name, eg: REDHAT4&lt;BR /&gt;  netbios name = test1        &lt;BR /&gt;  workgroup = samba&lt;BR /&gt;   writeable = no&lt;BR /&gt;   logfile= /var/opt/samba/log.%m&lt;BR /&gt;&lt;BR /&gt;    max log size = 1000&lt;BR /&gt;    security = user&lt;BR /&gt;    encrypt passwords = yes&lt;BR /&gt;# This one is useful for people to share files&lt;BR /&gt;[tmp_dir]&lt;BR /&gt;path = &lt;TMP_DIR&gt;&lt;BR /&gt;#eg: path=/test_fs/test_dir&lt;BR /&gt;writeable = no&lt;BR /&gt;browseable = yes&lt;BR /&gt;&lt;BR /&gt;  When it will prompt for the user name and password enter the unix user name and password. The user account should  have the valid permission to access the shared directories.&lt;BR /&gt;&lt;/TMP_DIR&gt;</description>
      <pubDate>Fri, 12 Jul 2002 23:36:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba/m-p/4845602#M394021</guid>
      <dc:creator>Arockia Jegan</dc:creator>
      <dc:date>2002-07-12T23:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: Samba</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba/m-p/4845603#M394022</link>
      <description>Thanks to all who replied. I can access the hp3070 via a win98 PC that uses peer to peer shares. On the win2k PC, I can see the share put not access it. I am logged in as \coname\genrad2, where coname is the company network. The win2k PC has two network cards, one for the hp3070 and one for the company network.&lt;BR /&gt;Maybe my win2k network card setup for the hp3070 is not setup correctly? I use a hosts file on the hp3070 and on the win98 PC. Would I need this on the win2k PC?</description>
      <pubDate>Tue, 16 Jul 2002 21:11:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba/m-p/4845603#M394022</guid>
      <dc:creator>Jeffrey W. Stewart</dc:creator>
      <dc:date>2002-07-16T21:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: Samba</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba/m-p/4845604#M394023</link>
      <description>If your windows2000 box  is not resolving the hp system name by using DNS , then you need to have the hosts file(C:\WINNT\system32\drivers\etc\hosts).&lt;BR /&gt;&lt;BR /&gt;But in your case you are able to see the share. Are you getting any specific error messages while accessing the shared drvies.</description>
      <pubDate>Tue, 16 Jul 2002 21:21:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba/m-p/4845604#M394023</guid>
      <dc:creator>Arockia Jegan</dc:creator>
      <dc:date>2002-07-16T21:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Samba</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba/m-p/4845605#M394024</link>
      <description>&amp;gt;If your windows2000 box is not resolving the &amp;gt;hp system name by using DNS , then you need &amp;gt;to have the hosts file &amp;gt;C:\WINNT\system32&amp;gt;\drivers\etc\hosts). &lt;BR /&gt;I have not tried this yet. I have not looked at the network card setup for the hp3070 either.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If I do see the share is the login name used?  I login as genrad2 on the win2k machine with a password. My screen shows me as \primustech\jstew. When I try accessing the share, I am not sure what parameters I should use in the net use command. The hp3070 is 192.168.15.10.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Jul 2002 13:06:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba/m-p/4845605#M394024</guid>
      <dc:creator>Jeffrey W. Stewart</dc:creator>
      <dc:date>2002-07-19T13:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: Samba</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba/m-p/4845606#M394025</link>
      <description>I decided not to use SAMBA.</description>
      <pubDate>Wed, 05 Jan 2005 10:11:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba/m-p/4845606#M394025</guid>
      <dc:creator>Jeffrey W. Stewart</dc:creator>
      <dc:date>2005-01-05T10:11:16Z</dc:date>
    </item>
  </channel>
</rss>

