Ubuntu Servers :: LTSP Mounting Windows Shares At Login

Apr 21, 2010

I've been asked to investigate the possibility of using LTSP in our school to provide a more "real world" programming environment to our students. We have a Windows 2003 Server domain and no plans to change it.I've set up the LTSP server, joined the domain and everything seems to be working fine, I can login to the LTSP server with a student account.

The next thing I want to achieve is give the students access to their "My Documents" folder on the Windows 2003 server. Is it possible to have a student log on to the terminal server (who has never logged in before) and have it automatically mount their share on the windows server?

View 1 Replies


ADVERTISEMENT

Ubuntu Servers :: Mounting Samba Shares On System Boot/user Login

Jun 28, 2011

I wrote a little script that will automatically mount two Samba shares to my home directory and I was wondering if a) You guys/gals had any input as to how I could improve on this script and b) Tell me how I would go about having this script automatically execute when I log on via SSH.

Code:

#!/bin/sh
mount -t smbfs -o username=Myuser,password=Thepassword //192.168.1.102/Data1 /home/user/Data1
mount -t smbfs -o username=Myuser,password=Thepassword //192.168.1.102/Data2 /home/user/Data2

View 4 Replies View Related

Ubuntu Servers :: 10.04 LTSP Locks Up After 23rd Login?

Sep 3, 2010

I am currently running LTSP on Ubuntu 10.04. It is a dual gig nic setup with 16GB of ram and dual AMD quad core 2.4s. I installed all the latest updates as well as likewise-open so we can use AD authentication. When testing the configuration in the lab, I boot 32 clients that successfully reach the login screen. Here comes the interesting part, I can log in, using all unique AD accounts, up to 22 clients. When I attempt to log in to the 23rd client LTSP hangs. If I restart a client it will retrieve an IP address, but TFTP will eventually time out. All of the clients are connected to a Gigabit switch along with the server so network speeds are not an issue. When I run system monitor it only shows 3.6GB of memory in use and the processors are all under 10% utilization. I have beating my head against this issue for 2 days .

View 1 Replies View Related

Ubuntu Servers :: 10.10 Randomly Not Mounting NFS Shares - Race Condition?

Dec 16, 2010

NFS share is up. it's set to r/w. This is Ubuntu 10.10 NFS4 i believe. exports file looks like this;
/data/feeder 10.10.10.1/255.255.255.0(rw,async,no_root_squash,no_subtree_c heck)

on the client,
/etc/fstab looks like this;
10.10.10.1:/data/feeder /opt/feeder nfs rw 0 0
when I ls -la into /opt/feeder I see all the persmissions as:
4294967294:4294967294 instead of root:root

View 8 Replies View Related

Networking :: Mounting Shares From Windows Server

Dec 8, 2010

My question is that I have a handful of servers, Server 1 is a Suse Linux machine and Server 2 is a Windows Server 2003 machine. I can mount and access the files/shares on the Linux machine no problem but when I come to using the Server 2003 shares I encounter problems ... here is a snip of my fstab ...

Code:
//10.0.0.20/applications /myfolder/applications cifs username=user1,password=pass1,auto,uid=user2,gid=group2,0 0
user1 and pass1 is the username and password of a user (local to the remote machine) and user2 and group2 are taken from the machine performing the mount.

Am I doing it right, is that how I should be mounting a share from a (Domain enabled) Windows Server 2003?

View 2 Replies View Related

Fedora Servers :: Mounting Samba Shares Permission Denied?

Jun 2, 2011

I setup a Samba share and I cannot connect. I can mount in on local host but when I CD to the folder I mounted the share on I get access denied when I run ls.

cat /etc/samba/smb.conf
[W$]
path = /Files/
valid users = admin

[Code]....

View 2 Replies View Related

Ubuntu Servers :: Couple Of Samba Shares Not Accessible From Windows?

Jan 28, 2011

I am running Ubuntu 10.10 and have 5 shares that I have setup for Samba (assume names of share1, ..., share5). I find that shares(2,3,4) are accessible from my MS Windows system, but the share1 and share5 are listed but Windows gives an error accessing them that I may not have permissions.I have reviewed the sharesve the same owner, group, and permissions.Is this a known Samba bug or configuration issue? I have gone through the smb.conf file multiple times as well as examining the directories and do not see what the issue might be.

