diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-06-29 12:36:06 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-06-29 04:42:04 +0200 |
commit | 573109d346b67a9f711187636a2cae3ae7f1cbcf (patch) | |
tree | bd0fb1eb1e99f2783b595d447bff3aaa21398a5e /source3/winbindd/nss_info_template.c | |
parent | 0e38199a84368273739e440eb0163b95651dad7f (diff) | |
download | samba-573109d346b67a9f711187636a2cae3ae7f1cbcf.tar.gz samba-573109d346b67a9f711187636a2cae3ae7f1cbcf.tar.bz2 samba-573109d346b67a9f711187636a2cae3ae7f1cbcf.zip |
s3-param Remove .offset == 0 checks as 'valid' will have offset 0
The validity of an entry in the parm_table is by having a .p_class of
P_LOCAL or P_GLOBAL rather than P_SEPARATOR. Termination of the table
is by having a .label of non-NULL. This is possible because there are
no longer any specially handled smb.conf options without a value in
the struct loadparm_globals or struct loadparm_service.
This is required because the first element in the structure will have
.offset = 0, and skipping that would be unfortunate (particularly as it
is the vital 'valid' variable).
Andrew Bartlett
Diffstat (limited to 'source3/winbindd/nss_info_template.c')
0 files changed, 0 insertions, 0 deletions