<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.0.10">
</HEAD>
<BODY>
Here is a quick way to use ldap accounts.  <BR>
Replace the cmd_adduser() function with:<BR>
<BR>
cmd_adduser()<BR>
{<BR>
        CMD_CHUSER=$2<BR>
        <BR>
        [ ${#CMD_CHUSER} -ge 32 ] && cmd_abort "Error: User $CMD_CHUSER must be shorter than 32 characters."<BR>
        egrep -q "^$CMD_CHUSER:" $NX_ETC_DIR/passwords && cmd_abort "Error: User $CMD_CHUSER already in database."<BR>
        egrep -q "^$CMD_CHUSER:" /etc/passwd || ldapsearch -x uid="$CMD_CHUSER" |grep -v filter |grep $CMD_CHUSER || cmd_abort "Error: User $CMD_CHUSER does not exist in the system. Can't add."<BR>
        passdb_add_user "$CMD_CHUSER"<BR>
}<BR>
<BR>
<BR>
On Wed, 2004-09-01 at 09:49, Garret Acott wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#737373"><I>
If anybody is interested in this we have already accomplished it, and implemented it. It's very nice because we can now reach our LTSP box over the internet also. :-)

We have done a few things with the server.

1. Compiled statically so it should run on any *nx.
2. Got around the lack of LDAP autho by creating a "guest" account that takes you as far as the LTSP login screen (basically taking much or this function away from the client and placing it at the server where we think it belongs), at that point you log into the system as you would locally.

We are more than happy to redistribute this code to anybody who would like it, we would also be happy to support our changes.

Also, we have not had a chance to do anything to the client side yet, and are using the older NXClient release as a client.

Please send an email to me at garret@ruffdogs.com with NXServer in the subject if you are interested, as it sometimes takes me days to reading my subscribed mail lists.

Thanks
Garret


Ruffdogs
Office:   970-484-5390
Cell:     970-691-4748
Fax:      970-493-6065
TollFree: 1-866-linux-os</FONT>
<A HREF="http://www.google.com/search?hl=en&lr=&ie=UTF-8&q=ruffdogs&btnG=Search"><U>http://www.google.com/search?hl=en&lr=&ie=UTF-8&q=ruffdogs&btnG=Search</U></A>
<FONT COLOR="#737373">
Original Message:

-----------------------------------------------

>>I have been looking at sources that I found for debian and am currently
>>testing them.  The one problem that I have found so far is it has no
>>support for users from LDAP.  It seems to want everyone to have a local
>>account for it to work.  Im trying to get that changed now.  If I have
>>any luck with this, I will send a link to the list with the modified
>>server and a screen script.
>>
>>Shawn
>>On Tue, 2004-08-31 at 23:45, Jim McQuillan wrote:
>>> On Tue, Aug 31, 2004 at 09:29:58PM -0700, Chris Thomas wrote:
>>> > Check out /. they have something too.
>>> > 
>>> > I think NX wont be included because it is a competing
>>> > thin client solution. Plus LTSP isn't setup to support
>>> > NX.
>>> 
>>> NX doesn't compete with LTSP.  NX is nothing like LTSP.
>>> 
>>> LTSP is a distribution of linux that runs on thin client hardware.
>>> 
>>> NX is an X proxy that works very well over low bandwidth connections.
>>> 
>>> > The way I see it, (please correct me if I'm wrong)
>>> > LTSP is basically a minimalist Linux OS that was made
>>> > to do a few things. 1) Load over the network when a
>>> > thin client is turned on. 2) Run the OS in ram. 3)
>>> > Start X-windows and use XDMCP to connect to the
>>> > Terminal Server. 
>>> 
>>> #1 is correct. LTSP loads over the net.
>>> 
>>> #2 is also correct, but then again, operating systems
>>>    run in ram on all computers.
>>> 
>>> #3 is sort of correct, but it's not complete.  One of the
>>>    things you can do with LTSP is run an Xserver with
>>>    and XDMCP query to a server.  you can also run rdesktop
>>>    as a session, without doing an XDMCP query.
>>>    You can also run a character based telnet session, if you
>>>    don't want/need a gui.
>>> 
>>> > 
>>> > If you want a LTSP-like solution that supports, or
>>> > will support NX, check out </FONT><A HREF="http://pxes.sf.net/"><U>http://pxes.sf.net/</U></A><FONT COLOR="#737373"> and
>>> > </FONT><A HREF="http://thinstation.sf.net/"><U>http://thinstation.sf.net/</U></A>
<FONT COLOR="#737373">>>> 
>>> NX is a very interesting technology, and basically, there's
>>> only 2 reasons why it isn't in LTSP yet.
>>> 
>>> 1) Until now, there hasn't been a free server available.
>>> 
>>> 2) There's only so many hours in the day.
>>> 
>>> With Freenx, it appears that we now have a free implementation of the NX
>>> server technology.
>>> 
>>> So, the only remaining hurdle is finding the time to integrate the NX
>>> client into LTSP.  I've not spent any time at it yet, but it really
>>> shouldn't be all that tough to create a screen_script that
>>> runs X and the NX client.  Anybody want to take a whack at it ?
>>> 
>>> Jim McQuillan
>>> jam@Ltsp.org
>>> 
>>> 
>>> > 
>>> > 
>>> > --- Dale Sykora <dalen@czexan.net> wrote:
>>> > 
>>> > > I read an interesting article about an X compression
>>> > > technology called 
>>> > > NX than lowers the bandwidth needs of remote X
>>> > > sessions.  I was 
>>> > > wondering if this is being considered for future
>>> > > K12LTSP versions.  The 
>>> > > article is at the url below.
>>> > > 
>>> > > </FONT><A HREF="http://osnews.com/story.php?news_id=8139&page=1"><U>http://osnews.com/story.php?news_id=8139&page=1</U></A>
<FONT COLOR="#737373">>>> > > 
>>> > > 
>>> > > _______________________________________________
>>> > > K12OSN mailing list
>>> > > K12OSN@redhat.com
>>> > > </FONT><A HREF="https://www.redhat.com/mailman/listinfo/k12osn"><U>https://www.redhat.com/mailman/listinfo/k12osn</U></A>
<FONT COLOR="#737373">>>> > > For more info see <</FONT><A HREF="http://www.k12os.org"><U>http://www.k12os.org</U></A><FONT COLOR="#737373">>
>>> > > 
>>> > 
>>> > 
>>> >               
>>> > _______________________________
>>> > Do you Yahoo!?
>>> > Win 1 of 4,000 free domain names from Yahoo! Enter now.
>>> > </FONT><A HREF="http://promotions.yahoo.com/goldrush"><U>http://promotions.yahoo.com/goldrush</U></A>
<FONT COLOR="#737373">>>> > 
>>> > 
>>> > _______________________________________________
>>> > K12OSN mailing list
>>> > K12OSN@redhat.com
>>> > </FONT><A HREF="https://www.redhat.com/mailman/listinfo/k12osn"><U>https://www.redhat.com/mailman/listinfo/k12osn</U></A>
<FONT COLOR="#737373">>>> > For more info see <</FONT><A HREF="http://www.k12os.org"><U>http://www.k12os.org</U></A><FONT COLOR="#737373">>
>>> 
>>> 
>>> _______________________________________________
>>> K12OSN mailing list
>>> K12OSN@redhat.com
>>> </FONT><A HREF="https://www.redhat.com/mailman/listinfo/k12osn"><U>https://www.redhat.com/mailman/listinfo/k12osn</U></A>
<FONT COLOR="#737373">>>> For more info see <</FONT><A HREF="http://www.k12os.org"><U>http://www.k12os.org</U></A><FONT COLOR="#737373">>
>>
>>
>>_______________________________________________
>>K12OSN mailing list
>>K12OSN@redhat.com
>></FONT><A HREF="https://www.redhat.com/mailman/listinfo/k12osn"><U>https://www.redhat.com/mailman/listinfo/k12osn</U></A>
<FONT COLOR="#737373">>>For more info see <</FONT><A HREF="http://www.k12os.org"><U>http://www.k12os.org</U></A><FONT COLOR="#737373">>

-------------------------
This message was sent to you via DogFood < </FONT><A HREF="http://dogfood.ruffdogs.com/"><U>http://dogfood.ruffdogs.com/</U></A><FONT COLOR="#737373"> >
 Feeding your business in a dog eat dog world.


_______________________________________________
K12OSN mailing list
K12OSN@redhat.com</FONT>
<A HREF="https://www.redhat.com/mailman/listinfo/k12osn"><U>https://www.redhat.com/mailman/listinfo/k12osn</U></A>
<FONT COLOR="#737373">For more info see <</FONT><A HREF="http://www.k12os.org"><U>http://www.k12os.org</U></A><FONT COLOR="#737373">></I></FONT></PRE>
</BLOCKQUOTE>
</BODY>
</HTML>