diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-06-09 06:58:06 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-06-09 06:58:06 +0000 |
commit | 15cf0e847009faf7fb90bd7e9e27db6999c88eef (patch) | |
tree | fc2d0d20859c1e2199b4c76133ef2be076cdf189 /source3/smbd/chgpasswd.c | |
parent | 844d3b512de819643624d6d010753b7ca39324de (diff) | |
download | samba-15cf0e847009faf7fb90bd7e9e27db6999c88eef.tar.gz samba-15cf0e847009faf7fb90bd7e9e27db6999c88eef.tar.bz2 samba-15cf0e847009faf7fb90bd7e9e27db6999c88eef.zip |
clean up oplock capability code ready for Linux code
(This used to be commit 70dcc791b45ac64fc536ef449e4e6b53b2b68fd4)
Diffstat (limited to 'source3/smbd/chgpasswd.c')
-rw-r--r-- | source3/smbd/chgpasswd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/smbd/chgpasswd.c b/source3/smbd/chgpasswd.c index d27cf373f5..b6aaf4765b 100644 --- a/source3/smbd/chgpasswd.c +++ b/source3/smbd/chgpasswd.c @@ -406,9 +406,7 @@ static BOOL chat_with_program(char *passwordprogram, char *name, /* * Lose any oplock capabilities. */ - set_process_capability(KERNEL_OPLOCK_CAPABILITY, False); - set_inherited_process_capability(KERNEL_OPLOCK_CAPABILITY, - False); + oplock_set_capability(False, False); /* make sure it doesn't freeze */ alarm(20); |