[nzlug] RE: NZLUG Digest, Vol 21, Issue 4

Kim Hartley kim at duncanryan.co.nz
Tue Mar 6 10:54:28 NZDT 2007


GAIM blocked by adsl router?

Hi Im a newb to linux (using puppy distro).  I was using orcon as my isp and could connect to gaim with no problem.  Since switching to xtra with a cheap $100 modem I cant,  I have set up dmz to allow apparently open access to my router assigned IP address but it still cant connect.  It just says 'connecting' and never does connect, to msn, icq or yahoo which are the accounts I have set up on it.  It was working find on the orcon connection.  All other applications ie transmission, browsing, email etc are working and connecting fine.

Anyone got any ideas why or what port it uses?

Its puppy version 2.12 and the router is a single user xtra d-link I think (sorry at work don't have router details in front of me) 

-----Original Message-----
From: nzlug-bounces at linux.net.nz [mailto:nzlug-bounces at linux.net.nz] On Behalf Of nzlug-request at linux.net.nz
Sent: Monday, 5 March 2007 4:48 p.m.
To: nzlug at linux.net.nz
Subject: NZLUG Digest, Vol 21, Issue 4

Send NZLUG mailing list submissions to
	nzlug at linux.net.nz

To subscribe or unsubscribe via the World Wide Web, visit
	http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
or, via email, send a message with subject or body 'help' to
	nzlug-request at linux.net.nz

You can reach the person managing the list at
	nzlug-owner at linux.net.nz

When replying, please edit your Subject line so it is more specific than "Re: Contents of NZLUG digest..."


Today's Topics:

   1. Re: mdadm and lvm on a live distro? (Daniel Pittman)
   2. assign host name to computer (anru chen)
   3. Re: assign host name to computer (Vik Olliver)
   4. Re: assign host name to computer (Michal Ludvig)
   5. Re: assign host name to computer (Hadley Rich)
   6. Re: assign host name to computer (anru chen)
   7. Re: assign host name to computer (Vik Olliver)
   8. Re: Setting up net access for temp PC. (Andrew Bruce)
   9. Re: assign host name to computer (Michal Ludvig)
  10. Re: assign host name to computer (Daniel Pittman)
  11. Re: assign host name to computer (Robin Sheat)
  12. Re: assign host name to computer (Michal Ludvig)
  13. Re: assign host name to computer (Alastair Porter)
  14. Re: mdadm and lvm on a live distro? (Craig Mckenna)
  15. Re: assign host name to computer (Daniel Pittman)
  16. Re: assign host name to computer (Robin Sheat)
  17. Re: mdadm and lvm on a live distro? (Nevyn)
  18. Re: Setting up net access for temp PC. (Nevyn)
  19. Samba Passwords (Nevyn)
  20. Re: Samba Passwords (Karl.)
  21. Rotating monitors (Vik Olliver)
  22. Re: Samba Passwords (Daniel Pittman)


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

Message: 1
Date: Mon, 05 Mar 2007 10:08:49 +1100
From: Daniel Pittman <daniel at rimspace.net>
Subject: Re: [nzlug] mdadm and lvm on a live distro?
To: Martin B?hr <mbaehr at email.archlab.tuwien.ac.at>
Cc: NZLUG Mailing List <nzlug at linux.net.nz>
Message-ID: <877itwehdq.fsf at rimspace.net>
Content-Type: text/plain; charset=iso-8859-1

Martin Bähr <mbaehr at email.archlab.tuwien.ac.at> writes:
> On Mon, Mar 05, 2007 at 01:34:13AM +1300, Nevyn wrote:
>
>> Does anyone know of any live distro that has these two tools?
>
> the last time i used knoppix it had these.  ubuntu live cds should 
> have them too as they are made fro installing too.

Depressingly, no.  They don't actually ship with mdadm -- but you /can/ download and install it from the Internet, then use it, while running live.  The unionfs is helpful that way.

Regards,
        Daniel
--
Digital Infrastructure Solutions -- making IT simple, stable and secure
Phone: 0401 155 707        email: contact at digital-infrastructure.com.au
                 http://digital-infrastructure.com.au/



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

Message: 2
Date: Mon, 5 Mar 2007 12:24:37 +1300
From: "anru chen" <ctx2002 at gmail.com>
Subject: [nzlug] assign host name to computer
To: "NZLUG Mailing List" <NZLUG at linux.net.nz>
Message-ID:
	<9bb664980703041524ydc03930wf10d1e8a1a66303d at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

hi all:

we have a small network, all computers are connected to a route, each
time when a computer be booted up , the router will assigh a new ip to
the computer.

my question is how can i assign a fixed name to a computer that got
different IP at each time?

my router is a nomal adsl router that connected to a wall telephone jack.

regards,

anru



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

Message: 3
Date: Mon, 05 Mar 2007 12:30:20 +1300
From: Vik Olliver <vik.olliver at uiactive.com>
Subject: Re: [nzlug] assign host name to computer
To: NZLUG Mailing List <nzlug at linux.net.nz>
Message-ID: <1173051020.5607.88.camel at vik>
Content-Type: text/plain

On Mon, 2007-03-05 at 12:24 +1300, anru chen wrote:
> my question is how can i assign a fixed name to a computer that got
> different IP at each time?

Give it two IP addresses. Make sure one of them is fixed...

Vik :v)
-------8<---------8<---------8<---------8<---------8<---------8<-----
"History teaches us that men and nations behave wisely once they have
exhausted all other alternatives."

