Re: [gentoo-user] I don't want to upgrade to xorg-x11-7.0

2006-04-08 Thread Neil Bothwick
On Fri, 7 Apr 2006 17:24:25 -0700, Daevid Vincent wrote:

 However, b/c I do have X installed, I couldn't get past the 754 billion
 emerge dependencies that X7 had ~x86 masked, to see what a 'world' or
 'system' wants to upgrade.
 
 Dig?

Dig! Did putting the correct line in package.mask get round this?


-- 
Neil Bothwick

The present never ages. Each moment is like a snowflake, unique,
unspoiled, unrepeatable, and can be appreciated in its surprisingness.


signature.asc
Description: PGP signature


Re: [gentoo-user] OT: Space opera

2006-04-08 Thread Neil Bothwick
On Sat, 08 Apr 2006 06:32:24 +0200 (CEST), Meino Christian Cramer wrote:

  When I have to copy my current / to another harddisk, which has a
  different physical layout of partitions and another overall size -- 
  how would I do this best (conserving as much of the information
  of the old root as possible)
 
  Is cp -a sufficient ?

I always use rsync for this, it preserves directory timestamps, which cp
does not, and can be stopped and restarted if necessary.

rsync -ax(v) /mnt/oldpartition/ /mnt/newpartition/

The trailing slashes matter!


-- 
Neil Bothwick

Use Colgate toothpaste or end up with teeth like a Ferengi.


signature.asc
Description: PGP signature


[gentoo-user] Samba setup, I dunno what to do here. :\

2006-04-08 Thread Teresa and Dale
Hi,

I have a little network here.  We have a cable modem that connects to a
Linksys router then we have two computers that hook to it and share the
internet.  I have my Gentoo Linux box that I just installed samba on. 
She has a Windoze XP box.  I think I have my samba set up, not real sure
though, but I can not figure out the windoze box.  I can ping the IP
address of her windoze box from my Linux box, no clue on how to do that
on her windoze box so I assume it can see my box too. 

Can someone hold my hand and get this so I can get this to work?  She
seems to get hers pretty buggy and not boot and I just want to set it up
so that she can drop her Documents folder on my system each night for a
back-up.  Sorry windoze, you suck.  LOL

Oh, the router uses DHCP so how do I let it figure out what the address
is?  In case you can not tell, this is all new to me.  Here is the
testparm thing, I did read what I could understand at least:

 [EMAIL PROTECTED] / # testparm
 Load smb config files from /etc/samba/smb.conf
 WARNING: The printer admin option is deprecated
 Processing section [homes]
 Processing section [printers]
 Processing section [print$]
 Processing section [DATA]
 Loaded services file OK.
 WARNING: passdb expand explicit = yes is deprecated
 Warning: Service printers defines a print command, but print command
 parameter is ignored when using CUPS libraries.
 Server role: ROLE_STANDALONE
 Press enter to see a dump of your service definitions

 [global]
 server string = Samba Server %v
 map to guest = Bad User
 log file = /var/log/samba/log.%m
 max log size = 50
 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
 printcap name = cups
 dns proxy = No
 printer admin = @adm

 [homes]
 comment = Home Directories
 read only = No
 browseable = No

 [printers]
 comment = All Printers
 path = /var/spool/samba
 create mask = 0700
 guest ok = Yes
 printable = Yes
 print command = lpr-cups -P %p -o raw %s -r   # using client
 side printer drivers.
 browseable = No

 [print$]
 path = /var/lib/samba/printers
 write list = @adm, root
 guest ok = Yes

 [DATA]
 path = /mnt/data/
 guest ok = Yes
 case sensitive = No
 hide unreadable = Yes
 veto files = Donna-windoze/
 hide files = Donna-windoze/
 veto oplock files = Donna-windoze/
 msdfs proxy = no
 [EMAIL PROTECTED] / #  


What I am trying to share is /mnt/data/.  Not sure what that other stuff is.

Oh, if this will work in IE, that would be a HUGE plus.  She still uses
that thing.   pukes   I'm also not sure what to type into IE to get to
my box either. 

Thanks for any help you can provide.  I was following a how to but I
think I got lost, hopefully just on the windoze part.

Dale
:-)

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Find IP of proxy

