Kinit errorcode in Samba is not returned.
ranji
ranjith.rajendran at wipro.com
Mon Nov 8 22:20:06 MST 2010
Before doing an AD join,I perform kinit.
kinit is working fine w.r.t AD join and is able to join to domain
successfully.
When kinit fails,it always returns the value 1 .
As per my study it must return different error code in HEX (Unknown realm,
Invalid cerendtials,Clockskew error).
Is there any option avail in samba Makefile to enable this kerberos
scenarios with appropriate error codes.???
my makefile CONFOPTS are as below:
CONFOPTS = -C --enable-debug --enable-developer --disable-cups
--with-smbmount --with-ldap --with-ads --with-krb5=/hun/lib/
--without-cifsupcall --with-configdir=/hun/conf
CONFOPTS += "CFLAGS=-fPIC -DHAVE_LONGLONG -DHAVE_EXPLICIT_LARGEFILE_SUPPORT
-DHAVE_OFF64_T -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
-I/hun/thirdparty/include/"
INSTDIRS += private
UNINSTDIRS += swat
Also I have put the entire AD login inform of a shell script.
Samba version: 3.3.14
Please let me know if I'm wrong and suggest me for resolution..!!
--
View this message in context: http://samba.2283325.n4.nabble.com/Kinit-errorcode-in-Samba-is-not-returned-tp3033085p3033085.html
Sent from the Samba - samba-technical mailing list archive at Nabble.com.
More information about the samba-technical
mailing list