[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] [Fwd: Re: [SYS_ADMIN] HSTI Linux]



Howdy

We have a LTSP lab logging into our Windows 2000 ADS machine, 
and using pam_mount to mount home dirs from the Windows file 
server.

Is that what you need in a ms client for linux?

Ciao
Budgee

On 16 May 2002, at 10:06, Barry Smoke wrote:

> Hello everyone, 
> This is a forwarded discussion from our sys_admin list for Technology
> Departments in Arkansas Education.
> 
> As everyone is doing, we are contemplating the future, and making linux
> machines clients districtwide.  The question has come up, how to take
> the x login, and run "login scripts" based on the x login information,
> such as passing username, and password to a script that would
> automagically map/mount samba shares, such as the users home directory,
> or mappings, based on their group membership.
> kind of like a client for microsoft for linux...
> 
> Has anyone made any progress in this area?
> Anyone found a "client for microsoft" for linux :-)
> 
> I see this as a real need for Samba....someone should develop a samba
> client, that we can run on mac, windows(all flavors),linux, whatever...
> 
> 
> -----Forwarded Message-----
> 
> > From: Barry Smoke <bsmoke bryant k12 ar us>
> > To: Michael Cartwright <michaelc earle crsc k12 ar us>
> > Cc: Barry Smoke <bsmoke bryant dsc k12 ar us>, Tait Shrum <tshrum bryant dsc k12 ar us>, sys_ad
min <sys_admin mail k12 ar us>
> > Subject: Re: [SYS_ADMIN] HSTI Linux
> > Date: 16 May 2002 09:45:57 -0500
> > 
> > What that script is, is a way for you to hard code the shares you mount
> > on a regular basis, into a script to automate it....
> > since you have to hard code your samba password, it is not meant for
> > wide distribution as is to linux clients.
> > 
> > With that said, I'm sure you could use this as a basis to push out to
> > clients, with a different script, taking their xwindows login, and using
> > that info as a basis to then map drives, based on their username...
> > 
> > This is a better discussion for the samba mailing list, or k12ltsp
> > mailing list.  I simply don't have the answers.  We are definately
> > looking into ways to do this...
> > 
> > most people looking for centralized authentication go with ldap, which
> > samba can be made to authenticate with, on the back end, and still be a
> > PDC.  It simply pulls accounts from an ldap server.And this is a native
> > way for a linux box to pull user account information...thus being your
> > centralized authentication system...
> > 
> > The goal would then be to make all of this as seemless as possible, and
> > the details is what I don't know.....but I'm sure we could come up with
> > something.
> > 
> > 
> > You can personalize the xwindows environment, so that a script runs when
> > a user logs in...there has to be some way to take that script, and
> > customize it per user, to map samba shares, or nfs shares, or
> > whatever....based on the xwindows login info....
> > 
> > I will go ahead and forward this to the k12ltsp mailing list, but I
> > highly advise anyone interested in linux clients to join that list.
> > 
> > 
> > On Thu, 2002-05-16 at 09:09, Michael Cartwright wrote:
> > > This looks like it would only mount your home directory, though.  I'm 
> > > assuming you could put in some kind of login script that would mount
> > > for any user in the system, but what about centralized authentication.
> > > Unless I'm not understanding something, you would have to install any user
> > > who might use a particular machine locally in that machine, then, once
> > > logged in to the local machine they could mount their samba share from the
> > > server if they had a valid user name and password on the server.  How do
> > > you get around that first step so that they only would have to log on 
> > > with the login name and password they have on the server?  To me, this is
> > > a bigger issue than the software which will run on Linux.  I can see 
> > > plenty of software to do practically anything that apps on MS will do.
> > > I just don't see how to get around this centralized authentication thing.
> > > Maybe I'm not understanding something and making this a bigger problem
> > > than it really is.
> > > 
> > > Mike
> > > 
> > > 
> > > On 16 May 2002, Barry Smoke wrote:
> > > 
> > > > I did this with a service script in /etc/init.d/
> > > > called smbmounts, that way, I can type service smbmounts start, and
> > > > mount them, and service smbmounts stop, and unmount them.
> > > > 
> > > > 
> > > > I have not seen a microsoft client for linux yet :-)
> > > > 
> > > > It looks like this:
> > > > 
> > > > #!/bin/sh
> > > > #
> > > > # chkconfig: - 91 35
> > > > # description: Mounts local novell servers for backup and filesharing
> > > > 
> > > > # Source function library.
> > > > . /etc/rc.d/init.d/functions
> > > > 
> > > > # Source networking configuration.
> > > > . /etc/sysconfig/network
> > > > 
> > > > # Check that networking is up.
> > > > [ ${NETWORKING} = "no" ] && exit 0
> > > > 
> > > > RETVAL=0
> > > > 
> > > > # See how we were called.
> > > > case "$1" in
> > > >   start)
> > > >         echo -n "Mounting local samba mounts:...."
> > > > 	mount -t smb -o username=bsmoke,password=******* //samba/tech
> > > > /techmount
> > > > 	mount -t smb -o username=bsmoke,password=******* //samba/homes
> > > > /bsmokehome
> > > > 	RETVAL=$?
> > > > 	echo "done!"
> > > > 	[ $RETVAL -eq 0 ] && touch /var/lock/subsys/smbmounts || \
> > > >            RETVAL=1
> > > > 	;;
> > > >   stop)
> > > >         echo -n "Unmounting local samba mounts...."
> > > > 	umount /bsmokehome
> > > > 	umount /techmount
> > > > 	RETVAL=$?
> > > > 	echo "done!"
> > > > 	[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/smbmounts
> > > > 	echo ""
> > > > 	;;
> > > >   restart)
> > > >         $0 stop
> > > > 	$0 start
> > > > 	RETVAL=$?
> > > > 	;;
> > > >   *)
> > > >     	echo "Usage: $0 {start|stop|restart}"
> > > > 	exit 1
> > > > esac
> > > > 
> > > > exit $RETVAL
> > > > 
> > > > 
> > > > On Thu, 2002-05-16 at 08:17, Tait Shrum wrote:
> > > > > You can do this with KDE 3.0 I know.  In Konqueror, in the address bar
> > > > > type smb://server/share.  That will get you started.  It will ask for a
> > > > > username and password.
> > > > > I hope this helps,
> > > > > Tait Shrum
> > > > > Bryant School District
> > > > > 
> > > > > 
> > > > > On Wed, 2002-05-15 at 22:03, Michael Cartwright wrote:
> > > > > > I should probably know this, but I don't.  We run Samba as a PDC which
> > > > > > allows users on 98 and NT workstations to be authenticated when they log
> > > > > > on to the domain.  I know that Linux workstations can mount samba shares,
> > > > > > but is there a way for users on linux workstations to log on to the domain
> > > > > > and automatically have home directories on the server or other shared
> > > > > > directories to be mounted assuming they enter valid login names and
> > > > > > passwords?  This centralized authentication of users is a major issue
> > > > > > for me.  Hopefully there's a simple answer that I'm not aware of.
> > > > > > 
> > > > > > Mike Cartwright, EArle School District
> > > > > > 
> > > > > > 
> > > > > > _______________________________________________
> > > > > > SYS_ADMIN mailing list
> > > > > > SYS_ADMIN list k12 ar us
> > > > > > http://list.k12.ar.us/mailman/listinfo/sys_admin
> > > > > > Messages posted to this list may be incorporated into a Knowledge Base.
> > > > > 
> > > > > 
> > > > 
> > > > 
> > > 
> > 
> > 
> 
> 
> 
> 
> _______________________________________________
> K12OSN mailing list
> K12OSN redhat com
> https://listman.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>



Warwick Chapman
Network Administrator
Glenwood High School, Durban, South Africa
+27 031 2055241
+27 083 7797094
http://www.glenwoodhighschool.co.za

-- There are 10 types of people in this world. Those
who understand binary, and those who don't.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]