Koozali.org: home of the SME Server
Obsolete Releases => SME Server 8.x => Topic started by: darmasanthi on September 07, 2012, 02:10:28 PM
-
Hi,
I just installed a fresh SME 8.0, and joining windows 7 to the SME domain,
all running well, except the User Drive "Z".
i cannot find the user drive "Z"
regards,
darmasanthi
-
IIRC the home drive is mapped as H: by default for SME Server. Do you have a H-drive?
When logged in as root, what does this command show:
db configuration getprop smb LogonDrive
-
IIRC the home drive is mapped as H: by default for SME Server. Do you have a H-drive?
When logged in as root, what does this command show:
db configuration getprop smb LogonDrive
Hi cactus,
i am not see any result
as i know, on SME 7.xx the user home drive is become "z" drive,
but i am not see any drive indicated as home drive for the user
regards,
darmasanthi
-
Hi cactus,
i am not see any result
as i know, on SME 7.xx the user home drive is become "z" drive,
but i am not see any drive indicated as home drive for the user
regards,
darmasanthi
the variable seems to be WinNTLogonDrive
anyway
[root@fileserver ~]$ more /etc/e-smith/templates/etc/smb.conf/22logondrive
logon drive = { defined($WinNTLogonDrive) ? $WinNTLogonDrive . ':' : 'h:' }
be sure your pc has not any physical H: drive
if it doesn't work, file a bug, thank you
-
the variable seems to be WinNTLogonDrive
anyway
[root@fileserver ~]$ more /etc/e-smith/templates/etc/smb.conf/22logondrive
logon drive = { defined($WinNTLogonDrive) ? $WinNTLogonDrive . ':' : 'h:' }
That is strange, that file is not on my SME Server 8 machine, I only have:
[root@smetest ~] cat /etc/e-smith/templates/etc/smb.conf/11logonDrive
{
$drive = $smb{LogonDrive} || 'Z';
return "logon drive = ${drive}:";
}
[root@smetest ~]# rpm -qf /etc/e-smith/templates/etc/smb.conf/11logonDrive
e-smith-samba-2.2.0-48.el5.sme
[root@smetest ~]#
Apart from that the file you are mentioning is not in CVS
I find my fragment in the source tree however:
[jonathan@build2 e-smith-samba-2.2.0]$ root/etc/e-smith/templates/etc/smb.conf/22*
-bash: root/etc/e-smith/templates/etc/smb.conf/22*: No such file or directory
[jonathan@build2 e-smith-samba-2.2.0]$
I find my fragment in the source tree however:
[jonathan@build2 e-smith-samba-2.2.0]$ root/etc/e-smith/templates/etc/smb.conf/22*
-bash: root/etc/e-smith/templates/etc/smb.conf/22*: No such file or directory
[jonathan@build2 e-smith-samba-2.2.0]$ cat root/etc/e-smith/templates/etc/smb.conf/11logonDrive
{
$drive = $smb{LogonDrive} || 'Z';
return "logon drive = ${drive}:";
}
[jonathan@build2 e-smith-samba-2.2.0]$
-
i am not see any result
as i know, on SME 7.xx the user home drive is become "z" drive,
but i am not see any drive indicated as home drive for the user
If nothing is set, it should be set to Z by default, according to the code of the template fragment in CVS. You can check that by running the following command when logged in as root:
grep "logon drive" /etc/samba/smb.conf
Are you sure the PC is in the domain (I think this does not work for workgroups) and there is no other drive mapped or assigned to Z:?
-
If nothing is set, it should be set to Z by default, according to the code of the template fragment in CVS. You can check that by running the following command when logged in as root:
grep "logon drive" /etc/samba/smb.conf
Are you sure the PC is in the domain (I think this does not work for workgroups) and there is no other drive mapped or assigned to Z:?
Hi cactus,
For workstation with Win XP is working fine, i can see the "Z" drive,
it only happen on the Win7 Ultimate as workstation (the pc are already join to the domain)
rgds,
darmasanthi
-
ok.. my fault:
[root@fileserver smb.conf]$ pwd
/etc/e-smith/templates/etc/smb.conf
[root@fileserver smb.conf]$ ls -la *logon*
-rw-r--r-- 1 root root 80 Dec 15 2007 11logonDrive
-rw-r--r-- 1 root root 532 Jan 29 2012 11logonHome
-rw-r--r-- 1 root root 482 Jan 29 2012 11logonPath
-rw-r--r-- 1 root root 360 Jan 29 2012 11logonScript
-rw-r--r-- 1 root root 81 Aug 30 2001 22logondrive
-rw-r--r-- 1 root root 222 Jan 29 2012 61netlogonshare
[root@fileserver smb.conf]$ rpm -qf 11logonDrive
e-smith-samba-2.2.0-48.el5.sme
[root@fileserver smb.conf]$ rpm -qf 22logondrive
smeserver-loginscript-0.2-8
[root@fileserver smb.conf]$ more 11logonDrive
{
$drive = $smb{LogonDrive} || 'Z';
return "logon drive = ${drive}:";
}
[root@fileserver smb.conf]$ more 22logondrive
logon drive = { defined($WinNTLogonDrive) ? $WinNTLogonDrive . ':' : 'h:' }