Enumerating password entries

Luke Kenneth Casson Leighton lkcl at switchboard.net
Thu Oct 22 18:24:54 GMT 1998

> A cleaner solution, if you don't mind a one-time startup
> cost, is to to a startsmbpwent(), getsmbpwent() endsmbpswent()
> sequence at startup to count the number of entries the
> first time you need it - and then stat() the file to
> get the last modified time which you then cache.

oh.  good call.

More information about the samba-technical mailing list