2006-04-08 Thread Mick
On 06/04/06, Mike Owen [EMAIL PROTECTED] wrote:


 On the Windows side, do you have to authenticate to the proxy, or does
 it just connect through it?

Just connects throught it.  M$IE is configured to connect tot the
Interner through the proxy.
--
Regards,
Mick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gstreamer 0.10.4 on an amd64 box

2006-04-08 Thread Rafael Bugajewski
Rafael Bugajewski wrote:

 has anyone tried to do this?

 # emerge -av gstreamer

 These are the packages that would be merged, in order:

 Calculating dependencies... done!
 [ebuild  NS   ] media-libs/gstreamer-0.10.4  0 kB

 gives me the following error:

 [...]

 I need it for GNOME 2.14.

 Any know how to solve this?

O.K., I solved this. I recompiled libcheck with -fPIC and now gstreamer seems 
to compile. But ATM I have another problem. I can't compile gedit 2.14 on the 
amd64 box. I will see if I can solve it, otherways I will post a message and 
ask for help.

Greets,

Rafael


pgp9PSsVYUmwV.pgp
Description: PGP signature


Re: [gentoo-user] OT: Space opera

2006-04-08 Thread Mick
On 08/04/06, Phil Sexton [EMAIL PROTECTED] wrote:

 cd /mnt/source
 tar cf - . | (cd /mnt/destination  tar xBfp -)

What does B do?  I can't understand the manual!  :-(
--
Regards,
Mick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT: Space opera

2006-04-08 Thread Phil Sexton

Mick wrote:

On 08/04/06, Phil Sexton [EMAIL PROTECTED] wrote:



cd /mnt/source
tar cf - . | (cd /mnt/destination  tar xBfp -)



What does B do?  I can't understand the manual!  :-(
--
Regards,
Mick


I'm not 100 percent sure that I understand it, but I use it 
since the O'Reilly article suggested it.


From the man page:

 -B, --read-full-blocks
  reblock as we read (for reading 4.2BSD pipes)

I think that the --read-full-blocks means to read a full block 
of the hard disk drive and if needed, re-block if reading from a 
4.2BSD filesystem.


It may not even be needed if you don't have any BSD filesystems.

Does anyone know more about tar than I do? };-}

Sure, they do!

--
Phil
My Home Page: http://fancypiper.info
Our 2nd CD: http://www.cdbaby.com/naomisfancy
Naomi's Fancy: http://www.naomisfancy.net/
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] System bell (again)

2006-04-08 Thread contiemilio
Alle 06:12, sabato 8 aprile 2006, Anthony E. Caudel ha scritto:
 I wonder why I do not have a ~/.kde/share/config/kaccessrc file?

Did you install kdeaccessibility?

Or

How many users on your box?


 Tony

Emilio

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: System bell (again)

2006-04-08 Thread Anno v. Hiemburg
Anthony E. Caudel wrote:

 I wonder why I do not have a ~/.kde/share/config/kaccessrc file?

Because you never changed your settings away from the system defaults? The
config files in the home directories only reflect the user settings that
differ from the system settings in /usr/kde/$VERSION/share/config.

Anno.



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] System bell (again)

2006-04-08 Thread Benno Schulenberg
[EMAIL PROTECTED] wrote:
 Alle 06:12, sabato 8 aprile 2006, Anthony E. Caudel ha scritto:
  I wonder why I do not have a ~/.kde/share/config/kaccessrc
  file?

 Did you install kdeaccessibility?

I have no kdeaccessibility emerged here but the kaccessrc file is 
present.  Maybe he never changed anything in the accessibility tabs 
in the Control Center?

Benno
-- 
gentoo-user@gentoo.org mailing list



Gnome problems [was: Re: [gentoo-user] gstreamer 0.10.4 on an amd64 box]

2006-04-08 Thread Rafael Bugajewski
Rafael Bugajewski wrote:

 O.K., I solved this. I recompiled libcheck with -fPIC and now gstreamer
 seems to compile. But ATM I have another problem. I can't compile gedit
 2.14 on the amd64 box. I will see if I can solve it, otherways I will post
 a message and ask for help.

So gstreamer and gedit are installed now. I forgot to run python-updater after 
a python upgrade. After doing this step, gedit installed fine.

