375a780e06
DsGetDcNameW. Reformat. Convert to use WCHAR for names throughout. Use defines instead of constants throughout. (MAX_SID_LEN): Define. (load_netapi): Just load DsGetDcNameW pointer. (psx_dir): Remove. (uni2ansi): Remove. (enum_local_users): Take server name and use in Net... call. (DBGSID): Define datastructure. (MAX_BUILTIN_SIDS): Define. (builtin_sid_list): Define global sid list. (builtin_sid_cnt): Define counter for global sid list. (enum_local_groups): Take server name and use in Net... and Lookup... calls. Take offset argument. Use MAX_PREFERRED_LENGTH in call to NetLocalGroupEnum. Check for duplicate builtin groups. (enum_users): Take server name and use in Net... call. (usage): Change text slightly. (print_version): Fix copyright. (main): Call enum_local_groups for domains as well. * mkpasswd.c: Use statically linked functions throughout, except for DsGetDcNameW. Reformat. Convert to use WCHAR for names throughout. Use defines instead of constants throughout. (MAX_SID_LEN): Define. (load_netapi): Just load DsGetDcNameW pointer. (uni2ansi): Use wcstombs. (current_user): Replace "unused_by_nt/2000/xp" by just "unused". (enum_users): Ditto. (print_version): Fix copyright. |
||
---|---|---|
.. | ||
aclocal.m4 | ||
bloda.cc | ||
ChangeLog | ||
ChangeLog-2000 | ||
configure | ||
configure.in | ||
COPYING.dumper | ||
cygcheck.cc | ||
cygpath.cc | ||
dump_setup.cc | ||
dumper.cc | ||
dumper.h | ||
getfacl.c | ||
kill.cc | ||
Makefile.in | ||
mkgroup.c | ||
mkpasswd.c | ||
module_info.cc | ||
mount.cc | ||
parse_pe.cc | ||
passwd.c | ||
path.cc | ||
path.h | ||
ps.cc | ||
regtool.cc | ||
setfacl.c | ||
setmetamode.c | ||
ssp.c | ||
ssp.txt | ||
strace.cc | ||
testsuite.cc | ||
testsuite.h | ||
umount.cc | ||
utils.sgml |