Re: error: libm.so.4 needed by libspeex may conflict w libm.so.5

2012-05-09 Thread Roland Smith
On Tue, May 08, 2012 at 09:04:18PM -0400, David Banning wrote:
 while attempting to build and install mplayer under FreeBSD Release 8.2 I
 get the error;
 
 /usr/local/bin/ld: warning: libm.so.4, needed by /usr/local/lib/libspeex.so,
 may conflict with libm.so.5 /usr/local/lib/libgdk-x11-2.0.so: undefined
 reference to `XRRGetScreenResourcesCurrent'
 /usr/local/lib/libgdk-x11-2.0.so: undefined reference to
 `XRRGetOutputPrimary' collect2: ld returned 1 exit status gmake: ***
 [mplayer] Error 1
 
 If it's libspeex / libm.so.4 that is causing the error (thats what it looks
 like to me) I wonder how to find out what libspeex is being used for - or
 for that matter what libm.so.4 is needed for.

This sounds like a ports rebuild gone wrong. Did you by any chance upgrade
your ports in-place when updating the system from FreeBSD 7 to FreeBSD 8? Or
did you install libspeex from a package?

Try running the following command: `ldd /usr/local/lib/libspeex.so`. If the
output of that command indeed includes libm.so.4, you should re-install the
libspeex port before continuing. Make sure your ports tree is up-to-date, and
then do:

# cd /usr/ports/audio/speex
# make deinstall
# make install clean

Then continue the mplayer build.

It might be a good idea to check if there are other libraries relying on older
system libs out there;

# find /usr/local/lib -type f -name '*.so' -exec ldd {} \; deps.txt
# grep libm.so.4 deps.txt
# grep libc.so.6 deps.txt

If the grep commands returns any output, you can search deps.txt to see which
library uses the older system libraries.

Roland
-- 
R.F.Smith   http://rsmith.home.xs4all.nl/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpoPTFsPfndf.pgp
Description: PGP signature


Network strangeness only with incoming emailIn-Reply-To=

2012-05-09 Thread Paul Stroo
Hi 
 
Having same problem with barracuda spam firewall. :( 
 
Problem only with some senders and only with attachments. 
Receiving mail from senders without attachment no problems. 
 
Regards, 
Paul Stroo
 

Goes is fairtrade- en millenniumgemeente: duurzaamheid staat bij ons dus hoog 
in het vaandel.
Denkt u daarom alstublieft aan het milieu voordat u dit bericht en eventueel de 
bijlagen (dubbelzijdig) print.

De informatie verzonden met dit E-mail bericht is uitsluitend bestemd voor de 
geadresseerde.
Gebruik van de inhoud ervan door anderen zonder toestemming van de afzender of 
geadresseerde is niet toegestaan.
De gemeente Goes staat niet in voor de juiste en volledige overbrenging van de 
inhoud van een verzonden E-mail, noch voor tijdige ontvangst daarvan.
Mocht dit e-mailbericht ten onrechte bij u zijn terechtgekomen, dan verzoeken 
wij u vriendelijk het te retourneren aan de afzender.
Dit e-mailbericht is gescand op virussen door McAfee
___
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: securing MySQL: easiest/best ways?

2012-05-09 Thread Peter Vereshagin
Hello.

2012/05/08 21:51:49 +0100 Matthew Seaman m.sea...@infracaninophile.co.uk = 
To freebsd-questions@freebsd.org :
MS data dir shared between two servers.  Keeping the configs with the data
MS does have a few advantages.

I know yet another reason to do this.  In common case this isn't mysql-specific.

There may be a 'chroot' feature built into the daemon  like  mysqld  that  means
that daemon does chroot(2) first when  it  is  running,  and  the  directory  to
chroot is the its own data directory, say, /var/db/mysql.

This way it should be able to re-read its configuration file on receiving, say
HUP or USR1 posix signal to chenge its settings on the fly.

This is why in this particular case the configuration file must reside within
the databse directory.

--
Peter Vereshagin pe...@vereshagin.org (http://vereshagin.org) pgp: A0E26627 
___
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: ACPI temprature settings [WAS: Re: laptop very hot and noisy]

2012-05-09 Thread Chris Whitehouse

On 08/05/2012 15:06, Anton Shterenlikht wrote:


Anyway, this was easier than I expected.
I removed a lot of dust from the fan
and the heat sink gills. I also replaced
the thermal material.


I prop my mine up off the desk to get better airflow to the fan intake 
which is on the underside. The fan slows down when I lift it up 
indicating it is moving more air.




I rebuilt gcc47 and saw the highest temperature of 75.
This is on the southern side, so not too bad. The
noise reduced too.

Now, I'd just like to understand better the
meaning of these console messages:

May  8 15:00:08 mech-aslap239 kernel: acpi_tz0: _AC3: temperature 64.0= 
setpoint 40.0
May  8 15:00:08 mech-aslap239 kernel: acpi_tz0: _AC2: temperature 64.0= 
setpoint 50.0
May  8 15:00:18 mech-aslap239 kernel: acpi_tz0: _AC3: temperature 64.0= 
setpoint 40.0
May  8 15:00:18 mech-aslap239 kernel: acpi_tz0: _AC2: temperature 64.0= 
setpoint 50.0
May  8 15:00:28 mech-aslap239 kernel: acpi_tz0: _AC3: temperature 64.0= 
setpoint 40.0
May  8 15:00:28 mech-aslap239 kernel: acpi_tz0: _AC2: temperature 64.0= 
setpoint 50.0
May  8 15:00:38 mech-aslap239 kernel: acpi_tz0: _AC3: temperature 64.0= 
setpoint 40.0
May  8 15:00:38 mech-aslap239 kernel: acpi_tz0: _AC2: temperature 64.0= 
setpoint 50.0
May  8 15:00:48 mech-aslap239 kernel: acpi_tz0: _AC3: temperature 65.0= 
setpoint 40.0
May  8 15:00:48 mech-aslap239 kernel: acpi_tz0: _AC2: temperature 65.0= 
setpoint 50.0

Where are setpoints defined?
What's acpi_tz?
What are AC1, AC2, AC3?
Which kernel tunables are involved in the
switching from one fan speed to another
(assuming AC1, AC2, AC3 are related to fan
speed in some way)?

I had a quick look at ⌡aacpi(4),
but none of the above are mentioned.

Many thanks for all your help.

Google for acpi_tz0: _CRT value is absurd,  ignored and you will find 
a long thread with some hopefully useful pointers. You may need to bone 
up on the ACPI reference and custom ASL's for FreeBSD. I've forgotten 
most of it now but I think you will find references for both of them in 
that thread.


Chris
___
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: UFS Crash and directories now missing

2012-05-09 Thread Alejandro Imass
On Thu, May 3, 2012 at 1:14 PM, Alejandro Imass a...@p2ee.org wrote:
 On Thu, May 3, 2012 at 9:35 AM, Robert Bonomi bon...@mail.r-bonomi.com 
 wrote:


[...]

 One comment: for 'defensive' purposes it would be useful to break ad6 up
 into two slices, putting 'basejail' in it's own slice.  Then, for production
 use, that slice can be mounted RO, and with the 'system immutable' flag
 set on everything in that filesystem.


 Yes. From one of your posts that became somewhat clear to me: Having
 all the jails on a single 150GB slice seems like a bad idea.


For your recommendation above, what are the advantages or differences
of slicing the disk versus partitioning on a single slice?

Thanks,

-- 
Alejandro Imass
___
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


User can't login but /etc/(master.)passwd OK

2012-05-09 Thread n dhert
I have a problem with a login on FreeBSD (8.3-p1)

Dont' know what was done wrong, but a certain user (lets call it
THATUSER) can no longer login.

the entries for 'THATUSER in /etc/passwd and /etc/master.passwd are still
the same as from a backup
of 14 days ago (no change in encrypted passwd)
The /etc/pwd.db and /etc/spwd.db  are binary files so I can't check..

The home-directory of THATUSER is still present and contents looks normal ..

All users have quota, but for this particular user:
# quota -v THATUSER
responds
quota: THATUSER: unknown user
# edquota -u THATUSER
edquota: THATUSER: no such user
# repquota /home does not show that user anymore

Other users, no problem
So it seems that user is unknown to the system ??

What can be the reason and how to solve ?
___
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: UFS Crash and directories now missing

2012-05-09 Thread Erich Dollansky
Hi,

On Wednesday 09 May 2012 18:57:06 Alejandro Imass wrote:
 On Thu, May 3, 2012 at 1:14 PM, Alejandro Imass a...@p2ee.org wrote:
  On Thu, May 3, 2012 at 9:35 AM, Robert Bonomi bon...@mail.r-bonomi.com 
  wrote:
 
 
 [...]
 
  One comment: for 'defensive' purposes it would be useful to break ad6 up
  into two slices, putting 'basejail' in it's own slice.  Then, for 
  production
  use, that slice can be mounted RO, and with the 'system immutable' flag
  set on everything in that filesystem.
 
 
  Yes. From one of your posts that became somewhat clear to me: Having
  all the jails on a single 150GB slice seems like a bad idea.
 
 
 For your recommendation above, what are the advantages or differences
 of slicing the disk versus partitioning on a single slice?
 
it could be a misunderstanding. What is a partition? What is a slice. I have to 
look always into the handbook. Anyway, as long the OS see different units which 
have to be mounted independent of each other, it all does not matter what is 
what.

Erich
___
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: UFS Crash and directories now missing

2012-05-09 Thread Alejandro Imass
On Wed, May 9, 2012 at 8:53 AM, Erich Dollansky
er...@alogreentechnologies.com wrote:
 Hi,

 On Wednesday 09 May 2012 18:57:06 Alejandro Imass wrote:
 On Thu, May 3, 2012 at 1:14 PM, Alejandro Imass a...@p2ee.org wrote:
  On Thu, May 3, 2012 at 9:35 AM, Robert Bonomi bon...@mail.r-bonomi.com 
  wrote:
 

 [...]

  One comment: for 'defensive' purposes it would be useful to break ad6 up
  into two slices, putting 'basejail' in it's own slice.  Then, for 
  production
  use, that slice can be mounted RO, and with the 'system immutable' flag
  set on everything in that filesystem.
 
 
  Yes. From one of your posts that became somewhat clear to me: Having
  all the jails on a single 150GB slice seems like a bad idea.
 

 For your recommendation above, what are the advantages or differences
 of slicing the disk versus partitioning on a single slice?

 it could be a misunderstanding. What is a partition? What is a slice. I have 
 to look always into the handbook. Anyway, as long the OS see different units 
 which have to be mounted independent of each other, it all does not matter 
 what is what.


I meant in Unix terms of course. Slice is slice (partition in other
OS) and partition a thru h

The question is if it has any advantage of using a slice to mount the
basejail in RO as opposed to doing the same thing on a partition.

Thanks,

-- 
Alejandro Imass
___
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: User can't login but /etc/(master.)passwd OK

2012-05-09 Thread Polytropon
On Wed, 9 May 2012 14:04:35 +0200, n dhert wrote:
 the entries for 'THATUSER in /etc/passwd and /etc/master.passwd are still
 the same as from a backup
 of 14 days ago (no change in encrypted passwd)
 The /etc/pwd.db and /etc/spwd.db  are binary files so I can't check..

You can easily rebuild them from the text files using pwd_mkdb.
Is /ect/group also okay?



 The home-directory of THATUSER is still present and contents looks normal ..

Does the home directory itself (the path leading to it)
also look correct (owner  permissions)?



 All users have quota, but for this particular user:
 # quota -v THATUSER
 responds
 quota: THATUSER: unknown user
 # edquota -u THATUSER
 edquota: THATUSER: no such user
 # repquota /home does not show that user anymore

Maybe a side effect? Can you provide more error messages
maybe? Does /var/log/messages or /var/log/auth.log show
something relevant when the user in question attempts an
login?




-- 
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: UFS Crash and directories now missing

2012-05-09 Thread Polytropon
On Wed, 9 May 2012 09:30:37 -0400, Alejandro Imass wrote:
 On Wed, May 9, 2012 at 8:53 AM, Erich Dollansky
 er...@alogreentechnologies.com wrote:
  For your recommendation above, what are the advantages or differences
  of slicing the disk versus partitioning on a single slice?
 
  it could be a misunderstanding. What is a partition? What is a slice. I 
  have to look always into the handbook. Anyway, as long the OS see different 
  units which have to be mounted independent of each other, it all does not 
  matter what is what.
 
 
 I meant in Unix terms of course. Slice is slice (partition in other
 OS) and partition a thru h
 
 The question is if it has any advantage of using a slice to mount the
 basejail in RO as opposed to doing the same thing on a partition.

The answer is: It it not possible. :-)