But now I have a completely different problem. Gnome doesn't find any icons, I 
get a lot of error messages and something that says gnome-settings-deamon 
couldn't be started. I will switch to LANG=C and post the errors later, if 
I don't find any solution.

I also deleteted ~/.gnome* and ~/.gconf* - nothing happened.

If anybody knows a solution to these strange problems, it would be nice if you 
could tell me. :)

Greets,

Rafael


pgpRA1ejPZa49.pgp
Description: PGP signature


[gentoo-user] eth0 does not start...

2006-04-08 Thread Jarry

Hi,

I just installed gentoo on my laptop. Problem is networking is not
started automaticly during boot. I see only these messages:

* Starting eth0
*  Bringing up eth0
*   default
*   No loaded module provide default (default_start)  [!!]

My /etc/conf.d/net contains following settings:
config_eth0=( 192.168.1.30 netmask 255.255.255.0 brd 192.168.1.255 )
config_eth0=( default gw 192.168.1.1 )

And in /etc/init.d there is a valid link net.eth0 - net.lo
Kernel is monolithic, everything compiled in (no modules).
But I can start networking manually right after boot using commands:

# ifconfig eth0 192.168.1.30 broadcast 192.168.1.255 netmask 255.255.255.0 up
# route add default gw 192.168.1.1

So where is the problem? Why networking does not start during boot-up?
Why do I have to start it manually?

Jarry
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: eth0 does not start...

2006-04-08 Thread Francesco Talamona
On Saturday 08 April 2006 17:59, Jarry wrote:
 config_eth0=( default gw 192.168.1.1 )

route_eth0=(192.168.1.1).

HTH, ciao
Francesco
-- 
Linux Version 2.6.16-gentoo-r1, Compiled #3 PREEMPT Sat Apr 1 11:48:45 
CEST 2006
One 1GHz AMD Athlon 64 Processor, 2GB RAM, 2007.34 Bogomips Total
aemaeth
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: eth0 does not start...

2006-04-08 Thread Jarry

Francesco Talamona wrote:


route_eth0=(192.168.1.1).


Thanks man, this was it.
How could I only make such a stupid mistake?

Jarry

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] {OT} recovering data from a Memory Stick

2006-04-08 Thread Grant
  Is it possible to recover data (photos) that have been deleted from
  a Sony Memory Stick?
 It depends. On what happened, what you do next, and the amount of time
 (or money) you are willing to invest.
  How can I get a look at what is really in there?
 Use dd to make a backup (that is, copy the contents of the stick (the
 raw bits, not the files) to your harddisk, and work on that copy.
 You can use your favorite hex-editor (there are a bunch of them in
 portage) to recover the directory-structure (or what is left of it).
 :-)
 You won't have ANY success with it, if you don't understand a bit
 about filesystemstructure and how to use the tools you want to use.
 Its very likely that you will destroy data if you are not careful.
 There are a few things you can try, depending on your knowledge.

 You could use the forensic toolkit sleuthkit (and perhaps its
 web-frontend autopsy). For recovering photos, I have had good results
 by just searching for jpeg-headers (first 4 bytes, assuming you have
 jpeg-images, ofcourse) and simply cutting a bit more than your average
 filesize after the header. Result of that will depend from your usage
 pattern on the Memorystick, that is, if you delete all files, than
 make new photos, or just delete some files (which results in
 fragmentation, which will prevent the copy-x-kb-after-jpeg-header-
 approach).

 There are some other ways, but these are the simple ones.

 In any case, MAKE A BACKUP!!! before you try to recover the files.

 HTH.

  Timo

Alright, thanks Timo.

- Grant

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xfce4 reboot/shutdown as a normal user

2006-04-08 Thread Grant
   Sudo is configured to allow me to shutdown or reboot as a normal user
   from the command line, but it's not working from the xfce4 menu.  Does
   anyone know how to get the xfce4 menu's reboot/shutdown options to
   work as a non-root user?
  
   - Grant
  
 
 
  See http://gentoo-wiki.com/HOWTO_Xfce4#Shutdown_or_reboot for how to do
  that.
 
  I'd suggest reading the whole wiki article as well, for other tips.
 
  PaulNM

 That's working great for shutting down, but rebooting seems to get
 caught in some kind of a loop or something.  After going down for
 reboot the screen flashes several times and then displays the console
 as it looks right after boot-up but before xdm starts.  The cursor
 next to login flashes but it does not respond to key presses.  I am
 setting up xdm and gdm for the first time.  Any ideas?

 - Grant

