Changeset 340 for branches/samba-3.2.x/source/param
- Timestamp:
- Oct 8, 2009, 8:16:40 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.2.x/source/param/loadparm.c
r238 r340 5851 5851 int i; 5852 5852 5853 if (pszHomename == NULL || user == NULL || pszHomedir == NULL || 5854 pszHomedir[0] == '\0') { 5855 return false; 5856 } 5857 5853 5858 i = add_a_service(ServicePtrs[iDefaultService], pszHomename); 5854 5859 … … 7801 7806 home = get_user_home_dir(talloc_tos(), p); 7802 7807 7803 if (home && home s >= 0)7808 if (home && home[0] && homes >= 0) 7804 7809 lp_add_home(p, homes, p, home); 7805 7810
Note:
See TracChangeset
for help on using the changeset viewer.