You cannot mount a slice.

Given the BSD terminology: A slice _has_ to contain partitions.
You cannot format a slice, you can only format partitions. A
formatted partition carries a UFS file system. (However, it's
possible to omit the slice, and partition the whole disk instead,
this is called dedicated mode). A third method is formatting
the whole disk (the 'c' device), in that case the 'c' is omitted.

The _only_ time you can mount a slice is when it is used in its
common meaning, being a DOS primary partition; in this case,
a FAT or NTFS file system will be placed directly into a slice,
as those do not support any (BSD-style) partitioning.

/dev/ad0- the disk
/dev/ad0s1  - 1st slice
/dev/ad0s1a - 1st partition on 1st slice
   THIS is something you can mount.
-or-
/dev/ad0a   - 1st partition on disk (dedicated)
   THIS can also be mounted.
-or-
/dev/ad0- the whole disk (equals /dev/ad0c)
   Even THIS can be mounted.

In case I'm misunderstanding your question, could you alter the
expression?



-- 
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: UFS Crash and directories now missing

2012-05-09 Thread Erich Dollansky
Hi,

On Wednesday 09 May 2012 20:30:37 Alejandro Imass wrote:
 On Wed, May 9, 2012 at 8:53 AM, Erich Dollansky
 er...@alogreentechnologies.com wrote:
  Hi,
 
  On Wednesday 09 May 2012 18:57:06 Alejandro Imass wrote:
  On Thu, May 3, 2012 at 1:14 PM, Alejandro Imass a...@p2ee.org wrote:
   On Thu, May 3, 2012 at 9:35 AM, Robert Bonomi bon...@mail.r-bonomi.com 
   wrote:
  
 
  [...]
 
   One comment: for 'defensive' purposes it would be useful to break ad6 up
   into two slices, putting 'basejail' in it's own slice.  Then, for 
   production
   use, that slice can be mounted RO, and with the 'system immutable' flag
   set on everything in that filesystem.
  
  
   Yes. From one of your posts that became somewhat clear to me: Having
   all the jails on a single 150GB slice seems like a bad idea.
  
 
  For your recommendation above, what are the advantages or differences
  of slicing the disk versus partitioning on a single slice?
 
  it could be a misunderstanding. What is a partition? What is a slice. I 
  have to look always into the handbook. Anyway, as long the OS see different 
  units which have to be mounted independent of each other, it all does not 
  matter what is what.
 
 
 I meant in Unix terms of course. Slice is slice (partition in other
 OS) and partition a thru h
 
 The question is if it has any advantage of using a slice to mount the
 basejail in RO as opposed to doing the same thing on a partition.
 
