Commit 74a35071 authored by Niels Möller's avatar Niels Möller
Browse files

*** empty log message ***

Rev: ChangeLog:1.167
Rev: src/server_session.h:1.5
parent 2faffc89
2000-03-08 Niels Mller <nisse@cuckoo.localdomain>
* src/server_session.c (do_login): Fixed message.
(do_spawn_shell): Adapted to improved user class.
* src/server_userauth.h: Removed unix_user_db class (moved to
unix_user.c).
* src/server_publickey.c (do_authenticate): Use the user
superclass rather than unix_user.
* src/server_password.c (do_authenticate): Use the new
USER_VERIFY_PASSWORD method.
* src/server_authorization.c (do_key_lookup): Use the new
USER_FILE_EXISTS method.
* src/Makefile.am.in (liblsh_a_SOURCES): Added unix_user.c.
* src/werror.c (error_fd): Made static.
(dup_error_stream): New function.
(set_error_ignore, set_error_syslog): Set error_fd to -1.
* src/userauth.h (user): Added uid attribute, and a bunch of
methods.
* src/unix_user.c: New file, implementing the unix_user class.
2000-03-07 Niels Mller <nisse@cuckoo.localdomain>
* src/lsh.c: Implemented rsh-style operation, and the -S and -E
......
......@@ -33,24 +33,31 @@
#include <assert.h>
#include <string.h>
struct ssh_channel *make_server_session(struct unix_user *user,
UINT32 max_window,
struct alist *request_types);
struct ssh_channel *
make_server_session(struct user *user,
UINT32 max_window,
struct alist *request_types);
struct command *
make_server_connection_service(struct alist *session_requests);
struct channel_open *make_open_session(struct unix_user *user,
struct alist *session_requests);
struct channel_open *
make_open_session(struct user *user,
struct alist *session_requests);
struct channel_request *make_shell_handler(struct io_backend *backend,
struct reap *reap);
struct channel_request *
make_shell_handler(struct io_backend *backend,
struct reap *reap);
struct lsh_string *format_exit_signal(struct ssh_channel *channel,
int core, int signal);
struct lsh_string *format_exit(struct ssh_channel *channel, int value);
struct lsh_string *
format_exit_signal(struct ssh_channel *channel,
int core, int signal);
struct lsh_string *
format_exit(struct ssh_channel *channel, int value);
struct resource *make_process_resource(pid_t pid, int signal);
struct resource *
make_process_resource(pid_t pid, int signal);
struct channel_request *make_pty_handler(void);
struct channel_request *
make_pty_handler(void);
#endif /* LSH_SERVER_SESSION_H_INCLUDED */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment