Re: [Samba] Samba PDC with Windows 7 support request
On 02/16/12 06:21, Dermot wrote: > 2012/1/31 Jiří Procházka : >> Dear Samba support team, >> >> I have a question on Samba 3.5.8 please, which is not solved by searching >> the forums. I tried all suggested solutions, but nothing take effect. >> > ... >> Domain users experience a slow login performance on Windows 7 clients that >> are >> joined into a samba domain (Samba version 3.5.4). The Windows 7 client was >> joined successfully into the domain with the Windows 7 registry settings >> adjusted according to http://wiki.samba.org/index.php/Windows7 >> (DomainCompatibilityMode = 0 and DNSNameResolutionRequired = 0). > ... > > I have had similar problems. I was referred to the message in the > mailing list archive [1]. I have applied what was described - used > gpedit.msc - this but I am still experiencing slow login times, > exactly 40 seconds on each workstation. > > I just checked on one workstation where the user had a jpeg as his > desktop background, I mention this because there are references to a > Window7 bug about slow login and a plain desktop, and that has the > correct group policy setting and still the login time was exactly 40 > seconds. > > I too be interested in hearing what others have to say on this. > Thanks, > Dermot. > > 1) http://www.mail-archive.com/samba@lists.samba.org/msg104494.html Are you using roaming profiles ? Are you using offline folders- I had problems with offline folders and Windows 7- it could break offline authentication. Does the Windows event log show anything about problems locating a domain controller? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba PDC with Windows 7 support request
Have you tried these settings (posted here about a year ago)? When the following local GPO is left in its default setting Samba domain logons are delayed for 30 seconds: "Computer Configuration\Administrative Templates\System\User Profiles\Set maximum wait time for the network if the user has a roaming user profile or remote home directory." Enable this and set the value to 0 to work around this timeout. The timeout does not occur when logging into an Active Directory PDC running Server 2008 R2. I have not tested this with w2k8 R2 client. In addition, if the user's desktop is set to a solid background color logons of any kind (local, AD, samba) will be delayed by 30 seconds. Set the background to any .jpg image or apply Microsoft's hotfix to work around this issue. This is a cumulative timeout; that is, if the above timeout is in affect and the solid background color timeout is also in affect the delay is 60 seconds. I also experienced a 30 second timeout when I set the local GPO to "Run logon scripts synchronously". This problem has inexplicably vanished and I can't replicate it though I don't see it listed in any Windows 7 updates. Might have been happening to me with Windows 7 PRO. I'll check that if anyone is interested. The fix was to apply an old Vista reg setting. Can be Googled as "Vista Run logon scripts synchronously". Marc Cain On Jan 31, 2012, at 11:45 AM, Jiří Procházka wrote: > Dear Samba support team, > > I have a question on Samba 3.5.8 please, which is not solved by searching > the forums. I tried all suggested solutions, but nothing take effect. > > > > Situation: > > - small public school > > - We have Ubuntu Server 11.04 64-bit > > - Samba 3.5.8 as PDC > > - Windows XP and Windows 7 Pro SP1 clients > > - On Windows XP everything works. Login is quick and reliable there. > > > > Problem: > > But our problem is with Windows 7 domain clients, where login and logout > takes more than 1,5 minute with clear user profile. Yes, we have only 100 > Mbit LAN, but why XP can operate so much faster? We are using Aero with > background images, but logon locally is very fast. Only using travel > profiles is very slow. > > > > I have tried: > > - Disable IPv6, > > - Disabled UAC > > - set policies time to wait on server, > > - I applied all performace recommended settings suggested at > samba.org for Windows 7 (http://wiki.samba.org/index.php/Windows7) > > > > > > > > Very similar post I have found here: > > https://bugzilla.samba.org/show_bug.cgi?id=8300 > > > > Domain users experience a slow login performance on Windows 7 clients that > are > joined into a samba domain (Samba version 3.5.4). The Windows 7 client was > joined successfully into the domain with the Windows 7 registry settings > adjusted according to http://wiki.samba.org/index.php/Windows7 > (DomainCompatibilityMode = 0 and DNSNameResolutionRequired = 0). > > > > > > We need solve this bug, in other case we can’t use Samba as PDC and we must > change the platform. Please put this request on free support boards or send > me an offer for paid support. > > > > Can help adding this to GLOBAL section? > > domain master = yes > > local master = yes > > preffered master = yes > > os level = 64 > > > > > > Thanks a lot, > > I hope I’m not disturbing main Samba developers, > > > > With best regards, > > Jiri Prochazka > > Teacher from Waldorf high school in Prague > > > > > > Czech and English only :-) > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba PDC with Windows 7 support request
2012/1/31 Jiří Procházka : > Dear Samba support team, > > I have a question on Samba 3.5.8 please, which is not solved by searching > the forums. I tried all suggested solutions, but nothing take effect. > ... > > Domain users experience a slow login performance on Windows 7 clients that > are > joined into a samba domain (Samba version 3.5.4). The Windows 7 client was > joined successfully into the domain with the Windows 7 registry settings > adjusted according to http://wiki.samba.org/index.php/Windows7 > (DomainCompatibilityMode = 0 and DNSNameResolutionRequired = 0). ... I have had similar problems. I was referred to the message in the mailing list archive [1]. I have applied what was described - used gpedit.msc - this but I am still experiencing slow login times, exactly 40 seconds on each workstation. I just checked on one workstation where the user had a jpeg as his desktop background, I mention this because there are references to a Window7 bug about slow login and a plain desktop, and that has the correct group policy setting and still the login time was exactly 40 seconds. I too be interested in hearing what others have to say on this. Thanks, Dermot. 1) http://www.mail-archive.com/samba@lists.samba.org/msg104494.html -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Samba PDC with Windows 7 support request
Dear Samba support team, I have a question on Samba 3.5.8 please, which is not solved by searching the forums. I tried all suggested solutions, but nothing take effect. Situation: - small public school - We have Ubuntu Server 11.04 64-bit - Samba 3.5.8 as PDC - Windows XP and Windows 7 Pro SP1 clients - On Windows XP everything works. Login is quick and reliable there. Problem: But our problem is with Windows 7 domain clients, where login and logout takes more than 1,5 minute with clear user profile. Yes, we have only 100 Mbit LAN, but why XP can operate so much faster? We are using Aero with background images, but logon locally is very fast. Only using travel profiles is very slow. I have tried: - Disable IPv6, - Disabled UAC - set policies time to wait on server, - I applied all performace recommended settings suggested at samba.org for Windows 7 (http://wiki.samba.org/index.php/Windows7) Very similar post I have found here: https://bugzilla.samba.org/show_bug.cgi?id=8300 Domain users experience a slow login performance on Windows 7 clients that are joined into a samba domain (Samba version 3.5.4). The Windows 7 client was joined successfully into the domain with the Windows 7 registry settings adjusted according to http://wiki.samba.org/index.php/Windows7 (DomainCompatibilityMode = 0 and DNSNameResolutionRequired = 0). We need solve this bug, in other case we can’t use Samba as PDC and we must change the platform. Please put this request on free support boards or send me an offer for paid support. Can help adding this to GLOBAL section? domain master = yes local master = yes preffered master = yes os level = 64 Thanks a lot, I hope I’m not disturbing main Samba developers, With best regards, Jiri Prochazka Teacher from Waldorf high school in Prague Czech and English only :-) # # Sample configuration file for the Samba suite for Debian GNU/Linux. # # # This is the main Samba configuration file. You should read the # smb.conf(5) manual page in order to understand the options listed # here. Samba has a huge number of configurable options most of which # are not shown in this example # # Some options that are often worth tuning have been included as # commented-out examples in this file. # - When such options are commented with ";", the proposed setting #differs from the default Samba behaviour # - When commented with "#", the proposed setting is the default #behaviour of Samba but the option is considered important #enough to be mentioned here # # NOTE: Whenever you modify this file you should run the command # "testparm" to check that you have not made any basic syntactic # errors. # A well-established practice is to name the original file # "smb.conf.master" and create the "real" config file with # testparm -s smb.conf.master >smb.conf # This minimizes the size of the really used smb.conf file # which, according to the Samba Team, impacts performance # However, use this with caution if your smb.conf file contains nested # "include" statements. See Debian bug #483187 for a case # where using a master file is not a good idea. # #=== Global Settings === [global] ## Browsing/Identification ### # Change this to the workgroup/NT-domain name your Samba server will part of workgroup = LYCEUM # server string is the equivalent of the NT Description field server string = %h server (Samba, Ubuntu) # Windows Internet Name Serving Support Section: # WINS Support - Tells the NMBD component of Samba to enable its WINS Server # wins support = no # WINS Server - Tells the NMBD components of Samba to be a WINS Client # Note: Samba can be either a WINS Server, or a WINS Client, but NOT both ; wins server = w.x.y.z # This will prevent nmbd to search for NetBIOS names through DNS. dns proxy = no # What naming service and in what order should we use to resolve host names # to IP addresses ; name resolve order = lmhosts host wins bcast Networking # The specific set of interfaces / networks to bind to # This can be either the interface name or an IP address/netmask; # interface names are normally preferred ; interfaces = 127.0.0.0/8 eth0 # Only bind to the named interfaces and/or networks; you must use the # 'interfaces' option above to use this. # It is recommended that you enable this feature if your Samba machine is # not protected by a firewall or is a firewall itself. However, this # option cannot handle dynamic or non-broadcast interfaces correctly. ; bind interfaces only = yes Debugging/Accounting # This tells Samba to use a separate log file for each machine # that connects log file = /var/log/samba/log.%m # Cap the size of the individual log files (in KiB). max log size = 1000 # If you want Samba to only log through syslog then set the following # parameter to 'yes'. # syslog