I do not think so. As long it is mounted as a separated unit, FreeBSD has to 
keep everything separated.

Erich
___
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: User can't login but /etc/(master.)passwd OK

2012-05-09 Thread Robert Bonomi
 From owner-freebsd-questi...@freebsd.org  Wed May  9 07:09:19 2012
 Date: Wed, 9 May 2012 14:04:35 +0200
 From: n dhert ndhert...@gmail.com
 To: freebsd-questions@freebsd.org
 Subject: User can't login but /etc/(master.)passwd OK

 I have a problem with a login on FreeBSD (8.3-p1)

 Dont' know what was done wrong, but a certain user (lets call it
 THATUSER) can no longer login.

 the entries for 'THATUSER in /etc/passwd and /etc/master.passwd are still
 the same as from a backup
 of 14 days ago (no change in encrypted passwd)
 The /etc/pwd.db and /etc/spwd.db  are binary files so I can't check..

 The home-directory of THATUSER is still present and contents looks normal ..

Details are *IMPORTANT* grin

What is shown for the 'owner' useraame/groupname for files in that directory?

What does a long-form listing of the entry for the home-directory _itself_
show?  Specifically with regard to the 'owner' username and groupname?

 All users have quota, but for this particular user:
 # quota -v THATUSER
 responds
 quota: THATUSER: unknown user
 # edquota -u THATUSER
 edquota: THATUSER: no such user
 # repquota /home does not show that user anymore

 Other users, no problem
 So it seems that user is unknown to the system ??

 What can be the reason and how to solve ?

