Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
primtux-ldap
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Primtux-SLIS
primtux-ldap
Commits
0d7cd528
Verified
Commit
0d7cd528
authored
7 years ago
by
David Beniamine
Browse files
Options
Downloads
Patches
Plain Diff
Remove uselss script
parent
7b013b91
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
reset.sh
+0
-15
0 additions, 15 deletions
reset.sh
with
0 additions
and
15 deletions
reset.sh
deleted
100755 → 0
+
0
−
15
View file @
7b013b91
#!/bin/bash
read
-p
"This script should be run on Primtux to synchronise ldap do you want to continue [y/N]"
ans
if
[
"
$ans
"
!=
"y"
]
then
exit
1
fi
sudo
apt-get purge libpam-ldap libnss-ldap nscd smbclient winbind cifs-utils libpam-mount
# remove LDAP config
for
f
in
`
find dist/
-type
f
-exec
dirname
{}
\;
|
sort
-u
`
do
rm
-rf
${
f
/dist/
}
done
# TODO recreate home frome skels
echo
"looking for admin ldap user"
getent passwd admin
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment