Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dirkmueller:acdc:as_python3_module
adcli
0001-Remove-upper-case-only-check-when-looking-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Remove-upper-case-only-check-when-looking-for-the-Ne.patch of Package adcli
From 8ea169d82a9c4047c254cca49ce6243cfc5941b5 Mon Sep 17 00:00:00 2001 From: Sumit Bose <sbose@redhat.com> Date: Wed, 24 Aug 2016 15:37:41 +0200 Subject: [PATCH 01/25] Remove upper-case only check when looking for the NetBIOS name It is a convention to use only upper-case letters for NetBIOS names but it is not enforced on the AD-side. With the new option to specify a random NetBIOS name it is possible to create host entries in AD with lower-case letters in the name. To properly determine the name from the keytab the upper-case check should be dropped. --- library/adenroll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/adenroll.c b/library/adenroll.c index a15e4be..d1020e9 100644 --- a/library/adenroll.c +++ b/library/adenroll.c @@ -1309,7 +1309,7 @@ load_keytab_entry (krb5_context k5, if (!enroll->host_fqdn_explicit && !enroll->computer_name_explicit) { /* Automatically use the netbios name */ - if (!enroll->computer_name && len > 1 && _adcli_str_is_up (name) && + if (!enroll->computer_name && len > 1 && _adcli_str_has_suffix (name, "$") && !strchr (name, '/')) { enroll->computer_name = name; name[len - 1] = '\0'; -- 2.16.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor