summaryrefslogtreecommitdiff
path: root/source3/winbindd/idmap_ad.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-02-26 12:36:19 +0100
committerVolker Lendecke <vl@samba.org>2011-02-27 19:27:44 +0100
commit32731db56f6e99fe5c5febb251a00ad9e194081f (patch)
tree5cd6ea2bef16ba13687fa9ff7de1f33051724e2d /source3/winbindd/idmap_ad.c
parent2c9c8fa036645b8705c281fc5a104373dcee8f27 (diff)
downloadsamba-32731db56f6e99fe5c5febb251a00ad9e194081f.tar.gz
samba-32731db56f6e99fe5c5febb251a00ad9e194081f.tar.bz2
samba-32731db56f6e99fe5c5febb251a00ad9e194081f.zip
s3: Fix some nonempty blank lines
Diffstat (limited to 'source3/winbindd/idmap_ad.c')
-rw-r--r--source3/winbindd/idmap_ad.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/source3/winbindd/idmap_ad.c b/source3/winbindd/idmap_ad.c
index 32a3e17069..1d09780112 100644
--- a/source3/winbindd/idmap_ad.c
+++ b/source3/winbindd/idmap_ad.c
@@ -192,7 +192,7 @@ static ADS_STATUS ad_idmap_cached_connection(struct idmap_domain *dom)
DEBUG(2,("ad_idmap_cached_connection: Failed to obtain schema details!\n"));
}
}
-
+
return status;
}
@@ -305,7 +305,7 @@ static NTSTATUS idmap_ad_unixids_to_sids(struct idmap_domain *dom, struct id_map
for (i = 0; ids[i]; i++) {
ids[i]->status = ID_UNKNOWN;
}
-
+
/* Only do query if we are online */
if (idmap_is_offline()) {
return NT_STATUS_FILE_IS_OFFLINE;
@@ -348,7 +348,7 @@ again:
(unsigned long)ids[idx]->xid.id);
CHECK_ALLOC_DONE(u_filter);
break;
-
+
case ID_TYPE_GID:
if ( ! g_filter) {
g_filter = talloc_asprintf(memctx, "(&(|"
@@ -557,7 +557,7 @@ again:
")(|",
ATYPE_NORMAL_ACCOUNT, ATYPE_WORKSTATION_TRUST, ATYPE_INTERDOMAIN_TRUST,
ATYPE_SECURITY_GLOBAL_GROUP, ATYPE_SECURITY_LOCAL_GROUP);
-
+
CHECK_ALLOC_DONE(filter);
bidx = idx;
@@ -567,7 +567,7 @@ again:
sidstr = ldap_encode_ndr_dom_sid(talloc_tos(), ids[idx]->sid);
filter = talloc_asprintf_append_buffer(filter, "(objectSid=%s)", sidstr);
-
+
TALLOC_FREE(sidstr);
CHECK_ALLOC_DONE(filter);
}
@@ -700,7 +700,7 @@ static NTSTATUS idmap_ad_close(struct idmap_domain *dom)
}
TALLOC_FREE( ctx->ad_schema );
-
+
return NT_STATUS_OK;
}
@@ -1113,7 +1113,7 @@ static struct idmap_methods ad_methods = {
/* The SFU and RFC2307 NSS plugins share everything but the init
function which sets the intended schema model to use */
-
+
static struct nss_info_methods nss_rfc2307_methods = {
.init = nss_rfc2307_init,
.get_nss_info = nss_ad_get_info,
@@ -1160,7 +1160,7 @@ NTSTATUS idmap_ad_init(void)
if ( !NT_STATUS_IS_OK(status_idmap_ad) )
return status_idmap_ad;
}
-
+
if ( !NT_STATUS_IS_OK( status_nss_rfc2307 ) ) {
status_nss_rfc2307 = smb_register_idmap_nss(SMB_NSS_INFO_INTERFACE_VERSION,
"rfc2307", &nss_rfc2307_methods );