How can I get new /etc/samba folder?

41

You have a copy of your /etc/samba/smb.conf file in /usr/share/samba/smb.conf. So create the /etc/samba directory manually using

sudo mkdir -p /etc/samba

and then copy the required file using:

sudo cp /usr/share/samba/smb.conf /etc/samba

(Source)

Share:
41

Related videos on Youtube

Dattatray Raj
Author by

Dattatray Raj

Updated on September 18, 2022

Comments

  • Dattatray Raj
    Dattatray Raj over 1 year
    DECLARE @barcode XML
    
                SET @barcode = '<BCODES><BCODE>a</BCODE><BCODE>b</BCODE><BCODE>c</BCODE><BCODE>d</BCODE></BCODES>'
    
                --INSERT INTO #barcode
                SELECT      v.x.value('BCODE[1]','VARCHAR(15)') AS Barcodes
                FROM        @barcode.nodes('BCODES') v(x)
    

    Result-->

    Barcodes

    a

    I'm unable to get b,c and d in the output.

    • jobin
      jobin almost 10 years
      Was the answer helpful?
    • stealththeninja
      stealththeninja over 6 years
      To clarify: you expect SELECT to return a, b, c, d but only a is returned?