Re: closing X

2010-06-13 Thread Glen Barber

Hi Derek,

On 6/13/10 10:51 AM, Derek Funk wrote:

I have setup PCBSD and a Standard Freebsd with gui. and kbunto. They do
not close X completely. I get a flashing screen.
I can still type commands while the screen flashes. I have done a google
search but nothing seems to match my problem.

I installed opensolaris and it doesn't do this but I want bsd.

I have a Toshiba Satellite laptop that has intel mobile graphics. Is
this something with the intel graphics driver or an installed software
conflict.



Does it sound similar to this issue?

http://lists.freedesktop.org/archives/xorg/2009-August/046958.html

Regards,

--
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


FreeBSD+ZFS+Samba: open_socket_in: Protocol not supported - after a few days?

2010-06-13 Thread Martin Minkus
Samba 3.4 on FreeBSD 8-STABLE branch.

After a few days I start getting weird errors and windows PC's can't
access the samba share, have trouble accessing files, etc, and samba
becomes totally unusable.

Restarting samba doesn't fix it – only a reboot does.

 

Accessing files on the ZFS pool locally is fine. Other services (like
dhcpd, openldap server) on the box continue to work fine. Only samba
dies and by dies I mean it can no longer service clients and windows
brings up bizarre errors. Windows can access our other samba servers (on
linux, etc) just fine.



Kernel:

 

FreeBSD kinetic.pulse.local 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #4:
Wed May 26 18:09:14 NZST 2010
mart...@kinetic.pulse.local:/usr/obj/usr/src/sys/PULSE amd64

 

Zpool status:

 

kinetic:~$ zpool status

  pool: pulse

 state: ONLINE

 scrub: none requested

config:

 

NAME  STATE READ
WRITE CKSUM

pulse ONLINE   0
0 0

  raidz1  ONLINE   0
0 0

gptid/3baa4ef3-3ef8-0ac0-f110-f61ea23352  ONLINE   0
0 0

gptid/0eaa8131-828e-6449-b9ba-89ac63729d  ONLINE   0
0 0

gptid/77a8da7c-8e3c-184c-9893-e0b12b2c60  ONLINE   0
0 0

gptid/dddb2b48-a498-c1cd-82f2-a2d2feea01  ONLINE   0
0 0

 

errors: No known data errors

kinetic:~$


log.smb:

[2010/06/10 17:22:39, 0] lib/util_sock.c:902(open_socket_in)
open_socket_in(): socket() call failed: Protocol not supported
[2010/06/10 17:22:39, 0] smbd/server.c:457(smbd_open_one_socket)
smbd_open_once_socket: open_socket_in: Protocol not supported
[2010/06/10 17:22:39, 2] smbd/server.c:676(smbd_parent_loop)
waiting for connections

log.ANYPC:

[2010/06/08 19:55:55, 0] lib/util_sock.c:1491(get_peer_addr_internal)
getpeername failed. Error was Socket is not connected
read_fd_with_timeout: client 0.0.0.0 read error = Socket is not
connected.


The code in lib/util_sock.c, around line 902:

