18 Commits

Author SHA1 Message Date
manojampalam
ad128b5c68 Added user environment variables to session 2016-10-20 22:49:17 -07:00
Manoj Ampalam
6239a2847b session refactoring part 2 2016-10-19 22:40:34 -07:00
Manoj Ampalam
1bcdbf4a48 Fix in passwd to include domain prefix in user name 2016-10-17 22:52:31 -07:00
Manoj Ampalam
c25f6a0d5e Converged Win Unix code in auth.c, move utf routine declarations to separate header 2016-10-16 01:00:27 -07:00
Manoj Ampalam
8566745e2d Implemented getpwnam and moved w32_posix_initialize to wmain, moved wmain.c to win32iocompat 2016-10-15 19:17:54 -07:00
Manoj Ampalam
52bdef5cb7 pwd.c refactoring and clean up 2016-10-14 00:02:19 -07:00
Manoj Ampalam
6b7d17dd27 Minor fixes to agent updates 2016-09-21 13:49:57 -07:00
Manoj Ampalam
d6d93e6446 Set user environment variables in remote session 2016-09-20 22:23:55 -07:00
manojampalam
946ed7d297 Setting user's home path without loading profile 2016-05-21 15:57:23 -07:00
Manoj Ampalam
2679669da6 Replaced usage of deprecated SHGetFolderPathW with SHGetKnownFolderPath. Added fallback if SHGetKnownFolderPath fails
SHGetKnownFolderPath fails on Nano
2016-04-04 14:54:11 -07:00
Manoj Ampalam
268bdeb662 Removed code relying on USE_NTCREATETOKEN 2016-03-24 14:57:18 -07:00
manojampalam
3ffe279bf7 pwd and statvfs functions moved out from openbsd 2016-03-22 20:31:03 -07:00
manojampalam
5cb9fb09ed shell host is now the default shell process in sshd 2016-03-13 11:21:09 -07:00
quamrulmina
802d9a3349 Fix #71; Env vars like APPDATA, LOCALAPPDATA etc in sshd are set correctly now.
APPDATA, LOCALAPPDATA, HOMEDRIVE, HOMEPATH set correctly in sshd server
2016-01-27 18:20:11 -06:00
dkulwin
25e52cb498 Add prototypes for functions returning pointers and modify how some arrays are defined
Functions not declared before use, are define as returning an int.
Under 64-bit this can result in corrupted pointers being returned.

Also, Visual studio doesn't like it when you use variables to declare
array sizes, static values always work though.
2015-11-04 19:34:15 -06:00
quamrulmina
5c3dc0554f Fixed Wrong user profile folder created on first logon through ssh problem
Fixed this #3 problem ticket. We determine domain hostname which created
the authenticated token from the token and then pass it to
LoadUserProfile() Windows API which now correctly creates the user's
home directory name and profile folder.
2015-10-10 19:26:39 -05:00
quamrulmina
5b06ebbbb5 sftp-server.exe first code drop that works
sftp-server.exe code modified to work in Windows as NoMachine never
finished it to work. I/O handling to work as a subsystem and
openssh7.1p1 sshbuf_new() buffer system code had to be used. sshd_config
file need location of sftp subsystem to be specified.
2015-09-30 20:26:32 -05:00
Arif Saikat
fb17410f60 Original Nomachine 5.9p1 source code
Original Nomachine 5.9p1 source code
2015-09-09 14:08:05 -05:00