Why "/" instead of "\" in registry.tdb?

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue Nov 28 19:52:42 GMT 2006

On Tue, Nov 28, 2006 at 11:13:37AM -0600, Gerald (Jerry) Carter wrote:
> There aer some Konica Minolta printer drivers that
> create value names such as "__key\data" so a '\' is not
> a good delimter.

If it's a value name then this is no problem, in the current
implementation value names do not show up as tdb keys. They
are just in the SAMBA_REGVAL/<keyname> tdb entry.

> Plus, it's easier to write paths as static
> strings like "HKLM/system" than "hklm\\system".

Okay, that's a point. But a minor one I think :-)

> Is there a particular problem with how things are right now?

If you create "hklm\\software\\samba/foo", then
"hklm\\software" ends up with a subkey of "samba/foo" that
translates into "hklm/software/samba/foo". Now if someone
wanted to create "hklm\\software\\samba" then we're screwed.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20061128/94a5a139/attachment.bin

More information about the samba-technical mailing list