Re: [Samba] Changing samba PDC version but keeping the same IP address

2009-06-09 Thread Adam Williams

from the man page:

netbios aliases (G)

  This is a list of NetBIOS names that nmbd will advertise as
  additional names by which the Samba server is known. This allows
  one machine to appear in browse lists under multiple names. If a
  machine is acting as a browse server or logon server none of 
these
  names will be advertised as either browse server or logon 
servers,
  only the primary name of the machine will be advertised with 
these

  capabilities.

  Default: netbios aliases =  # empty string (no additional names)

  Example: netbios aliases = TEST TEST1 TEST2


i'd just give a CNAME in DNS to the new server with the old server's 
name, and use netbios alias so that the server also announces it's old 
name along with it's current netbios name =.  that way you don't have to 
mess with registry edits or anything, the server will accept responses 
for both names.


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


Re: [Samba] Changing samba PDC version but keeping the same IP address

2009-06-05 Thread Frank Bonnet
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Toby Bluhm wrote:
 Frank Bonnet wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hello

 We are facing a bit boring problem

 We are on the way to upgrade our PDC from 2.2.8 to 3.2.11
 as we do not want to reconfigure the PDC IP address on several
 hundreds of windows XP clients we have chosen to keep the same
 IP address for the new PDC.

 The problem is windows clients does not update the name of network
 drives and keep the old names even connected to the new PDC server
 and it's new shares ...

 I suspect there are some caching mechanisms that are not completely
 cleaned (!!!) by windows.


 Any infos on how to clean widows caches are welcome.

 
 If I understand you correctly, you mean everything is working just fine,
 but the server name displayed in file explorer for the network drive
 letter is still the old server name.
 
 
 If that's it, check the registry:
 
 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ComputerDescriptions]
 
 
 Delete the entries for the server  it will automatically refresh to the
 current setting.
 
 

Hello

Thanks for the answer, but I have a problem to do that on our ~800
windows PC ...

Is it possible to do it remotely or automate-it during boot up time ?

Thanks

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.11 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkooyX8ACgkQ6f7UMO5oSsUXMQCeKFazkku82xY4FXsvZo6H7QRX
jpAAn1ApT+nyUi2d4cLUI5jj7Exu3oua
=jhEt
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Changing samba PDC version but keeping the same IP address

2009-06-05 Thread Olivier Nicole
 We are on the way to upgrade our PDC from 2.2.8 to 3.2.11
 as we do not want to reconfigure the PDC IP address on several
 hundreds of windows XP clients we have chosen to keep the same
 IP address for the new PDC.

Why not keeping the same name for your server? Then with same name and
same IP you don't need to update anything.

You may have to keep the Samba server SID too (keep the secrets.tdb
file from one server to the other, transparent with LDAP I think).

Besys,

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


Re: [Samba] Changing samba PDC version but keeping the same IP address

2009-06-05 Thread Frank Bonnet
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Olivier Nicole wrote:
 We are on the way to upgrade our PDC from 2.2.8 to 3.2.11
 as we do not want to reconfigure the PDC IP address on several
 hundreds of windows XP clients we have chosen to keep the same
 IP address for the new PDC.
 
 Why not keeping the same name for your server? Then with same name and
 same IP you don't need to update anything.
 
 You may have to keep the Samba server SID too (keep the secrets.tdb
 file from one server to the other, transparent with LDAP I think).
 
 Besys,
 
 Olivier

Yes I know it now , it is logical captain but the preceding person which
installed the old samba version has written the samba version in the
server string statement !!! and it would be very confusing for users and
admins ... Of course the new server will have a generic name such as
Samba server .

Frank




-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.11 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkoo2pwACgkQ6f7UMO5oSsVPSACgsmvdJyKh3iPItFrbzHVoA+Fx
m28AnRYDTJYAgeArQi4Ny8bL659m/FqL
=euvu
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Changing samba PDC version but keeping the same IP address

2009-06-05 Thread Olivier Nicole
 Yes I know it now , it is logical captain but the preceding person which
 installed the old samba version has written the samba version in the
 server string statement !!! 

Ouch!

 and it would be very confusing for users and
 admins ... 

I don't think the users would notice, and maybe not even the admins.

 Of course the new server will have a generic name such as
 Samba server .

Maybe you can have your netlogon script to edit the registry and
delete the key that some other poster mentionned. That way no need to
go and modify the 800++ stations.


Bonne chance.

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


Re: [Samba] Changing samba PDC version but keeping the same IP address

2009-06-05 Thread Toby Bluhm

Frank Bonnet wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Toby Bluhm wrote:

Frank Bonnet wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello

We are facing a bit boring problem

We are on the way to upgrade our PDC from 2.2.8 to 3.2.11
as we do not want to reconfigure the PDC IP address on several
hundreds of windows XP clients we have chosen to keep the same
IP address for the new PDC.

The problem is windows clients does not update the name of network
drives and keep the old names even connected to the new PDC server
and it's new shares ...

I suspect there are some caching mechanisms that are not completely
cleaned (!!!) by windows.


Any infos on how to clean widows caches are welcome.


If I understand you correctly, you mean everything is working just fine,
but the server name displayed in file explorer for the network drive
letter is still the old server name.


