WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Logon Isses

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Error 200 DS Login Failed
n4Login not logging in

Keywords:    n4Login

Question:

The below code segment is basically take directly from the help file entry for n4Login. I have winbatch 97 and the latest add on libraries. I am running Novell's Windows 95 client ver 3 (latest version). I am attempting to login in to a 4.1 server. When I run the code below I receive an error 200 DS Login failed. I do not understand what is wrong.
	AddExtender("wwn4x34I.dll")
	MyServer="\\nw41pcss2a"
	UserID="master1"
	Context="vv.pc"
	Tree="pc_serv_source"
	Pswd="zebra54"
	n4Login(UserID, Pswd, Context, Tree)
Here is the error message from my wwwbatch.ini:
	[WWN4X34I]
	LastError=8890 (NWDSLogin)

Answer:

The error codes you sent indicate that you are already logged in...
	Error = DIFF_OBJECT_ALREADY_AUTHEN.
You are already logged into Directory Services. Maybe try n4Logout first.

Maybe try skipping the n4login.

Maybe check the context and tree carefully?

Maybe try n4SetContext before the n4Login?

What version of Client 32 are you running? There are reported bugs in Novell Client 32 v3.10. There is now a patch to fix this problem. The personal problem I had with this version was it wouldn't let me attach to a new server, but if I tried to attach again, then it would be fine. The patch took care of the problem. If you are still running 3.02 or before, then this won't be of much help. Good luck!


Article ID:   W13597
Filename:   Error 200 DS Login failed with n4Login.txt
File Created: 2001:03:01:13:48:12
Last Updated: 2001:03:01:13:48:12