Todd C. Miller
3c57d6a06d
Add support for ldaps using Tivoli LDAP libraries.
...
Add ldap.conf option to specify Tivoli key db password.
Allow TLS ciphers to be configured for Tivoli.
2012-06-29 12:14:45 -04:00
Todd C. Miller
f56bada404
Tivoli Directory Server 6.3 libs always return a (bogus) error
...
when setting LDAP_OPT_CONNECT_TIMEOUT.
2012-06-28 15:42:38 -04:00
Todd C. Miller
06637e5283
Update
2012-06-28 15:01:02 -04:00
Todd C. Miller
cfe0034cdf
Treat LDAP_OPT_CONNECT_TIMEOUT (Tivoli Directory Server 6.3) the
...
same as LDAP_OPT_CONNECT_TIMEOUT (OpenSSH).
Don't make failure to a set an ldap option fatal.
2012-06-28 14:58:15 -04:00
Todd C. Miller
7d5048a5be
Zero pointers in sudo_user struct after freeing, just in case.
2012-06-27 17:04:39 -04:00
Todd C. Miller
899fcc05ac
Free user_gids in close function if it has not already been freed.
2012-06-27 16:56:55 -04:00
Todd C. Miller
1cd50d0bce
Defer group ID to name resolution until we actually need it.
2012-06-27 16:50:56 -04:00
Todd C. Miller
faf89fc792
It is safe to read in sudo.conf before calling user_info().
2012-06-27 15:17:18 -04:00
Todd C. Miller
e9f5a38398
Use MAX_UID_T_LEN + 1 for uid/gid buffers, not MAX_UID_T_LEN to
...
prevent potential truncation. Bug #562 .
2012-06-27 13:41:58 -04:00
Todd C. Miller
386ba7b062
If installing with installp, error out if there is already an
...
instance of the rpm package installed.
2012-06-25 16:16:25 -04:00
Todd C. Miller
bcd8549a9c
Add --disable-nls for AIX
2012-06-25 14:00:11 -04:00
Todd C. Miller
5c1ba0b49d
Debian sudo-ldap packages should now depend on libldap-2.4-2, not
...
libldap2.
2012-06-22 10:57:23 -04:00
Todd C. Miller
e571d6ff68
Add Homepage and Bugs to debian control file.
2012-06-21 13:41:39 -04:00
Todd C. Miller
6103bbc67f
fix typo when setting aix_freeware
2012-06-20 14:18:14 -04:00
Todd C. Miller
9497df293a
Don't run regress tests or sudoers sanity check (using the newly-built
...
visudo) when cross compiling. Bug #560
2012-06-20 13:38:17 -04:00
Todd C. Miller
bcfeddc998
Rename foo.sym -> foo.exp
...
Remove foo.map from the repo and generate it on demand
Use a loader option file for HP-UX ld to explicitly export symbols
2012-06-20 12:58:16 -04:00
Todd C. Miller
b0475b59dc
Remove extraneous backslash
2012-06-20 12:32:51 -04:00
Todd C. Miller
a49238e3f1
Don't check for errorx as an exported symbols as it is now a macro.
...
Check for user_in_group() instead.
2012-06-20 09:38:25 -04:00
Todd C. Miller
b567282f86
Adjust ld map file support to use an anonymous scope to match the
...
updated .map files.
2012-06-19 13:23:37 -04:00
Todd C. Miller
c74d406313
Older versions of Solaris lack ngettext()
2012-06-18 14:29:06 -04:00
Todd C. Miller
af8a211e4b
Move the check for -static-libgcc until after AC_LANG_WERROR
...
has been called and use AX_CHECK_COMPILE_FLAG().
2012-06-18 14:10:50 -04:00
Todd C. Miller
2ef0cc73fc
Sudo defines HAVE_SETLOCALE not HAVE_LOCALE_H
2012-06-18 14:03:39 -04:00
Todd C. Miller
5ac272c03e
Fix gcc 2.x variant macro support.
2012-06-18 14:03:11 -04:00
Todd C. Miller
45fea137f9
Fix compilation on gcc 2.95 and other compilers that only allow
...
variable declarations at the beginning of a block.
2012-06-18 13:47:01 -04:00
Todd C. Miller
fdcc8e1fce
Link check_symbols with SUDO_LIBS to make sure we link with the
...
requisite libraries to successfully dlopen sudoers.so. This is
needed on HP-UX where a program dlopen()ing a shared object that
uses pthreads must also be linked with pthreads (and HP-UX LDAP
uses pthreads).
2012-06-18 10:21:05 -04:00
Todd C. Miller
86cececc16
Add check for exported local symbols. This will cause a "make
...
check" failure on systems where we don't support symbol hiding.
2012-06-18 10:21:01 -04:00
Todd C. Miller
7e67a9153a
Additional ${foo} -> $(foo) Makefile tweaks.
2012-06-18 09:50:42 -04:00
Todd C. Miller
437978bd35
No need to provide a name for the scope in the map file since we
...
don't use the it for versioning.
2012-06-18 09:25:29 -04:00
Todd C. Miller
2a83d1c6d5
Add regress test for symbol visibility.
2012-06-17 20:23:21 -04:00
Todd C. Miller
0888101bb3
sudo 1.8.6
2012-06-15 14:34:15 -04:00
Todd C. Miller
60a3019483
Add support for controlling symbol visibility using the HP and
...
Solaris C compilers.
2012-06-15 14:18:23 -04:00
Todd C. Miller
203abd98b9
Use the expanded io log dir when updating the sequence number.
...
Includes a workaround for older versions of sudo where the
sequence number was stored in the unexpanded io log dir.
2012-06-15 12:33:12 -04:00
Todd C. Miller
85c6078659
Simplify "sudo -s" argv rewriting.
2012-06-14 16:17:15 -04:00
Todd C. Miller
47abbb90a2
Don't use a map file for sudo_noexec.so since Solaris ld doesn't
...
allow '*' in the global section. The libtool export flag is now
added to LT_LDFLAGS instead of commenting/uncommenting lines.
2012-06-14 11:35:02 -04:00
Todd C. Miller
1fe3f9f40f
The visibility attribute was actually added in gcc 3.3.x, not 4.0.
...
Just assume that if -fvisibility=hidden works that the attribute
is usable.
2012-06-13 16:57:49 -04:00
Todd C. Miller
649edc3192
Export group cache from sudoers.so for system_group.so to use.
2012-06-13 16:21:45 -04:00
Todd C. Miller
6f6b0dec6c
Use gcc's visibility attribute to specify when symbols are visible
...
or hidden, if available. If not available, use an ELF version
script if it is supported. If all else fails, fall back to using
libtool's -export-symbols.
2012-06-13 14:01:16 -04:00
Todd C. Miller
60eafc971f
Add mode for installed locale files but leave the directories with
...
default mode and owner.
2012-06-12 13:52:20 -04:00
Todd C. Miller
c498235578
Install AIX packages under /opt/freeware with links in /usr/bin and
...
/usr/sbin. This matches the layout of the sudo package from AIX
freeware.
2012-06-11 15:07:16 -04:00
Todd C. Miller
a8e0687ca9
Install shared objects with mode 0644 except on HP-UX which needs
...
the executable bit set.
2012-06-11 10:45:34 -04:00
Todd C. Miller
c131cb36f5
Make installed file modes consistent with the file modes in the
...
sudo package.
2012-06-11 10:17:19 -04:00
Todd C. Miller
642b7e8873
Add "%:" prefix when talking about QAS non-Unix group support.
2012-06-08 13:28:47 -04:00
Todd C. Miller
f5948149e0
Fix packaging of symbolic links on HP-UX when the link source already
...
exists in the filesystem.
2012-06-08 13:27:16 -04:00
Todd C. Miller
db9f50f13c
Only specify prefix if we are overriding the default value.
...
Fixes the man dir (/usr/local/man vs. /usr/local/share/man).
2012-06-08 13:26:16 -04:00
Todd C. Miller
94049aa532
Fix setting of sudoedit_man variable.
2012-06-08 09:37:43 -04:00
Todd C. Miller
afbf68d6a3
Echo the command when linking the sudoedit manual.
2012-06-08 09:37:08 -04:00
Todd C. Miller
4c88e08c87
Build .deb packages with selinux support.
2012-06-07 13:59:36 -04:00
Todd C. Miller
13472d7a8e
Don't list paths for unstripped binaries in the lintial overrides.
2012-06-04 15:06:04 -04:00
Todd C. Miller
37db1a4dcb
Add support for Installed-Size header in control file, required by
...
newer debian versions.
2012-06-04 14:53:47 -04:00
Todd C. Miller
0a66c24392
Fix extended description in .deb files.
2012-06-04 13:22:47 -04:00