Welcome to our peer-to-peer forums, where owners help owners. Need help now? Visit eSupport here.

English Community

Datacenter StorageLenovoEMC Storage
All Forum Topics
Options

5 Posts

02-24-2016

Bulgaria

7 Signins

59 Page Views

  • Posts: 5
  • Registered: ‎02-24-2016
  • Location: Bulgaria
  • Views: 59
  • Message 1 of 3

How to stop smb.conf from being rewritten every time ?

2016-02-24, 15:24 PM

Hello, 

I tried to look for an answer but couldnt find anything. I am sorry if the question was rised before.... 

On the LenovoEMC px4-400r

firmware Version:4.1.202.33573

 

ls /mnt/system/config/

-rw-rw-rw- 1 root root 4033 Feb 24 13:51 smb.conf

 

i couldnt find what makes this change, any help will be apprecieted 

 

the only thing i havent tried yet si to set  chattr +i on smb.conf...

I have set it now chattr +i, but if there is another way, please let me know.

Reply
Answer
Options

5 Posts

02-24-2016

Bulgaria

7 Signins

59 Page Views

  • Posts: 5
  • Registered: ‎02-24-2016
  • Location: Bulgaria
  • Views: 59

Re: How to stop smb.conf from being rewritten every time ?

2016-04-14, 11:20 AM
chattr +i
does the work
Reply

Replies(2)
Options

901 Posts

11-25-2014

USA

592 Signins

12347 Page Views

  • Posts: 901
  • Registered: ‎11-25-2014
  • Location: USA
  • Views: 12347
  • Message 2 of 3

Re: How to stop smb.conf from being rewritten every time ?

2016-02-25, 18:37 PM

Hello fairP,

 

If you are manually modifying the SMB.conf file in LifeLine OS, the changes will be lost after the unit is reboot.  This is due to how Samba is intergated into the core of the OS.  If you need to modify your unit's SMB settings, please contact your regions support and request the custom config sdk application.  This will allow you to make changes via the app's scripting and remain persistant. 

 

Thank you

 



LenovoEMC Contact Information is region specific. Please select the correct link then access the Contact Us at the top right:

US and Canada: https://lenovo-na-en.custhelp.com/

Latin America and Mexico: https://lenovo-la-es.custhelp.com/

EU: https://lenovo-eu-en.custhelp.com/

India/Asia Pacific: https://lenovo-ap-en.custhelp.com/

http://support.lenovoemc.com/
Reply
Answer
Options

5 Posts

02-24-2016

Bulgaria

7 Signins

59 Page Views

  • Posts: 5
  • Registered: ‎02-24-2016
  • Location: Bulgaria
  • Views: 59
  • Message 3 of 3

Re: How to stop smb.conf from being rewritten every time ?

2016-04-14, 11:20 AM
chattr +i
does the work

0 person found this solution to be helpful.

This helped me too

Reply
Forum Home

Community Guidelines

Please review our Guidelines before posting.

Learn More

Check out current deals!

Go Shop
X

Save

X

Delete

X

No, I don’t want to share ideas Yes, I agree to these terms