/***
*
Open a socket of the specified type, port, and address for incoming
data.

/

int open_socket_in(int type,
uint16_t port,
int dlevel,
const struct sockaddr_storage *psock,
bool rebind)
{
struct sockaddr_storage sock;
int res;
socklen_t slen = sizeof(struct sockaddr_in);

sock = *psock;

#if defined(HAVE_IPV6)
if (sock.ss_family == AF_INET6) {
((struct sockaddr_in6 *)&sock)->sin6_port = htons(port);
slen = sizeof(struct sockaddr_in6);
}
#endif
if (sock.ss_family == AF_INET) {
((struct sockaddr_in *)&sock)->sin_port = htons(port);
}

res = socket(sock.ss_family, type, 0 );
if( res == -1 ) {
if( DEBUGLVL(0) ) {
dbgtext( "open_socket_in(): socket() call failed: " );
dbgtext( "%s\n", strerror( errno ) );
}

In other words, it looks like something in the kernel is exhausted
(what?). I don’t know if tuning is required, or this is some kind of
bug?

/boot/loader.conf:

mvs_load="YES"
zfs_load="YES"
vm.kmem_size="20G"

#vfs.zfs.arc_min="512M"
#vfs.zfs.arc_max="1536M"

vfs.zfs.arc_min="512M"
vfs.zfs.arc_max="3072M"



I’ve played with a few sysctl settings (found these recommendations
online, but they make no difference)


/etc/sysctl.conf:

kern.ipc.maxsockbuf=2097152

net.inet.tcp.sendspace=262144
net.inet.tcp.recvspace=262144
net.inet.tcp.mssdflt=1452

net.inet.udp.recvspace=65535
net.inet.udp.maxdgram=65535

net.local.stream.recvspace=65535
net.local.stream.sendspace=65535

Any ideas on what could possibly be going wrong?

 

Any help would be greatly appreciated!

 

Thanks,

Martin


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Lpr 'queue full" error

2010-06-13 Thread Al Plant

Aloha,

I have a network HP Laserjet 1100 printer that has been running with out 
failure since 2004 on my office lan using aps2 filter on a FreeBSD 4.9 
Lpr print server. It became intermittent recently in that it prints 
files from the command line only. The gui's on the three desktop boxes 
on the lan (all FreeBSD 8 & 9) no longer print.


The error is "queue is full" when print job is sent from a gui. It works 
fine from the command line. Could the aps2 filter have failed?


Any suggestions as to what to look for appreciated. Search only showed 
similar questions no answers.


Thanks,

~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD  7.2 - 8.0 - 9* +
  < email: n...@hdk5.net >
"All that's really worth doing is what we do for others."- Lewis Carrol

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: How to make macromedia flash working from Opera?

2010-06-13 Thread Samuel Martín Moro
I am not an Opera user, but assuming it works like other browsers (AFAIK
firefox/mozilla), you may have to link/copy the plugin into
~/.opera/[.*/]*plugin[s]/, or /usr/local/.*/opera/[.*/]*plugin[s]/


Samuel Martín Moro
{EPITECH.} tek4
CamTrace S.A.S
 (+033) 1 41 38 37 60
 1 Allée de la Venelle
 92150 Suresnes
 FRANCE

"Remember, the problem is not that people are stupid;
 the problem is that modems are cheap."
  Vince Sabio.


On Sun, Jun 13, 2010 at 8:42 PM, Yuri  wrote:

>
> Flash works in firefox (through nspluginwrapper). But not in Opera.
> How to make it work in Opera as well?
>
> I have these installed:
> linux-f10-flashplugin-10.0r45 Adobe Flash Player NPAPI Plugin
> nspluginwrapper-1.3.0_4 A compatibility plugin for Mozilla NPAPI
> (development version)
> opera-10.10.20091120_2 Blazingly fast, full-featured, standards-compliant
> browser,
>
> Yuri
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscr...@freebsd.org"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: detached a mounted ufs filesystem

2010-06-13 Thread Ian Smith
In freebsd-questions Digest, Vol 314, Issue 13, Message: 22
On Sat, 12 Jun 2010 22:38:15 -0400 "Xihong Yin"  wrote:

 > 'fdisk /dev/da0' output is
 > 
 > *** Working on device /dev/da0 ***
 > parameters extracted from in-core disklabel are:
 > cylinders=14593 heads=255 sectors/track=63 (16065 blks/cyl)
 > 
 > Figures below won't work with BIOS for partitions not in cyl 1
 > parameters to be used for BIOS calculations are:
 > cylinders=14593 heads=255 sectors/track=63 (16065 blks/cyl)
 > 
 > Media sector size is 512
 > Warning: BIOS sector numbering starts with sector 1
 > Information from DOS bootblock is:
 > The data for partition 1 is:
 > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
 >  start 63, size 234436482 (114470 Meg), flag 80 (active)
 >  beg: cyl 0/ head 1/ sector 1;
 >  end: cyl 1023/ head 254/ sector 63

Ok, the DOS partition table looks likely intact; it says you have one 
slice ad0s1 occupying the entire disk _after_ the first 63 sectors.

