Syncing passwd and smbpasswd
adavid at netinfo.com.au
Fri Jul 18 08:10:13 GMT 1997
Big thanks to Mr Fenwick and others for posting the workaround for the
SP 3 update issue.
A number of users do not have direct access to a shell, with their
a financials application. This makes syncing password changes a problem
password ageing is enforced.
I am in the "final throes" of completing a Perl script that will check
info (HP/UX 9.03 - non shadow implementation) and run smbpasswd
when it detects that the user has had to change their account password.
ageing works on storing update info with a "weeks since epoch" counter,
have decided to store the info as the last ','-delimited field in the
gcos field of the smbpasswd. This means the script must run setuid 0
with appropriate signal
If there is a better method, I would love to hear from people.
I am happy to email my "near complete" script to those who are
testing it and/or using it as a basis for their own needs. I will also
have to adopt
it for the Solaris machines here that use shadow files.
Anthony David & Associates
Lifetime member of the "Larry Wall fan club".
More information about the samba