[Samba] Smbpasswd -s option

2005-06-27 Thread Wim Bakker

Hello

I try to get smbpasswd adding users and passwd from script the following way :

smbpasswd -a -s username password

this used to work not to long ago , but now I get
a list with usage options back instead.
Currently using samba-3.0.11
What is the correct syntax for using smbpasswd with -s
option?

TIA
Wim bakker
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Smbpasswd -s option

2005-06-27 Thread Wim Bakker

Op Monday 27 June 2005 11:40, schreef u:
 Wim Bakker schrieb:
  Hello
 
  I try to get smbpasswd adding users and passwd from script the following
  way :
 
  smbpasswd -a -s username password
 
  What is the correct syntax for using smbpasswd with -s
  option?

 printf password\npassword\n | smbpasswd -a -s username

Thanks,
I did :
echo passwd | smbpasswd -a -s username
which gave me a mismatch error
apparently smbpasswd wants to see a
confirmation nowadays with -s. 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba