FB2000 v1219 to SMTH-1.2.2,.PASSWDS转换不成功
操作系统: Solaris 9 for X86
转换后用户数据丢失,且用户的个人目录也被删掉,是什么原因造成的??,如何解决??
那位碰到过这种情况?? 谢谢
例如:
telnet localhost
请输入代号: SYSOP
错误的使用者代号...
请输入代号:
--------------------------------------------------------------
configure:
./configure --prefix=/export/home0/bbs --enable-site=fb2k-v2 \
--disable-www --without-mysql --enable-ssl
--------------------------------------------------------------
FB v1219中用户数据结构:
struct userec { /* Structure used to hold information in */
char userid[IDLEN+2]; /* PASSFILE */
time_t firstlogin;
char lasthost[16];
unsigned int numlogins;
unsigned int numposts;
unsigned int medals; /* 奖章数 */
unsigned int money; /* 金钱 */
unsigned int inbank; /* 存款 */
time_t banktime; /* 存入时间 */
char flags[2];
#ifdef ENCPASSLEN
char passwd[ENCPASSLEN];
#else
char passwd[PASSLEN];
#endif
char username[NAMELEN];
char ident[NAMELEN];
char termtype[16];
char reginfo[STRLEN-16];
unsigned int userlevel;
time_t lastlogin;
time_t lastlogout;/* 最近离线时间 */
time_t stay;
char realname[NAMELEN];
char address[STRLEN];
char email[STRLEN-12];
unsigned int nummails;
time_t lastjustify;
char gender;
unsigned char birthyear;
unsigned char birthmonth;
unsigned char birthday;
int signature;
unsigned int userdefine;
time_t notedate;
int noteline;
};
struct user_info { /* Structure used in UTMP file */
int utmpkey; /* For NJU WWW */
int active; /* When allocated this field is true */
int uid; /* Used to find user name in passwd file */
int pid; /* kill() to notify user of talk request */
int invisible; /* Used by cloaking function in Xyz menu */
int sockactive; /* Used to coordinate talk requests */
int sockaddr; /* ... */
int destuid; /* talk uses this to identify who called */
int mode; /* UL/DL, Talk Mode, Chat Mode, ... */
int pager; /* pager toggle, YEA, or NA */
int in_chat; /* for in_chat commands */
int fnum; /* number of friends */
int ext_idle; /* has extended idle time, YEA or NA */
char chatid[ 10 ]; /* chat id, if in chat mode */
char from[ 60 ]; /* machine name the user called in from */
#ifndef BBSD
char tty[ 20 ]; /* tty port */
#else
time_t idle_time; /* to keep idle time */
#endif
char userid[ 20 ];
char realname[ 20 ];
char username[NAMELEN];
unsigned short friend[MAXFRIENDS];
unsigned short reject[MAXREJECTS];
};
--
修改:linton FROM 202.193.161.*
FROM 202.193.161.*