Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
LSH
lsh
Commits
8a3724a0
Commit
8a3724a0
authored
Dec 22, 1998
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
Rev: src/server_password.c:1.11
parent
8e1dca27
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
src/server_password.c
src/server_password.c
+2
-4
No files found.
src/server_password.c
View file @
8a3724a0
...
...
@@ -50,10 +50,6 @@ struct unix_user *lookup_user(struct lsh_string *name, int free)
{
struct
passwd
*
passwd
;
#ifdef HAVE_GETSPNAM
struct
spwd
*
shadowpwd
=
NULL
;
#endif
NEW
(
unix_user
,
res
);
name
=
make_cstring
(
name
,
free
);
...
...
@@ -78,6 +74,8 @@ struct unix_user *lookup_user(struct lsh_string *name, int free)
#ifdef HAVE_GETSPNAM
if
(
passwd
->
pw_passwd
&&
!
strcmp
(
passwd
->
pw_passwd
,
"x"
))
{
struct
spwd
*
shadowpwd
;
if
(
!
(
shadowpwd
=
getspnam
(
name
->
data
)))
{
KILL
(
res
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment