[Samba] Bug report
Steve Salvini
salvini at macs.hw.ac.uk
Fri Nov 1 13:41:00 GMT 2002
Hi - I'm trying to get samba set up as a PDC using automounted home
directories, the automount maps being served by NIS. After a bit of
hacking I think I've found a bug in the "latest release" (2.2.6) that I
downloaded yesterday. It's in ($SAMBA_SRC_DIR)/source/param/loadparm.c
and it means that lp_nis_home_map can never return a valid map name
under NIS; it would've been fine under NIS+ but let's face it, we're
dinosaurs here ;-)
Here's the diff:
<1252>samba01# diff ($SAMBA_SRC_DIR)/source/param/loadparm.c ../../../fixed/loadparm.c
1361d1360
< Globals.bNISHomeMap = False;
1363c1362
< Globals.bNISHomeMap = True;
---
> Globals.bNISHomeMap = False;
It would also be useful to (to me, at least) if szNISHomeMapName could
be set through "configure" rather than it being hard-wired into the
code. We're probably not the only site to have our own name for this
map.
And finally a quick word of thanks as you wouldn't believe what it
means to an aging Unix dinosaur be able to investigate problems with an
"NT PDC" by setting debug statements in the code, etc. rather than
searching TechNet and praying - goodbye horrible black box aka
Microsoft NT server software! ;-)
Steve.
More information about the samba
mailing list