-- Abba Eban






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

Message: 4
Date: Mon, 05 Mar 2007 12:32:56 +1300
From: Michal Ludvig <michal at logix.cz>
Subject: Re: [nzlug] assign host name to computer
To: NZLUG Mailing List <nzlug at linux.net.nz>
Message-ID: <45EB5728.2050804 at logix.cz>
Content-Type: text/plain; charset=ISO-8859-1

anru chen wrote:
> hi all:
> 
> we have a small network, all computers are connected to a route, each
> time when a computer be booted up , the router will assigh a new ip to
> the computer.
> 
> my question is how can i assign a fixed name to a computer that got
> different IP at each time?

Does the router not assign the same IP every time? It should do... ;-)

And even your PC can request the same address it used to have last time
and, unless there is a conflict on the net, the dhcp-server should just
ACK it.

Anyway, if your router/dhcp-server is really that uncooperative, how
about dropping DHCP and assigning a static IP to your PC? That should
fix your problem.

Michal



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

Message: 5
Date: Mon, 5 Mar 2007 12:37:48 +1300
From: Hadley Rich <nzlug at nice.net.nz>
Subject: Re: [nzlug] assign host name to computer
To: NZLUG Mailing List <nzlug at linux.net.nz>
Message-ID: <200703051237.48548.nzlug at nice.net.nz>
Content-Type: text/plain;  charset="iso-8859-1"

On Mon, 05 Mar 2007 12:24:37 anru chen wrote:
> hi all:
>
> we have a small network, all computers are connected to a route, each
> time when a computer be booted up , the router will assigh a new ip to
> the computer.
>
> my question is how can i assign a fixed name to a computer that got
> different IP at each time?
>
> my router is a nomal adsl router that connected to a wall telephone jack.


Tell your router to offer a static IP based on MAC address and then setup the 
hosts file or DNS accordingly.

hads

-- 
http://nicegear.co.nz
New Zealand's VoIP supplier



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

Message: 6
Date: Mon, 5 Mar 2007 12:43:24 +1300
From: "anru chen" <ctx2002 at gmail.com>
Subject: Re: [nzlug] assign host name to computer
To: "NZLUG Mailing List" <nzlug at linux.net.nz>
Message-ID:
	<9bb664980703041543j448ad5e5s1a240f7ff5151ba0 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

yes, at  most time you get a fixed IP, but i just want to know is
there any thing i can do to get a fixed name with dynamic IP.

regards,

anru

