Menu

SambaKickofftime

Anonymous
2005-01-02
2012-10-17
  • Anonymous

    Anonymous - 2005-01-02

    Hi

    I have found an Bug.

    If i would set an User Expire date, then will be change the shadowExpire value in LDAP correctly, but the sambaKickofftime Value will be set with the Unix Time Format.
    So i can only expire an Unix User login, but not an WIndows User Login.

    Please dont hurt me :-)

    best Regards and an happy new year

     
    • Tihomir Karlovic

      Hi,

      happy New Year too!

      Well, according to Samba documentation sambaKickoffTime should be in UNIX time format. In Samba docs it says: SambaKickoffTime - Specifies the time (UNIX time format) when the user will be
      locked down and cannot login any longer...

      I beleive I tested this and it worked as well, but I'm not sure any more. I'll check it once more and let you know.

      Cheers

       
    • Anonymous

      Anonymous - 2005-01-03

      HI,

      Your are right with the Docs.
      I have readed today.

      But if i set an User Expire under an Unix with the "smbldap-usermod" then it will be correcly set the Sambakickofftime.
      I think there are two different Time Formats.
      The UNIX TIME under shadowExpire are the Days
      from First Jan.1970 to now in Days.
      And the Sambakickofftime is a Timestamp with Hour,minutes and seconds -> a 8 Digit Integer Value.

      I thinks this is the Problem !

      Thanks for the Help.

      Cheers too.!

       
    • Tihomir Karlovic

      I checked smbldap-usermod.pl and it seems as SambaKickoffTime actually represents number of SECONDS since 1/1/1970 (they use shell command 'date' with option %s)!

      I'll change that for the next release which will be in few weeks (I guess :-)

       

Anonymous
Anonymous

Add attachments
Cancel