Hi,
There are two little problems with vuserinfo in the 4.9.10 release.
One of them has been corrected in 4.10.30, but the other still remains.
Patches attached.
G'luck,
Peter
--
Hey, out there - is it *you* reading me, or is it someone else?
--- vuserinfo.c.old Mon Aug 6 21:44:50 2001
+++ vuserinfo.c Mon Aug 6 21:45:22 2001
@@ -65,7 +65,7 @@
get_options(argc,argv);
- if (Domain[0] != 0 ) {
+ if (Domain[0] == 0 ) {
parse_email( Email, User, Domain, MAX_BUFF);
if ( (mypw = vauth_getpw( User, Domain )) == NULL ) {
@@ -180,7 +180,7 @@
++optind;
}
- if ( Email[0] == 0 ) {
+ if ( (Email[0] == 0) && (Domain[0] == 0) ) {
usage();
exit(-1);
}
--- vuserinfo.c Wed Aug 8 11:06:27 2001
+++ vuserinfo.c Wed Aug 8 11:06:35 2001
@@ -197,7 +197,7 @@
++optind;
}
- if ( Email[0] == 0 ) {
+ if ( (Email[0] == 0) && (Domain[0] == 0) ) {
usage();
vexit(-1);
}