[Samba] How to I change server=[Samba 3.04.14a-2] to something else?

Alex Satrapa alex.satrapa at apf.edu.au
Thu Jun 23 05:24:23 GMT 2005


On 23 Jun 2005, at 13:13, Geoff Scott wrote:
> # smbd -V
>
> I see this:
> Version 3.0.14a-Debian
>
> but my window titles are showing the old 3.0.7 version.  Humph  
> Weird........

Did you restart the Windows machine in the meantime? I've had  
continuing problems with Windows (post Windows 98) machines that like  
to keep connections open - I don't know why.

Stop the samba service and check smbstatus - you'll find one or two  
connections still open. Turn off your PC and you should see the  
connection has disappeared (smbstatus will be at least one process  
smaller). Then start the Samba service and see what happens. From the  
screenshot, it appears that you're composing the email at the same  
time that you're changing the server config - which means that your  
operating system certainly hasn't released that connection.

One of the Samba team can correct me if I'm wrong, but I'm under the  
impression that once a connection is opened, the smbd process serving  
that connection will continue to use the parameters that it read when  
it started. Other smbd processes will read the config file as they're  
started, meaning everyone else will see different "server" and  
"comment" strings if your operating system doesn't close the connection.

You might also find that the startup scripts are dealing with a  
different set of binaries, or at least using /etc/smb.conf vs /etc/ 
samba/smb.conf. It's worth checking out, especially if you're doing a  
cross-distribution upgrade. As an aside, this is one reason I prefer  
to reinstall rather than upgrade when it comes to changing  
distributions.

HTH
Alex



More information about the samba mailing list