PATCH: smbcacls doesn't allow kerberos authentication

Nick Williams Nick.Williams at morganstanley.com
Fri Aug 19 09:55:15 GMT 2005


Despite the documentation, smbcacls does not allow for Kerberos 
authentication. This is because it never passes the command line flag 
through to the create session library calls. The simple and small patch 
attached fixes this problem.

Cheers,
Nick
-------------- next part --------------
--- utils/smbcacls.c.orig	2005-08-18 05:40:06.000000000 -0400
+++ utils/smbcacls.c	2005-08-18 05:42:04.000000000 -0400
@@ -727,7 +727,8 @@
 							    &ip, 0,
 							    share, "?????",  
 							    cmdline_auth_info.username, lp_workgroup(),
-							    cmdline_auth_info.password, 0,
+							    cmdline_auth_info.password,
+							    cmdline_auth_info.use_kerberos ? CLI_FULL_CONNECTION_USE_KERBEROS : 0,
 							    cmdline_auth_info.signing_state, NULL))) {
 		return c;
 	} else {


More information about the samba-technical mailing list