08-13-2008
Problem with kerberos cpp project
Hi All,
I am having problem with kerberos kadmin library in c++.
I am using red hat linux Enterprise Linux Server release 5 (Tikanga), and gcc c++ - 4.1.1-52.el4.i386.
When I make a c project (main.c) and use function from kadmin library such as
kadm5_init_krb5_context(&context);
kadm5_init_with_password(................);
It runs fine.
But when I make a cpp project (main.cc) and use the same function from kadmin library, it give me error saying
undefined reference to 'kadm5_init_krb5_context(......);
undefined reference to kadm5_init_with_password(..........);
I dont understand if I use the same setting in both projects such as include and library files. But runs fine when c project but has problem with cpp project..What is the problem?????
What am I doing wrong, please help, I am stuck.
I have also tried the same on other machine also but same error.
Note: I am using kerberos 5 verion 1.6.3. and I am able to run kerberos api perfectly.
Thanks in advance.
Regards,
Amit Pawar
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi am very new to unix.I got installed linux mandrake and the first problem is whith the modem i don't know why but it does not work. i config it on /dev/modem
and some time it says
"the modem is bussy"
and some time it says:
"Modem ready"
but the modem did'n switch on
Ok the other question... (3 Replies)
Discussion started by: user666
3 Replies
2. Solaris
We have a system running ssh. When a user logs in, they do not get the project they are assigned to (they run under "system"). I verify the project using the command "ps -e -o user,pid,ppid,args,project". If you do a "su - username", the user does get the project they are assigned to (and all... (2 Replies)
Discussion started by: kurgan
2 Replies
3. Red Hat
Hi,
I've configured two linux boxes to authenticate against Windows Active Directory using Kerberos while retrieving authorization data (uids, gids ,,,)from NIS.
The problem I ran into with my PAM configuration is that all authentication attempts succeed in order.i.e. if someone tried his... (0 Replies)
Discussion started by: geek.ksa
0 Replies
4. Homework & Coursework Questions
i have a bank project in shell script.it has a module called deposit.when i am entering an amount and commit a mistake like entering char instead of numbers and so on and repeating it, suppose 3 times,then it is rejected by amount validation code. every thing is fine upto these steps. but after 3... (9 Replies)
Discussion started by: dharmendramiet
9 Replies
5. Solaris
Hi, FYI, I'm new in Solaris
I'm trying to use Kerberos on authenticating LDAP Client with the Active Directory on Windows Server 2003 on both Solaris 10 5/08 and Solaris 10 9/10 by referring to the pdf file kerberos_s10.pdf available at sun official site.
... (0 Replies)
Discussion started by: chongzh
0 Replies
6. AIX
I've configured an AIX 5.3 client to use our Windows AD for user authentication via Kerberos.
When I try to ssh to the server using the AD credentials, I eventually get access but not after getting prompted for a password 3 times (which doesn't work) followed by an accepted login on the 4th... (3 Replies)
Discussion started by: jmroderick
3 Replies
7. Programming
Hi,
I"m trying to debug one project in VS6 this is cpp ,with source/headers/resource files.
I need to start program from terminal with some parameters, e.g. c> feetcmd -a param1 -d param2, now this program going into the loop and the whole PC is frozen, I tried to do TASK_MANAGER/right... (6 Replies)
Discussion started by: trento17
6 Replies
8. HP-UX
Hi,
I am getting this error during kerberos server setup in HPUX 11.31 :
kdb_create: unknown LDAP backend error while adding master entry to the database
ps -ef|grep ldap
root 3905 1 0 13:11:36 ? 0:00 /opt/ldapux/bin/ldapclientd
Unable to find out the meaning of this... (1 Reply)
Discussion started by: Amit Kulkarni
1 Replies
9. News, Links, Events and Announcements
A new project was posted on your project board.
Project title: Bash Shell Tutoring
Estimated Budget:
$50/hr
Start date:
Immediately
Required skills:
Linux, Bash, Shell, UNIX
I work as a datawarehouse designer and developer.
Although I usually stick to the role of an analyst,... (0 Replies)
Discussion started by: Neo
0 Replies
10. Shell Programming and Scripting
I have a project tree like that.
after running find command with the -no -empty option, i am able to have a list of non empty directory
DO_MY_SEARCH="find . -type d -not -empty -print0"
MY_EXCLUDE_DIR1=" -e NOT_IN_USE -e RTMAP -e NOT_USEFULL "
echo " " > $MY_TEMP_RESULT_1
while... (2 Replies)
Discussion started by: jcdole
2 Replies