ALT Linux Bugzilla
– Attachment 13118 Details for
Bug 46071
Указание версии ОС при включении в домен Active Directory
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
патч для варианта 1
system-auth.patch (text/plain), 754 bytes, created by
Сергей Сысоев
on 2023-05-05 11:56:48 MSK
(
hide
)
Description:
патч для варианта 1
Filename:
MIME Type:
Creator:
Сергей Сысоев
Created:
2023-05-05 11:56:48 MSK
Size:
754 bytes
patch
obsolete
>--- system-auth-old 2023-05-05 08:52:31.376390938 +0500 >+++ system-auth 2023-05-05 10:44:35.093112123 +0500 >@@ -716,8 +716,13 @@ > # Set correct FQDN > set_hostname "$host_name.$ldomain" > >+ # Set correct OS name and version >+ OS=$(hostnamectl | grep "Operating System" | sed 's/.*Operating System: //' | sed 's/ (.*//'| sed 's/[ \t]*$//') >+ OS_NAME=${OS% *} >+ OS_VERSION=${OS##* } >+ > # Join to domain >- $net_cmd ads join --use-kerberos=required --no-dns-updates --use-krb5-ccache="$krb_ccache_name" $OU >+ $net_cmd ads join --use-kerberos=required --no-dns-updates --use-krb5-ccache="$krb_ccache_name" $OU osName="$OS_NAME" osVer="$OS_VERSION" > > [ "$?" -ne 0 ] && return 1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 46071
:
13117
| 13118