diff options
author | Björn Jacke <bj@sernet.de> | 2012-09-14 09:40:07 +0200 |
---|---|---|
committer | Bjoern Jacke <bj@sernet.de> | 2012-09-14 10:42:17 +0200 |
commit | 9222f0f9280485c2751ecfdb96421da25e6e5344 (patch) | |
tree | 3294c9f6f6acb9009f54146722e22a01b689d731 /source3/modules | |
parent | 35632eec8e3b0dcfecffde814a790cc4f444dd97 (diff) | |
download | samba-9222f0f9280485c2751ecfdb96421da25e6e5344.tar.gz samba-9222f0f9280485c2751ecfdb96421da25e6e5344.tar.bz2 samba-9222f0f9280485c2751ecfdb96421da25e6e5344.zip |
s3: fix the tru64 acl module
This was not adopted to the recent VFS acl structure changes.
Diffstat (limited to 'source3/modules')
-rw-r--r-- | source3/modules/vfs_tru64acl.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/modules/vfs_tru64acl.c b/source3/modules/vfs_tru64acl.c index 09f8c3933f..918f7c6d00 100644 --- a/source3/modules/vfs_tru64acl.c +++ b/source3/modules/vfs_tru64acl.c @@ -160,7 +160,7 @@ static struct smb_acl_t *tru64_acl_to_smb_acl(const struct acl *tru64_acl) DEBUG(10, ("Hi! This is tru64_acl_to_smb_acl.\n")); - if ((result = sys_acl_init(0)) == NULL) { + if ((result = sys_acl_init()) == NULL) { DEBUG(0, ("sys_acl_init() failed in tru64_acl_to_smb_acl\n")); errno = ENOMEM; goto fail; @@ -299,23 +299,23 @@ static acl_t smb_acl_to_tru64_acl(const SMB_ACL_T smb_acl) switch (smb_entry->a_type) { case SMB_ACL_USER: if (acl_set_qualifier(tru64_entry, - (int *)&smb_entry->uid) != 0) + (int *)&smb_entry->info.user.uid) != 0) { DEBUG(3, ("acl_set_qualifier failed: %s\n", strerror(errno))); goto fail; } - DEBUGADD(10, (" - setting uid to %d\n", smb_entry->uid)); + DEBUGADD(10, (" - setting uid to %d\n", smb_entry->info.user.uid)); break; case SMB_ACL_GROUP: if (acl_set_qualifier(tru64_entry, - (int *)&smb_entry->gid) != 0) + (int *)&smb_entry->info.group.gid) != 0) { DEBUG(3, ("acl_set_qualifier failed: %s\n", strerror(errno))); goto fail; } - DEBUGADD(10, (" - setting gid to %d\n", smb_entry->gid)); + DEBUGADD(10, (" - setting gid to %d\n", smb_entry->info.group.gid)); break; default: break; |