Kurt Zeilenga
b6de12f552
revert constification of slap_init_user()
2002-01-29 19:01:15 +00:00
Kurt Zeilenga
0a31400d63
Some misc cleanup
2002-01-29 06:06:20 +00:00
Kurt Zeilenga
0e2af54a3f
Update copyright statements
2002-01-04 21:17:25 +00:00
Pierangelo Masarati
aee3600276
minor cleanup
2001-11-17 16:18:07 +00:00
Gary Williams
f49fd8a98e
fix format
2001-01-17 16:35:53 +00:00
Gary Williams
ffcdc6d11d
More new logging (Behind NEW_LOGGING)
2001-01-15 19:17:29 +00:00
Kurt Zeilenga
4bc786f34b
Y2k copyright update
2000-05-13 02:47:56 +00:00
Kurt Zeilenga
403f4479bc
Add OpenLDAP RCSid to *.[ch] in clients, libraries, and servers.
...
Replace old Id as needed (back-tcl).
Leave updating of contribWare to contributors (for now).
1999-09-08 19:06:24 +00:00
Hallvard Furuseth
7cb866642d
Fix Debug printf format
1999-09-02 08:11:54 +00:00
Kurt Zeilenga
9c3ed0310b
Add copyright notices.
1999-08-06 23:07:46 +00:00
Kurt Zeilenga
df8f7cbb9b
s/exit(1)/exit(EXIT_FAILURE)/
...
s/exit(0)/exit(EXIT_SUCCESS)/
add <ac/stdlib.h> where needed and other minor header adjustments
1999-08-03 18:14:24 +00:00
Hallvard Furuseth
30b3958f94
Introduce got_<gid,uid> (the r1.4 change misbehaved with -user <root>).
...
Also free <user> in !HAVE_GETPWUID case.
1999-07-18 01:04:49 +00:00
Kurt Zeilenga
12b87ceebc
Fix debug message.
1999-07-13 08:24:26 +00:00
Kurt Zeilenga
cf89dd83cd
don't set unsigned variables to -1 and expect them to be negative.
...
verify uid/gid are positive, not non-negative.
1999-06-27 03:58:06 +00:00
Kurt Zeilenga
21c70857f1
s/<stdlib.h>/<ac/stdlib.h>/
1999-06-03 00:37:44 +00:00
Kurt Zeilenga
7ba980f0f6
Modify slapd set user/group support to use -u/-g instead -U/-G.
...
Moved -u (udp) to -c (connectionless). Connectionless is depreciated
and undocumented.
Added tests for set{,e}{u,g}id to configure. Use existance of
setuid/setgid to enable feature. Use seteuid/setegid only if
they exist.
Fixed minor minor leak of username/groupname if specificied
more than once. (This should actually be an error)
1999-04-21 00:40:20 +00:00
Hallvard Furuseth
9ebd9a0289
Add -U and -G options to set user and group id.
...
Move socket setup to set_socket(), called before the uid/gid change.
1999-04-03 03:19:07 +00:00