euglug.org

[카테고리:] Uncategorized

  • [Eug-lug] Samba Hell



    Grigsby, GarlFri May 14 15:27:25 PDT 2004

    > > After way too much 
    > > work I have been able to get domain logins working using 
    > the new tdbsam 
    > > backend (may ldap die a long and painful death). 
    > "domain logins working" is ambigious...
    
    Sorry, my poor tired brain was functioning at only half power. What I should have said was that users can login to a Windows box and authenticate to the samba server. I can add users and machines to the domain using usermgr.exe and that all seems to work except for the fact that the logon script is never run. 
     
    > > My problem is that I seem to be having almost no luck 
    > getting a login 
    > > script to work. I have specified the login script and the 
    > netlogon share. I 
    > > can see and run the script after the client logs in but the 
    > dang thing will 
    > > not execute on its own. 
    > Are the workstations part of the domain?  Did you join them 
    > to the domain as
    > you would with an nt domain?  I've never had a problem with a 
    > win anything box
    > running the login script specified in smb.conf. 
    
    Yup, the machines are part of the domain.
     
    > > After way too much random trying of things(TM) I managed to 
    > get the login 
    > > script to run but only if I specify a logon script using 
    > the pdbedit 
    > > command. Now from what I can tell the pdbedit command is 
    > supposed to be an 
    > > uber replacement for smbpasswd. 
    > Never used pdbedit.
    
    pdbedit is smbpasswd on steroids. 
    
    Garl
    
  • [Eug-lug] Samba Hell



    Grigsby, GarlFri May 14 15:06:01 PDT 2004

    Ken, 
    	You ROCK! I was really begining to doubt my sanity. Now for the real question, do you, or your friend, know how to setup a default logon script for all users. Failing that any idea how to automate the pdbedit setup? I have found that I can specify the logon script using usermgr.exe and that seems to work, but I would like to be able to specify a default script for all users. 
    
    Thanks,
    Garl
    > 
    > I used to know Samba well, but haven't had a chance to use it in a 
    > production environment for a couple of years now.  So I asked my 
    > friend Peter Shearer, who is not on this list, what he knows.  
    > His reply:
    > 
    > ----------------------------
    > I believe that they deprecated and removed the smb.conf "logon
    > script" parameter from the 3.0 tree because each authentication
    > subsystem (i.e. ldapsam, tdbsam) has its own way of determining 
    > that value.  Certainly, if it isn't removed at this point, I know 
    > that it doesn't work.  So at this point, I believe the only way 
    > to set up the logon script is to use the pdbedit app as said 
    > below.  Someone might want to verify that, but I believe this is 
    > the case.
    > 
    > That said, I believe that it is still available in the 2.2 
    > software, but I wouldn't go back to that stuff.  :)
    > 
    > --Peter
    > 
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    > 
    
  • [Eug-lug] Samba Hell



    Cory PetkovsekFri May 14 14:34:32 PDT 2004

    On Fri, May 14, 2004 at 02:27:25PM -0400, Grigsby, Garl wrote:
    > Sorry, my poor tired brain was functioning at only half power. What I should
    > have said was that users can login to a Windows box and authenticate to the
    > samba server. I can add users and machines to the domain using usermgr.exe
    > and that all seems to work except for the fact that the logon script is never
    > run. 
    
    Hmm, I never used usermgr.exe except for windows domains.  Here are some
    relevant sections from my v3 smb.conf:
        security = user
        encrypt passwords = true
        passdb backend = smbpasswd guest
        os level = 64
        preferred master = yes
        domain master = yes
        local master = yes
        domain logons = yes
        logon path = 
        logon drive = P:
        logon home = \\%N\%U
        logon script = logon.cmd
        add machine script = /usr/sbin/useradd -d /dev/null -g machines -c 'Machine 
    Account' -s /bin/false -M %u
    
    When I was using this, it was working fine.  I did not have an ldap backend and
    had a wrapper script to make or delete unix and samba accounts simultaneously.
    Login scripts worked fine.  I noticed that in order to get winxp to join the
    domain I had to change some settings in it to tell it to join as if it were in
    an nt4 domain.
    
    Cory
    
    -- 
    Cory Petkovsek                                       Adapting Information
    Adaptable IT Consulting                                Technology to Your
    (858) 705-1655                                                   Business
    cory at AdaptableIT.com                                  www.AdaptableIT.com
    
  • [Eug-lug] Samba Hell



    Ken BarberFri May 14 10:08:44 PDT 2004

    On Thursday 13 May 2004 23:07, Garl Grigsby wrote:
    > So has anybody played with Samba v3 yet. [snip]
    >
    > My problem is that I seem to be having almost no luck getting a
    > login script to work. [snip]
    >
    > After way too much random trying of things(TM) I managed to get
    > the login script to run but only if I specify a logon script
    > using the pdbedit command. Now from what I can tell the pdbedit
    > command is supposed to be an uber replacement for smbpasswd. My
    > question is why doesn't the logon script entry in the smb.conf
    > file seem to work anymore?
    
    I used to know Samba well, but haven't had a chance to use it in a 
    production environment for a couple of years now.  So I asked my 
    friend Peter Shearer, who is not on this list, what he knows.  
    His reply:
    
    ----------------------------
    I believe that they deprecated and removed the smb.conf "logon
    script" parameter from the 3.0 tree because each authentication
    subsystem (i.e. ldapsam, tdbsam) has its own way of determining 
    that value.  Certainly, if it isn't removed at this point, I know 
    that it doesn't work.  So at this point, I believe the only way 
    to set up the logon script is to use the pdbedit app as said 
    below.  Someone might want to verify that, but I believe this is 
    the case.
    
    That said, I believe that it is still available in the 2.2 
    software, but I wouldn't go back to that stuff.  :)
    
    --Peter
    
    
  • [Eug-lug] Free Computer/Electronic Stuff



    Mr OFri May 14 09:29:51 PDT 2004

    Bob C. graciously donated the switch. Mr. O acted as courier and
    delivered said package. So, thank BobC when you get a chance. 
    
    Mr O.
    
    
    --- Bob Miller <kbob at jogger-egg.com> wrote:
    > Bob Miller wrote:
    
    > Mr. O generously donated a brand new eight port 10/100
    > autosensing
    > switch at tonight's clinic.  What a guy!
    > 
    > Anyway, EUGLUG is no longer seeking a hub donation.
    > 
    > Thank you, Mr. O.
    
    
    
    	
    		
    __________________________________
    Do you Yahoo!?
    SBC Yahoo! - Internet access at a great low price.
    http://promo.yahoo.com/sbc/
    
  • [Eug-lug] about gdm and x windows



    perduraboFri May 14 08:58:29 PDT 2004

    Look into tunneling X over SSH. Yes, it will all work, and you can
    even automate the SSH connection after some initial RTFMing.
    
    Do a Google Search as appropriate, and take a look at these URLs:
    
    http://www.google.com/search?hl=en&ie=UTF-8&q=ssh+gdm&btnG=Google+Search
    http://66.102.7.104/search?q=cache:LCcYKSiNdKIJ:www.sugoi.org/bits/index.php%3Fbit_id%3D25+ssh+gdm&hl=en&lr=lang_en
    http://66.102.7.104/search?q=cache:CtyViA-ECvIJ:www.interphaze.org/bits/sshagent_gdm.html+ssh+gdm&hl=en&lr=lang_en
    
    HTH,
    perdurabo <at> gmail <dot> com
    
    
    On Thu, 13 May 2004 23:45:53 -0500, Timothy Bolz <bolzt at efn.org> wrote:
    > 
    > If X is unsafe over the internet is it safe on a trusted network (for
    > instance my couple of computers).  Can I get on the internet  or is it
    > unsecure.  Would I run some iptable scripts to block anything?  I want to run
    > gdm and have a chooser on each machine.  So I can choose one computer or the
    > other to login into.  There is a good article here if you want to see what I
    > want to do.
    > http://www.linuxgazette.com/issue27/kaszeta.html
    > This article uses xdm and i'm using gdm but there must not be a huge
    > difference between the two.  I can probally use gdmconfig to configure xdmcp.
    >  Any help on how to do this on a Debian system would be apreciated.
    > 
    > I'm a little concerned about security.  But I would like to try it. I figure
    > I'm not going to be login in remotely ( as in over the internet). What do you
    > think?
    > 
    > If this would be unsecure how about the Linux Terminal Server Project?
    > 
    > Thanks
    > 
    > Tim
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    >
    
  • [Eug-lug] Free Computer/Electronic Stuff



    Linux Rocks!Fri May 14 07:26:47 PDT 2004

    Jason [chanjb at yahoo.com] wrote:
    > Some answers below . . . just remembered, I also have
    > 2 RCA DirecTV receivers to give away. One used for 1.5
    > years, the other is new in the box.
    
    Ive seen those used with cantenna they may be good for a fun wifi
    project...
    
    Jamie
    
    > 
    > 
    > --- Bob Miller <kbob at jogger-egg.com> wrote:
    > > > Xrouter pro (cable/dsl router)
    > > 
    > > EUGLUG is currently seeking donations of a new
    > > Ethernet hub.  The old
    > > hub has gotten flaky.  We'd like an 8 port unit.  (I
    > > assume the
    > > Xrouter pro is also a hub.)
    > Yes, but only 4 port. Actually, I think they call it a
    > switch, but IIRC it's only a hub. I'll bring it
    > tonight.
    > 
    > > > Adaptec 2940 SCSI card
    > > > Adaptec 1520 SCSI card
    > > 
    > > I'd like one of these, thanks.
    > I'll bring them both, feel free to take one or both.
    > 
    > Jason
    > 
    > 
    > 	
    > 		
    > __________________________________
    > Do you Yahoo!?
    > Yahoo! Movies - Buy advance tickets for 'Shrek 2'
    > http://movies.yahoo.com/showtimes/movie?mid=1808405861 
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    
  • [Eug-lug] Free Computer/Electronic Stuff



    Linux Rocks!Fri May 14 07:25:36 PDT 2004

    Bob Miller [kbob at jogger-egg.com] wrote:
    > Mr O wrote:
    > 
    > > My poor old hub is finally giving up the ghost? That cheap thing
    > > is only a few years old :)
    > 
    > The problem is, it keeps getting moved around, plugged and unplugged,
    > and generally manhandled.  If it had spent the last two years sitting
    > under a desk grooving with the dustbunnies, it'd still be in fine
    > shape.
    
    I dunno... a couple months of groving with the dustbunnies could be
    pretty sanity relieving.
    
    Jamie
    
    
    > 
    > > Hmm.. I was asked recently if I'd be
    > > interested in a 96 port switch. Perhaps a tad excessive?
    > 
    > Maybe Joseph could use "carrying EUGLUG's hub to meetings" to fulfill
    > his phys. ed. requirement.
    > 
    > -- 
    > Bob Miller                              K<bob>
    > kbobsoft software consulting
    > http://kbobsoft.com                     kbob at jogger-egg.com
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    
  • [Eug-lug] Samba Hell



    Cory PetkovsekFri May 14 02:20:44 PDT 2004

    On Thu, May 13, 2004 at 11:07:38PM -0700, Garl Grigsby wrote:
    > So has anybody played with Samba v3 yet. 
    Yes.
    > I am trying to setup a Samba 
    > server to act as a PDC for a number of WinXP Clients. 
    Done that.
    
    > After way too much 
    > work I have been able to get domain logins working using the new tdbsam 
    > backend (may ldap die a long and painful death). 
    "domain logins working" is ambigious...
    
    > My problem is that I seem to be having almost no luck getting a login 
    > script to work. I have specified the login script and the netlogon share. I 
    > can see and run the script after the client logs in but the dang thing will 
    > not execute on its own. 
    Are the workstations part of the domain?  Did you join them to the domain as
    you would with an nt domain?  I've never had a problem with a win anything box
    running the login script specified in smb.conf. 
    
    > After way too much random trying of things(TM) I managed to get the login 
    > script to run but only if I specify a logon script using the pdbedit 
    > command. Now from what I can tell the pdbedit command is supposed to be an 
    > uber replacement for smbpasswd. 
    Never used pdbedit.
    
    Cory
    
    -- 
    Cory Petkovsek                                       Adapting Information
    Adaptable IT Consulting                                Technology to Your
    (858) 705-1655                                                   Business
    cory at AdaptableIT.com                                  www.AdaptableIT.com
    
  • [Eug-lug] Free Computer/Electronic Stuff



    Bob MillerFri May 14 01:39:31 PDT 2004

    Bob Miller wrote:
    
    > EUGLUG is currently seeking donations of a new Ethernet hub.  The old
    > hub has gotten flaky.  We'd like an 8 port unit.
    
    Mr. O generously donated a brand new eight port 10/100 autosensing
    switch at tonight's clinic.  What a guy!
    
    Anyway, EUGLUG is no longer seeking a hub donation.
    
    Thank you, Mr. O.
    
    -- 
    Bob Miller                              K<bob>
    kbobsoft software consulting
    http://kbobsoft.com                     kbob at jogger-egg.com