RE: Updating samba passwords

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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?



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux