summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-01-16 23:32:10 +0000
committerJeremy Allison <jra@samba.org>2002-01-16 23:32:10 +0000
commit5cf6457bcc1182eac99f5618b647153707fa41ab (patch)
treed42b47d76c18fc6e3cd2ed8e313cf8ff01d06314 /source3/libsmb
parent04ec469c72c6a220108312cdec3d30081cfe938a (diff)
downloadsamba-5cf6457bcc1182eac99f5618b647153707fa41ab.tar.gz
samba-5cf6457bcc1182eac99f5618b647153707fa41ab.tar.bz2
samba-5cf6457bcc1182eac99f5618b647153707fa41ab.zip
Merged in %S fixes and XX_NOT_CHANGED fixes from 2.2.
Jeremy. (This used to be commit 0fcca6c627a5c9c2219ec9714df5e0bc1a44cc29)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clifile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/clifile.c b/source3/libsmb/clifile.c
index e282c9a6ab..4b7c173a63 100644
--- a/source3/libsmb/clifile.c
+++ b/source3/libsmb/clifile.c
@@ -175,7 +175,7 @@ static BOOL cli_unix_chmod_chown_internal(struct cli_state *cli, const char *fna
BOOL cli_unix_chmod(struct cli_state *cli, const char *fname, mode_t mode)
{
return cli_unix_chmod_chown_internal(cli, fname,
- unix_perms_to_wire(mode), UID_NO_CHANGE, GID_NO_CHANGE);
+ unix_perms_to_wire(mode), SMB_UID_NO_CHANGE, SMB_GID_NO_CHANGE);
}
/****************************************************************************
@@ -184,7 +184,7 @@ BOOL cli_unix_chmod(struct cli_state *cli, const char *fname, mode_t mode)
BOOL cli_unix_chown(struct cli_state *cli, const char *fname, uid_t uid, gid_t gid)
{
- return cli_unix_chmod_chown_internal(cli, fname, MODE_NO_CHANGE, (uint32)uid, (uint32)gid);
+ return cli_unix_chmod_chown_internal(cli, fname, SMB_MODE_NO_CHANGE, (uint32)uid, (uint32)gid);
}
/****************************************************************************