How can I use the same virtual directory alias and user name to logon?


I use windows server 2003 and when I create an ftp virtual directory named xxx the user name xxx cannot logon! Any idea how logon will not fail using the same name for virtual directory and ure name?

pavlos
Pavlos222Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

dmoxCommented:
Make sure the Directory has the permissions set correctly.  I'm assuming you're using NTFS as your file system.  The account that you're using to "Log On" must have at least Read Access to the files/Folders on the SMTP site.  

Hope that helps
0
Dave_DietzCommented:
When you have an FTp virtual directory with the same name as the user logging in they will be sent to the path specified by the virtual directory that share their name.

This user must have at least Read permissions on this directory and be included in the 'Bypass Travers Checking' policy on the machine (default) *or* must have at least Read permissions on the target directory and *all* parent directories all the way up to the root directory of the drive.

Also, the user must have 'Log On Locally' rights on the server or they will be unable to log in.

Are there any logon failure security log entries related to this account?  If so what do they say?

Dave Dietz
0
Pavlos222Author Commented:

It's not a matter of permissions, when I creat a user with a user name different than that of the virtual directory alias there is no logon problem. The logon problem accurs only is when virtual directory alias and user name are the same
0
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

dmoxCommented:
So, the connection string looks something like this?

ftp://username:password@ftp.domain.com/username
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Pavlos222Author Commented:
The logon failure security log entries related to this account is


Event Type:      Warning
Event Source:      MSFTPSVC

Event Category:      None
Event ID:      100
Date:            18/11/2004
Time:            11:25:28 μμ
User:            N/A
Computer:      POLSERVER
Description:
The server was unable to logon the Windows NT account 'tlig' due to the following error: Logon failure: unknown user name or bad password.  The data is the error code.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 2e 05 00 00               ....    
0
Pavlos222Author Commented:
dmox,

Yes
0
Pavlos222Author Commented:
Dave_Dietz,

all are set up

The user has Read permissions on this directory and is included in the 'Bypass Travers Checking' policy on the machine (default) *and* has at least Read permissions on the target directory and *all* parent directories all the way up to the root directory of the drive

pavlos
0
Dave_DietzCommented:
The server was unable to logon the Windows NT account 'tlig' due to the following error: Logon failure: unknown user name or bad password

This indicates that the username or password are not recognized.  Can you log into the server at the console with this account?

Can you try logging in with domain\username and password?

Dave Dietz
0
Pavlos222Author Commented:

Problem is shorted out.

When I use
ftp://username:password@ftp.domain.com/username
it does not work!

However, when I use
ftp://username:password@ftp.domain.com
it does work!

I was told that this is a particularity of ftp protocol when the "username" and "directory name" are the same.

Thanks to all,
Pavlos
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.