Actually it looks like the same thing is happening with shutting down
too.  Does anyone know what might be wrong?

- Grant

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] SOLVED: samsung network printer on amd64 - only half page printed

2006-04-08 Thread Istvan Pongracz

Hi,

Looking into logs, and digging the net, I found that, gs 
(ghostscript-esp) did segmentation fault.


I downgrade esp package to 7.07.x, the same, segfault. (1st advice on 
the net, kubuntu forum).


Latest ghostscript-gnu (advice from somewhere on the net), the same, 
segfault.


I installed the latest ghostscript-afpl, working perfectly.

Regards,
István


Istvan Pongracz wrote:

Hi,

Nobody has problem similar to mine?
Everybody have extremely smooth, well-working printing system with amd64? :)

Please give me some tipps :)

Regards,
István

Istvan Pongracz wrote:

Hi,

I have a problem on my amd64 system.
I put a fresh x64 gentoo install to an amd64 machine about a month ago.
Now I bought a Samsung CLP 510N network printer and tried to use under
64 bit gentoo.

So, after hacking setup.sh (correct lib paths for 32 bit compatibility
libraries) I installed the samsung's config programs, drivers etc.,
using cups as printing system.

Now, the problem is:
if I print out a document from openoffice 2, I got exactly the half
pages. I mean, if I print out 3 pages, I got 1st page correctly, second
contains only the upper half, the left simply missing.

If I print one page, I got a half.

This problem happens, when I print a test page under linux-config, which
is the samsung provided utility.

BUT. If I print a test page from Webmin (1.250), I got a full page,
without problem.

On my laptop, which is a 32 bit system, the printing working well to the
same printer, using the same drivers, which are installed to the 64 bit
system.

I googled around and I found lot of cups related issues with amd64,
mostly from year 2005.
My problem definitely was not there.
I dig at www.gentoo.org printing howto, but there is no solution.
I also tried to find something at samsung site, there is nothing.

Does anybody know this issue or have an idea, how to solve this situation?
Now, printing is more or less useless for me in amd64 environment.


Regards,
István




--
gentoo-user@gentoo.org mailing list



[gentoo-user] libGLU.so.1 missing

2006-04-08 Thread Robert Walter
hi 
glxgears gives the following error
glxgears: error while loading shared libraries: libGLU.so.1: cannot open shared 
object file: No such file or directory

how do i find out which package libGLU.so.1 belongs to?
equery belongs libGLU.so.1 gives nothing
i found that library on a backup but i don't know the corresponding package.

thanks. 
best regards. robert  
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] libGLU.so.1 missing

2006-04-08 Thread Boris Fersing
2006/4/8, Robert Walter [EMAIL PROTECTED]:
 hi
 glxgears gives the following error
 glxgears: error while loading shared libraries: libGLU.so.1: cannot open 
 shared object file: No such file or directory

 how do i find out which package libGLU.so.1 belongs to?
 equery belongs libGLU.so.1 gives nothing
 i found that library on a backup but i don't know the corresponding package.

Hi, this file belongs to  media-libs/mesa

regards,
Boris.
 thanks.
 best regards. robert
 --
 gentoo-user@gentoo.org mailing list





--
Quiconque me parle de Dieu en veut à ma bourse ou à ma liberté.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] libGLU.so.1 missing

2006-04-08 Thread Mike Williams
On Saturday 08 April 2006 20:23, Robert Walter wrote:
 glxgears gives the following error
 glxgears: error while loading shared libraries: libGLU.so.1: cannot open
 shared object file: No such file or directory

 how do i find out which package libGLU.so.1 belongs to?
 equery belongs libGLU.so.1 gives nothing
 i found that library on a backup but i don't know the corresponding
 package.

You don't.
Find out what package glxgears belongs to, and recompile that.

-- 
Mike Williams
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] kde-base/kdebugdialog-3.5.2 emerge error

2006-04-08 Thread Pete Pardoe
Hi,

I am trying to upgrade to kde 3.5.2 

specifically because my current KDE was installed with emerge kde-meta
I have added the appropriate dependencies to
/etc/portage/package.keywords


