Koozali.org: home of the SME Server

W7 join a SME8 domain

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
W7 join a SME8 domain
« on: May 08, 2013, 07:23:01 PM »
I'm working on contrib for moving them to the sme8's smecontrib repository, and for one of them i need to work with Windows software.

http://bugs.contribs.org/show_bug.cgi?id=7433

the contrib is there but it is not the purpose of this topic.

Effectively i can reach a smeserver domain with windows XP but i can not connect with windows 7. Of course i use same settings than for windows XP

I have looked a bit on this purpose....if you can illuminate the solution it could be nice.

I'm not really aware about microsoft, i prefer to waste my time with SME than "windaube"  8)
« Last Edit: May 08, 2013, 08:27:38 PM by stephdl »
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline TerryF

  • grumpy old man
  • *
  • 1,859
  • +6/-0
Re: W7 join a SME8 domain
« Reply #1 on: May 09, 2013, 12:24:09 AM »
--
qui scribit bis legit

Offline nicolatiana

  • *
  • 724
  • +0/-0
Re: W7 join a SME8 domain
« Reply #2 on: May 09, 2013, 10:08:26 AM »
Already discussed and solved; take a look here:
 
http://forums.contribs.org/index.php/topic,49229.msg247422.html#msg247422
 
Registry tweaks are included in SME http://your-sme-ip/server-resources/regedit/.
Working for both 7&8; the only "issue" is that after join-setup you cannot immediately add a user but you must reboot once your PC.
 
Nicola
« Last Edit: May 09, 2013, 10:10:17 AM by nicolatiana »
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline nicolatiana

  • *
  • 724
  • +0/-0
Re: W7 join a SME8 domain
« Reply #3 on: May 09, 2013, 10:15:25 AM »
About the contrib OO: maybe interesting to move to Libroffice or at least have it suitable for both OO & LO. I've abandoned OO since the beginning of LO adventure and I really found many benefits.
 
Nicola
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
Re: W7 join a SME8 domain
« Reply #4 on: May 09, 2013, 11:20:37 AM »
Thanks for the tip nicolatiana, indeed we can find libreoffice portable here

http://www.libreoffice.org/download/portable/

If somebody want to test it :p

i have seen this url on an other topic, but it seems to me that  i get a 404 error or maybe a 403 i didn't remember well
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
Re: W7 join a SME8 domain
« Reply #5 on: May 09, 2013, 12:07:15 PM »
Ok as i said before...i'm not really good with windows and you know what...i'm proud of that :p

So keep in mind that windows is a feckin O.S and the behavior of firefox under Linux is not the same in windows.....and thus i have set the url http://your-sme-ip/server-resources/regedit/ firefox goes to http://www.server-ressources/regedit.
I tested the same url with firefox and linux, and the results was different because I have exactly the url of regedit keys....be aware of that.

so after that you need to save the key win7samba.reg  somewhere in your W7 tree folder and start "regedit" by the start menu of you W7.
Then you can open the menu file/import and look to "all files" and apply with your "win7samba.reg"

once you have applied this file you can try to log to the (Koozali) SME Server.

That's all folks.....what i don't understand it is why there are not a wiki page on this subject....i will do it :p
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
Re: W7 join a SME8 domain
« Reply #6 on: May 10, 2013, 11:56:28 PM »
Have a read here: http://forums.contribs.org/index.php/topic,49229.msg245652.html#msg245652

Ola Trex...i have raised a bug against a lack in the documentation
http://bugs.contribs.org/show_bug.cgi?id=7583
can you do something for us ?
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline nicolatiana

  • *
  • 724
  • +0/-0
Re: W7 join a SME8 domain
« Reply #7 on: May 11, 2013, 09:00:21 AM »
Many thanks; I'll only make some modification (reorganization) to the howto not to be confusing (or to be more explicit), considering that the howto was created to for Sernet Samba (support for 7 on Sme 7).
 
Bye
 
Nicola
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
Re: W7 join a SME8 domain
« Reply #8 on: May 11, 2013, 09:44:51 AM »
Effectively i asked me if i had to write a new page or use an existent page as i found it with http://wiki.contribs.org/Windows_7_Support
my thought was to say that too much page on the wiki might not be easy to find the information, but you are free to enhance, to modify and to make a new page.

this is the power of wiki :p

PS: we could make some snapshots on the window method to reach the SME Server Domain as we can see here
http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter7
« Last Edit: May 11, 2013, 09:48:25 AM by stephdl »
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline nicolatiana

  • *
  • 724
  • +0/-0
Re: W7 join a SME8 domain
« Reply #10 on: May 11, 2013, 10:16:03 AM »
Good; the last effort: revise this:
Quote
Although an upstream fix was made available for SME 8 beta (based on CentOS 5, see bug 5425), there is no comparable fix available from the upstream vendor for SME 7.x (based on CentOS 4).
We're no more in beta !  :-D 
Many thanks in advance
 
Nicola
 
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline dvdsmith

  • *
  • 40
  • +0/-0
