Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-admin-essentials
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
etersoft-admin-essentials
Commits
50be691b
Commit
50be691b
authored
Jun 28, 2019
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tune_sssd.sh: enable GSSAPI in ssh_config (allow Kerberos by default)
parent
5faa2c24
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
tune_sssd.sh
dc-client/tune_sssd.sh
+6
-5
No files found.
dc-client/tune_sssd.sh
View file @
50be691b
...
...
@@ -21,7 +21,7 @@ fi
epm assure bind-utils
||
fatal
# Get REALM (needed for sssd tuning only) from DNS
REALM
=
$(
host
-t
txt _kerberos |
sed
-e
's|.*"\(.*\)".*|\1|'
)
REALM
=
$(
host
-t
txt _kerberos |
sed
-e
's|.*"\(.*\)".*|\1|'
)
#"
if
[
-z
"
$REALM
"
]
;
then
if
[
-n
"
$1
"
]
;
then
REALM
=
"
$1
"
...
...
@@ -168,15 +168,16 @@ serv sssd on
case
$(
distr_info
-d
)
in
ALTLinux
)
# TODO: fix roleadd
# TODO: use common domain groups
# TODO: check libnss-role version
epm assure rolelst libnss-role
if
!
rolelst |
grep
etersysadmin
;
then
echo
"etersysadmin: wheel"
>>
/etc/role
fi
roleadd etersysadmin wheel
;;
esac
subst
"s|^# GSSAPIAuthentication no| GSSAPIAuthentication yes|"
/etc/openssh/ssh_config
subst
"s|^# GSSAPIDelegateCredentials no| GSSAPIDelegateCredentials yes|"
/etc/openssh/ssh_config
echo
"Done. Don't bother about DNS errors above"
echo
"Check https://www.altlinux.org/SSSD/AD for detailed description."
exit
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment