1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-11 16:58:40 +03:00

Fix for incorrect error message - found by Alex Davis <alex14641@yahoo.com>.

Jeremy.
(This used to be commit 28631ef23f855ce91740fd144e3dc235a3ae7af6)
This commit is contained in:
Jeremy Allison 2003-09-08 18:41:42 +00:00
parent 9e9a4f6cd9
commit 206d0f4156

View File

@ -300,12 +300,12 @@ via the %%o substitution. With encrypted passwords this is not possible.\n", lp_
}
if (lp_map_system(s) && !(lp_create_mask(s) & S_IXGRP)) {
printf("Invalid combination of parameters for service %s. \
Map hidden can only work if create mask includes octal 010 (S_IXGRP).\n",
Map system can only work if create mask includes octal 010 (S_IXGRP).\n",
lp_servicename(s) );
}
if (lp_map_system(s) && (lp_force_create_mode(s) & S_IXGRP)) {
printf("Invalid combination of parameters for service %s. \
Map hidden can only work if force create mode excludes octal 010 (S_IXGRP).\n",
Map system can only work if force create mode excludes octal 010 (S_IXGRP).\n",
lp_servicename(s) );
}
}