Koozali.org formerly Contribs.org

SME Server 8 Win 7 logon drive

SME Server 8 Win 7 logon drive
« on: July 08, 2013, 04:31:28 PM »
Hi everybody
In install sme server 8 last week. no problems about windows xp client (roaming profiles and logon drive).
When i add a windows 7 client to my domain, it's ok about roaming profiles but i can't see the logon drive. why?
what's wrong.
I've just installed the win7samba.reg but nothing new.
help pls.

Offline janet

  • ****
  • 4,793
Re: SME Server 8 Win 7 logon drive
« Reply #1 on: July 09, 2013, 01:59:22 AM »
tastiero

The profiles are different, Vista & later use v2 profiles.
Maybe your issue is related to that as you are using roaming profiles, & you need to configure the v2 Vista profiles seperately to the older XP profiles.

Google it, as there are many articles about this, here is one:
http://4sysops.com/archives/windows-vista-and-windows-xp-roaming-user-profiles-interoperability-folder-redirection-is-the-only-way/
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Re: SME Server 8 Win 7 logon drive
« Reply #2 on: July 09, 2013, 08:38:59 AM »
I read about it on google search. In sme server 7 there was something about 11logonDrive files and 22logonDrive files, pratically the difference for xp and win7.
when i search in my sme server 8 i find only this:
[root@pdctlc smb.conf]# ls -la
totale 276
drwxr-xr-x  3 root root 4096  8 lug 15:28 .
drwxr-xr-x 75 root root 4096  3 lug 16:38 ..
-rw-r--r--  1 root root   40 15 dic  2007 00usedb
-rw-r--r--  1 root root   96 13 mag  2003 00yesno
-rw-r--r--  1 root root   53 15 mag  2003 02setupWinsServer
-rw-r--r--  1 root root  699 12 mar  2002 10globals
-rw-r--r--  1 root root  445 29 gen  2012 10recyclebin
-rw-r--r--  1 root root  102 15 dic  2007 10shadowcopy
-rw-r--r--  1 root root  115 18 feb  2005 11addMachineScript
-rw-r--r--  1 root root  143 29 gen  2012 11bindInterfacesOnly
-rw-r--r--  1 root root   87 12 mar  2002 11caseSensitive
-rw-r--r--  1 root root   93  7 nov  2003 11deadtime
-rw-r--r--  1 root root   86 12 mar  2002 11defaultCase
-rw-r--r--  1 root root  108 18 feb  2005 11displayCharSet
-rw-r--r--  1 root root  212 12 mar  2002 11dnsProxy
-rw-r--r--  1 root root  191 12 mar  2002 11domainController
-rw-r--r--  1 root root   87 29 gen  2012 11domainLogons
-rw-r--r--  1 root root   83 29 gen  2012 11domainMaster
-rw-r--r--  1 root root   88 18 feb  2005 11dosCharSet
-rw-r--r--  1 root root  218 12 mar  2002 11encryptPasswords
-rw-r--r--  1 root root  127 12 mar  2002 11guestAccount
-rw-r--r--  1 root root  120 12 mar  2002 11guestOk
-rw-r--r--  1 root root  430 20 set  2005 11hostsAllow
-rw-r--r--  1 root root  213 12 mar  2002 11include
-rw-r--r--  1 root root  235 18 feb  2005 11interfaces
-rw-r--r--  1 root root   84 29 gen  2012 11lanmanPasswords
-rw-r--r--  1 root root  116 12 mar  2002 11logFile
-rw-r--r--  1 root root   80 15 dic  2007 11logonDrive
-rw-r--r--  1 root root  532 29 gen  2012 11logonHome
-rw-r--r--  1 root root  482 29 gen  2012 11logonPath
-rw-r--r--  1 root root  360 29 gen  2012 11logonScript
-rw-r--r--  1 root root  131 12 mar  2002 11mapToGuest
-rw-r--r--  1 root root   76 12 mar  2002 11maxLogSize
-rw-r--r--  1 root root  793 12 mar  2002 11nameResolveOrder
-rw-r--r--  1 root root  103 18 feb  2005 11netbiosName
-rw-r--r--  1 root root  185 16 mar  2006 11oplocks
-rw-r--r--  1 root root  271 29 gen  2012 11osLevel
-rw-r--r--  1 root root  543 29 gen  2012 11passdbBackend
-rw-r--r--  1 root root  143 12 mar  2002 11passwordLevel
-rw-r--r--  1 root root  206 29 gen  2012 11passwordServer
-rw-r--r--  1 root root   25  4 giu  2002 11pidDirectory
-rw-r--r--  1 root root   92 29 gen  2012 11preferredMaster
-rw-r--r--  1 root root  128 12 mar  2002 11preserveCase
-rw-r--r--  1 root root   25 29 gen  2012 11privateDir
-rw-r--r--  1 root root  245 29 gen  2012 11remoteAnnounce
-rw-r--r--  1 root root  356 29 gen  2012 11remoteBrowseSync
-rw-r--r--  1 root root  263 29 gen  2012 11security
-rw-r--r--  1 root root  164 18 feb  2005 11serverString
-rw-r--r--  1 root root   26 12 mar  2002 11shortPreserveCase
-rw-r--r--  1 root root   39 28 mag  2003 11smbPasswdFile
-rw-r--r--  1 root root   76 15 dic  2007 11smbPorts
-rw-r--r--  1 root root  150 12 mar  2002 11socketOptions
-rw-r--r--  1 root root  104 12 mar  2002 11strictLocking
-rw-r--r--  1 root root   93 18 lug  2005 11unixCharSet
-rw-r--r--  1 root root  587  7 ott  2008 11unix_extensions
-rw-r--r--  1 root root  849 29 gen  2012 11unixPasswordSync
-rw-r--r--  1 root root   28 12 mar  2002 11usernameLevel
-rw-r--r--  1 root root  223 12 mar  2002 11winsProxy
-rw-r--r--  1 root root  672 29 gen  2012 11winsServer
-rw-r--r--  1 root root   83 18 feb  2005 11workgroup
-rw-r--r--  1 root root  441 11 apr  2002 20printing
-rw-r--r--  1 root root  243 12 mar  2002 50homes
-rw-r--r--  1 root root  237 15 dic  2007 50homesVFS
-rw-r--r--  1 root root  396  7 ott  2008 50printers
-rw-r--r--  1 root root  222 29 gen  2012 61netlogonshare
-rw-r--r--  1 root root  382 15 dic  2007 61printerdriversshare
-rw-r--r--  1 root root  445  7 ott  2008 61Profilesshare
-rw-r--r--  1 root root  347 18 feb  2005 90ibays