On 3/5/07, Michal Ludvig <michal at logix.cz> wrote:
> anru chen wrote:
> > hi all:
> >
> > we have a small network, all computers are connected to a route, each
> > time when a computer be booted up , the router will assigh a new ip to
> > the computer.
> >
> > my question is how can i assign a fixed name to a computer that got
> > different IP at each time?
>
> Does the router not assign the same IP every time? It should do... ;-)
>
> And even your PC can request the same address it used to have last time
> and, unless there is a conflict on the net, the dhcp-server should just
> ACK it.
>
> Anyway, if your router/dhcp-server is really that uncooperative, how
> about dropping DHCP and assigning a static IP to your PC? That should
> fix your problem.
>
> Michal
>
> _______________________________________________
> NZLUG mailing list NZLUG at linux.net.nz
> http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
>



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

Message: 7
Date: Mon, 05 Mar 2007 12:46:59 +1300
From: Vik Olliver <vik.olliver at uiactive.com>
Subject: Re: [nzlug] assign host name to computer
To: NZLUG Mailing List <nzlug at linux.net.nz>
Message-ID: <1173052019.5607.90.camel at vik>
Content-Type: text/plain

On Mon, 2007-03-05 at 12:43 +1300, anru chen wrote:
> yes, at  most time you get a fixed IP, but i just want to know is
> there any thing i can do to get a fixed name with dynamic IP.
> 
Who needs to see this name? Just you on your internal home network, or
the whole world on the Internet?

Vik :v)
-------8<---------8<---------8<---------8<---------8<---------8<-----
"Giving money and power to government is like giving whiskey and car
keys to an 18 year old."
- Pamela Jones




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

Message: 8
Date: Mon, 05 Mar 2007 12:48:15 +1300
From: Andrew Bruce <abruce at hope-st.ath.cx>
Subject: Re: [nzlug] Setting up net access for temp PC.
To: NZLUG Mailing List <nzlug at linux.net.nz>
Message-ID: <45EB5ABF.9010400 at hope-st.ath.cx>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

As I pointed out, I can't really afford 50m of Cat5 at the moment to 
connect it to the switch (yes the switch, and box are that far away from 
my desktop).

Andrew

Michal Ludvig wrote:
> Andrew Bruce wrote:
>
>   
>> For reference the layout of the network is currently:
>>
>>
>>                                    ---- Switch ---- FlatNetwork
>>                                   /
>> Internet ---- DSLRouter ---- GatewayBox ---- MyDesktopPC (via CrossOver)
>>                                   \
>>                                    ---- WirelessRouter ---- WirelessPC's
>>
>>     
>
> Why don't you plug TempPC to the Switch/FlatNetwork then?
>
> Michal
>
> _______________________________________________
> NZLUG mailing list NZLUG at linux.net.nz
> http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
>
>   



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

Message: 9
Date: Mon, 05 Mar 2007 12:54:49 +1300
From: Michal Ludvig <michal at logix.cz>
Subject: Re: [nzlug] assign host name to computer
To: NZLUG Mailing List <nzlug at linux.net.nz>
Message-ID: <45EB5C49.2020001 at logix.cz>
Content-Type: text/plain; charset=ISO-8859-1

anru chen wrote:
> yes, at  most time you get a fixed IP, but i just want to know is
> there any thing i can do to get a fixed name with dynamic IP.

What hostname are you after?

1) Local system hostname that appears e.g. in bash prompt?

I guess it depends on distribution. For instance in OpenSUSE 10.2 you
have the hostname in /etc/HOSTNAME and in /etc/hosts next to IP
127.0.0.2 (which is not assigned on any interface, I suggest it's a
glibc kludge to get the hostname this way).

2) LAN name?

You'll need a DNS server with dynamic updates enabled and either
a) configure your system to send the hostname from #1 above in the DHCP
request and let the DHCP server update DNS, or
b) let your system update the DNS after every address change (usually
some ifup-script will be used for this).
To be a good network citizen you should update reverse DNS at the same
time as well.

Michal



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

Message: 10
Date: Mon, 05 Mar 2007 11:01:15 +1100
From: Daniel Pittman <daniel at rimspace.net>
Subject: Re: [nzlug] assign host name to computer
To: NZLUG Mailing List <nzlug at linux.net.nz>
Message-ID: <87vehgd0dw.fsf at rimspace.net>
Content-Type: text/plain; charset=us-ascii

"anru chen" <ctx2002 at gmail.com> writes:

