Bug 7978 - ACL Support for HP NonStop
ACL Support for HP NonStop
Status: NEW
Product: Samba 3.6
Classification: Unclassified
Component: VFS Modules
3.6.8
IA64 Other
: P3 normal
: ---
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-03-01 06:43 UTC by Joachim Schmitz
Modified: 2012-09-17 12:38 UTC (History)
0 users

See Also:


Attachments
Patch (3.87 KB, patch)
2011-03-01 06:46 UTC, Joachim Schmitz
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joachim Schmitz 2011-03-01 06:43:05 UTC
HP NonStop basically uses the same ACLs as HPUX, so we can get them to work with only relative minor changes, patch follows...
Comment 1 Joachim Schmitz 2011-03-01 06:46:15 UTC
Created attachment 6273 [details]
Patch
Comment 2 Volker Lendecke 2011-03-01 08:38:27 UTC
-#if defined(POSIX_ACL_NEEDS_MASK)
+#if defined(POSIX_ACL_NEEDS_MASK) || defined (__TANDEM) /* or in configure */

Is that hunk still needed, given that you define POSIX_ACL_NEEDS_MASK in configure?

Volker
Comment 3 Joachim Schmitz 2011-03-01 08:40:03 UTC
It is an alternative. Sorry, should have mentioned this...

Bye, Jojo
Comment 4 Jeremy Allison 2011-04-06 00:30:07 UTC
Can you fix this to not use a system-specific 

if defined(__TANDEM)

please ? It took a long time to move away from system-specific ifdefs and I *really* don't want to move back..

Jeremy.
Comment 5 Joachim Schmitz 2011-04-06 08:21:37 UTC
Hmm, should be possible, it would mean a couple new checks in configure thoguh, for:

- sys/acl.h (vs. sys/aclv.h)
- hpux_acl_call_present()
- hpux_aclsort_call_present()

Plus the corresponding changes to vfs_hpuxacl.c (e.g. #ifdef HAVE_SYS_ACL_H, #ifdef HPUX_ACL_CALL_ALWAYS_PRESENT, #ifdef HPUX_ACLSORT_CALL ALWAYS_PRESENT

I'm not fluent enough in the configure/autoconf/automake syntax for this, unfortunatly.

bye, Jojo
Comment 6 Volker Lendecke 2011-04-07 10:54:02 UTC
On Wed, Apr 06, 2011 at 08:21:37AM +0000, samba-bugs@samba.org wrote:
> --- Comment #5 from Joachim Schmitz <schmitz@hp.com> 2011-04-06 08:21:37 UTC ---
> Hmm, should be possible, it would mean a couple new checks in configure thoguh,
> for:
> 
> - sys/acl.h (vs. sys/aclv.h)
> - hpux_acl_call_present()
> - hpux_aclsort_call_present()
> 
> Plus the corresponding changes to vfs_hpuxacl.c (e.g. #ifdef HAVE_SYS_ACL_H,
> #ifdef HPUX_ACL_CALL_ALWAYS_PRESENT, #ifdef HPUX_ACLSORT_CALL ALWAYS_PRESENT
> 
> I'm not fluent enough in the configure/autoconf/automake syntax for this,
> unfortunatly.

For this kind of change access to such a box would be
extremely handy.

Volker
Comment 7 Joachim Schmitz 2011-04-11 07:04:09 UTC
Access to such a system has been set up...
Comment 8 Joachim Schmitz 2012-09-17 12:38:20 UTC
Any chance of moving this forward somehow?