kde-base/arts
~x86

kde-base/kdelibs ~x86
kde-base/ksysguard ~x86
kde-base/kdebase-meta ~x86
kde-base/kde-meta ~x86 


However I end up with the following error 

emerge: there are no ebuilds to satisfy ~kde-base/kdebugdialog-3.5.2.(dependency required by kde-base/kdebase-meta-3.5.2 [ebuild])

Which the protage database says that the most recent version is 3.5.0
Anyway to fix this?
-- Pete Pardoe


[gentoo-user] KBabel cannot find a corresponding plugin for the MIME type of the file

2006-04-08 Thread Erik
I just emerged kde-base/kbabel-3.5.2 and whenever I try to open a 
po-file with it I get a KMessageBox saying:


   KBabel cannot find a corresponding plugin for the MIME type of the file:
   filename

Do I really have to install a plugin?
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] kde-base/kdebugdialog-3.5.2 emerge error

2006-04-08 Thread Richard Fish
On 4/8/06, Pete Pardoe [EMAIL PROTECTED] wrote:
 Hi,

  I am trying to upgrade to kde 3.5.2

  specifically because my current KDE was installed with emerge kde-meta I
 have added the appropriate dependencies to /etc/portage/package.keywords

No you haven't.  package.keywords doesn't get applied to dependancies
automatically.  As the message indicates, kdebase-meta-3.5.2 depends
on kdebugdialog-3.5.2, which you didn't add to package.keywords
according to your post.

If you want the ~x86 version of KDE, without going fully ~x86, you can try:

# cd /usr/portage
# for x in kde-base/* ; do
#echo $x ~x86 /etc/portage/package.keywords
# done

This will allow the ~x86 keywords for _all_ base KDE applications. 
You may still have to add qt or other dependancies manually however.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] libGLU.so.1 missing

2006-04-08 Thread JimD
On Sat, 8 Apr 2006 19:23:21 +
Robert Walter [EMAIL PROTECTED] wrote:

 hi 
 glxgears gives the following error
 glxgears: error while loading shared libraries: libGLU.so.1: cannot
 open shared object file: No such file or directory
 
 how do i find out which package libGLU.so.1 belongs to?
 equery belongs libGLU.so.1 gives nothing
 i found that library on a backup but i don't know the corresponding
 package.
 
 thanks. 
 best regards. robert  

# slocate libGLU
/usr/lib/libGLU.so.1.3.060402
/usr/lib/libGLU.la
/usr/lib/libGLU.so
/usr/lib/libGLU.so.1
/usr/portage/media-libs/mesa/files/lib/libGLU.la

# equery belongs /usr/lib/libGLU.so.1
[ Searching for file(s) /usr/lib/libGLU.so.1 in *... ]
media-libs/mesa-6.4.2-r2 (/usr/lib/libGLU.so.1 - libGLU.so.1.3.060402)

Jim
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I'm a geek, but I don't get it. 36-24-36 = -24. What's the significance?
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Florida, USA, Earth, Solar System, Milky Way
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] qt_plugins_3.3rc access error

2006-04-08 Thread Mick
Hi  All,

When I launch kde from a terminal I keep getting this error:

==
QSettings: failed to open file '/usr/qt/3/etc/settings/qt_plugins_3.3rc'
QSettings: failed to open file '/usr/qt/3/etc/settings/qt_plugins_3.3rc'
==

I have received the same error from some KDE apps too.

This is what this file looks like:

==
-rw---  1 root root 221 Feb 10 22:49 /usr/qt/3/etc/settings/qt_plugins_3.3rc
==

Are the access rights correct?  What does yours look like?
--
Regards,
Mick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] qt_plugins_3.3rc access error

2006-04-08 Thread Mick
On 08/04/06, Peter Ruskin [EMAIL PROTECTED] wrote:


 No.

 ls -ll /usr/qt/3/etc/settings/qt_plugins_3.3rc
 -rw-r--r-- 1 root root 9.9K 06 Apr 2006
 09:25 /usr/qt/3/etc/settings/qt_plugins_3.3rc

Excellent!  Fixed.  I don't know what caused this, or what else might
have gone astray with access rights on this box . . .

Thank you for your help!  :)
--
Regards,
Mick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Samba setup, I dunno what to do here. :\