> we have a small network, all computers are connected to a route, each
> time when a computer be booted up , the router will assigh a new ip to
> the computer.

Via DHCP, I presume, with the router acting as the DHCP server.

> my question is how can i assign a fixed name to a computer that got
> different IP at each time?

Well, let me answer the question I /think/ you are asking rather than
the one you wrote first:

The way you would normally do that is to assign a fixed *IP* to a
computer, then assign the name to that.  That way your name will always
point at that machine.

The way to assign a fixed IP is in the DHCP settings for the router:
somewhere in there they usually hide a page where you can assign a fixed
IP address to the MAC (or Ethernet) address of your computer.

That also has the advantage that, for example, a port forwarding you
configure on the router will also point to the right computer at all
times.


Anyway, if you /don't/ want to use a fixed IP -- which does make things
easier -- you need to configure "Dynamic DNS" for the machine you want a
consistent name for.

You are probably already familiar with services like 'dyndns.org' who
offer this on the Internet.  Both the Microsoft and Linux (Bind, and
others) DNS servers *also* offer this "dynamic update" process.

So, what you can configure is that when your computer is assigned an
address via DHCP it contacts the DNS server and updates the record there
to point to that new IP address.


Under Windows this is the "register connection with DNS" option, or
something similar, found in the properties pages for the network
interface.

Under Linux you need to hook the 'nsupdate' tool into your DHCP client;
that is easy enough to do on most distributions, but it isn't an "out of
the box" option anywhere that I know of, sadly.


Anyway, that resolves the client side.  On the server side you need to
allow dynamic updates -- which is documented in the DNS software manual
for all the examples I know, under "dynamic updates" or "dynamic DNS" --
and ensure that the appropriate security, etc, mechanisms are in place.


In the unlikely event that you really do want dynamic IP and fixed
hostname in DNS rather than simply assigning a fixed IP then feel free
to ask once you hit trouble with the dynamic DNS stuff.

I strongly urge you to consider the former, though.  I have configured
dynamic DNS and, believe me, it isn't nearly as much fun as you might
hope. ;)


Anyway, in case your question was really "my ISP assigns a dynamic
address to my modem" rather than one internal to the network: check out
dyndns.org and similar services. :)


Oh, and finally: some router devices have an option to publish the DHCP
client "hostname" value into an internal DNS cache.  You might check the
documentation to see if that is available -- which, on a consumer grade
device it probably isn't.

If yours does then you could have the dynamic IP, fixed name, part more
easily.  I wouldn't hold my breath though.

Regards,
        Daniel
-- 
Digital Infrastructure Solutions -- making IT simple, stable and secure
Phone: 0401 155 707        email: contact at digital-infrastructure.com.au
                 http://digital-infrastructure.com.au/



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

Message: 11
Date: Mon, 5 Mar 2007 13:07:58 +1300
From: Robin Sheat <robin at kallisti.net.nz>
Subject: Re: [nzlug] assign host name to computer
To: NZLUG Mailing List <nzlug at linux.net.nz>
Message-ID: <200703051307.59022.robin at kallisti.net.nz>
Content-Type: text/plain;  charset="iso-8859-1"

On Monday 05 March 2007 12:54, Michal Ludvig wrote:
> a) configure your system to send the hostname from #1 above in the DHCP
> request and let the DHCP server update DNS, or
For some reason, Linux doesn't do this by default. How do you make it do that, 
anyone know (Ubuntu in particular, but I'm sure I could work it out from any 
description)?

Robin.



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

Message: 12
Date: Mon, 05 Mar 2007 13:22:11 +1300
From: Michal Ludvig <michal at logix.cz>
Subject: Re: [nzlug] assign host name to computer
To: NZLUG Mailing List <nzlug at linux.net.nz>
Message-ID: <45EB62B3.4070607 at logix.cz>
Content-Type: text/plain; charset=ISO-8859-1

Robin Sheat wrote:
> On Monday 05 March 2007 12:54, Michal Ludvig wrote:
>> a) configure your system to send the hostname from #1 above in the DHCP
>> request and let the DHCP server update DNS, or
> For some reason, Linux doesn't do this by default. 

"Linux" does. I mean, my laptop does by default.

