Solved

help:sdk nds examples failed

Posted on 1997-12-21
3
271 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Often, people trade privacy and security for convenience. However in today's concrete jungle, this is an extremely foolish decision considering the vast amount of technologies being used against consumer interest. First off, I won't waste any time e…
We need a new way to communicate time sensitive or critical info.   The best part of my role at xMatters is visiting our clients all over the world to learn about how they operate their businesses, share insights that xMatters has gleaned across…
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

932 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now