Samba unusable in batch mode
A partition and disk imaging/cloning program
Brought to you by:
steven_shiau
In batch mode the samba username and passwords cannot be entered because the parse_cmdline_option function (in /opt/drbl/sbin/drbl-functions) does not allow equal characters (=) or commas (,). Therefore, a command like ocs_prerun="mount -t cifs -o username=user,password=pass //127.0.0.1/test /home/partimag" will be returned as "mount -t cifs -o " (it stops reading when it finds a comma or an equal.
At current, the only way to use samba in batch mode is having a "user" user allowed in the samba share, since that is the default clonezilla username for autologin.
Thanks for the bug report. It will be fixed in the next release.
Steven.
This issue has been fixed in Clonezilla live 1.2.6-35. Could you please give it a try and let us know the results?
Thanks.
Steven.