s3: Try to fix the build on Solaris & AIX regarding the password change reject reason
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Fri, 16 Oct 2009 10:25:34 +0000 (12:25 +0200)
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Fri, 16 Oct 2009 10:27:57 +0000 (12:27 +0200)
source3/include/proto.h

index 5e1d84dcb383ebfe1f6b96dd688121b9c564482f..4f33a4adf69fefbd464f213d4d1e9e338a9263c8 100644 (file)
@@ -6092,7 +6092,7 @@ NTSTATUS pass_oem_change(char *user,
                         uchar password_encrypted_with_nt_hash[516],
                         const uchar old_nt_hash_encrypted[16],
                         enum samPwdChangeReason *reject_reason);
-NTSTATUS change_oem_password(struct samu *hnd, char *old_passwd, char *new_passwd, bool as_root, uint32 *samr_reject_reason);
+NTSTATUS change_oem_password(struct samu *hnd, char *old_passwd, char *new_passwd, bool as_root, enum samPwdChangeReason *samr_reject_reason);
 
 /* The following definitions come from smbd/close.c  */