<?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 Share and rights very strange in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-share-and-rights-very-strange/m-p/3723080#M549997</link>
    <description>Thanks for the reply Eric.  I have since discovered that the "windows people" installed critical patches around the same time this started happening.  I am leaning towards that being the problem as my smb.conf was all working until a week ago...when they installed the patches.  I will update this thread when I know for sure.&lt;BR /&gt;&lt;BR /&gt;S.</description>
    <pubDate>Fri, 03 Feb 2006 07:46:44 GMT</pubDate>
    <dc:creator>Coolmar</dc:creator>
    <dc:date>2006-02-03T07:46:44Z</dc:date>
    <item>
      <title>Samba Share and rights very strange</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-share-and-rights-very-strange/m-p/3723078#M549995</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have a Samba share that is setup to allow a certain group access to the files.  Another group are allowed to write to them.  This all used to work and just stopped working.  What is happening is the users with write access can create a folder, copy files into the share, modify existing files.  They cannot delete or rename.  I figure if you have write access...you have full access.  &lt;BR /&gt;&lt;BR /&gt;Here is the config file:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[global]&lt;BR /&gt;        workgroup = AAFC-AAC&lt;BR /&gt;        netbios name = SKREGISD&lt;BR /&gt;        server string = SKREGISD share&lt;BR /&gt;        security = DOMAIN&lt;BR /&gt;        map to guest = Bad User&lt;BR /&gt;        password server = ONNCRX1&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;        max smbd processes = 0&lt;BR /&gt;        wins server = 10.117.10.40&lt;BR /&gt;        idmap uid = 10000-200000&lt;BR /&gt;        idmap gid = 10000-200000&lt;BR /&gt;        winbind separator = +&lt;BR /&gt;        winbind enum users = No&lt;BR /&gt;        winbind enum groups = No&lt;BR /&gt;        winbind cache time = 3000&lt;BR /&gt;        short preserve case = No&lt;BR /&gt;        dos filetime resolution = Yes&lt;BR /&gt;        client schannel = No&lt;BR /&gt;&lt;BR /&gt;[LYRS]&lt;BR /&gt;        comment = Layers for GIS&lt;BR /&gt;        path = /lyrs&lt;BR /&gt;        public  = No&lt;BR /&gt;        valid users = domain+readers&lt;BR /&gt;        read only = Yes&lt;BR /&gt;        force group = readers&lt;BR /&gt;        write list = domain+admin&lt;BR /&gt;        directory mask = 0775&lt;BR /&gt;        create mask = 0775&lt;BR /&gt;        force create mode = 0775&lt;BR /&gt;        security mask = 0775&lt;BR /&gt;        max connections = 0&lt;BR /&gt;&lt;BR /&gt;The directory that the share maps to is owned by the "readers" group and all dirs and files are rwxrwxr-x&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Feb 2006 08:54:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-share-and-rights-very-strange/m-p/3723078#M549995</guid>
      <dc:creator>Coolmar</dc:creator>
      <dc:date>2006-02-02T08:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Samba Share and rights very strange</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-share-and-rights-very-strange/m-p/3723079#M549996</link>
      <description>Hi Sally,&lt;BR /&gt;&lt;BR /&gt;I have read your previous thread.  To supply a definitive answer I think would require a duplication scenario, which would take a lot of work.  SO I would approach this in one of two ways:&lt;BR /&gt;&lt;BR /&gt;1.  Open a call at the RC and let them figure it out.  If you have a support contract, that's what it is for (and one of the big values of HP CIFS Server over Opensource)&lt;BR /&gt;&lt;BR /&gt;2.  You have a complex share definition.  I understand why you have "read only" and "write list", but do not understand why domain+admin is not in "valid users", or why "valid users" and "write list" have domain+group but "force group" does not.    I understand that it was working, but now it is not.  Anyway, I would remove "valid users", "read only", "force group", and "write list", and then test for the functions that you want (read, write, copy, rename, etc...).  Then add back each parm and see what happens.  There was a guy in the original thread who suggested an initial share config, but it was not clear if you tried it.&lt;BR /&gt;&lt;BR /&gt;Here are a couple of disclaimers: 1 - I have never tested "security = domain" with winbind and share definitions (always with ads); 2 - Samba is very flexible, and combining various parms can yield unpredictable results, so it's best to try and define the share as simply as possible; 3 - "valid users" can be confusing - you can not give access with "valid users", only deny access.  So if a user/group is not in "valid users", it will be denied, even if it has permissions.  But if a user is in "valid users" and does not have permissions, it will not have access.&lt;BR /&gt;&lt;BR /&gt;Magic Bullet: If you want to try a magic bullet, I would eliminate "valid users", or add domain+admin to "valid users". &lt;BR /&gt;&lt;BR /&gt;Good Luck,&lt;BR /&gt;&lt;BR /&gt;Eric Roseme&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Feb 2006 19:25:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-share-and-rights-very-strange/m-p/3723079#M549996</guid>
      <dc:creator>eric roseme</dc:creator>
      <dc:date>2006-02-02T19:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Samba Share and rights very strange</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-share-and-rights-very-strange/m-p/3723080#M549997</link>
      <description>Thanks for the reply Eric.  I have since discovered that the "windows people" installed critical patches around the same time this started happening.  I am leaning towards that being the problem as my smb.conf was all working until a week ago...when they installed the patches.  I will update this thread when I know for sure.&lt;BR /&gt;&lt;BR /&gt;S.</description>
      <pubDate>Fri, 03 Feb 2006 07:46:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-share-and-rights-very-strange/m-p/3723080#M549997</guid>
      <dc:creator>Coolmar</dc:creator>
      <dc:date>2006-02-03T07:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Samba Share and rights very strange</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-share-and-rights-very-strange/m-p/3723081#M549998</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;You may need to rejoin your domain and stop/start samba when the windows patching is done.&lt;BR /&gt;&lt;BR /&gt;We've recently seen patching windows PDC systems has caused untold problems with Linux systems with older versions of Samba. Not seen the same behavior with HP-UX.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 03 Feb 2006 08:03:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-share-and-rights-very-strange/m-p/3723081#M549998</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-02-03T08:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: Samba Share and rights very strange</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-share-and-rights-very-strange/m-p/3723082#M549999</link>
      <description>Shalom Steven,&lt;BR /&gt;&lt;BR /&gt;I did try that - a few times actually - and didn't seem to help.</description>
      <pubDate>Fri, 03 Feb 2006 08:29:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-share-and-rights-very-strange/m-p/3723082#M549999</guid>
      <dc:creator>Coolmar</dc:creator>
      <dc:date>2006-02-03T08:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: Samba Share and rights very strange</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-share-and-rights-very-strange/m-p/3723083#M550000</link>
      <description>Sally ... what version of Samba? Are you on Samba 2 or Samba 3. If on Samba 3 -- are you using HP's build -- a.k.a CIFS Server? Also are you using the very latest one based on Samba 3.014d?</description>
      <pubDate>Fri, 03 Feb 2006 11:14:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-share-and-rights-very-strange/m-p/3723083#M550000</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2006-02-03T11:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Samba Share and rights very strange</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-share-and-rights-very-strange/m-p/3723084#M550001</link>
      <description>Hi Nelson,&lt;BR /&gt;&lt;BR /&gt;Here is what I have:&lt;BR /&gt;&lt;BR /&gt;B8725AA                               A.02.02        HP CIFS Server&lt;BR /&gt;&lt;BR /&gt;What s New in A.02.02 (3.0d):&lt;BR /&gt;&lt;BR /&gt;This is a feature release that incorporates Samba Server version 3.0.14a with additional HP fixes. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 03 Feb 2006 11:48:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-share-and-rights-very-strange/m-p/3723084#M550001</guid>
      <dc:creator>Coolmar</dc:creator>
      <dc:date>2006-02-03T11:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: Samba Share and rights very strange</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-share-and-rights-very-strange/m-p/3723085#M550002</link>
      <description>I also recently installed the Sept 2005 Goldpacks....could that be the problem?&lt;BR /&gt;&lt;BR /&gt; GOLDAPPS11i                           B.11.11.0509.429 Applications Patches for HP-UX 11i v1, September 2005&lt;BR /&gt;  GOLDBASE11i                           B.11.11.0509.429 Base Patches for HP-UX 11i v1, September 2005&lt;BR /&gt;</description>
      <pubDate>Fri, 03 Feb 2006 11:51:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-share-and-rights-very-strange/m-p/3723085#M550002</guid>
      <dc:creator>Coolmar</dc:creator>
      <dc:date>2006-02-03T11:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Samba Share and rights very strange</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-share-and-rights-very-strange/m-p/3723086#M550003</link>
      <description>You've the latest and greatest alright...&lt;BR /&gt;&lt;BR /&gt;I guess your best course of action is check out the issues and forums at &lt;A href="http://www.samba.org" target="_blank"&gt;www.samba.org&lt;/A&gt; if there are issues vis a vis certain Windows 2K/2003 patches.&lt;BR /&gt;&lt;BR /&gt;OR, if you have full HP-UX support -- approach HP since HP CIFS is fully supported.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 03 Feb 2006 12:07:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-share-and-rights-very-strange/m-p/3723086#M550003</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2006-02-03T12:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: Samba Share and rights very strange</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-share-and-rights-very-strange/m-p/3723087#M550004</link>
      <description>Thanks Nelson.  Hey, do you think I should roll back those Goldbase and GoldApps patches?</description>
      <pubDate>Fri, 03 Feb 2006 12:09:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-share-and-rights-very-strange/m-p/3723087#M550004</guid>
      <dc:creator>Coolmar</dc:creator>
      <dc:date>2006-02-03T12:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: Samba Share and rights very strange</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-share-and-rights-very-strange/m-p/3723088#M550005</link>
      <description>No. Keep 'em.&lt;BR /&gt;&lt;BR /&gt;I will however double check everything on your HP-UX side.&lt;BR /&gt;&lt;BR /&gt;I will even go to the extreme of having the machine account revoked on the domain. Remove your /var/opt/samba/private/secrets.tdb and go to the process of having the machine accoutn created (Wizard) and membership redone (net rpc join). If you've a cooperative and interested Windows Admin and you're runing Windows 2000/2003 ADS ..then you might just go straight and use SECURITY=ADS. This is fully documented in the CIFS Server manuals.&lt;BR /&gt;</description>
      <pubDate>Fri, 03 Feb 2006 12:17:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-share-and-rights-very-strange/m-p/3723088#M550005</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2006-02-03T12:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Samba Share and rights very strange</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-share-and-rights-very-strange/m-p/3723089#M550006</link>
      <description>Hi Sally,&lt;BR /&gt;&lt;BR /&gt;Without doing a controlled duplication, I think we're all just guessing, but here'goes another try.&lt;BR /&gt;&lt;BR /&gt;Usually domain membership issues have more to do with authentication than permissions.  Since your users apparently get authenticated okay (they can mount the share) then I think your domain membership is okay.&lt;BR /&gt;&lt;BR /&gt;I agree with Nelson that you can leave your HP-UX patches alone.  However, the Windows patches may be an area of concern.  Since you are using winbind, you are dependant upon winbind to get user/group data from the DC - for permissions.  If your Windows patches messed up your winbind anonynmous connection, then you may not be getting your correct group permissions for your users.  To set your winbind access manually, use "wbinfo -a administrator%password".  This will manually set a user/password which winbind will use to access the DC for account info.  Then do a "groups username" from the HP-UX box to ensure that your users are getting the correct group enumeration.  Just a guess.&lt;BR /&gt;&lt;BR /&gt;The only other way that I can see a Windows patch affecting permissions is if a new client policy was introduced and propogated out with Group Policy Manager, and that somehow affects client share access.  Since your clients can mount the share, do a right click on one of the files and look at the advanced security menu.  Click Edit and see what your effective permissions are.  If the "writers" do not have full control - with delete/rename or whatever - then maybe there was some sort of client policy introduced without your knowledge.&lt;BR /&gt;&lt;BR /&gt;Another guess.  See you later,&lt;BR /&gt;&lt;BR /&gt;Eric Roseme</description>
      <pubDate>Fri, 03 Feb 2006 15:46:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-share-and-rights-very-strange/m-p/3723089#M550006</guid>
      <dc:creator>eric roseme</dc:creator>
      <dc:date>2006-02-03T15:46:51Z</dc:date>
    </item>
  </channel>
</rss>