Checking .. 14593 * 255 * 63 = 234436545 sectors, less
DOS partition 1 (FreeBSD s1) = 234436482 sectors equals 63 sectors,
being all of cylinder 0, head 0; slices start on cylinder boundaries.

 > The data for partition 2 is:
 > 
 > The data for partition 3 is:
 > 
 > The data for partition 4 is:
 > 
 > 
 > I tried 'fsck_ufs /dev/da0', it says
 > 
 > ** /dev/da0
 > Cannot find file system superblock
 > ioctl (GCINFO): Inappropriate ioctl for device
 > fsck_ufs: /dev/da0: can't read disk label

Yes, as it should.  You haven't lost your MBR & partition table, but it 
appears you may have lost the bsdlabel at the beginning of slice 1; this 
is likely why FreeBSD only finds /dev/da0 and (perhaps) /dev/da0a ..

In the absence of a label on slice 1 (listing FreeBSD partitions c, the 
whole slice, and one or more of a, b, d - h) the system seems to assume 
this is a 'dangerously dedicated' disk, with no slices, covering the 
whole disk - but still with no label.  I think the system is probably
assuming wrongly here, from a missing or damaged label.

Polytropon's advice to dd the whole drive to somewhere is excellent if 
you have 114GB spare somewhere - but if you don't, at least dd the first 
126 or so sectors to a file in case of further disasters.

 > I forget what layout the disk has. Normally I used /dev/da0s1d to mount the 
 > disk.
 > 
 > What the next step should I do?

First, to see if there's any meaningful label there, try just:

# bsdlabel /dev/da0s1

If that disk just had a single 'd' partition, as sounds maybe likely?, 
and it doesn't show up with the above command, then you may get away 
with just making a fresh label for the whole slice, with just 'c' and 
'd' partitions, both of size 234436482 sectors.

I'm not the best person to advise on the right bsdlabel command, so I 
won't speculate (possibly mis-advising you) on that.  If you had other 
partitions than just 'd' in that slice then working out the boundaries 
and sizes will be a lot more complex, but if just one it looks fixable.

Of course, if the label at the beginning of slice 1 was clobbered, so 
may have been other data, but with a new label you might be able to 
recover it with 'fsck da0s1d' if the filesystem is more or less intact.

It's always worth keeping a copy of the output of bsdlabel for every 
FreeBSD slice somewhere safe (like on paper!) for times such as these.

cheers, Ian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


pptp VPN dropping

2010-06-13 Thread Mario Lobo
Hi;

I have the following situation:

FBSD 8-STABLE firewall/vpn server (poptop)to a windows network, authenticating 
to an AD 2008 as radius.

Everything seems working ok. I connect to the LAN through an XP machine. Auth 
works fine, the tunnel is up, and I can ping and "see" every server on the LAN 
and run terminal services sessions on the servers from the XP machine.

However, when I try accessing the exchange 2008 server (https / owa) via web 
through its LAN ip, the page starts loading, the outlook page with the list of 
e-mails shows up but just before it finishes, the tunnel drops as if I had 
disconnected the VPN interface.

log:

Jun 13 13:44:24 AllenFW ppp[1987]: Phase: Radius(acct): START data sent
Jun 13 13:44:24 AllenFW ppp[1987]: LCP: Reducing MTU from 1400 to 1398 (CCP 
requirement)
Jun 13 13:46:03 AllenFW ppp[1987]: LCP: deflink: SendEchoRequest(5) state = 
Opened
Jun 13 13:46:03 AllenFW ppp[1987]: LCP: deflink: RecvEchoReply(5) state = 
Opened
 up to here, the VPN is nomal (pinging, etc..)

 just before the owa page finishes
Jun 13 13:46:12 AllenFW ppp[1987]: Phase: deflink: read (0): Got zero bytes
Jun 13 13:46:12 AllenFW ppp[1987]: LCP: deflink: Closing due to CCP completion
Jun 13 13:46:12 AllenFW ppp[1987]: LCP: deflink: LayerDown
Jun 13 13:46:12 AllenFW ppp[1987]: LCP: deflink: SendTerminateReq(4) state = 
Opened
Jun 13 13:46:12 AllenFW ppp[1987]: LCP: deflink: State change Opened --> 
Closing
Jun 13 13:46:12 AllenFW ppp[1987]: Phase: deflink: open -> lcp
Jun 13 13:46:12 AllenFW ppp[1987]: IPCP: deflink: LayerDown: 172.16.3.200
Jun 13 13:46:12 AllenFW ppp[1987]: Phase: Radius(acct): STOP data sent
Jun 13 13:46:12 AllenFW ppp[1987]: Command: pptp: delete! HISADDR
J

