⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sqwebmail_update

📁 相当优秀的 UNIX 进程管理工具
💻
字号:
> Then i've updated the sqwebmail authlib/preauthvchkpw.c code to use> this new code. Here is my code sample from that file:>>         vget_assign(s,NULL,0,&uid, &gid);>         pw=vauth_getpw(usercopy, s);>         if ( pw!=NULL ) {>                 if (pw->pw_dir == NULL || strlen(pw->pw_dir) == 0 ) {>                         make_user_dir(usercopy, s, uid, gid);>                         pw=vauth_getpw(usercopy, s);>                 }>                 vlogauth(pw, s, service);>         }>         free(usercopy);>         vclose();>> You'll notice it does the check for a null or zero length directory> and calls make_user_dir to make it.>> It also calls the new vlogauth function to updated the lastlog table> so you'll know if they authenticated with sqwebmail. By default this> code is disabled. if you want it to log that you'll need to add> --enable-auth-log=yKen JonesMarch 12, 2001

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -