[Samba] template homedir confusion

Andrew Bartlett abartlet at samba.org
Tue Oct 28 20:46:16 GMT 2003


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.

Andrew Bartlett

-- 
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
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20031029/ff441a06/attachment.bin


More information about the samba mailing list