I had enabled lqr echo on ppp.conf to see if it could keep things going but it 
made no difference.

*** ppp.conf:

loop:
  set timeout 0
  #set lqrperiod 20
  #set echoperiod 20
  #enable lqr echo
  set log phase chat connect lcp ipcp command
  set device localhost:pptp
  set dial
  set login
  # Server (local) IP address, Range for Clients, and Netmask
  # if you want to use NAT use private IP addresses
  set ifaddr 172.16.3.200 172.16.3.201-172.16.3.239 255.255.255.0
  # add 172.16.3.0 0 HISADDR
  # add default HISADDR
  set server /tmp/loop "" 0177

loop-in:
  set timeout 0
  set log phase lcp ipcp command
  allow mode direct

pptp:
  load loop
  # Authenticate against /etc/passwd
  # enable passwdauth
  disable pap
  disable chap
  disable ipv6
  enable proxy
  accept dns
  enable MSChapV2
  enable mppe
  # set mppe 128 stateless
  set mppe * stateful
  # enable mppc
  disable deflate pred1
  set dns 172.16.3.133
  set nbns 172.16.3.133
  set device !/etc/ppp/secure
  set radius /etc/ppp/radius.conf
  set rad_alive 60

*** pptpd.conf:

debug
nobsdcomp
proxyarp
logwtmp
localip 172.16.3.200
remoteip 172.16.3.201-239
pidfile /var/run/pptpd.pid
+chapms-v2
mppe-40
mppe-128
mppe-stateless


Any suggestion for tweaks/adjustments ?

Thanks,
-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since 2.2.8 [not Pro-Audio YET!!] (99% winfoes FREE)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


How to make macromedia flash working from Opera?

2010-06-13 Thread Yuri


Flash works in firefox (through nspluginwrapper). But not in Opera.
How to make it work in Opera as well?

I have these installed:
linux-f10-flashplugin-10.0r45 Adobe Flash Player NPAPI Plugin
nspluginwrapper-1.3.0_4 A compatibility plugin for Mozilla NPAPI 
(development version)
opera-10.10.20091120_2 Blazingly fast, full-featured, 
standards-compliant browser,


Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


[sterl...@camdensoftware.com: Re: freebsd - for the win]

2010-06-13 Thread Chip Camden
- Forwarded message from Chip Camden  -

On Jun 12 2010 18:39, Chad Perrin wrote:
> On Sat, Jun 12, 2010 at 01:12:55PM -0700, Chip Camden wrote:
> > 
> > Call me fatalistic, but I think there is a direct relationship between
> > FreeBSD's high quality and it's lack of popularity.  If it catered to the
> > common herd, its compromises would be many.
> 
> I believe there is such a relationship, too.  I think the obvious way to
> interpret this recognition of the relationship is as a causal
> relationship where lack of popularity is what (helps/makes) FreeBSD
> maintain higher quality, but I think that's mostly the wrong way around.
> 
> Rather, it is the focus on quality over quantity that keeps it
> "unpopular" (relative to other OSes, anyway).  I also believe that is the
> correct decision, without reservation.  There are things that could be
> done to improve FreeBSD's suitability and attractiveness to a wider
> audience without sacrificing that focus on quality at all -- that could,
> in fact, improve that attractiveness while serving the focus in quality.
> Such things tend to get neglected, though, and I think it is in part
> because of a negative reaction to the idea that populism involves
> sacrifices of quality.
> 
> Popularity, per se, does not result in poorer quality.  Populism,
> however, does -- and both greater popularity *and* a desire for greater
> popularity can create populism.  Note that I'm using the term "populism"
> in a pejorative, apolitical sense, and not in the sense of advocacy for
> the rights of the people, et cetera.
> 
> Anyway . . . for my OS of choice (FreeBSD at the moment), I'd much rather
> err on the side of elitism and quality than on that of egalitarianism and
> quantity.  I just find the occasional statement (which I do *not* think
> is what you were saying) that we should actively *avoid* popularity for
> the sake of quality quite annoying.  I just find the occasional statement
> (which I do *not* think is what you were saying) that we should actively
> *avoid* popularity for the sake of quality . . . well, I find it quite
> annoying.
> 
> -- 
> Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]