2006-04-08 Thread Ryan Tandy

Teresa and Dale wrote:

Hi,

I have a little network here.  We have a cable modem that connects to a
Linksys router then we have two computers that hook to it and share the
internet.  I have my Gentoo Linux box that I just installed samba on. 
She has a Windoze XP box.  I think I have my samba set up, not real sure

though, but I can not figure out the windoze box.  I can ping the IP
address of her windoze box from my Linux box, no clue on how to do that
on her windoze box so I assume it can see my box too. 
  
Windows 2000 and XP both have a number of  UNIX-like network commands 
that you'd be familiar with, such as nslookup and ping - even ipconfig 
(similar to ifconfig).  The options are slightly different though - ping 
/? should help you out.


If you have Samba set up correctly, Windows is effectively zero-conf 
aside from making sure you know what workgroup it thinks it's in.  The 
samba machine will show up in Windows' My Network Places.


snip

Oh, the router uses DHCP so how do I let it figure out what the address
is?
Set your samba up as a WINS (Windows name resolution) server with the 
option wins support = 1 under [global] (AFAIR ;).  The Windows box will 
now be able to lookup your Gentoo box by the netbios name you assigned it.

In case you can not tell, this is all new to me.  Here is the
testparm thing, I did read what I could understand at least:
Let me guess, copied and pasted from some tutorial without really 
looking at it?  ;)  Don't worry, that's a fine place to start.  However, 
if all you really need to share is /mnt/data, you have *way* more stuff 
in here than you actually need.

[EMAIL PROTECTED] / # testparm
Load smb config files from /etc/samba/smb.conf
WARNING: The printer admin option is deprecated

No need to keep deprecated options - man smb.conf can tell you if 
there's new replacements.


snip

WARNING: passdb expand explicit = yes is deprecated


ditto.

Warning: Service printers defines a print command, but print command
parameter is ignored when using CUPS libraries.


...meaning the 'print command' line doesn't need to be in there.

Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
server string = Samba Server %v
map to guest = Bad User
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = cups
dns proxy = No
printer admin = @adm

If you don't plan to use the box as a print server, any and all printer 
stuff can be removed, including both print* sections.  Specialized 
socket options shouldn't be necessary in most typical home setups.  I 
don't know what the 'dns proxy' option does exactly, but I'm fairly sure 
you don't need it.  You should have in here a 'workgroup' entry matching 
the workgroup the Windows machine thinks it's part of.  You also don't 
have a 'security =' line defining the security model to use.  I don't 
remember what the default is.

[homes]
comment = Home Directories
read only = No
browseable = No


Not needed if you're only sharing one directory.

