Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

From searching, I have found a lot of suggestions for synchronizing the unix account and the samba account using smbpasswd, but how do I tell which accounts need synchronizing, and which accounts are already synchronized? If I cannot get this information, is it at least possible to get a list of those user accounts that have a samba password set?

share|improve this question

1 Answer 1

Try this command in the terminal:

sudo pdbedit -w -L | awk -F: '{print $1}'

For more options refer this link.

share|improve this answer
    
Thanks, but how do I know which accounts are synchronized, and which need synchronizing? –  user8979 Jan 30 '11 at 9:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.