I've become an advocate for FreeBSD -- I'd like to see many more people
using it.  But I have no illusions that it will ever reach the vast
majority of computer users without being wrapped in a candy coating like
OS/X.  The real audience, I think, are the thousands of developers who
could appreciate a system like FreeBSD but who have never been
introduced to it.

Sorry, meant to reply to the list.

-- 
Sterling (Chip) Camden
http://camdensoftware.com | http://chipstips.com | http://chipsquips.com

- End forwarded message -

-- 
Sterling (Chip) Camden
http://camdensoftware.com | http://chipstips.com | http://chipsquips.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: freebsd - for the win

2010-06-13 Thread Chip Camden
On Jun 13 2010 09:24, Matthew Seaman wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On 13/06/2010 01:49:39, Chad Perrin wrote:
> > What I *do* find to be of value, however, is improving the installation
> > process so that it is clearer what is going on at each step and improving
> > the efficiency of it without damaging its flexibility.  I don't have any
> > problem with making it easier for a new user to understand and use, as
> > long as it doesn't interfere with the suitability for experts who don't
> > care about whooshing noises, 3D animations, "helpful" cartoon characters,
> > and the ability to use a mouse where it's not really needed.  In fact, I
> > think the world would be a better place if more people used FreeBSD,
> > almost regardless of their levels of technical expertise -- as long as
> > the OS doesn't start catering to their demands for Clippy and spinning
> > logos that take three minutes to load.
> 
> Exactly my thinking.  Style vs substance -- all the style in the world
> won't help you one bit unless it's backed by real substance.
> Unfortunately far too few people are capable of seeing through the
> surface gloss of style to understand the substance beneath.  Style also
> tends to be rather in the eye of the beholder -- one persons' "exciting
> and trendy" is another's "annoying and garish"; whereas substance is
> universal.
> 
> While most FreeBSD types may not have much use for glitz and glitter,
> still, FreeBSD does have it's own aesthetic.  It's minimal, and spare
> and it says "We're not going to pretend that this isn't complicated or
> difficult.  Effort brings reward."  This is something I find incredibly
> attractive; even after more than 10 years it is still refreshing.
> 
>   Cheers,
> 
>   Matthew
> 

The beauty of FreeBSD (and the Unix philosophy in general) is that
simplicity is systemic.  Things work together because they're aligned 
consistently
and without fluff.

I'm certainly in favor of anything that helps the newbie (I'm still a
newbie on a lot of fronts myself) without damaging that simple
consistency.

The trap into which so-called "user-friendly" systems often fall is the
idea that we can help make things simpler for the user by just tacking on
some wizard or UI that will lead them through the process without making
them think about what they're doing.  Those specialized, tacked on
"helpers" end up creating a nightmare of inconsistent time-wasters that
don't provide access to all available options and in the end just obscure
the problem rather than simplifying it.

A true help for the newbie is something that helps move them out of
that status -- something that provides the necessary steps, but also
educates the user on what exactly is being done and why.  That opens a
larger world for future exploration.

-- 
Sterling (Chip) Camden
http://camdensoftware.com | http://chipstips.com | http://chipsquips.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: detached a mounted ufs filesystem

2010-06-13 Thread Polytropon
On Sat, 12 Jun 2010 22:38:15 -0400, "Xihong Yin"  wrote:
> 'fdisk /dev/da0' output is
> 
> *** Working on device /dev/da0 ***
> parameters extracted from in-core disklabel are:
> cylinders=14593 heads=255 sectors/track=63 (16065 blks/cyl)
> 
> Figures below won't work with BIOS for partitions not in cyl 1
> parameters to be used for BIOS calculations are:
> cylinders=14593 heads=255 sectors/track=63 (16065 blks/cyl)
> 
> Media sector size is 512
> Warning: BIOS sector numbering starts with sector 1
> Information from DOS bootblock is:
> The data for partition 1 is:
> sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
>  start 63, size 234436482 (114470 Meg), flag 80 (active)
>  beg: cyl 0/ head 1/ sector 1;
>  end: cyl 1023/ head 254/ sector 63
> The data for partition 2 is:
> 
> The data for partition 3 is:
> 
> The data for partition 4 is:
> 

