[samba-jp:20107] パスワード変更すると、init_sam_from_ldap: Failed to get password historyと出ます。

kondo nobuaki3.kondo @ toshiba.co.jp
2008年 3月 19日 (水) 17:26:53 JST


$B$$$D$b$*@$OC$K$J$C$F$^$9!#(B
$B6aF#$G$9!#(B

Samba-2.0.25b$B$K$J$C$F$+$i$$$m$$$m$H%H%i%V%k$KAx6x$7$F$$$^$9$,!"(B
$B$^$?!"<ALd$5$;$F$/$@$5$$!#(B

$B!&(Bsmbpasswd$B%3%^%s%I$G%Q%9%o!<%IJQ99$7$?%f!<%6$N%Q%9%o!<%IMzNr$,>C$($?$j(B
$B!!$?$^$i$J$$%f!<%6$$$k!)(B
$B!&%Q%9%o!<%IJQ99$9$k$H(BsambaPwdCanChange$B$H(BsambaPwdMustChange$B$,JQ$o$i$J$/(B
$B!!$J$C$?!#(B
$B$H$$$&8=>]$G$9!#(B

$B8e<T$O!"%P!<%8%g%s%"%C%W$N$?$a$N;EMMJQ99$G!"(BsambaPwdLastSet$B$N$_JQ99$7(B
sambaPwdLastSet$B$r4pE@$H$7$F7W;;$9$k$h$&$K$J$C$?$h$&$@$H$$$&$3$H$r(B
$B3NG'$7$^$7$?!#!J$3$A$i$G:n$C$F$$$k(BWeb$B$N%7%9%F%`$,(BsambaPwdCanChange$B$r(B
$B;H$C$F$$$?$N$G!"2~B$$,I,MW$K$J$C$F$7$^$$$^$7$?!#!K(B

$BA0<T$O1?MQ%5!<%P$G2~$a$F%Q%9%o!<%IJQ99$7$F$_$k$HMzNr$,$A$c$s$HA}$($F$$(B
$B$k$h$&$J46$8$G$9$,!"(BLDAP$B$NA4%G!<%?$r(BLDIF$B7A<0$G=PNO$9$k$H!"N/$^$C$F$J$$(B
$B%f!<%6$,7k9=5o$k$h$&$J5$$,$7$^$9!#(B

$B$7$+$7!"?75,DI2C$7$?%f!<%6$,$?$^$?$^MzNr$,$^$@L5$$$@$1$J$N$+$^$G3NG'$,(B
$B<h$l$F$J$$$N$G!"%F%9%H%5!<%P$G%F%9%H$7$h$&$H$7$?$N$G$9$,!"%F%9%H%5!<%P(B
$B$G!"%Q%9%o!<%IMzNr4XO"$N%(%i!<!)$,=P$F$7$^$C$F!"MzNr$,$?$^$i$J$$$G$9!#(B
$B%Q%9%o!<%I<+BN$OJQ99$G$-$F$$$^$9!#(B
$B0J2<$N$h$&$K%(%i!<!)$,$G$k$N$G$9$,!"2?8N5/$-$k$N$G$7$g$&$+!)(B
$B"(B>$N%f!<%6$G$bF1$8$h$&$K%a%C%;!<%8$,=P$^$9!#(B

# smbpasswd kondo
New SMB password:
Retype new SMB password:
init_sam_from_ldap: Failed to get password history for user kondo

$BMzNr$O!"0J2<$N$h$&$J46$8$G(B2$B9TL\(B8$BJ8;zJ,$^$G$G$9!#!J2?2sJQ99$7$F$bD9$5$OF1$8!K(B
sambaPasswordHistory: 
7AC88ABA994CCDF42566A50E76405381EAC3C590C36C2873FF5BA13A
 27655B8A000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000$B!!!'!!!'(Bsamba-3.0.10$B$KLa$9$H>e5-%(%i!<$O$G$J$+$C$?$G$9$,!"$=$3$+$i2~$a$F(Bsamba-3.0.25b$B$K%P!<%8%g%s%"%C%W$9$k$H%(%i!<$,=P$^$9!#0J2<$N%3%^%s%I$O<B;\$7$F$$$^$9!#(Bpdbedit -P "min password length" -C 8pdbedit -P "password history" -C 30pdbedit -P "minimum password age" -C 86400pdbedit -P "maximum password age" -C 16416000pdbedit -P "bad lockout attempt" -C 50pdbedit -P "reset count minutes" -C 10pdbedit -P "lockout duration" -C 15$B%F%9%H%5!<%P$O!"(BCentOS4Openldap 2.2.13-8.el4_6.2Samba 3.0.25b$B$G$9!#%F%9%H%5!<%P$N(Bsmb.conf$B$O!"0J2<$NDL$j$G$9!#(B[global]        dos charset = CP932        display charset = UTF-8        netbios name = SERVER001        server string = Samba Server        passdb backend = ldapsam:ldap://127.0.0.1:389        log file = /var/log/samba/%m.log        max log size = 50        s!
 ocket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192        printcap name = /etc/printcap        dns proxy = No        ldap admin dn = cn=Manager,dc=XXX,dc=co,dc=jp        ldap group suffix = ou=Groups        ldap passwd sync = Yes        ldap suffix = dc=XXX,dc=co,dc=jp        ldap ssl = no        ldap user suffix = ou=Users        utmp = Yes        idmap uid = 16777216-33554431        idmap gid = 16777216-33554431        create mask = 0660        force create mode = 0660        directory mask = 0770        force directory mode = 0770        cups options = raw[n.kondo]        comment = Home Directory        path = /home/admin/n.kondo        valid users = kondo        force user = n.kondo        force group = admin        read only = No        browseable = No[test]        comment = ldap_group        path = /home/share/test        valid users = kondo        write list = kondo        force user = apache        force group = apache        read only = No        browseable !
 = Noinit_sam_from_ldap: Failed to get password history$B$N%a%C%;!<%8$
,=P$J$$1?MQCf$N%5!<%P$N(Bsmb.conf$B$r%F%9%H%5!<%P$K;}$C$F$-$F%3%s%T%e!<%?L>$d6&M-%U%)%k%@$NItJ,$rJQ99$7$F;n$7$F$_$^$7$?$,F1$87k2L$G$7$?!#(BLDAP$B%G!<%?$b1?MQCf$N%5!<%P$N$b$N(BLDIF$B$r<h$C$F$-$F%F%9%H%5!<%P$KEjF~$7$J$*$7$F$_$^$7$?$,JQ$o$i$:!#!J$A$c$s$H%m!<%+%k(BSID$B$O @ _Dj:Q$_$G$9!#!K$h$m$7$/$*4j$$$7$^$9!#(B



samba-jp メーリングリストの案内