> How do you make it do that, 
> anyone know (Ubuntu in particular, but I'm sure I could work it out from any 
> description)?

Oh you don't use OpenSUSE? OK, then ;-)

In Ubuntu edit /etc/dhcp3/dhclient.conf and uncomment+edit the "send
host-name" line.

AFAIK in Suse it sends the actual hostname while in Ubuntu it sends the
string from dhclient.conf (which in most cases will be the hostname
anyway). But it's good to know about this difference.

Michal



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

Message: 13
Date: Mon, 05 Mar 2007 13:27:06 +1300
From: Alastair Porter <alastair at porter.net.nz>
Subject: Re: [nzlug] assign host name to computer
To: NZLUG Mailing List <nzlug at linux.net.nz>
Message-ID: <1173054426.5396.0.camel at dvorak.home>
Content-Type: text/plain

On Mon, 2007-03-05 at 13:07 +1300, Robin Sheat wrote:
> On Monday 05 March 2007 12:54, Michal Ludvig wrote:
> > a) configure your system to send the hostname from #1 above in the DHCP
> > request and let the DHCP server update DNS, or
> For some reason, Linux doesn't do this by default. How do you make it do that, 
> anyone know (Ubuntu in particular, but I'm sure I could work it out from any 
> description)?
Edit /etc/dhcp3/dhclient.conf and make sure there's a line:
send host-name "foo";

Alastair




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

Message: 14
Date: Mon, 05 Mar 2007 11:20:27 +1300
From: Craig Mckenna <craig at mindz-i.co.nz>
Subject: Re: [nzlug] mdadm and lvm on a live distro?
To: NZLUG Mailing List <nzlug at linux.net.nz>
Message-ID: <1173046828.5531.3.camel at localhost.localdomain>
Content-Type: text/plain

I've found the INSERT rescue CD good for this type of recovery

http://www.inside-security.de/insert_en.html

only a 60Mb download, but has all the required tools


On Mon, 2007-03-05 at 01:34 +1300, Nevyn wrote:
> Does anyone know of any live distro that has these two tools?
> 
> I've recently had a hard drive failure and unfortunately none of my
> ide hard drives seem to be up to scratch (I've had 2 die recently and
> only had 1 spare lying around). However the 2 resources I do seem to
> have is loads of cd-rom drives and some blank cd's so was hoping I
> might be able to run my file server off a live distro (something
> minimal with no desktop would be preferred).
> 
> Of course it had to be a system drive as opposed to anything that was
> on the raid (whoops). This is fine as there was no really important
> stuff on the system drive except maybe the system (that's not all that
> important right?)
> 
> _______________________________________________
> NZLUG mailing list NZLUG at linux.net.nz
> http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
> 




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

Message: 15
Date: Mon, 05 Mar 2007 11:37:13 +1100
From: Daniel Pittman <daniel at rimspace.net>
Subject: Re: [nzlug] assign host name to computer
To: NZLUG Mailing List <nzlug at linux.net.nz>
Message-ID: <87k5xwcypy.fsf at rimspace.net>
Content-Type: text/plain; charset=us-ascii

Robin Sheat <robin at kallisti.net.nz> writes:
> On Monday 05 March 2007 12:54, Michal Ludvig wrote:
>
>> a) configure your system to send the hostname from #1 above in the DHCP
>> request and let the DHCP server update DNS, or
>
> For some reason, Linux doesn't do this by default. How do you make it
> do that, anyone know (Ubuntu in particular, but I'm sure I could work
> it out from any description)?

Edit /etc/dhcp3/dhcpd.conf, change 'ddns-update-style' as appropriate.

There are a handful of related options, WRT keying, that you want to
check.  See dhcpd.conf(5) for the details; search for 'ddns'

You need to have configured bind to accept the appropriate connections,
of course, but that isn't all that difficult.

Regards,
        Daniel
-- 
Digital Infrastructure Solutions -- making IT simple, stable and secure
Phone: 0401 155 707        email: contact at digital-infrastructure.com.au
                 http://digital-infrastructure.com.au/



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

