Updating samba passwords

Stuart Halliday StuartH at ecs-tech.com
Tue May 24 08:50:14 UTC 2005


> But isn't there a way to synchronize the samba password file to the
> system password file?

Try this script?

#!/bin/bash

/usr/sbin/samba stop

# /sbin/service nscd stop
/sbin/service winbind start
wbinfo --set-auth-user=adminnamehere%passwordhere
wbinfo -u
/usr/sbin/samba start


Perhaps crontab it hourly?






More information about the redhat-list mailing list