[Samba] %M resolve to IP (only)

Gerald (Jerry) Carter jerry at samba.org
Mon Mar 12 15:40:12 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Robert Smol wrote:

> [backup]
>    path = /srv/backups/machines/%M
>    read only = No
>    public = no
>    writable = yes
>    printable = no
> 
> Still samba resolve this to /srv/backups/machines/192.168.10.11
> 
> Reverse DNS is working fine on machine:
> 
> node001 ~ # host 192.168.10.11
> 11.10.168.192.in-addr.arpa domain name pointer dmz001.domain.com.
> 
> Am I doing something wrong?

No.  Probably not.  But on port 445 we often don't get the machine
name until after the NTLM authentication stage or never if
using krb5.  I'd have to double check some traces to be sure.
We've discussed this quite a lot in the past on list.  Trying
searching the ml archives.




cheers, herry
=====================================================================
Samba                                    ------- http://www.samba.org
Centeris                         -----------  http://www.centeris.com
"What man is a man who does not make the world better?"      --Balian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF9XRcIR7qMdg1EfYRAjr6AJ9CSbvyJ3Z4vRxOM85t+FF9ItSVSwCgxgQc
kawL2yaHjlf12KltC3Tuvyg=
=IZ7j
-----END PGP SIGNATURE-----


More information about the samba mailing list