All of this suggests that user THATUSER is -not- the name that you think
it is.

Possibly that some glyph in THATUSER is not in the ASCII set, but is an
'extended' character  that 'looks like' an ASII symbol in what you are
keyboarding to represent THATUSER.

*OR* that there is 'whitespace' preceeding/following THATUSER.

*OR* that there is an embedded {char}[BS] sequence.

Does 'grep THATUSER /etc/passwd' produce a user line as you expect?

IF so, does 'grep THATUSER /etc/passwd | od -xc' show anything
'unexpected'?

How about the same checks on /etc/master.passwd ?







___
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: User can't login but /etc/(master.)passwd OK

2012-05-09 Thread Michael Sierchio
On Wed, May 9, 2012 at 8:03 AM, Robert Bonomi bon...@mail.r-bonomi.com wrote:

 Details are *IMPORTANT* grin

What's the user's shell in the password file, and does that shell:
exist?  executable?  In the /etc/shells file?
___
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


Questions on adaptive mutexes and trylock

2012-05-09 Thread Joe Marcus Clarke
The newest GLib (as well as PHP APC) is starting to use adaptive mutexes
in their code.  When a mutex type is set to adaptive and you try to call
pthread_mutex_trylock() on it, you get back an EINVAL.  Is this a bug,
or should this really be happening (the code clearly indicates adaptive
mutexes are not handled by trylock)?

I imagine Linux is not doing this since the code doesn't abort on Linux
as it does on FreeBSD.  Should we be silently allowing trylock to
perform a no-op on adaptive mutexes, or should we be handling adaptive
mutexes with trylock?  Thanks.

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc
___
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: User can't login but /etc/(master.)passwd OK

2012-05-09 Thread Brian

On 5/9/2012 8:08 AM, Michael Sierchio wrote:

On Wed, May 9, 2012 at 8:03 AM, Robert Bonomibon...@mail.r-bonomi.com  wrote:


Details are *IMPORTANT*grin

What's the user's shell in the password file, and does that shell:
exist?  executable?  In the /etc/shells file?
___
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
The OP probably ought to look at /var/log files as well to see if 
anything is revealed there. Access can be denied for reasons other than 
passwords.


BW
___
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: User can't login but /etc/(master.)passwd OK

2012-05-09 Thread Tim K

On 05/09/12 12:02, Brian wrote:

On 5/9/2012 8:08 AM, Michael Sierchio wrote:
On Wed, May 9, 2012 at 8:03 AM, Robert 
Bonomibon...@mail.r-bonomi.com  wrote:



Details are *IMPORTANT*grin

What's the user's shell in the password file, and does that shell:
exist?  executable?  In the /etc/shells file?
___
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
The OP probably ought to look at /var/log files as well to see if 
anything is revealed there. Access can be denied for reasons other 
than passwords.


BW


And a su -l [thatuser] as root would probably spit out some handy 
console messages right away.


Tim
___
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: Questions on adaptive mutexes and trylock

2012-05-09 Thread jb
Joe Marcus Clarke marcus at marcuscom.com writes:

 
 The newest GLib (as well as PHP APC) is starting to use adaptive mutexes
 in their code.  When a mutex type is set to adaptive and you try to call
 pthread_mutex_trylock() on it, you get back an EINVAL.  Is this a bug,
 or should this really be happening (the code clearly indicates adaptive
 mutexes are not handled by trylock)?

Adaptive mutex is a combination of a mutex and a spinlock with adjusted
duration of spinning (trylocking).

The primary purpose of a spinlock is to protect portions of the code that
implement other synchronization primitives such as a mutex, etc.

