3.0.2pre1 problem mapping machine_name

Andrew Bartlett abartlet at samba.org
Thu Jan 15 01:33:23 GMT 2004


On Thu, Jan 15, 2004 at 09:34:19AM +0800, Jeff Chua wrote:
> 
> It looks like %m does not work anymore ...
> 
> 
> Version 3.0.2pre1
> 
> smb.conf
> 
> [Machine]
>         comment = Machine
>         browseable = yes
>         writeable = yes
>         create mode = 0750
>         path = /home/machines/%m
>         force user = guest
>         guest only = yes
>         public = yes
> 
> 
> 
> [2004/01/14 20:49:10, 0] smbd/service.c:make_connection_snum(677)
>   '/home/machines/146.18.164.10' does not exist or is not a directory,
> when connecting to [Machine]

%m maps to either the IP address, or the machine name (netbios), but
we only get the machine name if we use NTLMSSP or are connected to on
port 139.  You might want to set 'smb ports = 139', if this is
important to your site.

Andrew Bartlett


More information about the samba-technical mailing list