Bug 6514 - net gives unhelpful "lp_load failed" when it's missing smb.conf
Summary: net gives unhelpful "lp_load failed" when it's missing smb.conf
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.4
Classification: Unclassified
Component: Client Tools (show other bugs)
Version: 3.4.0rc1
Hardware: Other Linux
: P3 normal
Target Milestone: ---
Assignee: Karolin Seeger
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-28 18:57 UTC by David Markey
Modified: 2009-06-29 07:37 UTC (History)
0 users

See Also:
gd: review+


Attachments
net lp_load patch. (404 bytes, patch)
2009-06-28 19:02 UTC, David Markey
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Markey 2009-06-28 18:57:07 UTC
net gives unhelpful "lp_load failed" when it's missing smb.conf
Comment 1 David Markey 2009-06-28 19:02:31 UTC
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
Comment 2 Volker Lendecke 2009-06-29 01:13:52 UTC
Pushed to master. I would be fine to have this in 3.4, but that's up to Karolin.

Volker
Comment 3 Guenther Deschner 2009-06-29 03:28:24 UTC
Yep, please, Karolin, add this to 3.4.
Comment 4 Karolin Seeger 2009-06-29 07:37:57 UTC
Pushed to v3-4-test. Patch will be included in 3.4.0.
Closing out bug report.

Thanks!