Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
feudal
feudalScripts
Commits
53b1ad1b
Commit
53b1ad1b
authored
Jul 26, 2018
by
Lukas Burgey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove obsolete files
parent
43af7b97
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
48 deletions
+0
-48
stub-script/commands
stub-script/commands
+0
-24
stub-script/create
stub-script/create
+0
-13
stub-script/query
stub-script/query
+0
-11
No files found.
stub-script/commands
deleted
100644 → 0
View file @
43af7b97
#!/bin/sh
# user creation
curl
--basic
-u
hdfrest:hdfrest555634
-H
"Content-Type: application/json"
-X
POST
-d
'{"externalId":"test0002"}'
https://bwidm-test.scc.kit.edu/rest/external-user/create
# user update
curl
--basic
-u
hdfrest:hdfrest555634
-H
"Content-Type: application/json"
-X
POST
-d
'{"externalId":"test0002","eppn":"test0002@hdf.de","email":"test-diezweite@kit.edu","genericStore":{"testkey":"testvalue24"},"surName":"Testfamilie","givenName":"Hans","primaryGroup":{"id":1002637},"attributeStore":{"urn:oid:0.9.2342.19200300.100.1.1":"test0002","http://bwidm.de/bwidmOrgId":"hdf"}}'
\
https://bwidm-test.scc.kit.edu/rest/external-user/update
curl
--basic
-u
hdfrest:hdfrest555634 https://bwidm-test.scc.kit.edu/rest/external-user/find/externalId/test0002
curl
--basic
-u
hdfrest:hdfrest555634 https://bwidm-test.scc.kit.edu/rest/external-reg/register/externalId/test0002/ssn/sshtest
BindDN:
uid
=
fileservice-read,ou
=
admin,ou
=
login-test,dc
=
bwidm-test,dc
=
de
BindPW:
hdfrest555634
Base:
ou
=
login-test,dc
=
bwidm-test,dc
=
de
stub-script/create
deleted
100755 → 0
View file @
43af7b97
#!/bin/sh
root
=
'https://bwidm-test.scc.kit.edu/rest/external-user'
userName
=
foobar
user
=
hdfrest
pw
=
hdfrest555634
curl
--basic
-u
hdfrest:hdfrest555634
-H
"Content-Type: application/json"
-X
POST
-d
'{"externalId":
"test0002"}'
https://bwidm-test.scc.kit.edu/rest/external-user/create
http
-va
$user
:
$pw
${
root
}
/find/externalId/
$1
stub-script/query
deleted
100755 → 0
View file @
43af7b97
#!/bin/sh
root
=
'https://bwidm-test.scc.kit.edu/rest/external-user'
user
=
hdfrest
pw
=
hdfrest555634
#curl --basic -u hdfrest:hdfrest555634 -H "Content-Type: application/json" -X POST -d '{"externalId":
# "test0002"}' https://bwidm-test.scc.kit.edu/rest/external-user/create
http
-va
$user
:
$pw
${
root
}
/find/externalId/
$1
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