View 9 Replies View Related

Fedora Servers :: Samba Shares And Windows Vista - Cannot Authenticate

May 22, 2009

I had an older fedora box (I think it was Core 3) that acted as my file server in my small network (4). It worked fine when I had all XP clients connecting to it. Recently we decided to get all new computers. So now I have a fedora 10 box acting as my file/print server and all Vista Home premium computers as the clients. For the life of me I can not get samba to work. When I try to map the network drives on windows it will not let me authenticate. I install swat and try it that way, still no luck. Here is a copy of my smb.conf file:

Code:
# Samba config file created using SWAT
# from UNKNOWN
# Date: 2009/05/19 21:47:31

[global]
workgroup = AIVILANET
server string = Bighat Samba Server
interfaces = eth0
null passwords = Yes
smb passwd file = /etc/samba/smbpasswd
passdb backend = tdbsam
username map = /etc/samba/smbusers
syslog only = Yes
announce version = 5.0
name resolve order = hosts wins bcast
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = CUPS
wins support = Yes

[HP-LaserJet-1200]
comment = HP LaserJet 1200
path = /var/spool/samba
read only = No
printable = Yes
printer name = HP-LaserJet-1200
oplocks = No
share modes = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[home]
path = /home/savona/
username = savona
valid users = @Users
admin users = savona
write list = savona
force user = savona
force group = savona
read only = No
hosts allow = 10.0.0.2

View 8 Replies View Related

Ubuntu Servers :: Mounting Windows XP Share For Back Up

Jan 9, 2011

Mounting Windows XP Share for back up.

View 1 Replies View Related

Ubuntu Servers :: Can't Connect To Samba Shares With Windows 7 Or Ubuntu

Jul 18, 2011

I'm trying to use Windows 7 to connect to a Samba server (running Ubuntu 11.04).

Server is named Mars. Below is my Samba configuration file. I can ping the server, and connect to it via RDP and ssh, so i know its not a network connectivity issue. What else could it be?

Code:
[global]
log file = /var/log/samba/log.%m
server string = %h server (Samba, Ubuntu)
winbind enum users = no
force group = nobody

[Code].....

View 8 Replies View Related

Ubuntu :: 10.04 Not Auto-mounting Network Shares?

May 4, 2010

Enviroment:

-server ubuntu 9.04 with samba
-client fresh ubuntu 10.04

ubuntu is not auto-mounting samba shares. Old 9.04 done it without a problem. I need to type sudo mount -a to have samba mounted.

fstab:
//192.168.1.101/www /mokonawww cifs auto,iocharset=utf8 0 0
ls -l
drwxrwxrwx 25 root root 0 2010-05-03 17:44 mokonawww

Tested with diffrent parameters. And another problem also with samba shares, when I edit file from editor (eclipse) after save i got 'file changed dialog'. seems like file is written with some delay ? and timestamp dont agree (its my blind quess). On 9.04 no problems. Tested with 2 instances of Eclipse. One copied from 9.04 and second fresh install. Other editors raport the same problem. Its anoying as hell.

View 3 Replies View Related

Ubuntu Servers :: 9.10 To 10.4 Upgrade And LTSP?

Apr 30, 2010

Version 9.10 had been installed via the alternate CD as the LTSP Server Edition. In place upgrade to 10.4 completed normally via Update Manager. However, LTSP terminal boot now fails with error "Forbidden directory" and "Access Violation". The following was found . Ubuntu 10.4 uses tftp-hpa. Either this is a change from Ubuntu 9.10 or the default behaviour of tftp-hpa has changed. So now, the filename argument given in /etc/ltsp/dhcpd.conf must include the full pathname. The previous requirement was to exclude the chroot path. If this is documented somewhere, I missed it. And after modifying /etc/ltsp/dhcpd.conf, do not forget to restart the dhcp daemon $ sudo /etc/init.d/dhcp3-server restart