Re: W7 join a SME8 domain
« Reply #11 on: May 14, 2013, 08:39:12 PM »
Effectively i asked me if i had to write a new page or use an existent page as i found it with http://wiki.contribs.org/Windows_7_Support
my thought was to say that too much page on the wiki might not be easy to find the information, but you are free to enhance, to modify and to make a new page.

this is the power of wiki :p

PS: we could make some snapshots on the window method to reach the SME Server Domain as we can see here
http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter7

While not an SME Server specific issue, I found the following post useful for my Win 7 clients:

https://lists.samba.org/archive/samba/2010-February/153589.html

Changing the referenced group policy removes an additional 30 seconds to login time for my Win7Pro and Svr2008 (not R2) clients.  I seem to recall this happening with Vista as well, but thankfully I don't have Vista PCs anymore, so I can't confirm.  I'm not using roaming profiles at all, but the delay still occurs.  Perhaps the remote home directory is a factor?  Also, I'm not using SerNet.  Regarding the note regarding "version 2 profiles", are they only a factor if roaming profiles is enabled?  I have a few logins used from both Win 7 and XP workstations, but no apparent issues.

Would this be something worth adding to the HowTo?

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
Re: W7 join a SME8 domain
« Reply #12 on: May 15, 2013, 08:30:58 PM »
You have a bug report following below speaking about the same type of problem which occurs with certains network.
May have you a look !
http://bugs.contribs.org/show_bug.cgi?id=7332
If i read well the bug report you have a rpm waiting the passage to smeupdate, now builded in smeupdate-testing
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline dvdsmith

  • *
  • 40
  • +0/-0
Re: W7 join a SME8 domain
« Reply #13 on: May 15, 2013, 10:31:35 PM »
You have a bug report following below speaking about the same type of problem which occurs with certains network.
May have you a look !
http://bugs.contribs.org/show_bug.cgi?id=7332
If i read well the bug report you have a rpm waiting the passage to smeupdate, now builded in smeupdate-testing

My bad, didn't think to look in bugzilla as it seemed to be a general samba issue, not SME specific.  When I searched samba forums in the past I only found the GPO fix and not the registry one.  That said, I feel this is the kind of thing that needs to be noted in a wiki, as the registry update doesn't do much sitting there unless the admin knows to apply it again.

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
Re: W7 join a SME8 domain
« Reply #14 on: May 15, 2013, 11:25:00 PM »
http://wiki.contribs.org/Windows_7_Support#Slow_login_with_win7_to_sme8_domain
added to the wiki page...as you can see it is easy to play with the sme world...You have to make a wiki account...it is here that you can ask it :p
http://wiki.contribs.org/Help:Contents
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline nicolatiana

  • *
  • 724
  • +0/-0
Re: W7 join a SME8 domain
« Reply #15 on: May 16, 2013, 09:32:07 PM »
slooow ?  :roll:
 
Nicola
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
Re: W7 join a SME8 domain
« Reply #16 on: May 17, 2013, 08:17:48 AM »
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline newburns

  • *
  • 345
  • +0/-0
  • A good plumber, noob developer
    • Mt. Rose MEdia
Re: W7 join a SME8 domain
« Reply #17 on: May 17, 2013, 03:06:14 PM »
http://wiki.contribs.org/Windows_7_Support#Slow_login_with_win7_to_sme8_domain
It seems this may not be a supported action by the head honchos. It has been drilled in my head by my mentors (CharlieBrady, Stephono, Mary, Burnat?) that you should never use the repository SME-Testing. If it has not been rolled out into the standard updates, it is for developemnt purposes only.
Is this method accepted?
If so, why hasn't the change been rolled into proper updates?
I have a production system, and I fear messing it up by human error. However, I have extremely slow logins, and would like that resolved.
As for now, the latest update is only
Code: [Select]
e-smith-samba             noarch   2.2.0-53.el5.sme         smeupdates   101 knot the -54.el5 you are requesting
SME 8.0
Quad 6600
8gb DDR2 800
8 TB RAID 5
Dual Gigabit NIC
I Still Don't KNOW WHAT I AM DOING. Please, don't assume I know anything about Linux or Centos, I just know hardware

Offline engdev

  • *
  • 71
  • +0/-0
Re: W7 join a SME8 domain
« Reply #18 on: May 17, 2013, 04:04:26 PM »
We have many W7 users connecting to SME8 domain & fortunately not had any slow logins but I've always amended the client registry as per the instructions in the 'Windows 7 Performance and Time Registry settings ' section here https://wiki.samba.org/index.php/Windows7 To date I haven't adjusted anything on the server.

Offline newburns

  • *
  • 345
  • +0/-0
  • A good plumber, noob developer
    • Mt. Rose MEdia
Re: W7 join a SME8 domain
« Reply #19 on: May 17, 2013, 04:09:29 PM »
It does not say what file is adjusted with that change.
How do you implement that change? It just states that the settings were shared.
Is that one complete bat file that should be ran?
SME 8.0
Quad 6600
8gb DDR2 800
8 TB RAID 5
Dual Gigabit NIC
I Still Don't KNOW WHAT I AM DOING. Please, don't assume I know anything about Linux or Centos, I just know hardware

