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)
Showing
- INSTALL 6 additions, 6 deletionsINSTALL
- configure 22 additions, 17 deletionsconfigure
- configure.in 7 additions, 2 deletionsconfigure.in
- doc/man/man8/slapd.8 4 additions, 4 deletionsdoc/man/man8/slapd.8
- include/portable.h.in 15 additions, 0 deletionsinclude/portable.h.in
- servers/slapd/main.c 20 additions, 13 deletionsservers/slapd/main.c
- servers/slapd/user.c 11 additions, 2 deletionsservers/slapd/user.c
Loading
Please register or sign in to comment