help:sdk nds examples failed


Hi,
Have you encounter this problem before ?

I compiled the NDS examples that come with the sdk ( both version 11 and 13 )
using vc++ on win95. The programs sometimes work and sometimes don't. When
working, the results are as expected ie. return codes are ok, usernames are
correct etc. These programs run on a open dos prompt in win95 at the client
side.

On further investigation, I notice that I have to issue some other commands
first in order that these programs run correctly. Some of these commands are
userlist, nlist and whoami etc. The problem disappears when the supervisor
account is used instead.

Can anyone out there please advise.
Thanks.

Amanda_moonAsked:
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.

jstegallCommented:
Your program is not reliably getting the current user and matching it to the objects ACL, at least that looks like it.  The background authentication is having a problem, the ACL of all objects allow the supervisor or equiv. all access that isn't a problem. Make sure your Library is up to date I think LibupE is
the latest for 4.x and Iwsp4a for Intranet Ware.  More info is needed.
0
Amanda_moonAuthor Commented:
Thanks. What other info do you need ?

I don't see how ACL will come into the picture as userlist, nlist and whoami etc works and after one of these executions, the examples work. Isn't the libraries in sdk release 13 from novell website the latest ?

I have also try with borland c++ 5.02 but the results are the same.
0
jstegallCommented:
It's your server libs I was talking about.  You are making new lib calls, which your server doesn't understand, the utilities you run first must populate the proper data structures for your
program to work. Your version of Netware, memory, and machine,
any information that may show what you are trying to do just makes it easier for someone to help.  You have all the information, we only have what you tell us.
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
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
Novell Netware

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.