Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: rmclay on September 23, 2007, 11:26:21 AM
-
Hi guys,
I am currently running SME 7.2 and wish to move the home drive letter from Z: to H:, I hav tried to modify the smb.conf by running:
root@host[~]# mkdir -p /etc/e-smith/templates-custom/etc/samba/smb.conf/
root@host[~]# cp /etc/e-smith/templates/etc/samba/smb.conf/11logondrive /etc/e-smith/templates-custom/etc/samba/smb.conf/11logondrive
root@host[~]# /sbin/e-smith/expand-template /etc/samba/smb.conf
yet smb.conf still shows logonDrive = Z:
What am I doing wrong...?
Secondly, I have been using kixtart (http://www.kixtart.org) for my login scripts. For some reason, it fails to pick up the group membership of any user. I have an ITDEPT group with user jdoe, when testing this on a windows server, the script line InGroup("ABCLTD\ITDEPT") works ok, but not on SME server. I was wondering how SME passed it's group membership data to Windows...? My appologies if this is not related to SME, if so, I'll report it on the Kix forums.
Thanks,
Robert
-
All those solutions are being covered in http://www.sonoracomm.com/index.php?option=com_content&task=view&id=152&Itemid=32 (http://www.sonoracomm.com/index.php?option=com_content&task=view&id=152&Itemid=32) I think...
-
All those solutions are being covered in http://www.sonoracomm.com/index.php?option=com_content&task=view&id=152&Itemid=32 (http://www.sonoracomm.com/index.php?option=com_content&task=view&id=152&Itemid=32) I think...
Drum-roll... and that is why we have the bug tracker and her we find bug 1155 (http://bugs.contribs.org/show_bug.cgi?id=1155). :-) Since SME Server 7.1 update 1 the logon drive mapping is templated and has a database entry:
db configuration setprop smb LogonDrive h
expand-template /etc/samba/smb.conf
service smb restart
Logging out and on again on a windows system should now map your home drive to h: instead of z:.
-
Secondly, I have been using kixtart (http://www.kixtart.org) for my login scripts. For some reason, it fails to pick up the group membership of any user. I have an ITDEPT group with user jdoe, when testing this on a windows server, the script line InGroup("ABCLTD\ITDEPT") works ok, but not on SME server. I was wondering how SME passed it's group membership data to Windows...? My appologies if this is not related to SME, if so, I'll report it on the Kix forums.
For this to work you should have SME Server provide a domain and you should join the Windows server to it. Than there should be a list of users and groups defined which are taken from SME Server and can be managed per server-manager.
If you are not in a domain every PC has it's own list of users and groups defined, which they cater access to. As they are unaware of users and groups (and their contents) as they exist on other computers in your network they can only use the local defined users and groups and hence could work on one system and fail on another one.
-
Hi Cactus,
I have created the ABCCORP domain and my PC is on it. As per the kix manual, I have the line:
If InGroup("ABCCORP\ITDEPT")
use G: \\smeserver\ghost
EndIf
I'm not sure if this is how SME does the groups, but from reading online and checking some config files, I can't see why this is failing... Thanks to everyone for the swift responses so far.
I now have H: Drives for home :-D
Cheers,
Robert
-
Hi Cactus,
I have created the ABCCORP domain and my PC is on it. As per the kix manual, I have the line:
If InGroup("ABCCORP\ITDEPT")
use G: \\smeserver\ghost
EndIf
This should be the way every windows domain server handles group/user requests and is in fact SME Server does it when typd in when prompted. Assuming that KIX works the same this might be a KIX issue, perhaps some other user or the KIX forums can shed a light on this. I am not familiar with it.
-
I have been using a modified loginscript contrib from SME6.0 for years now.
It is not an official release but one myself and ... jbennett fixed up for SME7.0 .... the link is:
http://mirror.contribs.org/smeserver/contribs/jbennett/sme7/loginscript/RPM/
One day I will try and push this to the dev team and hope ppl will take it on as it is very handy.
Works no problem with SME7.2.
I have played around with kixtart on windows and works well ... only briefly tryed to get it to work on SME but didn't have time to try and get it to run.
Regards,
Tib
-
Tib's right. Use the contrib he's mentioned: http://mirror.contribs.org/smeserver/contribs/jbennett/sme7/loginscript/RPM/
I've used it in more than 20 networks, and it's quick and easy to tailor to your specific needs.
-
Hi Cactus,
I have now corrected the ingroup problems. Thanks for that.
I'm now trying to move the Z: drive to H:, but still no luck. When I run
root@host[~]# db configuration setprop smb LogonDrive h
root@host[~]# expand-template /etc/samba/smb.conf
root@host[~]# service smb restart
And reboot my workstation, the Z: drive still remains an no H: is mapped. I copied and pasted these lines straight into a putty session, so cannot see why this is causing issues.
Thanks again,
Robert
-
if the instructions in the wiki don't work, please raise a bug
http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter7#Setting_up_network_drives
this is how my netlogon.bat is setup
I have no Z drive
nor any smb property