Kinit errorcode in Samba is not returned.

Andrew Bartlett abartlet at samba.org
Tue Nov 9 20:05:50 MST 2010


On Tue, 2010-11-09 at 00:53 -0800, ranji wrote:
> Yes Andrew I accept that it is not part of Samba. 
> I need the error codes for my further operations. 
> Example : if there is an error like "Unknow realm". I would like to catch
> that error code and inform the agents accordingly.
> 
> Is it possible to link with kerberos binaries .ie., without using kerberos
> source code ???

Yes, as long as you have the kerberos development headers installed. 

>                                          OR
> Can i link the kerberos API using Makefile's CONFOPTS???? 

No, you need to do so independently of Samba, or to solve your original
problem, perhaps just parse the standard output and error streams of
kinit?

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Cisco Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20101110/c3043383/attachment.pgp>


More information about the samba-technical mailing list