@@ -151,21 +151,22 @@ static PyObject* authGSSClientInit(PyObject* self, PyObject* args, PyObject* key
151151{
152152 const char * service = NULL ;
153153 const char * principal = NULL ;
154+ const char * password = NULL ;
154155 gss_client_state * state = NULL ;
155156 PyObject * pystate = NULL ;
156157 gss_server_state * delegatestate = NULL ;
157158 PyObject * pydelegatestate = NULL ;
158159 gss_OID mech_oid = GSS_C_NO_OID ;
159160 PyObject * pymech_oid = NULL ;
160161 static char * kwlist [] = {
161- "service" , "principal" , "gssflags" , "delegated" , "mech_oid" , NULL
162+ "service" , "principal" , "gssflags" , "delegated" , "mech_oid" , "password" , NULL
162163 };
163164 long int gss_flags = GSS_C_MUTUAL_FLAG | GSS_C_SEQUENCE_FLAG ;
164165 int result = 0 ;
165166
166167 if (! PyArg_ParseTupleAndKeywords (
167- args , keywds , "s|zlOO " , kwlist ,
168- & service , & principal , & gss_flags , & pydelegatestate , & pymech_oid
168+ args , keywds , "s|zlOOz " , kwlist ,
169+ & service , & principal , & gss_flags , & pydelegatestate , & pymech_oid , & password
169170 )) {
170171 return NULL ;
171172 }
@@ -191,7 +192,7 @@ static PyObject* authGSSClientInit(PyObject* self, PyObject* args, PyObject* key
191192 }
192193
193194 result = authenticate_gss_client_init (
194- service , principal , gss_flags , delegatestate , mech_oid , state
195+ service , principal , gss_flags , delegatestate , mech_oid , state , password
195196 );
196197
197198 if (result == AUTH_GSS_ERROR ) {
0 commit comments