Offline dvdsmith

  • *
  • 40
  • +0/-0
Re: W7 join a SME8 domain
« Reply #20 on: May 17, 2013, 04:48:00 PM »
It does not say what file is adjusted with that change.
How do you implement that change? It just states that the settings were shared.
Is that one complete bat file that should be ran?

All the package does is modify a .reg file stored on the server.  The .reg file is run by the client PC, merging the changes into the windows registry.  Honestly, the wiki shows you the content of the file, so running the package isn't really necessary.  Just create a text file, paste in the registry data from the wiki, rename the extension to .reg, at the client double-click on the .reg and merge it into the registry.  The last line of the .reg fixes the slow login issue. If this is confusing, you really should become familiar with registry .reg file.  Hope this helps.

Offline engdev

  • *
  • 71
  • +0/-0
Re: W7 join a SME8 domain
« Reply #21 on: May 17, 2013, 04:49:19 PM »
Following the SME wiki http://wiki.contribs.org/Windows_7_Support#Join_a_SME_Server_8.0_Domain_with_Win7 you will add these 2 values to the 'HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanManWorkstation\Parameters' registry key:
Code: [Select]
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanManWorkstation\Parameters]
"DNSNameResolutionRequired"=dword:00000000
"DomainCompatibilityMode"=dword:00000001

To make further changes to the registry you need to navigate through the directory tree to find the correct key (be careful as many key locations look the same with only very minor differences). For instance, to add these values:
Code: [Select]
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System]
       "SlowLinkDetectEnabled"=dword:00000000
       "DeleteRoamingCache"=dword:00000001
       "WaitForNetwork"=dword:00000000
       "CompatibleRUPSecurity"=dword:00000001
you navigate to 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System' in the directory tree and with 'system' highlighted in the tree, right click on it and select 'new/DWORD (32-bit) value'. You then copy the 'SlowLinkDetectEnabled' text into the name field and enter zero in the value data field. Repeat for the other 3 values in the above list.

Offline newburns

  • *
  • 345
  • +0/-0
  • A good plumber, noob developer
    • Mt. Rose MEdia
Re: W7 join a SME8 domain
« Reply #22 on: May 17, 2013, 04:51:19 PM »
However, in order to do the proper change, you must have the listed Samba version which comes from SME-Testing
http://wiki.contribs.org/Windows_7_Support#Join_a_SME_Server_8.0_Domain_with_Win7
SME 8.0
Quad 6600
8gb DDR2 800
8 TB RAID 5
Dual Gigabit NIC
I Still Don't KNOW WHAT I AM DOING. Please, don't assume I know anything about Linux or Centos, I just know hardware

Offline engdev

  • *
  • 71
  • +0/-0
Re: W7 join a SME8 domain
« Reply #23 on: May 17, 2013, 04:55:39 PM »
I'm only offering my personal experience in case it helps. As I said before I've not made any changes to the server, it's running vanilla SME 8, the updates testing repository is disabled.

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
Re: W7 join a SME8 domain
« Reply #24 on: May 17, 2013, 06:36:25 PM »
However, in order to do the proper change, you must have the listed Samba version which comes from SME-Testing
http://wiki.contribs.org/Windows_7_Support#Join_a_SME_Server_8.0_Domain_with_Win7

if you are anxious you can wait some time and the new version of the package will comes without efforts.
by the way it is not sme-testing but smeupdates-testing, so the repository before smeupdates repo.
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline dvdsmith

  • *
  • 40
  • +0/-0
Re: W7 join a SME8 domain
« Reply #25 on: May 18, 2013, 03:03:22 AM »
Ran a test earlier. SME 8.0 server, no contribs, using package e-smith-samba-2.2.0-53.el5.sme, not e-smith-samba-2.2.0-54.el5.sme from sme-testing.  Applied old .reg (from server) to Win7pro workstation, joined it to samba domain.  After merging the updated .reg (created manual) to client registry, login time dropped by 25sec.  Only difference was the last line of the .reg file.  So, running the test package is apparently unnecessary.  Did I miss something?

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
Re: W7 join a SME8 domain
« Reply #26 on: May 18, 2013, 08:45:19 AM »
Ran a test earlier. SME 8.0 server, no contribs, using package e-smith-samba-2.2.0-53.el5.sme, not e-smith-samba-2.2.0-54.el5.sme from sme-testing.  Applied old .reg (from server) to Win7pro workstation, joined it to samba domain.  After merging the updated .reg (created manual) to client registry, login time dropped by 25sec.  Only difference was the last line of the .reg file.  So, running the test package is apparently unnecessary.  Did I miss something?
It seems to me that the new .reg needs to be activated in case of slow login (by a db command). Effectively if you read the bug report mostly of us do not need this trick so it is not activated by default.
However i'm not the best to speak about windows i'm just a man who reads bug reports against documentation and makes what he can to solve them.

« Last Edit: May 18, 2013, 08:59:48 AM by stephdl »
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!