how can i add files to support win 7 clients?

Offline janet

  • ****
  • 4,793
Re: SME Server 8 Win 7 logon drive
« Reply #3 on: July 09, 2013, 10:13:57 AM »
tastiero

Your question is not clear. Please be more precise.
When you say:
"When i add a windows 7 client to my domain.........i can't see the logon drive. why?"

Are you referring to the users home drive ?
Are you referring to drive Z: ?
Commonly in SME server in the netlogon.bat file that runs when Windows starts, we specify the home drive as H: using
net use H: /home

Look in /home/e-smith/files/samba/netlogon/netlogon.bat

IIRC save any changes to this file in Windows format ie use Notepad to edit & upload the file to your server

Also see
http://wiki.contribs.org/Windows_7_Support
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Re: SME Server 8 Win 7 logon drive
« Reply #4 on: July 09, 2013, 12:13:29 PM »
sorry
I'm refering to drive z: that i easly reach in windows xp client but i can't view in win 7 client.

Offline janet

  • ****
  • 4,793
Re: SME Server 8 Win 7 logon drive
« Reply #5 on: July 09, 2013, 12:32:57 PM »
tastiero

Quote
I'm refering to drive z: that i easly reach in windows xp client but i can't view in win 7 client.

Did you configure the netlogon.bat file appropriately.
Do you see a H: drive ?
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Re: SME Server 8 Win 7 logon drive
« Reply #6 on: July 09, 2013, 01:08:51 PM »
ok my fault
now it works.
but i can't understand the difference, why i don't need to change netlogon.bat for windows xp?

