[#7067] Problem with shadowlastchange attribute
Summary Problem with shadowlastchange attribute
Queue Passwd
Queue Version 3.0.1
Type Bug
State Resolved
Priority 1. Low
Owners
Requester h35 (dot) office (at) bmlv (dot) gv (dot) at
Created 07/15/2008 (128 days ago)
Due
Updated 07/21/2008 (122 days ago)
Assigned 07/17/2008 (126 days ago)
Resolved 07/21/2008 (122 days ago)
Attachments
Milestone
Patch No

History
07/21/2008 Chuck Hagenbuch State ⇒ Resolved
 
07/21/2008 h35 (dot) office (at) bmlv (dot) gv (dot) at Comment #7 Reply to this comment
Hi, It works. thx paul
07/21/2008 h35 (dot) office (at) bmlv (dot) gv (dot) at Comment #6 Reply to this comment
I got it. thx
07/21/2008 h35 (dot) office (at) bmlv (dot) gv (dot) at Comment #5 Reply to this comment
How can i download??
07/18/2008 Jan Schneider Comment #4 Reply to this comment
Did you try Passwd from CVS HEAD already? At lot of work has been
spent into the ldap driver.
Hi, No, I got it from the download page.
Then try it.
07/18/2008 h35 (dot) office (at) bmlv (dot) gv (dot) at Comment #3 Reply to this comment
Hi,
No, I got it from the download page. The strange is that the passwd 
command set the shadowlastchange attribute, but smbpasswd didn't do 
that.
My question is how does the smbldap driver works? Does the driver use 
the passwd command or the smbpasswd?

Paul
07/17/2008 Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
Did you try Passwd from CVS HEAD already? At lot of work has been 
spent into the ldap driver.
07/15/2008 h35 (dot) office (at) bmlv (dot) gv (dot) at Comment #1
Patch ⇒
Milestone ⇒
Queue ⇒ Passwd
Summary ⇒ Problem with shadowlastchange attribute
Type ⇒ Bug
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Reply to this comment
Hi,

The smbldap Driver does not change the shadowlastchange attribute.
My backend:
$backends['smbldap'] = array(
     'name' => 'Samba-Server',
     'preferred' => 'xxxxxx.NET',
     'password policy' => array(
         'minLength' => 3,
         'maxLength' => 8
     ),
     'driver' => 'smbldap',
     'params' => array(
         'host' => 'localhost',
         'port' => 389,
         'basedn' => 'dc=xxxxxxxx,dc=net',
         'uid' => 'uid',
         // this will be appended to the username when looking for the userdn.
         'realm' => '',
         'encryption' => 'crypt',
         // make sure the host == cn in the server certificate
         'tls' => false,
         'lm_attribute' => 'sambaLMPassword',
         'nt_attribute' => 'sambaNTPassword',
         'pw_set_attribute' => 'sambaPwdLastSet',
         'pw_expire_attribute' => 'sambaPwdMustChange',
         'pw_expire_time' => 180, // number of days until samba 
password expires


     )
);

greetings Paul