Corinna Vinschen
647b92a7d4
* security.h: Declare internal_getpwsid and internal_getgrsid.
...
Undeclare internal_getpwent. Define DEFAULT_UID_NT. Change
DEFAULT_GID.
* passwd.cc (internal_getpwsid): New function.
(internal_getpwent): Suppress.
(read_etc_passwd): Make static. Rewrite the code for the completion
line. Set curr_lines to 0.
(parse_pwd): Change type to static int. Return 0 for short lines.
(add_pwd_line): Pay attention to the value of parse_pwd.
(search_for): Do not look for nor return the DEFAULT_UID.
* grp.cc (read_etc_group): Make static. Free gr_mem and set
curr_lines to 0. Always call add_pwd_line. Rewrite the code for the
completion line.
(internal_getgrsid): New function.
(parse_grp): If grp.gr_mem is empty, set it to &null_ptr.
Never NULL gr_passwd.
(getgrgid32): Only return the default if ntsec is off and the gid is
ILLEGAL_GID.
* sec_helper.cc (cygsid::get_id): Use getpwsid and getgrsid.
(cygsid_getfrompw): Clean up last line.
(cygsid_getfromgr): Ditto.
(is_grp_member): Use getpwuid32 and getgrgid32.
* uinfo.cc (internal_getlogin): Set DEFAULT_GID at start.
Use getpwsid. Move the read of /etc/group after the second access
to /etc/passwd. Change some debug_printf.
2002-11-20 17:10:05 +00:00
..
2001-09-11 20:01:02 +00:00
2002-11-15 19:04:36 +00:00
2002-06-24 02:08:41 +00:00
2002-01-17 10:39:37 +00:00
2002-09-30 02:51:22 +00:00
2001-12-20 03:03:59 +00:00
2002-09-19 15:12:48 +00:00
2002-11-13 19:36:12 +00:00
2002-11-20 17:10:05 +00:00
2001-10-28 23:05:49 +00:00
2001-10-28 23:05:49 +00:00
2001-10-28 23:05:49 +00:00
2002-01-01 16:49:52 +00:00
2002-10-15 07:03:45 +00:00
2001-12-20 02:55:11 +00:00
2001-12-20 02:55:11 +00:00
2001-10-22 21:09:41 +00:00
2002-10-22 16:18:55 +00:00
2002-10-22 16:18:55 +00:00
2002-08-27 04:10:54 +00:00
2002-08-18 04:14:59 +00:00
2002-09-25 13:53:46 +00:00
2002-09-22 12:04:15 +00:00
2002-09-22 12:04:15 +00:00
2002-09-22 12:04:15 +00:00
2002-09-30 15:17:44 +00:00
2002-09-22 12:04:15 +00:00
2002-09-30 18:31:56 +00:00
2002-09-22 12:04:15 +00:00
2002-09-22 12:04:15 +00:00
2002-09-22 12:04:15 +00:00
2002-11-13 19:36:12 +00:00
2002-10-22 20:16:31 +00:00
2001-10-12 01:51:21 +00:00
2001-09-11 20:01:02 +00:00
2002-11-15 19:04:36 +00:00
2002-06-23 18:55:23 +00:00
2002-10-22 20:16:31 +00:00
2002-10-21 01:00:58 +00:00
2002-08-06 03:40:40 +00:00
2002-09-23 00:31:31 +00:00
2002-09-23 00:31:31 +00:00
2001-10-31 00:55:32 +00:00
2002-11-14 04:29:39 +00:00
2002-11-14 04:29:39 +00:00
2001-10-03 03:49:26 +00:00
2002-10-21 01:00:58 +00:00
2002-10-17 17:45:09 +00:00
2002-09-30 03:05:13 +00:00
2002-06-29 02:36:08 +00:00
2002-09-24 14:17:50 +00:00
2002-11-15 04:35:13 +00:00
2002-10-21 01:00:58 +00:00
2002-10-30 21:05:18 +00:00
2002-06-05 04:01:43 +00:00
2002-09-30 04:35:18 +00:00
2002-11-15 04:35:13 +00:00
2002-10-23 02:32:34 +00:00
2002-09-30 04:35:18 +00:00
2002-11-07 14:16:29 +00:00
2002-09-23 00:31:31 +00:00
2002-10-30 21:05:18 +00:00
2002-11-05 04:24:48 +00:00
2002-09-22 03:38:57 +00:00
2002-09-22 03:38:57 +00:00
2002-10-30 21:05:18 +00:00
2002-11-15 02:12:36 +00:00
2002-11-07 10:22:26 +00:00
2002-09-30 04:35:18 +00:00
2002-09-23 00:31:31 +00:00
2002-11-13 19:36:12 +00:00
2002-10-30 21:05:18 +00:00
2002-07-01 19:03:26 +00:00
2002-09-22 03:38:57 +00:00
2002-11-01 01:47:29 +00:00
2002-11-09 03:17:40 +00:00
2002-10-22 20:16:31 +00:00
2001-09-11 20:01:02 +00:00
2002-06-06 15:35:09 +00:00
2002-05-24 14:24:33 +00:00
2002-11-20 17:10:05 +00:00
2002-10-22 16:18:55 +00:00
2002-10-22 16:18:55 +00:00
2002-09-30 02:51:22 +00:00
2002-09-04 15:17:24 +00:00
2001-10-28 23:05:49 +00:00
2002-05-04 04:30:57 +00:00
2002-08-03 23:34:01 +00:00
2002-02-11 02:25:42 +00:00
2002-07-13 21:15:10 +00:00
2001-09-24 21:50:44 +00:00
2002-10-07 04:12:54 +00:00
2002-11-14 02:15:23 +00:00
2002-09-23 00:31:31 +00:00
2002-09-23 00:31:31 +00:00
2002-10-20 04:15:50 +00:00
2002-09-23 00:31:31 +00:00
2002-08-28 16:08:09 +00:00
2002-11-15 04:35:13 +00:00
2002-01-13 20:03:03 +00:00
2002-10-21 01:00:58 +00:00
2002-09-22 12:04:15 +00:00
2002-11-19 08:01:49 +00:00
2001-12-20 02:55:11 +00:00
2002-07-05 21:58:49 +00:00
2002-09-19 15:12:48 +00:00
2002-11-20 17:10:05 +00:00
2002-09-30 04:35:18 +00:00
2002-09-30 02:51:22 +00:00
2002-08-18 05:49:26 +00:00
2002-11-13 19:36:12 +00:00
2002-10-30 21:05:18 +00:00
2002-11-09 03:17:40 +00:00
2002-11-20 11:00:15 +00:00
2001-09-11 20:01:02 +00:00
2001-09-11 20:01:02 +00:00
2002-09-29 23:47:45 +00:00
2002-10-24 14:33:13 +00:00
2002-06-05 04:01:43 +00:00
2001-09-11 20:01:02 +00:00
2002-10-07 20:06:16 +00:00
2001-12-20 02:55:11 +00:00
2002-09-22 12:04:15 +00:00
2001-09-19 15:54:12 +00:00
2002-11-13 19:36:12 +00:00
2002-09-22 03:38:57 +00:00
2002-11-20 17:10:05 +00:00
2002-11-20 09:23:21 +00:00
2002-11-20 17:10:05 +00:00
2002-11-15 18:58:12 +00:00
2001-09-11 20:01:02 +00:00
2002-09-22 12:04:15 +00:00
2002-10-22 16:18:55 +00:00
2002-11-02 03:31:15 +00:00
2002-09-22 12:04:15 +00:00
2002-11-15 19:04:36 +00:00
2002-11-15 04:35:13 +00:00
2002-08-18 04:13:57 +00:00
2002-06-13 17:28:11 +00:00
2002-10-17 17:45:09 +00:00
2002-01-24 21:39:09 +00:00
2002-04-04 05:28:49 +00:00
2002-10-22 16:18:55 +00:00
2002-10-30 21:05:18 +00:00
2002-06-05 04:01:43 +00:00
2002-08-16 19:41:39 +00:00
2002-11-20 09:23:21 +00:00
2002-09-22 03:38:57 +00:00
2002-09-22 03:38:57 +00:00
2002-09-22 03:38:57 +00:00
2002-11-13 19:36:12 +00:00
2002-10-17 08:44:18 +00:00
2002-09-22 12:04:15 +00:00
2002-09-22 12:04:15 +00:00
2002-10-21 01:00:58 +00:00
2002-11-16 06:22:42 +00:00
2002-03-05 18:03:32 +00:00
2001-09-06 05:17:22 +00:00
2002-11-20 17:10:05 +00:00
2002-06-05 04:01:43 +00:00
2002-10-21 01:00:58 +00:00
2002-06-23 18:55:23 +00:00
2002-10-15 17:04:20 +00:00
2002-10-15 17:04:20 +00:00
2002-10-13 18:16:33 +00:00
2002-11-13 22:08:05 +00:00
2002-06-13 17:28:11 +00:00
2002-09-22 12:04:15 +00:00
2002-02-09 10:40:48 +00:00