[Samba] SaMBa 4 - homedir mapping (lp_servicenumber)
abartlet at samba.org
Tue Feb 5 15:34:02 MST 2013
On Tue, 2013-02-05 at 18:17 +1100, Dewayne Geraghty wrote:
> > -----Original Message-----
> > From: samba-bounces at lists.samba.org
> > [mailto:samba-bounces at lists.samba.org] On Behalf Of Celso Viana
> > Sent: Sunday, 3 February 2013 12:17 PM
> > To: SaMBa
> > Subject: [Samba] SaMBa 4 - homedir mapping
> > Hi guys,
> > I'm testing the SaMBa 4 with FreeBSD 9.1 and am having difficulty.
> > I did so:
> > mkdir test
> > cd test
> > wget http://ftp.samba.org/pub/samba/stable/samba-4.0.2.tar.gz
> > tar zxvf samba-4.0.2.tar.gz
> > cd samba-4.0.2
> > ./configure && make && make install
> > cd /usr/local/samba
> > bin/samba-tool domain provision --realm=box.blurr
> > --domain=BOX --server-role=dc --adminpass='@Tullip500'
> > --use-xattrs=yes
> > --use-rfc2307
> > sbin/samba
> > bin/samba-tool user add fox '@Pipe120' --home-directory='\\samba\fox'
> > --home-drive=M --given-name="User Test"
> > wbinfo -i fox
> > BOX\fox:*:3000017:20::/home/BOX/fox:/bin/false
> > smbclient //localhost/fox -Ufox
> > Enter fox's password:
> > Domain=[BOX] OS=[Unix] Server=[Samba 4.0.2] tree connect
> > failed: NT_STATUS_BAD_NETWORK_NAME
> > If I do this procedure with samba 4.0.0 mapping works.
> > Could someone help me understand what is happening?
> > Thanks!
> > --
> > Celso Vianna
> > BSD User: 51318
> > http://www.bsdcounter.org
> > Palmas/TO
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions: https://lists.samba.org/mailman/options/samba
> Celso, I've directed this to the samba technical team because I suspect
> that there is a problem using smbclient to connect to [homes] on FreeBSD.
> The only anomolies that I can see, is from the logs is
> "lp_servicenumber: couldn't find homes" or "tree connect failed: NT_STATUS_BAD_NETWORK_NAME"
Have you reinstalled the libnss_winbind*.so files in /lib?
Having the wrong (old) version of these still installed will cause
issues like this, because they won't load any more (unsatisfied linker
dep) once the libs they were linked against are removed.
The [homes] share is one of the small number of parts of the AD DC that
relies on nss working for all users that log in, which is why this
doesn't show up as a more general issue.
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
More information about the samba-technical