[Samba] SaMBa 4 - homedir mapping

Celso Viana celso.vianna at gmail.com
Sat Feb 2 18:17:07 MST 2013


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


More information about the samba mailing list