Page 1 of 1
GetUserNameExA
Posted: Fri May 26, 2006 3:14 pm
by cgcarpenter
Downloaded Core FTP Server on 5/23/06. Installed it on a NT 4 server running SP6. Discovered I needed to get DSClient from Microsoft to obtain the ActiveDS.dll. Installed DSClient, rebooted server, installed Core FTP server. Now getting the message "The procedure entry point GetUserNameExA could not be located in the dynamic link library Secur32.dll". Any suggestions?
Posted: Fri May 26, 2006 6:00 pm
by cgcarpenter
Tried step 1. Worked. Message went away and I was able to start and configure the server. However, won't let me put a file on it from another server. Login is successful. Here's messages from log:
[#1] [20060526 12:53:32] [168.54.102.133] connected
[#1] [20060526 12:53:36] [nivacrom] USER nivacrom success
[#1] [20060526 12:53:41] [nivacrom] PASS ********* success
[#1] [20060526 12:53:41] [nivacrom] SYST success
[#1] [20060526 12:53:48] [nivacrom] TYPE I success
[#1] [20060526 12:53:48] [nivacrom] PASV success
[#1] [20060526 12:53:48] [nivacrom] STOR nec.pdf failed
User has full control over destination folder. Is this related or a separate issue?
Posted: Fri May 26, 2006 7:38 pm
by cgcarpenter
[root@geronimo Kerr]# ftp 192.168.7.6
Connected to 192.168.7.6.
220 Core FTP server Version 1.0, build 137, installed 0 days ago Registered
Name (192.168.7.6:nivacrom):
331 password required for nivacrom
Password:
230-Logged on
230
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> put nec.pdf
local: nec.pdf remote: nec.pdf
227 Entering Passive Mode (192,168,7,6,4,142).
550 Access is denied
Client is a Linux server, Red Hat 7.3. No log on server.
I tried something else. I put a file on the server and then attempted to GET it. The Linux server showed:
ftp> get CUSTOM.DIC
local: CUSTOM.DIC remote: CUSTOM.DIC
227 Entering Passive Mode (192,168,7,6,4,167).
550 RETR failed
Core showed:
[#1] [20060526 14:21:29] [nivacrom] TYPE I success
[#1] [20060526 14:21:29] [nivacrom] PASV success
[#1] [20060526 14:21:29] [nivacrom] RETR CUSTOM.DIC failed
Then I tried accessing the Core server via Internet Explorer. Successfully logged in and got a directory listing. Right-clicking on CUSTOM.DIC, tried to Copy to Folder. Internet Explorer gave me the following messages:
250 MODE set to I
250 PORT command successful
502 Command not supported
550 RETR failed
The Core server shows:
[#1] [20060526 14:30:32] [nivacrom] TYPE I success
[#1] [20060526 14:30:32] [nivacrom] PORT 192,168,0,99,6,90 success
[#1] [20060526 14:30:32] [nivacrom] SIZE CUSTOM.DIC failed
[#1] [20060526 14:30:32] [nivacrom] RETR CUSTOM.DIC failed
CUSTOM.DIC is in a folder that Everyone has full control.
Posted: Fri May 26, 2006 8:36 pm
by cgcarpenter
You're almost right on the permissions angle. Here's what I observed.
1. When I created a user, I set the Home directory to E:\Users\nivacrom, an existing directory.
2. When I clicked on OK, I got the message "Current user's home directory (E:\nivacrom) does not exist, create?". This is not the directory that I set. I clicked on Yes.
3. The folder nivacrom was created on E:\.
4. Edited the user nivacrom. In the General area, the home directory was set to E:\Users\nivacrom. In the Permissions area, the home directory was set to E:\nivacrom.
5. When I changed the home directory in the General area to match the home directory in the Permissions area, I was then able to transfer files back and forth.
(BTW, still have to run the 9x version, even with build 147.)
Posted: Fri May 26, 2006 9:10 pm
by cgcarpenter
Base domain is set to E:. It would appear the General and Permissions screens are not talking to each other. Build 147 did install right over 137.