View 7 Replies View Related

Debian Configuration :: LTSP Login With Active Directory Credentials

Feb 28, 2016

I've been working on building an LTSP server for diskless booting. I have a tftp server that's booting the system. I followed the steps on [URL] .... to build the LTSP server.

I had to make one change from the guide. I have a cisco router that's acting as the DHCP, I'm not very familiar with Cisco IOS so instead of playing with that, I decided to modify the default file on the PXE.

I commented the kernel append line and added the following instead

/srv/tftp/ltsp/amd64/pxelinux.cfg/default

Code: Select allappend initrd=initrd.img-3.16.0-4-amd64 init=/sbin/init-ltsp root=/dev/nfs rw nfsroot=10.0.5.99:/opt/ltsp/amd64 ip=dhcp

I'm mounting the nfs as a rw file system for now. I'm planning to make it read only once I have it working the way I want. In addition to this, I also chroot into the LTSP root and installed lightdm + mate. As I understood what I read, this would boot the environment on the diskless system. All of this seem to work correctly.

What I need to do next is to find a way to setup the LTSP clients to log in by authenticating on the active directory. I understand that the login account used by the LTSP client has to exist on the LTSP server.

I have successfully added the LTSP server as a worksation within the windows domain and I can log into domain accounts from the LTSP server but domain credentials do not work when using an LTSP client, I can only log in if I use an account that exists on the LTSP server. I wanted to know if there is a way to accomplish AD authentication.

Do I have to build an LDAP server on the LTSP server, sync accounts with the Active Directory to be able to log in with AD credentials?

View 2 Replies View Related

Networking :: Mounting Samba Shares From Different Workgroups?

Jul 19, 2010

