diff options
author | Michael Adam <obnox@samba.org> | 2007-08-16 15:32:00 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:29:52 -0500 |
commit | 53f5c4adfbf12fbf6f25eab3260d22a2d7c3efbe (patch) | |
tree | d80b531fdfb42cdc9c69a8aac5f8132e48d0dca7 /source3/smbd/negprot.c | |
parent | bf374d3d3d12ed352ba8add9b5633855f2851c01 (diff) | |
download | samba-53f5c4adfbf12fbf6f25eab3260d22a2d7c3efbe.tar.gz samba-53f5c4adfbf12fbf6f25eab3260d22a2d7c3efbe.tar.bz2 samba-53f5c4adfbf12fbf6f25eab3260d22a2d7c3efbe.zip |
r24496: Add initial synonym handling to "net conf":
When storing parameters in the smbconf portion of the registry,
up to now, synonyms could be misused to store a parameter twice.
Now this is prevented by canonicalizing the paramter name first.
Also, the value for a boolean parameter checked for validity
before storing the bool in registry.
(The canonicalization should finally go into the registry smbconf
code to also prevent e.g. "regedit" or "net rpc registry" from
storing synonyms. - This is in the making.)
Michael
(This used to be commit 95447dde860f54d835b3fe90d95fe60231788d1b)
Diffstat (limited to 'source3/smbd/negprot.c')
0 files changed, 0 insertions, 0 deletions