thanks for help

Offline stephdl

  • *
  • 1,500
    • Linux et Geekeries
Re: SME Server 8 Win 7 logon drive
« Reply #7 on: July 09, 2013, 07:25:59 PM »
please can you explain exactly what you have modified to be added to this howto http://wiki.contribs.org/Windows_7_Support

thank tastiero
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

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

Offline newburns

  • *
  • 345
  • A good plumber, noob developer
    • Mt. Rose MEdia
Re: SME Server 8 Win 7 logon drive
« Reply #8 on: July 09, 2013, 07:44:46 PM »
I think he is referring to the automatically mapped home drive in Windows XP. This doesn't show in Windows 7 without editing the netlogon.bat file.
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 stephdl

  • *
  • 1,500
    • Linux et Geekeries
Re: SME Server 8 Win 7 logon drive
« Reply #9 on: July 09, 2013, 08:06:20 PM »
I think he is referring to the automatically mapped home drive in Windows XP. This doesn't show in Windows 7 without editing the netlogon.bat file.
Thanks newburns, I understand but i want to documented it in the appropriate wiki page...i'm really not good with windows environment however this ought to be in the good section. So I'd to know exactly what we have to modify to get a netlogon.bat workable on window7 and after that test it for windows 8.

tastiero, it is your turn
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

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

Offline newburns

  • *
  • 345
  • A good plumber, noob developer
    • Mt. Rose MEdia
Re: SME Server 8 Win 7 logon drive
« Reply #10 on: July 09, 2013, 08:13:06 PM »
Here is my netlogon.bat
Code: [Select]
REM To set the time when clients logon to the domain:
net time \\servername /set /yes
REM
REM To map a home directory to drive h:
net use z: /home

But is this the standard setup? I did it before, but I just remembered I did a AFFA --rise-all recently, so I don't know if this file carried over, or is part of the new install

Last time I did this file, I had to end it with
Code: [Select]
unix2dos /home/e-smith/files/samba/netlogon/netlogon.bat
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 stephdl

  • *
  • 1,500
    • Linux et Geekeries
Re: SME Server 8 Win 7 logon drive
« Reply #11 on: July 09, 2013, 08:35:35 PM »
i confirm that your file is the standard, i have the same in my server
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

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

Re: SME Server 8 Win 7 logon drive
« Reply #12 on: July 10, 2013, 08:26:47 AM »
I confirm,
i'm referring to the automatically mapped home drive in Windows XP. the above drive doesn't show in Windows 7 without editing the netlogon.bat file.
i've deleted the REM in the line about "net use z: /home" and then it's ok.
Now it works fine.
Thanks to all for the help. i'm trying sme server 8 since few months.
« Last Edit: July 10, 2013, 08:29:11 AM by tastiero »

Offline stephdl

  • *
  • 1,500
    • Linux et Geekeries
Re: SME Server 8 Win 7 logon drive
« Reply #13 on: July 10, 2013, 08:48:57 AM »
i'm referring to the automatically mapped home drive in Windows XP. the above drive doesn't show in Windows 7 without editing the netlogon.bat file.
i've deleted the REM in the line about "net use z: /home" and then it's ok.
This behaviour is a known issue or it is an issue only for tastiero, if somebody can give his feedback on netlogon problem, i'm quite a newbees on windows. I do not have a W7 or a W8 to play with it as i'm in holiday, a little far from my virtualisation server, but i write this on my Todo List when i come back at home.

Tastiero, don't be affraid to ask a wiki edit right, a bugzilla account, to help the project with some dollars, what the SME Project gives to you, try to give back by your own way.
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

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

Re: SME Server 8 Win 7 logon drive
« Reply #14 on: July 10, 2013, 08:58:45 AM »
I'm not afraid about it. i use windows and linux operanting system and i believe that's problems makes us more expert :)
i want to add another thing.
in the smb.conf file the default logon drive is Z: and in the netlogon.bat the default drive is H:.
to avoid to have two drive about the same phisical drive (Z: and H:), we need to change the two configuration file with the same drive letter (Z: or H:).
thanks to everybody