Menu

#87 Samba unusable in batch mode

open
5
2010-10-12
2010-10-05
No

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.

Discussion

  • Steven Shiau

    Steven Shiau - 2010-10-12

    Thanks for the bug report. It will be fixed in the next release.

    Steven.

     
  • Steven Shiau

    Steven Shiau - 2010-10-12
    • assigned_to: nobody --> steven_shiau
     
  • Steven Shiau

    Steven Shiau - 2010-10-20

    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.

     

Log in to post a comment.