Message: 16
Date: Mon, 5 Mar 2007 14:21:33 +1300
From: Robin Sheat <robin at kallisti.net.nz>
Subject: Re: [nzlug] assign host name to computer
To: NZLUG Mailing List <nzlug at linux.net.nz>
Message-ID: <200703051421.33758.robin at kallisti.net.nz>
Content-Type: text/plain;  charset="iso-8859-1"

On Monday 05 March 2007 13:37, Daniel Pittman wrote:
> You need to have configured bind to accept the appropriate connections,
> of course, but that isn't all that difficult.
I think that DD-WRT (the firmware on the router that provides DHCP on my LAN) 
handles it all magically, but I'd noticed that the Linux machines weren't 
providing a name, but the windows machines were.

Robin.



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

Message: 17
Date: Mon, 5 Mar 2007 15:27:51 +1300
From: Nevyn <nevynh at gmail.com>
Subject: Re: [nzlug] mdadm and lvm on a live distro?
To: "NZLUG Mailing List" <nzlug at linux.net.nz>
Message-ID:
	<bcdb9ee50703041827x31ffd316qd09dad98cc945a8c at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

I discovered slax - damn what a great idea! Been able to get most of
my system up and running on a cd (in commandline mode too so none of
the un-necessary overheads of X). Leads to another question though so
I'll post that in a new thread...

On 3/5/07, Craig Mckenna <craig at mindz-i.co.nz> wrote:
> I've found the INSERT rescue CD good for this type of recovery
>
> http://www.inside-security.de/insert_en.html
>
> only a 60Mb download, but has all the required tools
>
>
> On Mon, 2007-03-05 at 01:34 +1300, Nevyn wrote:
> > Does anyone know of any live distro that has these two tools?
> >
> > I've recently had a hard drive failure and unfortunately none of my
> > ide hard drives seem to be up to scratch (I've had 2 die recently and
> > only had 1 spare lying around). However the 2 resources I do seem to
> > have is loads of cd-rom drives and some blank cd's so was hoping I
> > might be able to run my file server off a live distro (something
> > minimal with no desktop would be preferred).
> >
> > Of course it had to be a system drive as opposed to anything that was
> > on the raid (whoops). This is fine as there was no really important
> > stuff on the system drive except maybe the system (that's not all that
> > important right?)
> >
> > _______________________________________________
> > NZLUG mailing list NZLUG at linux.net.nz
> > http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
> >
>
>
> _______________________________________________
> NZLUG mailing list NZLUG at linux.net.nz
> http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
>



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

Message: 18
Date: Mon, 5 Mar 2007 15:32:17 +1300
From: Nevyn <nevynh at gmail.com>
Subject: Re: [nzlug] Setting up net access for temp PC.
To: "NZLUG Mailing List" <nzlug at linux.net.nz>
Message-ID:
	<bcdb9ee50703041832h6bf5b9cava1cb87b36ca4c81d at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

How many resources do you really need from your desktop PC? It might
be worth copying any files you need from your desktop machine to one
of your flatmates thus being able to just unplug your desktop machine
and plug in the temporary PC's just for the duration it takes you to
re-install windows and set everything back up again.

On 3/5/07, Andrew Bruce <abruce at hope-st.ath.cx> wrote:
> As I pointed out, I can't really afford 50m of Cat5 at the moment to
> connect it to the switch (yes the switch, and box are that far away from
> my desktop).
>
> Andrew
>
> Michal Ludvig wrote:
> > Andrew Bruce wrote:
> >
> >
> >> For reference the layout of the network is currently:
> >>
> >>
> >>                                    ---- Switch ---- FlatNetwork
> >>                                   /
> >> Internet ---- DSLRouter ---- GatewayBox ---- MyDesktopPC (via CrossOver)
> >>                                   \
> >>                                    ---- WirelessRouter ---- WirelessPC's
> >>
> >>
> >
> > Why don't you plug TempPC to the Switch/FlatNetwork then?
> >
> > Michal
> >
> > _______________________________________________
> > NZLUG mailing list NZLUG at linux.net.nz
> > http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
> >
> >
>
> _______________________________________________
> NZLUG mailing list NZLUG at linux.net.nz
> http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
>



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

