diff options
| author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-12-20 02:31:17 +0000 |
|---|---|---|
| committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-12-20 02:31:17 +0000 |
| commit | c5a60678662674fc395d92fd582e1eced19bd0a3 (patch) | |
| tree | b5b55ffd0536a445c1c7059683e68ac460b2ab02 /net/nss_ldap/files/patch-ldap-pwd.c | |
| parent | - fix Position, drop MP3ToWav (diff) | |
- In some cases (like sudo), we should check euid not uid, thanks for
jnlin at csie.nctu.edu.tw
- Use MAN5PREFIX
- portlint warns:
1) IGNORE should be lowercase-lead
2) INSTALLS_SHLIB should be replaced by USE_LDCONFIG
3) PLIST_FILES should be used when only two files
- Bump PORTREVISION
PR: ports/104310
Submitted by: Gea-Suan Lin <gslin_AT_gslin dot org>
Approved by: maintainer (timeout)
Diffstat (limited to 'net/nss_ldap/files/patch-ldap-pwd.c')
| -rw-r--r-- | net/nss_ldap/files/patch-ldap-pwd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/nss_ldap/files/patch-ldap-pwd.c b/net/nss_ldap/files/patch-ldap-pwd.c index e6eb878b4988..43558b6cd4f5 100644 --- a/net/nss_ldap/files/patch-ldap-pwd.c +++ b/net/nss_ldap/files/patch-ldap-pwd.c @@ -21,7 +21,7 @@ + * { + */ /* don't include password for shadowAccount */ -+ if (getuid() != 0) ++ if (geteuid() != 0) + { + /* don't include password for non-root users */ if (buflen < 3) |
