Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dm-docs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hammonds
dm-docs
Commits
45aeb978
Commit
45aeb978
authored
8 years ago
by
sveseli
Browse files
Options
Downloads
Patches
Plain Diff
some more logging changes; updated release notes
parent
2238b96e
No related branches found
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
doc/RELEASE_NOTES.txt
+1
-1
1 addition, 1 deletion
doc/RELEASE_NOTES.txt
setup.sh
+6
-0
6 additions, 0 deletions
setup.sh
src/python/dm/aps_user_db/cli/updateUsersFromApsDbCli.py
+2
-2
2 additions, 2 deletions
src/python/dm/aps_user_db/cli/updateUsersFromApsDbCli.py
with
9 additions
and
3 deletions
doc/RELEASE_NOTES.txt
+
1
−
1
View file @
45aeb978
Release 0.14 ()
Release 0.14 (
10/14/2016
)
=============================
=============================
- Introduced new framework and utilities for synchronizing users with
- Introduced new framework and utilities for synchronizing users with
...
...
This diff is collapsed.
Click to expand it.
setup.sh
+
6
−
0
View file @
45aeb978
...
@@ -105,6 +105,12 @@ if [ -d $postgresqlDir ]; then
...
@@ -105,6 +105,12 @@ if [ -d $postgresqlDir ]; then
export
DM_POSTGRESQL_DIR
=
$postgresqlDir
export
DM_POSTGRESQL_DIR
=
$postgresqlDir
fi
fi
# Setup oracle libraries.
oracleDir
=
$DM_SUPPORT_DIR
/opt/oracle-client/
$DM_HOST_ARCH
if
[
-d
$oracleDir
]
;
then
LD_LIBRARY_PATH
=
$oracleDir
:
$LD_LIBRARY_PATH
fi
# Get back to where we were before invoking the setup script
# Get back to where we were before invoking the setup script
cd
$currentDir
cd
$currentDir
...
...
This diff is collapsed.
Click to expand it.
src/python/dm/aps_user_db/cli/updateUsersFromApsDbCli.py
+
2
−
2
View file @
45aeb978
...
@@ -181,8 +181,8 @@ Description:
...
@@ -181,8 +181,8 @@ Description:
# User needs update
# User needs update
try
:
try
:
self
.
logger
.
debug
(
'
Modifying LDAP user with badge %s, username %s
'
%
(
badge
,
username
))
self
.
logger
.
debug
(
'
Modifying LDAP user with badge %s, username %s
'
%
(
badge
,
username
))
self
.
logger
.
debug
(
'
APS password hash: %s, DM password hash: %s
'
%
(
apsPasswordHash
,
dmPasswordHash
))
#
self.logger.debug('APS password hash: %s, DM password hash: %s' % (apsPasswordHash, dmPasswordHash))
self
.
logger
.
debug
(
'
Encoded DM password hash: %s
'
%
(
dmUser
[
'
userAttrs
'
][
'
userPassword
'
][
0
]))
#
self.logger.debug('Encoded DM password hash: %s' % (dmUser['userAttrs']['userPassword'][0]))
ldapUserManager
.
modifyUserInfo
(
username
,
ldapModAttrDict
)
ldapUserManager
.
modifyUserInfo
(
username
,
ldapModAttrDict
)
nUpdatedUsers
+=
1
nUpdatedUsers
+=
1
except
Exception
,
ex
:
except
Exception
,
ex
:
...
...
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