Message: 19
Date: Mon, 5 Mar 2007 15:36:33 +1300
From: Nevyn <nevynh at gmail.com>
Subject: [nzlug] Samba Passwords
To: "NZLUG Mailing List" <nzlug at linux.net.nz>
Message-ID:
	<bcdb9ee50703041836y2bedb96au5b8ccc6d3c076886 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Does anyone know where samba stashes away user information? I.e. when I  run:
smbpasswd -a username
to add a user for samba access but does anyone know where this
information is stored?



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

Message: 20
Date: Mon, 5 Mar 2007 15:48:22 +1300
From: "Karl." <kmw1 at free.net.nz>
Subject: Re: [nzlug] Samba Passwords
To: NZLUG Mailing List <nzlug at linux.net.nz>
Message-ID: <20070305024822.GA4726 at L667>
Content-Type: text/plain; charset=us-ascii

On Mon, Mar 05, 2007 at 03:36:33PM +1300, Nevyn wrote:
> Does anyone know where samba stashes away user information? I.e. when I  
> run:
> smbpasswd -a username
> to add a user for samba access but does anyone know where this
> information is stored?

try:
man 5 smbpasswd

===================================
NAME   
       smbpasswd - The Samba encrypted password file

SYNOPSIS
       smbpasswd

DESCRIPTION
       This tool is part of the samba(7) suite.

       smbpasswd is the Samba encrypted password file. It contains the 
username, Unix user id and the SMB hashed passwords of the user, as well 
as account flag information and the time the password was last
       changed. This file format has been evolving with Samba and has 
had several different formats in the past.



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

Message: 21
Date: Mon, 05 Mar 2007 15:58:43 +1300
From: Vik Olliver <vik.olliver at uiactive.com>
Subject: [nzlug] Rotating monitors
To: NZ Linux Users Group <nzlug at linux.net.nz>
Message-ID: <1173063524.10452.5.camel at vik>
Content-Type: text/plain

Here's a good 'un.

I've got an Nvidia Ubuntu box with twinview and two nice, big LCD
monitors running off a graphics card that looks like it has a cylinder
head off a motorbike on it. Works fine.

But I want to dick with it.

I've noticed that I would benefit from a taller, less wide monitor
configuration, and lo my monitor mounts will tilt the screen sideways. I
caught the guys doing this to them when I "wasn't looking"...

So, I hear about the xorg.conf "rotate" option in the "Display" section,
and being game I try it out. It rotates both screens, yes. But it is
only useful if I then stack those rotated screens on top of one another.

What I wanna do is rotate the left screen through 90 degrees, then
rotate the right screen through 90 degrees. If you see what I mean.

Can't find anything encouraging on Google.

Any ideas?

Vik :v)
-------8<---------8<---------8<---------8<---------8<---------8<-----
"Diplomacy: The art of saying 'Nice doggy' until you can find a stick."

- Wynn Catlin






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

Message: 22
Date: Mon, 05 Mar 2007 14:47:59 +1100
From: Daniel Pittman <daniel at rimspace.net>
Subject: Re: [nzlug] Samba Passwords
To: NZLUG Mailing List <nzlug at linux.net.nz>
Message-ID: <87vehgbbbk.fsf at rimspace.net>
Content-Type: text/plain; charset=us-ascii

Nevyn <nevynh at gmail.com> writes:

> Does anyone know where samba stashes away user information? I.e. when
> I run: smbpasswd -a username to add a user for samba access but does
> anyone know where this information is stored?

In the Active Directory database on the Windows primary (and, of course,
backup) domain controllers in your AD domain.

Oh, or it could be in the 'smbpasswd' file or an LDAP directory, either
of which could be on another machine -- if that acts as the primary
domain controller.

In other words: it really depends a lot on how you configured Samba,
something that you neglected to tell us.

Regards,
        Daniel
-- 
Digital Infrastructure Solutions -- making IT simple, stable and secure
Phone: 0401 155 707        email: contact at digital-infrastructure.com.au
                 http://digital-infrastructure.com.au/



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

_______________________________________________
NZLUG mailing list
NZLUG at linux.net.nz
http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug


End of NZLUG Digest, Vol 21, Issue 4
************************************



More information about the NZLUG mailing list