summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-08-13 20:54:24 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-08-15 05:23:18 +0200
commit24b11430680ebd20303168ec73142226543ad6de (patch)
tree8ba94742ddf933efa9856041de4bc67b067d7267 /source3/smbd
parent6ccfd05e72bc010ccb291a169922cedd6a5ab702 (diff)
downloadsamba-24b11430680ebd20303168ec73142226543ad6de.tar.gz
samba-24b11430680ebd20303168ec73142226543ad6de.tar.bz2
samba-24b11430680ebd20303168ec73142226543ad6de.zip
s3-sysacls: Remove sys_acl_free_qualifier() as it is a no-op
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Aug 15 05:23:18 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/posix_acls.c2
-rw-r--r--source3/smbd/trans2.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c
index 4efcb33a13..c45003defd 100644
--- a/source3/smbd/posix_acls.c
+++ b/source3/smbd/posix_acls.c
@@ -2667,7 +2667,6 @@ static canon_ace *canonicalise_acl(struct connection_struct *conn,
unix_ug.type = ID_TYPE_UID;
unix_ug.id = *puid;
owner_type = UID_ACE;
- sys_acl_free_qualifier((void *)puid,tagtype);
break;
}
case SMB_ACL_GROUP_OBJ:
@@ -2688,7 +2687,6 @@ static canon_ace *canonicalise_acl(struct connection_struct *conn,
unix_ug.type = ID_TYPE_GID;
unix_ug.id = *pgid;
owner_type = GID_ACE;
- sys_acl_free_qualifier((void *)pgid,tagtype);
break;
}
case SMB_ACL_MASK:
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 679e3fa828..b30478cb25 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -3899,7 +3899,6 @@ static bool marshall_posix_acl(connection_struct *conn, char *pdata, SMB_STRUCT_
return False;
}
own_grp = (unsigned int)*puid;
- sys_acl_free_qualifier((void*)puid,tagtype);
SCVAL(pdata,0,SMB_POSIX_ACL_USER);
SIVAL(pdata,2,own_grp);
SIVAL(pdata,6,0);
@@ -3919,7 +3918,6 @@ static bool marshall_posix_acl(connection_struct *conn, char *pdata, SMB_STRUCT_
return False;
}
own_grp = (unsigned int)*pgid;
- sys_acl_free_qualifier((void *)pgid,tagtype);
SCVAL(pdata,0,SMB_POSIX_ACL_GROUP);
SIVAL(pdata,2,own_grp);
SIVAL(pdata,6,0);