So my brother has a home network that is setup with multiple workgroups (don't ask why - I have no idea and he refuses to change it). Anyways I just installed Mint 9 (Ubuntu 10.04) on my mother's computer and I need it to be able to access the fileserver in her house where her data is stored. The Mint system is part of the default workgroup and can only see one other system in this workgroup.

The workgroup the file server is a part of is called "hobnw", the server's name is "fileserver", and the share I want to connect to is called "TV Shows" How can I connect to this network share on Linux? (I also know the username and password) When I browse the network under nautilus all I see is the default workgroup and no others. All of the Windows systems on the network (Windows XP, Vista, and Win7) all see and can access the file server without issues.

View 1 Replies View Related

Networking :: NFS Shares Not Mounting At Boot Time?

Jan 15, 2010

I've got a mostly Debian Lenny network but I've set one machine up with Squeeze. One the Squeeze machine I can mount my NFS shares manually but can't get them to mount at boot time. Here's my /etc/fstab file:

Code:
# /etc/fstab: static file system information.
#
# Use 'vol_id --uuid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>

[Code]...

View 8 Replies View Related

General :: Mounting Samba Shares At Bootup?

Sep 3, 2010

I'm using ubuntu 10.04 (gnome) - at some point, I had manually mounted a samba share on the home fileserver,

mount -t cifs //homeserver/sharename /serverfiles

It now boots up automatically every time, which is definitely convenient but I don't know how it's being done. I'm going to be mounting the same share using sshfs when I'm away so I'd like to know how it works. When I googlify this, there is mention of altering fstab (which has not been done) or gnome-mount (which does not seem to be it). There is nothing in preferences/startup applications, what is the automounting mechanism being used?

View 2 Replies View Related

Networking :: Ubuntu 10.04 Delay Mounting Network Shares In Fstab?

Jun 14, 2010

Using Xubuntu 10.04 to connect to some Windows XP shares by adding lines to fstab. The network shares are not mounted at boot, but can be mounted from the command line, after the OS has booted and everything is up. I am suspecting the network isn't up yet, when fstab is processed. I tried adding the option "_netdev" to the relevant network share lines in fstab, but the shares still don't mount automatically at boot up. I read that this option only works for NFS and I am using CIFS. Can someone confirm that _netdev only works for NFS ?

I've seen solutions involving running a mount script after the OS is fully loaded, or running a cron job to periodically check the status of the share and mount if needed. Good workaround but doesn't address the root cause. Is there any other way (besides the _netdev option) to delay mounting of network shares that appear in fstab until the network interface is up ?

View 14 Replies View Related

Ubuntu Servers :: LTSP And Booting HPt5000?

Dec 4, 2010

I got myself a HP t5000 series Thin client to use on my LTSP 10.04. I changed the Bios to boot PxE. When i restart the thin client it asks for a DHCP and finds the LTSP-DHCP server all is good. Its got a IP address ok, the boot process starts. ok I get the Splash screen for Ubuntu. and all is going well. ok I no get a login screen. All is going very well. (As normal with Ubuntu). I can login all is good the login starts and i get the start up sound.But then where normally one would expect to get a desktop, one gets a login screen. Not knowing the full boot procses im not sure where to start to look. Knowing linux there would be a log file somewhere, that stores the LTSP Terminal Bootup/login process and would tell me where its stopping/failing.

The good news is that when i boot a fat client in all works ok and i an able to get in with a desktop.

View 5 Replies View Related

Ubuntu Servers :: Cannot Connect To NBD Server - LTSP

Feb 17, 2011

I setup Ubuntu 10.10 (edubuntu) along with ltsp. I have an environment with a windows network (192.168.1.0) and a subnet (192.168.0.0) that the new terminal server is on. Everything seemed to be connecting properly, but when I attempted to boot the first client, I get the error message: "Cannot connect to NBD server".

View 1 Replies View Related

Ubuntu :: Install LTSP With Windows Xp?

Apr 29, 2010

I work in a school and we plan to upgrade acquire 50 computers for the Laboratories. Can someone led me the way to setup diskless windows xp using ltsp or any alternative?

View 1 Replies View Related

Fedora Networking :: Mounting NFS Shares Crashes Client?

Feb 27, 2010

I'm trying to mount an NFS share from my Gentoo computer on my FC12 laptop, but every time I try to mount the share my laptop completely crashes. The end result is that I have an unresponsive laptop which switches from X to a blank screen and I'm unable to switch to any VT's or reset X. I never had any issues with my laptop freezing like this when I had Gentoo on it, but I'm giving FC a shot.

Server:
NFS version: 3
Code:
$ cat /etc/exports
# /etc/exports: NFS file systems being exported. See exports(5).
/mnt/OSX192.168.*.*(async,rw,no_root_squash,no_subtree_check)
Running rpcinfo on the server (command run from client)

[Code]...

Anyone recognize these symptoms or know which log files to look in to begin diagnosing? Currently, I'm only able to transfer files via ssh, so I'd like to be able to do that properly.

View 1 Replies View Related

OpenSUSE Network :: Mounting NFS Shares According To LDAP Authentication?

Jan 18, 2011

I am posting this as I have tried several times to work this out. I have read article after article, post after post and tutorial after to tutorial to sort this issue. I have an Ubuntu 10.04 machine running as the LDAP and NFS server with two Opensuse 11.3 desktop machines. Both of the Opensuse machines can login using the LDAP server for authentication and this works fine. The server also exports the NFS Shares no problem but I am unable to mount the shares from the Opensuse machines. I have been using Yast, NFS Client to mount them.

Yast NFS Client can see the shares and lists them however when I apply the settings it states:

'Unable to mount entries in etc/fstab' I need to mount the shares according to the LDAP details as I want the users to be able to access their files no matter which machine they login at. Can anyone shed any light on the issue. Any help would be great and I would be enternally grateful as I am now beginning to pull my hear out slightly.

View 2 Replies View Related

Ubuntu Networking :: Mounting Samba Shares On A Box With Multiple User Accounts?

Jul 29, 2010

I setup samba file sharing to auto mount in fstab. Everything works great except when a computer has more than on user account.

The folders in mnt are owned by root and ownership changes to the first user account no matter what user logs in. So only the first user can edit files in the mounted share.

Anyone got a clue why this is happening? Seems the mount folders should be changing ownership to the user that is logged in.

View 2 Replies View Related

Ubuntu Servers :: Install LTSP In Desktop Environment?

Jan 25, 2010

I want to been able to connect remotely via RDP protocol with a client (for example from work to house) and I found that I can use [URL... What packages I need to install, and how I configure it? I connect my laptop via wireless throught eth2.

View 4 Replies View Related

Ubuntu Servers :: Ltsp Fails In Tftp Under U9.10 / Sort It?

Feb 17, 2010

In Jaunty (9.04) I've setup a small (eleven-terminal) ltsp network at the local school. It handled around 6600 working hours with ease.
Now I've upgrade the server to Karmic Koala (9.10) and it just stopped working.
1) The clients have PXE NICs
2) They get the proper IPs from the DHCP server and respond appropriately to changes in the DHCP configuration files.
3) DHCP server also points the clients to
filename=/ltsp/i386/pxelinux.0
4) When the clients try to download the pxelinux.0 over tftp they just timeout
5) /etc/inetd.conf has an entry like
tftp dgram udp wait root /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /var/lib/tftpboot
6) The file /var/lib/tftpboot/ltsp/i386/pxelinux.0 exists on the server

