diff options
author | James Peach <jpeach@samba.org> | 2006-03-21 02:56:49 +0000 |
---|---|---|
committer | James Peach <jpeach@samba.org> | 2006-03-21 02:56:49 +0000 |
commit | ce7fc738afbaaedbda4e5f3f5367a70e11fff46d (patch) | |
tree | d6f658f13b667bc1ff2b9b2c8658f084a2b01e91 /source/smbd/chgpasswd.c | |
parent | d2b2216e99735dfbc0fca6a3a9da1d00003ded07 (diff) | |
download | samba-ce7fc738afbaaedbda4e5f3f5367a70e11fff46d.tar.gz samba-ce7fc738afbaaedbda4e5f3f5367a70e11fff46d.tar.xz samba-ce7fc738afbaaedbda4e5f3f5367a70e11fff46d.zip |
r14600: Refactor capability interface from being IRIX-specific to using only
the POSIX interface. Note that this removes support for inherited
capabilities. This wasn't used, and probably should not be.
Diffstat (limited to 'source/smbd/chgpasswd.c')
-rw-r--r-- | source/smbd/chgpasswd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/chgpasswd.c b/source/smbd/chgpasswd.c index 224ae3d763e..aef487f4a76 100644 --- a/source/smbd/chgpasswd.c +++ b/source/smbd/chgpasswd.c @@ -417,7 +417,7 @@ while we were waiting\n", WTERMSIG(wstat))); /* * Lose any oplock capabilities. */ - oplock_set_capability(False, False); + drop_effective_capability(KERNEL_OPLOCK_CAPABILITY); /* make sure it doesn't freeze */ alarm(20); |