Re: [Samba] Switching between acl_tdb and acl_xattr

2013-01-16 Thread Andrew Bartlett
On Tue, 2013-01-15 at 23:14 +, Steve Tice wrote:
 Andrew Bartlett abartlet at samba.org writes:
 
  
  Using Samba 4.0.0, the python bindings or even samba-tool ntacl get/set
  would be quite a good choice here.  We can read directly the NT ACL from
  the tdb and then set it using the xattr code.
  
  I'm very happy to help out if you have any more questions here, as we
  certainly do have a good range of tools that should be able to help you
  out.  
 
 Andrew, here's a status update on my attempts to accomplish this.
 
 1. Attempted to build the source4 tree provided with the source tarball
 for the samba-3.5.10-125.el6 package. The build did not complete, failing
 when it tried to link bin/wbinfo. The pertinent output from make was
 
   Linking bin/wbinfo
   bin/mergedobj/cli_auth.o: In function `netlogon_creds_copy':
   (.text+0x17e3): undefined reference to `dom_sid_dup'
   collect2: ld returned 1 exit status
   make: *** [bin/wbinfo] Error 1
 
 2. Successfully built (everything) from a samba-4.0.0beta8 tarball.
 
 Would you expect the source4 tree from the samba-3.5.10-125.el6
 tarball to build without error? If it did build cleanly, would it
 even include the tools you mentioned above?

No, it would not.

 Is it reasonable to continue on this path with samba-4.0.0beta8?

Please use the Samba 4.0.1 release tarball.  Why are you trying beta8?

Andrew Bartlett

-- 
Andrew Bartletthttp://samba.org/~abartlet/
Authentication Developer, Samba Team   http://samba.org


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Switching between acl_tdb and acl_xattr

2013-01-15 Thread Steve Tice
Andrew Bartlett abartlet at samba.org writes:

 
 Using Samba 4.0.0, the python bindings or even samba-tool ntacl get/set
 would be quite a good choice here.  We can read directly the NT ACL from
 the tdb and then set it using the xattr code.
 
 I'm very happy to help out if you have any more questions here, as we
 certainly do have a good range of tools that should be able to help you
 out.  

Andrew, here's a status update on my attempts to accomplish this.

1. Attempted to build the source4 tree provided with the source tarball
for the samba-3.5.10-125.el6 package. The build did not complete, failing
when it tried to link bin/wbinfo. The pertinent output from make was

  Linking bin/wbinfo
  bin/mergedobj/cli_auth.o: In function `netlogon_creds_copy':
  (.text+0x17e3): undefined reference to `dom_sid_dup'
  collect2: ld returned 1 exit status
  make: *** [bin/wbinfo] Error 1

2. Successfully built (everything) from a samba-4.0.0beta8 tarball.

Would you expect the source4 tree from the samba-3.5.10-125.el6
tarball to build without error? If it did build cleanly, would it
even include the tools you mentioned above?

Is it reasonable to continue on this path with samba-4.0.0beta8?

Thanks,
stic

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba