[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-test-2682-g5f592d0

Günther Deschner gd at samba.org
Fri Feb 29 19:54:46 GMT 2008


The branch, v3-2-test has been updated
       via  5f592d030b7e94331a634e0d625aefc60cfb1f70 (commit)
      from  2f1bc7ddad97b9137ae4cce696bf4e08f9b7ca20 (commit)

http://gitweb.samba.org/?samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit 5f592d030b7e94331a634e0d625aefc60cfb1f70
Author: Günther Deschner <gd at samba.org>
Date:   Fri Feb 29 20:52:35 2008 +0100

    Fix the build w/o ldap.
    
    Guenther

-----------------------------------------------------------------------

Summary of changes:
 source/libgpo/gpo_util.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/libgpo/gpo_util.c b/source/libgpo/gpo_util.c
index b9053d0..f2d7c69 100644
--- a/source/libgpo/gpo_util.c
+++ b/source/libgpo/gpo_util.c
@@ -1,7 +1,7 @@
 /*
  *  Unix SMB/CIFS implementation.
  *  Group Policy Object Support
- *  Copyright (C) Guenther Deschner 2005-2007
+ *  Copyright (C) Guenther Deschner 2005-2008
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -762,6 +762,9 @@ ADS_STATUS gp_get_machine_token(ADS_STRUCT *ads,
 	ADS_STATUS status;
 	NTSTATUS ntstatus;
 
+#ifndef HAVE_ADS
+	return ADS_ERROR_NT(NT_STATUS_NOT_SUPPORTED);
+#endif
 	status = ads_get_sid_token(ads, mem_ctx, dn, &ad_token);
 	if (!ADS_ERR_OK(status)) {
 		return status;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list