[Samba] Logon times

Bill Moran wmoran at potentialtech.com
Sun Feb 10 08:28:02 GMT 2002

Stan S. wrote:
> Good evening,
> In Samba is there anyway to control logon hours and maximum times in use? I
> am using Samba 2.2.3a as a PDC on Red Hat 7.2 with all current errata in
> place.
> Any suggestions?

To my knowledge, there's no built-in way for samba to do this.
However, it seems rather trivial to make a cron job that would do a
"smbpasswd -d" and "smbpasswd -e" at the appropriate times.

Max usage time might be a little more difficult.

Bill Moran
Potential Technology

More information about the samba mailing list