search for: pwbuf

Displaying 4 results from an estimated 4 matches for "pwbuf".

Did you mean: wbuf
2001 Oct 03
0
a trouble about filename authentication in 2.9.9p2
...auth.c Wed Oct 3 14:14:43 2001 *************** *** 363,369 **** char *err, size_t errlen) { uid_t uid = pw->pw_uid; ! char buf[MAXPATHLEN]; char *cp; struct stat st; --- 363,369 ---- char *err, size_t errlen) { uid_t uid = pw->pw_uid; ! char buf[MAXPATHLEN], pwbuf[MAXPATHLEN]; char *cp; struct stat st; *************** *** 372,377 **** --- 372,382 ---- strerror(errno)); return -1; } + if (realpath(pw->pw_dir, pwbuf) == NULL) { + snprintf(err, errlen, "realpath %s failed: %s", pw->pw_dir, + strerror(errno)); +...
2005 Jan 07
0
Missing functionality in Blowfish for crypt(3)
...login_cap.h> + #include "blowfish.h" #include "crypt.h" *************** *** 144,149 **** --- 147,157 ---- u_int8_t csalt[BCRYPT_MAXSALT]; u_int32_t cdata[BCRYPT_BLOCKS]; static const char *magic = "$2a$04$"; + + struct passwd pw, *pwd; + char pwbuf[1024]; + + login_cap_t *lc; /* Defaults */ minr = 'a'; *************** *** 193,198 **** --- 201,238 ---- /* Discard num rounds + "$" identifier */ salt += 3; + } + else + { + /* We're crypting a new password. We w...
2002 Feb 14
4
Authentication problems Still
Hi All, I've tried everything I can think of, and spent many many hours trying to get this Sun Solaris 8 machine to authenticate with a Linux 7.1 machine acting as the PDC. In summary: Both machines are running 2.2.3a compiled from source without additional arguments (just ran configure on each platform) No problems with Win95, Win98, WinNT authenticating with the Linux PDC. The Sun machine
2007 Oct 24
16
PATCH 0/10: Merge PV framebuffer & console into QEMU
The following series of 10 patches is a merge of the xenfb and xenconsoled functionality into the qemu-dm code. The general approach taken is to have qemu-dm provide two machine types - one for xen paravirt, the other for fullyvirt. For compatability the later is the default. The goals overall are to kill LibVNCServer, remove alot of code duplication and/or parallel impls of the same concepts, and