[Samba] template homedir confusion
abartlet at samba.org
Tue Oct 28 23:01:13 GMT 2003
On Wed, 2003-10-29 at 09:33, Sverre Johan Tøvik wrote:
> Andrew Bartlett <abartlet at samba.org> wrote:
> > On Tue, 2003-10-28 at 09:50, Sverre Johan Tøvik wrote:
> > > Hi,
> > >
> > > I have set up Samba 3.0.0 with ADS integration. It works fine, with a
> > > workaround for a small oddity.
> > >
> > > I use template homedirs like this:
> > > template homedir = /home/%D/%U
> > >
> > > On a soon-to-be-retired server running 3.0a19, I have a directory LOCAL
> > > (as in LOCAL.DOMAIN.NAME) containing the homedirs - this works as
> > > expected from the output of "getent passwd", which shows the homedirs of
> > > domain users as /home/LOCAL/username. However, on my new server with
> > > 3.0.0, this wouldn't work. Examining smbd.log, I found that smbd
> > > actually looks for /home/LOCAL.DOMAIN.NAME/username. Slightly puzzled, I
> > > checked the getent output again, and sure enough, it still says
> > > /home/LOCAL/username. A simple symlink fixed the problem, but it does
> > > seem odd. I looked through the release notes, but didn't see this
> > > mentioned (though I might have overlooked it). Anyone care to comment? I
> > > assume this is not an accidental change of behavior... :-)
> > It certainly looks odd...
> > File it up as a bug in bugzilla.
> Will do. Should I include more detail, or will the above do?
With bug reports, any useful extra detail should be filed - it saves the
person fixing it from having to ask you for it later.
smb.conf, and client/server types is particularly important - the issue
here appears to be mixes of ADS and NT4 representations.
Andrew Bartlett abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team abartlet at samba.org
Student Network Administrator, Hawker College abartlet at hawkerc.net
http://samba.org http://build.samba.org http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20031029/b88461a3/attachment.bin
More information about the samba