The pthread_mutex_trylock() attempts to acquire a lock on a mutex.

It follows it is proper to deny direct access to (adaptive) mutex by
pthread_mutex_trylock().
 
 I imagine Linux is not doing this since the code doesn't abort on Linux
 as it does on FreeBSD.  Should we be silently allowing trylock to
 perform a no-op on adaptive mutexes, or should we be handling adaptive
 mutexes with trylock?  Thanks.

I do not know why Linux handles it the way it does.

jb


___
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: Samba acting oddly.

2012-05-09 Thread Johan Hendriks

On 06-05-12 16:08, Graeme Dargie wrote:

I have a problem with Samba, well I think it is samba as one machine I have 
access to when I try to perform an action like create a new folder in my home folder 
windows spouts that I need permission and would I like to try again.

I guess some background would be useful at this point, I have 3 FreeBSD 
machines that were running 8.2 AMD 64, some kind souls on this list were able 
to help me get Samba working using Active Directory, I upgraded to 9.0 when it 
became available and everything seemed to be fine.

I happened to be needing to create a perl script that would allow two users to 
chat over a network, so rather than fiddling about with Linux and VM`s .. I 
just used two of my FreeBSD machines, this is when I noticed the issue.

Only one machine shows this problem, the others let me happily create / delete 
stuff in the home folder other shares on the problematic machine are fine.

The configuration files for all 3 machines is included below, but I just cannot 
seen to see why 2 work and 1 does as all three are running Samba35-3.5.6.2 so 
any help or pointers would be welcome.

Regards
Graeme



Machine Eris - samba works perfectly

Smb.conf looks like this
[global]
workgroup = UNIVERSE
realm = UNIVERSE.GALAXY.LCL
netbiosname = ERIS
interfaces = re0
security = ads
allow trusted domains = yes

idmap uid = 5000-1
#idmap gid = 15000-2
winbind gid = 5000-1
template homedir = /usr/home/%U
template shell = /bin/csh
winbind cache time = 3600
winbind nested groups = yes
winbind use default domain = yes
winbind separator = |
winbind enum users = yes
winbind enum groups = yes
winbind offline logon = yes
syslog only = Yes
socket options =  SO_RCVBUF=131072 SO_SNDBUF=131072 TCP_NODELAY
use sendfile = yes
read raw = yes
use sendfile = yes
local master = no
use sendfile = yes
dns proxy = no
username map = /usr/local/samba/usermap

# ACL Support
map acl inherit = yes
#acl group inherit = yes
acl group control = yes

# LOGGING
log file = /var/log/samba/%m
log level = 1
max log size = 1000
syslog = 2
### recycle bin code
# bin
 vfs object = recycle
 recycle:repository = .RecycleBin/%U
 recycle:keeptree = Yes
 recycle:touch = Yes
 recycle:versions = Yes
 recycle:maxsize = 0
 recycle:exclude = *.tmp
 recycle:exclude_dir = /tmp
 recycle:noversions = *.ppt


[homes]
readonly=no


other shares below

Machine Proteus - samba working a charm ...
[global]

workgroup = UNIVERSE
realm = UNIVERSE.GALAXY.LCL
netbiosname = PROTEUS
interfaces = re0
security = ads
allow trusted domains = yes

idmap uid = 5000-1
#idmap gid = 15000-2
winbind gid = 5000-1
template homedir = /usr/home/%U
template shell = /bin/csh
winbind cache time = 3600
winbind nested groups = yes
winbind use default domain = yes
winbind separator = |
winbind enum users = yes
winbind enum groups = yes
winbind offline logon = yes
syslog only = Yes
socket options = TCP_NODELAY SO_RCVBUF=65536 SO_SNDBUF=65536
use sendfile = yes
read raw = yes
use sendfile = yes
local master = no
use sendfile = yes
dns proxy = no
username map = /usr/local/samba/usermap

# ACL Support
map acl inherit = yes
#acl group inherit = yes
acl group control = yes

# LOGGING
log file = /var/log/samba/%m
log level = 1
max log size = 1000
syslog = 2


[homes]
read only = No


Both of these work with no issues.

However Amalthea which is the machine showing the problem, the smb.conf is the 
following

[global]
workgroup = UNIVERSE
realm = UNIVERSE.GALAXY.LCL
netbiosname = amalthea
interfaces = nfe0
security = ads
allow trusted domains = yes

idmap uid = 5000-1
#idmap gid = 15000-2
winbind gid = 5000-1
template homedir = /usr/home/%U
template shell = /bin/csh
winbind cache time = 3600
winbind nested groups = yes
winbind use default domain = yes
winbind separator = |
winbind enum users = yes
winbind enum groups = yes
winbind offline logon = yes
syslog only = Yes
socket options = TCP_NODELAY SO_RCVBUF=65536 SO_SNDBUF=65536
use sendfile = yes
read raw = yes
use sendfile = yes
local master = no
use sendfile = yes
dns proxy = no
username map = /usr/local/samba/usermap

# ACL Support
map acl inherit = yes
#acl group inherit = yes
acl group control = yes

# LOGGING
log file = /var/log/samba/%m
log level = 1
max log size = 1000syslog = 2

### recycle bin code
# bin
 vfs object = recycle
 recycle:repository = .RecycleBin/%U
 recycle:keeptree = Yes
 recycle:touch = Yes
 recycle:versions = Yes
 recycle:maxsize = 0
 recycle:exclude = *.tmp
 recycle:exclude_dir = /tmp
 recycle:noversions = *.ppt


[homes]
readonly=no

___
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


This is not the solution, but there are some things i 

Re: djvu viewers from ports or add capability to view to xpdf, gv or other

2012-05-09 Thread Polytropon
On Wed, 9 May 2012 16:35:03 -0500, Antonio Olivares wrote:
 Dear folks,
 
 How can I add the capability of viewing djvu files to say xpdf or gv
 without installing evince?
 
 Or is there a small djvu viewer available in ports that can be installed 
 easily?

You can install the port ImageMagick with support for djvu
format. To view a file, simply call display file. Not tested.



-- 
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


Nasi Lemak Without Nasi?

2012-05-09 Thread Lelong Mailer
You're receiving this newsletter because you subscribed from our website.  
Can't see the message? View it in browser.












Come and join our Free Training Class!







happy customer What our happy customer says: happy customer Tips of the day:

We like to thank you for your remarkable services and assistant to help us  
to grow our online business.
Before we run our promotion/advertise in Lelong, our business no really  
doing so well and business volume is very small and inconsistent.


However after we run our promotion in Lelong.com.my we can see remarkable  
improvement. Customer confidence to purchase product from us via Lelong and  
at the same time customer also been introduced to our company website. Now  
the customer is comfortable to order and re-order from us, and very  
frequent too.


Currently 40% of our sales channel from lelong.com.my, we love to see more  
and more new feature from Lelong that can plugin into our store and can  
make the purchase process become more and more simplified.


Keep on the good job.

Jack Lee
allfix.com.my (Malaysia First Online Hardware Store)
special promotions 7 Reasons to Start an E-Commerce Business (Part Time or  
Full Time)


Owning a business can be emotionally fulfilling and financial enriching.  
Tens of thousands of new ventures are started each year. E-Commerce  
businesses frequently require less capital and less time to start than  
brick and mortal retail or services operation. So why not get going?


Certainly starting an online business is not without its trials and  
pitfalls. But for every reason someone could name not to start a new  
ecommerce-based business, there are plenty of good reasons to go ahead.  
What follows is a simple list of seven reasons to start an ecommerce  
business.


Want to know more?
Read more in Lelong Education page






Upcoming Activity: Previous Activity:


May 2012 ( Damansara Campus)

If you wish us to drop by to your University or College,
email us at e...@lelong.com.my Penang Education Tour
Our Education Tour to Penang on 5 - 6 May 2012!

Also View ALL Picture Gallery





Come and join our Free Training Class!
Seats are limited.





We would love to hear from you! Don't hesitate to call us at 017-686 4568 /  
017-686 1522 for any enquiries!





Powered by Lelong.my



You are receiving this e-mail because you are in our mailing list.
If you do not wish to receive further newsletters, you may unsubscribe by  
clicking Here




___
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