This indicates that at least the FreeBSD slice seems to be intact.
Maybe it's "just" the label that's missing (and therefore, the
partitions can't be accessed).



> I tried 'fsck_ufs /dev/da0', it says
> 
> ** /dev/da0
> Cannot find file system superblock
> ioctl (GCINFO): Inappropriate ioctl for device
> fsck_ufs: /dev/da0: can't read disk label

You said there was also /dev/da0a, maybe you can check this partition?
Make sure, for the first try, to use the -d flag (debug), so there are
no changes to the file system.



> I forget what layout the disk has. Normally I used /dev/da0s1d
> to mount the disk.

There should be more than one copy of the partition table on the disk.
I'm not sure if I'm mixing up things here, but fsck_ffs also allows
you to refer to a different superblock. Use

# newfs -N /dev/da0a

to print out superblock locations; this command will NOT create a
file system!

Use fsck_ffs -b to refer to a possible alternate superblock
for checking.




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Directory Passwords

2010-06-13 Thread Polytropon
On Sun, 13 Jun 2010 00:15:00 -0400, Bob Hall  wrote:
> On Sat, Jun 12, 2010 at 02:52:59PM -0400, Mike Robins wrote:
> > Hi there, I currently am running a FreeBSD/Samba server for my company
> > with public shares for all of the employees to keep their work related
> > documents in.  I'm wondering if it is possible for me to keep these shares
> > public and add a password to each sub directory in the public share?  This
> > would mean I could give each department a sub directory that only they
> > would know the password to and keep the sensitive documents away from
> > public view.
> 
> Any password known to a group of people quickly becomes public
> knowledge. If you really need to restrict access to a share, this won't
> do it securely. 

There may be another way to implement this functionality - not by
passwords, but by group permissions.

Create the different share directories as needed and give them the
following settings: owner = project leader, group = project group.
Then add the users belonging to the project group to that group,
so they will be able to access the share. Other groups and people
won't have access (u=rw,g=rw,o=nothing). If a user is delegated to
another group, remove him from the project group, and add him to
his new group.

In this way, it's enough for a user to know his own password.



> I'm pretty sure you can integrate Samba into such a system, but
> how to do it is a Samba related question, not a FreeBSD question.

It can easily be done using UFS's user:group and permission
system. I'm not sure in how far it can be manipulated by a
"Windows" client, but finally, there could be an SSH access
with proper rights for a responsible person to take care of
the settings. A dialog based wrapper around pw calls could
also be implemented very fast.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


closing X

2010-06-13 Thread Derek Funk
I have setup PCBSD and a Standard Freebsd with gui. and kbunto. They do 
not close X completely.  I get a flashing screen.
I can still type commands while the screen flashes.  I have done a 
google search but nothing seems to match my problem.


I installed opensolaris and it doesn't do this but I want bsd.

I have a Toshiba Satellite laptop that has intel mobile graphics. Is 
this something with the intel graphics driver or an installed software 
conflict.


Any help is appreciated.

Derek
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


llvm in head?

2010-06-13 Thread Patrick Lamaiziere
Hello,

How to use llvm/clang to build the world and the kernel in HEAD since
the import? The wiki on clangBSD is not clear on this point (I think
it has not been updated).

Thanks, regards.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: evince problem

2010-06-13 Thread Istvan Galgand
> 
> I think I've seen this before. It doesn't care about the file (it just
> creates it if it is missing) but my guess is you are missing the
> directory. So try something like
> 
> mkdir -p ~/.gnome2/evince
> 

It's done. No problems any more.
Thank you very much, you have been most helpful.

Istvan
-- 
This mail was sent by Mutt-1.4.2.3_4,
FreeBSD 8.0-RELEASE-p3, GENERIC amd64
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: evince problem

2010-06-13 Thread Manolis Kiagias
On 13/06/2010 12:30 μ.μ., Istvan Galgand wrote:
>> If you type:
>>
>>  evince BSD_06_2010.pdf
>>
>> at a command prompt, do you see any error messages?
>>
>> Tony
>> 
> Hi Tony,
>
> You are absolutely right, I have tried this. Sorry for my forgetfulness...
> The response is:
>
> [igalg...@freebsd02 /usr/home/igalgand/Desktop/Test]$ evince BSD_06_2010.pdf
>
> ** (evince:1263): WARNING **: Error creating last_settings file: Error 
> opening file
> '/home/igalgand/.gnome2/evince/last_settings': No such file or directory
>
> Being aware of this error message still I do not know how to mitigate, how to 
> create the requested file.
>
> Istvan
>   

I think I've seen this before. It doesn't care about the file (it just
creates it if it is missing) but my guess is you are missing the
directory. So try something like

mkdir -p ~/.gnome2/evince

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: evince problem

2010-06-13 Thread Istvan Galgand
> 
> If you type:
> 
>   evince BSD_06_2010.pdf
> 
> at a command prompt, do you see any error messages?
> 
> Tony

Hi Tony,

You are absolutely right, I have tried this. Sorry for my forgetfulness...
The response is:

[igalg...@freebsd02 /usr/home/igalgand/Desktop/Test]$ evince BSD_06_2010.pdf

** (evince:1263): WARNING **: Error creating last_settings file: Error opening 
file
'/home/igalgand/.gnome2/evince/last_settings': No such file or directory

Being aware of this error message still I do not know how to mitigate, how to 
create the requested file.

Istvan
-- 
This mail was sent by Mutt-1.4.2.3_4,
FreeBSD 8.0-RELEASE-p3, GENERIC amd64
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: evince problem

2010-06-13 Thread Tony McC
On Sun, 13 Jun 2010 07:48:48 +0200
Istvan Galgand  wrote:

> Dear All,
> 
> Gnome desktop. Right click e.g. on BSD_06_2010.pdf icon, selecting
> open with document viewer. A few seconds later the process dies.
> Regarding the issue by means of Google I have found two pieces of
> information. First: check the content of /etc/rc.conf:
> dbus_enable="YES", it is included. Second: use ePDFViewer instead of
> document viewer. I am actually using this and doing a very nice
> job... My question is, shall I give up using document viewer or is
> there any idea how to put document viewer into operation? One more
> thing:
> 
> pkg_version -v | grep evince
> evince-2.30.1_1 =   up-to-date with port

If you type:

evince BSD_06_2010.pdf

at a command prompt, do you see any error messages?

Tony
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: freebsd - for the win

2010-06-13 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 13/06/2010 01:49:39, Chad Perrin wrote:
> What I *do* find to be of value, however, is improving the installation
> process so that it is clearer what is going on at each step and improving
> the efficiency of it without damaging its flexibility.  I don't have any
> problem with making it easier for a new user to understand and use, as
> long as it doesn't interfere with the suitability for experts who don't
> care about whooshing noises, 3D animations, "helpful" cartoon characters,
> and the ability to use a mouse where it's not really needed.  In fact, I
> think the world would be a better place if more people used FreeBSD,
> almost regardless of their levels of technical expertise -- as long as
> the OS doesn't start catering to their demands for Clippy and spinning
> logos that take three minutes to load.

Exactly my thinking.  Style vs substance -- all the style in the world
won't help you one bit unless it's backed by real substance.
Unfortunately far too few people are capable of seeing through the
surface gloss of style to understand the substance beneath.  Style also
tends to be rather in the eye of the beholder -- one persons' "exciting
and trendy" is another's "annoying and garish"; whereas substance is
universal.

While most FreeBSD types may not have much use for glitz and glitter,
still, FreeBSD does have it's own aesthetic.  It's minimal, and spare
and it says "We're not going to pretend that this isn't complicated or
difficult.  Effort brings reward."  This is something I find incredibly
attractive; even after more than 10 years it is still refreshing.

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwUlbcACgkQ8Mjk52CukIzA2gCgi4bgy7yhTuSiAm2etlsn7wIY
ZwgAnjKD7SNtAg2guB9pQDbXDryWt+mI
=J1xx
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"