Univention Bugzilla – Attachment 6499 Details for
Bug 36330
Failed to create user with expired password - invalid date format
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
regression test
userexpiry.sh (text/x-sh), 1.03 KB, created by
Florian Best
on 2014-12-03 18:53:20 CET
(
hide
)
Description:
regression test
Filename:
MIME Type:
Creator:
Florian Best
Created:
2014-12-03 18:53:20 CET
Size:
1.03 KB
patch
obsolete
>#!/bin/bash > >eval "$(ucr shell)" >udm users/user create --set username=test --set lastname=test --set password=univention >userdn="uid=test,$ldap_base" > >fail() { >univention-ldapsearch -xLLL "uid=test" shadowExpire krb5ValidEnd sambaKickoffTime | ldapsearch-wrapper | sort >udm users/user modify --dn "$userdn" --set disabled=none >udm users/user modify --dn "$userdn" --set userexpiry="" >} > >action() { >echo '####'"$@" >udm users/user modify --dn "$userdn" "$@" || fail >univention-ldapsearch -xLLL "uid=test" shadowExpire krb5ValidEnd sambaKickoffTime | ldapsearch-wrapper | sort >echo '##########' >echo >} > >echo '### start ###' >univention-ldapsearch -xLLL "uid=test" shadowExpire krb5ValidEnd sambaKickoffTime | ldapsearch-wrapper >echo '#############' > >action --set disabled=none >action --set userexpiry=02.02.15 >action --set userexpiry=01.01.14 >action --set disabled=all >action --set userexpiry=02.02.15 >action --set userexpiry=01.01.14 --set disabled=all >action --set userexpiry=02.02.15 --set disabled=none >action --set disabled=none >action --set userexpiry=""
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 Raw
Actions:
View
Attachments on
bug 36330
: 6499