My last build of CVS HEAD was broken

Rafal Szczesniak mimir at spin.ict.pwr.wroc.pl
Thu Aug 16 18:54:57 GMT 2001


Yes, that's right.
Recently, after updating CVS tree I tried to build binaries
(--with-msdfs) and I got compile-time errors.
It was about undefined symbol ERROR_ACCESS_DENIED. It seems
it should have been replaced with NT_STATUS_ACCESS_DENIED,
since such correction fixed the problem... well, at least at
the compile stage, didn't try to run it since then, yet.
The patch is attached. Decide whether it's worth of
attention because I don't know structure of the error
reporting code.


cheers,

Rafal 'Mimir' Szczesniak <mimir at spin.ict.pwr.wroc.pl>   |
*BSD, Linux and Samba                                  /
______________________________________________________/



-------------- next part --------------
--- head/source/rpc_server/srv_dfs_nt.c	Wed Jul  4 09:36:01 2001
+++ head-modified/source/rpc_server/srv_dfs_nt.c	Thu Aug 16 22:46:35 2001
@@ -56,7 +56,7 @@
 
   if (user.uid != 0) {
 	DEBUG(10,("_dfs_add: uid != 0. Access denied.\n"));
-	return ERROR_ACCESS_DENIED;
+	return NT_STATUS_ACCESS_DENIED;
   }
 
   unistr2_to_ascii(dfspath, &q_u->DfsEntryPath, sizeof(dfspath)-1);
@@ -122,7 +122,7 @@
 
   if (user.uid != 0) {
 	DEBUG(10,("_dfs_remove: uid != 0. Access denied.\n"));
-	return ERROR_ACCESS_DENIED;
+	return NT_STATUS_ACCESS_DENIED;
   }
 
   unistr2_to_ascii(dfspath, &q_u->DfsEntryPath, sizeof(dfspath)-1);


More information about the samba-technical mailing list