If that's it, check the registry:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ComputerDescriptions]


Delete the entries for the server  it will automatically refresh to the
current setting.




Hello

Thanks for the answer, but I have a problem to do that on our ~800
windows PC ...

Is it possible to do it remotely or automate-it during boot up time ?

Thanks



Something like this in your login script - should be all one line.


reg delete 
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\ComputerDescriptions 
/v servername_or_IP /f




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


[Samba] Changing samba PDC version but keeping the same IP address

2009-06-04 Thread Frank Bonnet
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello

We are facing a bit boring problem

We are on the way to upgrade our PDC from 2.2.8 to 3.2.11
as we do not want to reconfigure the PDC IP address on several
hundreds of windows XP clients we have chosen to keep the same
IP address for the new PDC.

The problem is windows clients does not update the name of network
drives and keep the old names even connected to the new PDC server
and it's new shares ...

I suspect there are some caching mechanisms that are not completely
cleaned (!!!) by windows.


Any infos on how to clean widows caches are welcome.

Thanks

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.11 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkoneusACgkQ6f7UMO5oSsVzqwCgj5NxAHLneeNybWmif7msv1sn
wZ0AoJ0FTmj8fAon0lq7/rL16yNPtdp8
=7H8F
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Changing samba PDC version but keeping the same IP address

2009-06-04 Thread Marc Muehlfeld

Frank Bonnet schrieb:

We are on the way to upgrade our PDC from 2.2.8 to 3.2.11
as we do not want to reconfigure the PDC IP address on several
hundreds of windows XP clients we have chosen to keep the same
IP address for the new PDC.


Why you use IPs on the client instead of names? Here we resolve everything by 
Wins/DNS. So no need for using IPs.





The problem is windows clients does not update the name of network
drives and keep the old names even connected to the new PDC server
and it's new shares ...


You mean the name of the server or from the shares?
If you keep the IP you can also name the new server as the old one (what I 
would suggest). And if the shares also keep their names, nothing changes out 
of client sight.


How are the shares connected? If you use a logon script, you can change this.
Just disconnect all old shares before you map it. And if the shares are mapped 
with /PERSISTENT:NO, they are automatically disconnected after logoff.


And don't forget to set the domain SID of the new server to the one of your 
old server. Otherwise your clients doesn't accept the new server as PDC for 
the domain, even if the domain name is the same.



Regards,
Marc



--
Marc Muehlfeld (Leitung IT)
Zentrum fuer Humangenetik und Laboratoriumsmedizin Dr. Klein und Dr. Rost
Lochhamer Str. 29 - D-82152 Martinsried
Telefon: +49(0)89/895578-0 - Fax: +49(0)89/895578-780
http://www.medizinische-genetik.de
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Changing samba PDC version but keeping the same IP address

2009-06-04 Thread Frank Bonnet
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Marc Muehlfeld wrote:
 Frank Bonnet schrieb:
 We are on the way to upgrade our PDC from 2.2.8 to 3.2.11
 as we do not want to reconfigure the PDC IP address on several
 hundreds of windows XP clients we have chosen to keep the same
 IP address for the new PDC.
 
 Why you use IPs on the client instead of names? Here we resolve
 everything by Wins/DNS. So no need for using IPs.
 
 
 
 The problem is windows clients does not update the name of network
 drives and keep the old names even connected to the new PDC server
 and it's new shares ...
 
 You mean the name of the server or from the shares?
 If you keep the IP you can also name the new server as the old one (what
 I would suggest). And if the shares also keep their names, nothing
 changes out of client sight.

it is the case


 
 How are the shares connected? If you use a logon script, you can change
 this.
 Just disconnect all old shares before you map it. And if the shares are
 mapped with /PERSISTENT:NO, they are automatically disconnected after
 logoff.

OK I'm gonna try this

 
 And don't forget to set the domain SID of the new server to the one of
 your old server. Otherwise your clients doesn't accept the new server as
 PDC for the domain, even if the domain name is the same.
 

Of course the SID is the same

 
 Regards,
 Marc
 
 
 

Thanks a lot for your help.

Frank
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.11 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkonhsIACgkQ6f7UMO5oSsW3FgCghWvvEQi/MKZDE9IfgMkjWt4G
v1kAn06s7EbLxTx5UgDszicB4Utf7O/4
=betF
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Changing samba PDC version but keeping the same IP address

2009-06-04 Thread Toby Bluhm

Frank Bonnet wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello

We are facing a bit boring problem

We are on the way to upgrade our PDC from 2.2.8 to 3.2.11
as we do not want to reconfigure the PDC IP address on several
hundreds of windows XP clients we have chosen to keep the same
IP address for the new PDC.

The problem is windows clients does not update the name of network
drives and keep the old names even connected to the new PDC server
and it's new shares ...

I suspect there are some caching mechanisms that are not completely
cleaned (!!!) by windows.


Any infos on how to clean widows caches are welcome.



If I understand you correctly, you mean everything is working just fine, 
but the server name displayed in file explorer for the network drive 
letter is still the old server name.



If that's it, check the registry:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ComputerDescriptions]

Delete the entries for the server  it will automatically refresh to the 
current setting.



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