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:Code: [Select]db configuration getprop smb LogonDrive
Hi cactus,i am not see any resultas 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 userregards,darmasanthi
[root@fileserver ~]$ more /etc/e-smith/templates/etc/smb.conf/22logondrive logon drive = { defined($WinNTLogonDrive) ? $WinNTLogonDrive . ':' : 'h:' }
the variable seems to be WinNTLogonDriveanywayCode: [Select][root@fileserver ~]$ more /etc/e-smith/templates/etc/smb.conf/22logondrive logon drive = { defined($WinNTLogonDrive) ? $WinNTLogonDrive . ':' : 'h:' }
[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/11logonDrivee-smith-samba-2.2.0-48.el5.sme[root@smetest ~]#
[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]$
[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 resultas 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
grep "logon drive" /etc/samba/smb.conf
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:Code: [Select]grep "logon drive" /etc/samba/smb.confAre 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:?
[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:' }