Fix typo that disabled setting group id. Thanks, Henrik.
authorDerrell Lipman <derrell.lipman@unwireduniverse.com>
Fri, 18 Jan 2008 19:22:49 +0000 (14:22 -0500)
committerDerrell Lipman <derrell.lipman@unwireduniverse.com>
Fri, 18 Jan 2008 19:22:49 +0000 (14:22 -0500)
(This used to be commit 843e1694cfe4a999ed14a9c215b8e77723d0fe79)

source3/libsmb/libsmbclient.c

index 2fd8294d046ed1eb7421a42025359e8295482686..fbcb7f64e2c1f0de93eecba953d60f5420d2bfc2 100644 (file)
@@ -5931,7 +5931,7 @@ smbc_setxattr_ctx(SMBCCTX *context,
                 } else {
                         ret = cacl_set(talloc_tos(), srv->cli,
                                        ipc_srv->cli, &ipc_srv->pol, path,
                 } else {
                         ret = cacl_set(talloc_tos(), srv->cli,
                                        ipc_srv->cli, &ipc_srv->pol, path,
-                                       namevalue, SMBC_XATTR_MODE_CHOWN, 0);
+                                       namevalue, SMBC_XATTR_MODE_CHGRP, 0);
                 }
                TALLOC_FREE(frame);
                 return ret;
                 }
                TALLOC_FREE(frame);
                 return ret;