比較バージョン

キー

  • この行は追加されました。
  • この行は削除されました。
  • 書式設定が変更されました。

...

パネル
borderColor#cccccc
bgColor#eeeeee
borderStylesolid
Scheme: nis.schema
objectClass: shadowAccount

attributetype ( 1.3.6.1.1.1.1.10 NAME 'shadowExpire'
        EQUALITY integerMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) 

shadowExpireを送信属性に追加
 

パネル
borderColor#cccccc
bgColor#eeeeee
borderStylesolid
手順書に従って、作業を行ってください。

 

ユーザ情報にshadowExpireを追加

 

パネル
borderColor#cccccc
bgColor#eeeeee
borderStylesolid
以下は、test001ユーザに3日前の日付、test002ユーザに3日後の日付を設定するldifファイルです。
※参考までに本日(2013/6/13) は、15869となります。


dn: uid=test001,ou=Test Unit1,o=test_o,dc=ac,c=JP
changetype: modify
add: objectClass
objectClass: shadowAccount
-
add: shadowExpire
shadowExpire: 15866 ←1970年1月1日からの日数(2013/6/10)


dn: uid=test002,ou=Test Unit2,o=test_o,dc=ac,c=JP
changetype: modify
add: objectClass
objectClass: shadowAccount
-
add: shadowExpire
shadowExpire: 15872 ←1970年1月1日からの日数(2013/6/16)

...

 SPサーバ:/var/www/html/secure/error.phpを作成します。
  ※有効期限が切れたユーザでアクセスすると、このエラーページが表示されます。

 

パネル
borderColor#cccccc
bgColor#eeeeee
borderStylesolid
<?php
print "<html>";
print "<head>";
print "    <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">";
print "    <title>有効期限切れエラー</title>";
print "</head>";
print "<body>";
print "    <h1>有効期限切れエラー</h1>";
print "    <br>";
print "    有効期限 :$_GET[exp]<br>";
print "    メッセージ:$_GET[errmsg]<br>";
print "</body>";
print "</html>";
?>

...