[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
guest ok = Yes
printable = Yes
print command = lpr-cups -P %p -o raw %s -r   # using client
side printer drivers.
browseable = No

[print$]
path = /var/lib/samba/printers
write list = @adm, root
guest ok = Yes


Not needed if you aren't a print server.

[DATA]
path = /mnt/data/
guest ok = Yes
case sensitive = No
hide unreadable = Yes
veto files = Donna-windoze/
hide files = Donna-windoze/
veto oplock files = Donna-windoze/
msdfs proxy = no
[EMAIL PROTECTED] / #
What *is* all this stuff? O_o  The first two lines make sense, the third 
one somewhat (I personally recommend case sensitivity, but it's up to 
you.)  No idea what the rest of them do.  What you don't have that you 
need is either 'writeable = yes' or 'read only = no' so that the Windows 
machine can store its data in here.  Also, you have 'guest ok = yes' and 
no valid users specified, so *any* user



OK, it's now a few minutes later and I've looked these up in man 
smb.conf.  You don't want the msdfs proxy option, since you don't have a 
DFS going (as far as I can tell).  Hide unreadable makes some sense - I 
might start using it myself.  On these other hand, why would you want to 
hide the very files she's supposed to be accessing?  Even sillier with 
the vetoing - now she can't access them at all!  In other words, what 
you have here is a partition with all files *whose path contains* 
'Donna-windoze' hidden, everyone prevented from accessing (writing *or* 
reading) them, and then hidden again because of this.  Since you don't 
have oplocks disabled for the share, the 'veto oplock files' also 

[gentoo-user] LDAP? SSH? How to logon to network?

2006-04-08 Thread Jason A. Donenfeld
My school uses Macs. They run Mac OS X Server. At each computer in the
computer lab, each student is able to logon using their username and
password to their own desktop because each computer is authenticated
remotely and their home folder is a remote mount. All programs run
locally.

At studentserver.myschool.org, they run an appletalk file share
server, perhaps another sort of file sharing server, and an ssh
server, all of which I can logon to using my username. At
queenbee.myschool.org, the school runs an ldap server which is used
for authentication on each of the computer lab computers. Logged in as
administrator, I looked at the directory services program to obtain
ldap information. They connect to the queenbee server and use the base
of dn=. Also part of this string is cn=config and it is setup to
get all details from server. All user name entries have the normal
objectType=posixAccount in addition to some unique apple attributes.

One of the attributes is homeFolder. For me, this is located at
/Network/studentserver.myschool.org/Volumes/Hive/myUserName. Logged
onto my account using a mac, in addition to my home folder being
present as I have all my settings unique to me, I can type cd ~ in
terminal and get my homefolder, which is mapped to this path. I can
also cd /Network/studentserver.myschool.org and peak around. My
authentication to this server is based on my username and the group
that I'm in (which was authenticated by ldap before), so it is safe to
conclude that studentserver.myschool.org also logs into this ldap
server and authenticates me using normal credentials.

I installed Linux on one of the G5 towers. How can I set the computer
up such that users are able to login to it using their username and
password and have their home folder be their server share? OpenLDAP?
SSH? AFP? I have tried openldap and I have been unable to get that to
work (ldapsearch -x 'uid=myusername' works but I can't get system wide
authentication working).

If I did get OpenLDAP to work, what about the home folder? The
homeFolder attribute ldap mentions refers to a specific place already
existant on the mac computer (/Networks/studentserver.myschool.org),
so perhaps the equivalant would be to have
/Networks/studentserver.myschool.org in /etc/fstab and mounted.

The next question, however, is how can I have this mount like a normal
device directory which uses normal authentication? I have tried
specifying nfs as a fs type, but this does not work. Perhaps I can
utilize the existance of an ssh server running? What about afp? But
then I have to be careful that it uses the normal system wide
authentication mechanism (that authenicates my access to local
folders, for instance) and not a logon of its own.

And on top of that, even after getting OpenLDAP to authenticate system
wide, how will it know to make the homefolder based on the homeFolder
attribute?

Or perhaps there's another way to do this, completely through ssh, but
that's doubtful. Any ideas?

--
Jason A. Donenfeld
Deep Space Explorer

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Double remote X forwarding?

2006-04-08 Thread Mark Knecht
Hi all,,
   This is about doing ssh through a firewall to one machine and then
going on from that first machine to a second machine on the remote
network.  Is there any way to allow me to ssh into this whole string
of machines and still be able to pass the output of an X app running
on the second machine back to my machine here? The typical error
message I get is about being unable to open the display.


[EMAIL PROTECTED] ~ $ ssh -X -Y -C -c blowfish -l gandalf
Password:
Last login: Sat Apr  8 18:47:38 2006 from lightning
gandalf ~ # ssh -X -Y -C -c blowfish -l root myth13
Password:
Last login: Sat Apr  8 18:50:03 2006 from gandalf
myth13 ~ # xclock
Error: Can't open display:
myth13 ~ #

   When sshed into the second machine (myth13) I get no value for
$display, while for the first machine (gandalf) I ssh into I do:

myth13 ~ # echo $DISPLAY

myth13 ~ # exit
logout
Connection to myth13 closed.
gandalf ~ # echo $DISPLAY
localhost:10.0
gandalf ~ # xclock

XCLOCK displays here

gandalf ~ #exit
logout
Connection to gandalf closed.
[EMAIL PROTECTED] ~ $

   I am able to run X apps on gandalf and display them here, but not
myth13. Can I make it work?

Thanks,
Mark

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Double remote X forwarding?

2006-04-08 Thread YoYo siska
On Sat, Apr 08, 2006 at 07:16:44PM -0700, Mark Knecht wrote:
 Hi all,,
This is about doing ssh through a firewall to one machine and then
 going on from that first machine to a second machine on the remote
 network.  Is there any way to allow me to ssh into this whole string
 of machines and still be able to pass the output of an X app running
 on the second machine back to my machine here? The typical error
 message I get is about being unable to open the display.
 
 
 [EMAIL PROTECTED] ~ $ ssh -X -Y -C -c blowfish -l gandalf
 Password:
 Last login: Sat Apr  8 18:47:38 2006 from lightning
 gandalf ~ # ssh -X -Y -C -c blowfish -l root myth13
 Password:
 Last login: Sat Apr  8 18:50:03 2006 from gandalf
 myth13 ~ # xclock
 Error: Can't open display:
 myth13 ~ #
 
When sshed into the second machine (myth13) I get no value for
 $display, while for the first machine (gandalf) I ssh into I do:
 
 myth13 ~ # echo $DISPLAY
 
 myth13 ~ # exit
 logout
 Connection to myth13 closed.
 gandalf ~ # echo $DISPLAY
 localhost:10.0
 gandalf ~ # xclock
 
 XCLOCK displays here
 
 gandalf ~ #exit
 logout
 Connection to gandalf closed.
 [EMAIL PROTECTED] ~ $
 
I am able to run X apps on gandalf and display them here, but not
 myth13. Can I make it work?
 
is x11forwarding enabled on the second machine (myth13) in
/etc/ssh/sshd_conf ?

yoyo

-- 
  _
  |
YoYo () Siska  

http://www.ksp.sk/

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Double remote X forwarding?

2006-04-08 Thread Mark Knecht
On 4/8/06, YoYo siska [EMAIL PROTECTED] wrote:
 On Sat, Apr 08, 2006 at 07:16:44PM -0700, Mark Knecht wrote:
  Hi all,,
 This is about doing ssh through a firewall to one machine and then
  going on from that first machine to a second machine on the remote
  network.  Is there any way to allow me to ssh into this whole string
  of machines and still be able to pass the output of an X app running
  on the second machine back to my machine here? The typical error
  message I get is about being unable to open the display.
 
 
  [EMAIL PROTECTED] ~ $ ssh -X -Y -C -c blowfish -l gandalf
  Password:
  Last login: Sat Apr  8 18:47:38 2006 from lightning
  gandalf ~ # ssh -X -Y -C -c blowfish -l root myth13
  Password:
  Last login: Sat Apr  8 18:50:03 2006 from gandalf
  myth13 ~ # xclock
  Error: Can't open display:
  myth13 ~ #
 
 When sshed into the second machine (myth13) I get no value for
  $display, while for the first machine (gandalf) I ssh into I do:
 
  myth13 ~ # echo $DISPLAY
 
  myth13 ~ # exit
  logout
  Connection to myth13 closed.
  gandalf ~ # echo $DISPLAY
  localhost:10.0
  gandalf ~ # xclock
 
  XCLOCK displays here
 
  gandalf ~ #exit
  logout
  Connection to gandalf closed.
  [EMAIL PROTECTED] ~ $
 
 I am able to run X apps on gandalf and display them here, but not
  myth13. Can I make it work?
 
 is x11forwarding enabled on the second machine (myth13) in
 /etc/ssh/sshd_conf ?

 yoyo

Thank you. It was not. I enabled it, restarted sshd, logged out of
myth13 and back into it again and  now xclock displays properly here.

Thanks,
Mark

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] missing domainname

2006-04-08 Thread Rumen Yotov
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,
Running all ~x86 system.
After upgrading to the latest sys-apps/baselayout-1.12.0_pre17 and
reading the Changelog (but nothing in einfo) saw that there's a new
package to manage resolv.conf info: resolvconf-gentoo.
By now have just quickly scanned man resolvconf (after emerging it) to
check how to manage /etc/resolv.conf and eventually the missing
domainname info.
To go back to 'subj', there's no more /etc/init.d/domainname script so
had to remove it manually (rc-update del ...).
Now #domainname returns (none). Will look further but will also
appreciate any hints given ;)
PS: IIRC there's a domain whatever line in resolv.conf and maybe some
changes in net.example to setup domainname.
TIA.Rumen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2-ecc0.1.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEOI8ONbtuTtsWD3wRAn8CAJ9++8Q4o99fQpXK50lr+n+9oCuqzgCfd3Oo
SQ3a7DbU3oh7VV1UVk2qMTo=
=z7i2
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list