net gives unhelpful "lp_load failed" when it's missing smb.conf
Created attachment 4359 [details]
net lp_load patch.
Small patch, does what its supposed to do.
sambaPDC:~# /opt/samba/bin/net rpc user
error loading /opt/samba/lib/smb.conf
Pushed to master. I would be fine to have this in 3.4, but that's up to Karolin.
Yep, please, Karolin, add this to 3.4.
Pushed to v3-4-test. Patch will be included in 3.4.0.
Closing out bug report.