Refactor the crypto code after a very helpful conversation
[bbaumbach/samba-autobuild/.git] / source / lib / system_smbd.c
index 42178057c31c390788fdf70069604658f1b79133..9d3eb95664cf961884538b62f1c3ba4731dea1d8 100644 (file)
@@ -15,8 +15,7 @@
    GNU General Public License for more details.
    
    You should have received a copy of the GNU General Public License
-   along with this program; if not, write to the Free Software
-   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
 /* 
@@ -118,7 +117,7 @@ static int getgrouplist_internals(const char *user, gid_t gid, gid_t *groups,
 static int sys_getgrouplist(const char *user, gid_t gid, gid_t *groups, int *grpcnt)
 {
        int retval;
-       BOOL winbind_env;
+       bool winbind_env;
 
        DEBUG(10,("sys_getgrouplist: user [%s]\n", user));
 
@@ -144,7 +143,7 @@ static int sys_getgrouplist(const char *user, gid_t gid, gid_t *groups, int *grp
        return retval;
 }
 
-BOOL getgroups_unix_user(TALLOC_CTX *mem_ctx, const char *user,
+bool getgroups_unix_user(TALLOC_CTX *mem_ctx, const char *user,
                         gid_t primary_gid,
                         gid_t **ret_groups, size_t *p_ngroups)
 {