summaryrefslogtreecommitdiffstats
path: root/source/libgpo
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-05-08 17:44:02 +0200
committerMichael Adam <obnox@samba.org>2008-05-08 17:44:02 +0200
commit898d8822b43063b922a6991ec89882d057da0e9b (patch)
tree4ae6db52866c9f757bdacaf5435a29fe12de61b3 /source/libgpo
parenta79b2edd8e08a95be5b991e563bc38575f980b1d (diff)
downloadsamba-898d8822b43063b922a6991ec89882d057da0e9b.tar.gz
samba-898d8822b43063b922a6991ec89882d057da0e9b.tar.xz
samba-898d8822b43063b922a6991ec89882d057da0e9b.zip
Revert "Fix the build w/o ldap."
This reverts commit 5f592d030b7e94331a634e0d625aefc60cfb1f70.
Diffstat (limited to 'source/libgpo')
-rw-r--r--source/libgpo/gpo_util.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source/libgpo/gpo_util.c b/source/libgpo/gpo_util.c
index f2d7c6924a3..b9053d0ae5b 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-2008
+ * Copyright (C) Guenther Deschner 2005-2007
*
* 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,9 +762,6 @@ 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;