Solved

help:sdk nds examples failed

Posted on 1997-12-21
3
294 Views
Last Modified: 2012-06-27

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.

0
Comment
Question by:Amanda_moon
  • 2
3 Comments
 
LVL 5

Expert Comment

by:jstegall
ID: 1591470
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
 

Author Comment

by:Amanda_moon
ID: 1591471
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
 
LVL 5

Accepted Solution

by:
jstegall earned 150 total points
ID: 1591472
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

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Is your phone running out of space to hold pictures?  This article will show you quick tips on how to solve this problem.
Many businesses neglect disaster recovery and treat it as an after-thought. I can tell you first hand that data will be lost, hard drives die, servers will be hacked, and careless (or malicious) employees can ruin your data.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question