I'm lost at all these configuration files and protocols.

View 7 Replies View Related

Ubuntu Servers :: LTSP Mount Terminated Status?

Mar 8, 2010

I've just installed Ubuntu 9.10 64bit on my new server and then built a 32bit image. When I try and boot my thin clients I get the following error on VT7:

Code:
mount: according to mtab, aufs is already mount on /
mountall: mount / [416] terminated with status 1.
mount: according to mtab, none is already mounted on /proc
mountall: mount /proc [409] terminated with status 1.
mount: according to mtab, none is already mounted on /sys

[Code]...

View 4 Replies View Related

Ubuntu Servers :: Running Localapps In 10.04 LTSP Clients?

Dec 8, 2010

I've successfully built my server, and any fat or thin client that I connect to it boots wonderfully, with great response. I've gone through this exercise because we need a more efficient way of testing computers before delivery to our customers. So, I'm trying to run Passmark's BurnInTest. I've run it before with previous versions (9.something, I think) and it worked well, but I needed to build a new server so we can test more computers concurrently, so I figured I'd get the latest release.

My problem occurs when I try to run BurnInTest - it must have root access to test the local USB, parallel, and serial ports, and the optical drive. For the previous iteration I used a script that dropped into a local xterm session, su'd to a root session, and called the BiT GUI. In this attempt, the same scripts, even when I single-step them manually, results in 'authentication failure' when the su is attempted.

I have enabled the root account and created a password for it in the chroot /opt/ltsp/i386, and rebuilt the image, multiple times, no joy. Using ctrl-alt-F1 I can log in as root, and using dmesg I can see the USB device register when I connect it, so as far as I can tell the root account is alive and well, just not available in a local xterm session for some reason.

View 6 Replies View Related

Ubuntu Servers :: Ltsp Dhcp3.conf Error?

Dec 21, 2010

I have been at this for what seems like forever but i am getting somewhere after many errors i got dhcp3 reading the file and everything is almost there but now i got an error i cannot figure out.first my config file

HTML Code:
shared-network local {
subnet 192.168.0.0 netmask 255.255.255.0 {

[code]....

View 8 Replies View Related

Ubuntu Servers :: Install Ltsp On 10.04 Without Hard Brainfucking?

Apr 1, 2011

In internets there are lot of successless stories installing ltsp on ubuntu 10.04. Most problems are in ndb, init scripts and somewhere else, which are hardly debuggable. It seems like ubuntu 10.04 has ltsp packages completely broken and abandoned. Have someone succeeded to install ltsp on 10.04 without hard brainfucking? Maybe it's better to install ltsp from scratch, or choose another distribution?

View 3 Replies View Related

Ubuntu Servers :: Upgraded To 11.04 And Lost LTSP Network?

May 2, 2011

I upgraded my Edubuntu 10.10 LTSP server to 11.04 and I've lost my network. The server boots fine but none of the workstations connect. They start the boot process but hang-up as it starts to load the GUI.The screen on-which the computers hang displays Ubuntu 10.10.Do I have to manually update the LTSP image?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved