Todd C. Miller
9846e562ad
Implement group caching and use the passwd and group caches throughout.
2004-11-16 04:24:11 +00:00
Todd C. Miller
6c5550d13c
Split sudo_ldap_check() into three pieces: sudo_ldap_open(),
...
udo_ldap_update_defaults() and sudo_ldap_check(). This allows
us to connecto to LDAP, apply the default options, find the command
in the user's path, and then check whether the user is allowed to
run it. The important thing here is that the default runas user
may be specified as a default option and that needs to be set
before we search for the command.
2004-10-26 22:19:58 +00:00
Todd C. Miller
0de1515d06
Add casts to unsigned char for isspace() to quiet a gcc warning.
2004-10-26 22:17:15 +00:00
Todd C. Miller
f7d7a3d5f7
sudo should not send mail if someone who runs 'sudo -l' has no entry.
2004-10-26 22:07:03 +00:00
Todd C. Miller
66992e10ef
If LDAP_OPT_SUCCESS is not defined, use LDAP_SUCCESS instead.
...
Fixes a compilation problem with Solaris 9's native LDAP.
Set FLAG_MONITOR when needed.
2004-10-25 17:38:24 +00:00
Aaron Spangler
646d43cf5c
config tls_* options
2004-09-02 04:03:25 +00:00
Aaron Spangler
2ceb87bc56
Allow --with-ldap-conf-file option to override LDAP_CONF
2004-08-27 03:44:35 +00:00
Aaron Spangler
b7ea12521a
cleanup debug message
2004-08-27 02:08:10 +00:00
Aaron Spangler
02381e4c26
reflect changes to parse.c
2004-08-03 02:34:20 +00:00
Aaron Spangler
921f746138
Better debugging of ALL command
2004-07-08 01:04:50 +00:00
Aaron Spangler
5e8d3f8f26
Added !command feature
2004-07-04 23:59:27 +00:00
Todd C. Miller
ed7aee0e2f
update (c) year
2004-06-07 00:02:56 +00:00
Todd C. Miller
713e419fe9
Remove trailing spaces, no actual code changes.
2004-06-06 23:58:11 +00:00
Aaron Spangler
1158691104
Solaris native LDAP build fix
2004-06-03 00:30:44 +00:00
Todd C. Miller
23da57f9fe
Set edn to NULL is ldap_get_dn() fails to avoid potential use of an unset
...
variable.
2004-06-01 20:56:52 +00:00
Aaron Spangler
42cfd56127
Added start_tls support
2004-02-28 23:54:20 +00:00
Todd C. Miller
3a2282c927
More to a less restrictive, ISC-style license.
2004-02-13 21:36:43 +00:00
Aaron Spangler
b0226e939b
Merged in LDAP Support
2004-02-13 02:08:27 +00:00