[Samba] Re: XP SP2 client doesn't find netbios alias servers, SOLVED

2004-08-16 Thread Sten Sletbak
In article [EMAIL PROTECTED], Sten Sletbak wrote:
 After upgrading XP to SP2, I can no longer connect to server aliases.
 The client reports an error 53, The network path was not found, when
 doing net use * \\prof\profile.
 Mapping to a share on the real netbios name works fine.
 
 Anyone else seen this?
 
 Setup:
 
 samba-3.0.6.rc2
 
 smb.conf
 
 [global]
 
 netbios aliases = PROF
 include = /etc/samba/smb.%L
 
 smb.prof
 
 [profile]
path = /data/samba/profile
csc policy = disable
profile acls = yes
read only = No
create mask = 0600
directory mask = 0700
browseable = No

smb.conf

[global]
smb ports = 139

It turned out that the old smbd daemons weren't properly killed when I first tested 
this option...
#Killall -9 smbd;service smb start did the trick.

NB!
Do not play with this option when you got users logged on, as the clients are still 
talking to 
port 445.

So it was not the client not finding the alias server, but rather %L not substituting 
correctly.

From the smb.conf manual page:

%L
the NetBIOS name of the server. This allows you to change your config based on what 
the client calls you.
Your server can have a dual personality.
This parameter is not available when Samba listens on port 445, as clients no longer 
send this information.


Sten

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: XP SP2 client doesn't find netbios alias servers

2004-08-13 Thread Michael Lueck
Sten Sletbak wrote:
After upgrading XP to SP2, I can no longer connect to server aliases.
snip
Mapping to a share on the real netbios name works fine.
I've seen that against real Win2K servers also using AD DNS. I always thought it was a M$ feature that you had to net use to either the real NetBIOS computername or the ipaddress. We have various 
scripts which resolve the name, then net use to the ipaddress. Doing so allows you to net use to the alias... wrapping the net use in a script that is.

So, what is the truth on this. Must it be the real name or IP, or should aliases work in the M$ world... since Samba usually does not add features M$ does not offer I would think it behaves the same 
way a M$ server box would.

--
Michael Lueck
Lueck Data Systems
Remove the upper case letters NOSPAM to contact me directly.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba