Re: pure-ftpd Ldap

2013-06-29 Thread maral ff
this is my file  pureftpd_ldap.conf:

#
#   #
# Sample Pure-FTPd LDAP configuration file. #
# See README.LDAP for explanations. #
#   #
#


# Optional : name of the LDAP server. Default : localhost

LDAPServer localhost


# Optional : server port. Default : 389

LDAPPort   389


# Mandatory : the base DN to search accounts from. No default.

LDAPBaseDN cn=Users,dc=test,dc=com #Testing is a typical example of
this is the fact


# Optional : who we should bind the server as.
#Default : binds anonymously or binds as FTP users

LDAPBindDN cn=Manager,dc=test,dc=com   #Testing is a typical example of
this is the fact


# Password if we don't bind anonymously
# This configuration file should be only readable by root

LDAPBindPW secret


# Optional : default UID, when there's no entry in a user object

 LDAPDefaultUID 500


# Optional : default GID, when there's no entry in a user object

 LDAPDefaultGID 100


# Filter to use to find the object that contains user info
# \L is replaced by the login the user is trying to log in as
# The default filter is ((objectClass=posixAccount)(uid=\L))

# LDAPFilter ((objectClass=PureFTPdUser)(uid=\L))


# Attribute to get the home directory
# Default is homeDirectory (the standard attribute from posixAccount)

 LDAPHomeDir FTPHomeDir


# LDAP protocol version to use
# Version 3 (default) is mandatory with recent releases of OpenLDAP.

 LDAPVersion 3


# Optional: use TLS to connect to the LDAP server
# LDAPUseTLS  True


# Can be PASSWORD or BIND.
# PASSWORD retrieves objects and checks against the userPassword attribute
# BIND tries to bind

#LDAPAuthMethod ldap


# Optional: default home directory if there's LDAPHomeDir entry

# LDAPDefaultHomeDirectory /var/shared



this is my file  pure_ftpd.conf:



#  #
# Configuration file for pure-ftpd wrappers#
#  #


# If you want to run Pure-FTPd with this configuration
# instead of command-line options, please run the
# following command :
#
# /usr/local/sbin/pure-config.pl /usr/local/etc/pure-ftpd.conf
#
# Please don't forget to have a look at documentation at
# http://www.pureftpd.org/documentation.shtml for a complete list of
# options.

# Cage in every user in his home directory

ChrootEveryone  yes



# If the previous option is set to no, members of the following group
# won't be caged. Others will be. If you don't want chroot()ing anyone,
# just comment out ChrootEveryone and TrustedGID.

# TrustedGID100



# Turn on compatibility hacks for broken clients

BrokenClientsCompatibility  no



# Maximum number of simultaneous users

MaxClientsNumber50



# Fork in background

Daemonize   yes



# Maximum number of sim clients with the same IP address

MaxClientsPerIP 8



# If you want to log all client commands, set this to yes.
# This directive can be duplicated to also log server responses.

VerboseLog  no



# List dot-files even when the client doesn't send -a.

DisplayDotFiles yes



# Don't allow authenticated users - have a public anonymous FTP only.

AnonymousOnly   no



# Disallow anonymous connections. Only allow authenticated users.

NoAnonymous no



# Syslog facility (auth, authpriv, daemon, ftp, security, user, local*)
# The default facility is ftp. none disables logging.

SyslogFacility  ftp



# Display fortune cookies

# FortunesFile  /usr/share/fortune/zippy



# Don't resolve host names in log files. Logs are less verbose, but
# it uses less bandwidth. Set this to yes on very busy servers or
# if you don't have a working DNS.

DontResolve yes



# Maximum idle time in minutes (default = 15 minutes)

MaxIdleTime 15



# LDAP configuration file (see README.LDAP)

 LDAPConfigFile/usr/local/etc/pureftpd-ldap.conf
 createHomeDir yes


# MySQL configuration file (see README.MySQL)

# MySQLConfigFile   /etc/pureftpd-mysql.conf


# Postgres configuration file (see README.PGSQL)

# PGSQLConfigFile   /etc/pureftpd-pgsql.conf


# PureDB user database (see README.Virtual-Users)

# PureDB/etc/pureftpd.pdb


# Path to pure-authd socket (see README.Authentication-Modules)

# ExtAuth   /var/run/ftpd.sock



# If you want to enable PAM authentication, uncomment the following line

# PAMAuthentication yes



# If you want simple Unix (/etc/passwd) authentication, uncomment this

# UnixAuthentication

already active DMA on this device FAILURE at startup

2013-06-29 Thread s m
hello all,

i have FreeBSD8.2 on my system. occasionally,  i see some strange errors in
startup and freebsd can not boot correctly. when i reset my system
everything is ok and freebsd boot successfully. these are errors which
appear in statrtup:

ata1: setting up DMA failed
ad3: WARNING - READ_DMA requeued due to channel reset LBA=25167888
ata1: FAILURE - already active DMA on this device

these errors repeat more and more.

i don't know what's wrong in my freebsd. i have used freebsd for several
years and have not seen these errors before.
last few days ago, i set a separate partition for etc. can separate etc
partition cause this problem? how can i solve it to never see these errors
again? (i need a separate partition for etc)

thanks in advance,
SAM
___
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


Any FreeBSD version support display card in AMD APU?

2013-06-29 Thread alphachi
I have an ASUS EeePC 1015B with APU C-50, and the core display card is
Readon HD6250.

I want to know whether FreeBSD 9 Stable or 10 Current support it as TTM
working.

BTW, can anybody recommend some Notebooks supporting FreeBSD perfectly?
___
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


stack overflow

2013-06-29 Thread Peter Laurie

Hi

I'm working on a program using FreeBSD v 1.7.

This project has been going for years and has a lot of functions calls 
some using far more arguments than these. I've never seen this error before.


I have one funct8ion that has suddenly refused to run because on the 
call I get a 'stack overflow' message.


I'm passing a pointer to a structure and then 5 ints. Everything is 
fine, but I need to pass a bit more data. If I pass a sixth int I get 
the overflow message.


I've increased the stack from the default 4096 to 20 * 1024 * 1024 
without effect.


Yours Peter Laurie
--
Peter Laurie
Office (44) 01305 871131
Home (44) 01305 871532
Voice messaging on both lines, but I don't often check it.
Email is more reliable.

Interested in Roman roads? Have a look at 
http://alsystems.algroup.co.uk/archaeology


Beneath the City Streets is on Google Books at

http://books.google.com/books?id=zAf-uwRCdXwC
___
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: stack overflow

2013-06-29 Thread Mehmet Erol Sanliturk
Making single variables a record and then passing that single record ( not
by value , but by reference )  may reduce stack requirement .


New stack size ( 20 * 1024 * 1024 ) may not be effective . There is a
necessity to check that the new definition is accepted .

There may be a large recursive call number to exhaust the stack . If there
is such a recursive call , elimination of this recursive call may reduce
the required stack size .

If local data size is large , moving them into a record , and allocating
that record in heap may reduce stack requirement .


Thank you very much .

Mehmet Erol Sanliturk







On Sat, Jun 29, 2013 at 5:35 AM, Peter Laurie p.c.s.laurie...@cantab.netwrote:

 Hi

 I'm working on a program using FreeBSD v 1.7.

 This project has been going for years and has a lot of functions calls
 some using far more arguments than these. I've never seen this error before.

 I have one funct8ion that has suddenly refused to run because on the call
 I get a 'stack overflow' message.

 I'm passing a pointer to a structure and then 5 ints. Everything is fine,
 but I need to pass a bit more data. If I pass a sixth int I get the
 overflow message.

 I've increased the stack from the default 4096 to 20 * 1024 * 1024 without
 effect.

 Yours Peter Laurie
 --
 Peter Laurie
 Office (44) 01305 871131
 Home (44) 01305 871532
 Voice messaging on both lines, but I don't often check it.
 Email is more reliable.

 Interested in Roman roads? Have a look at http://alsystems.algroup.co.**
 uk/archaeology http://alsystems.algroup.co.uk/archaeology

 Beneath the City Streets is on Google Books at

 http://books.google.com/books?**id=zAf-uwRCdXwChttp://books.google.com/books?id=zAf-uwRCdXwC
 __**_
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-**
 unsubscr...@freebsd.org 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: Firefox 21 not proceeding to URL

2013-06-29 Thread Jerry
On Sat, 29 Jun 2013 07:53:13 +0200
Leslie Jensen articulated:

 
 
 2013-06-28 19:07, Jerry skrev:
  Using Firefox 21, if I enter this URL:
 
  http://www.nclawreview.org/documents/91/1/wegner.pdf
 
  nothing happens. The PDF is not displayed nor is there any evidence
  that Firefox did anything at all.
 
  Now, entering the same URL using the same version of Firefox on a
  Windows machine, it works perfectly. No surprise there. Why is it
  failing on the FreeBSD machine? I posted on another forum and was
  told it works under Linux, so it must be a FreeBSD problem. Can
  anyone confirm this or have an idea what the problem is?
 
 
 It works for me.

It turns out the problem was caused by the PDF Download add-on I had
installed. I disabled it and all is well again. I contacted the author
who informed me that it works on *.nix  and the problem probably lies
with FreeBSD; however, he will look into it. In other words, it isn't
gong to be fixed anytime soon, if at all.  There is just no urgency is
wasting the time to fix a problem for a small niche of users and an
even smaller niche who are employing their add-on combined with an
infinitesimal number of users actually trying to access a site similar
to the one shown above.

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

___
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

question, following error Shared object libc.so.6 not found, required by fortune

2013-06-29 Thread Rev Herbert Miller
I was trying to use the content management system for our website.  I needed to 
restart on terminal but I keep coming up with the following error:  I don't 
know programing at all, so don't know if this is something I can fix.


Shared object libc.so.6 not found, required by fortune

Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variable is needed to run this program
root@psumc:/usr/local/tomcat5.5 # bin/startup.sh
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variable is needed to run this program
root@psumc:/usr/local/tomcat5.5 # su -c 'killall -9 java'
___
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: question, following error Shared object libc.so.6 not found, required by fortune

2013-06-29 Thread Polytropon
On Sat, 29 Jun 2013 10:48:38 -0400, Rev Herbert Miller wrote:
 I was trying to use the content management system for our website. 
 I needed to restart on terminal but I keep coming up with the
 following error:  I don't know programing at all, so don't know
 if this is something I can fix.

In worst case, notify your system administrator.



 Shared object libc.so.6 not found, required by fortune

This kind of error often indicates an incomplete system update
were libraries are out of date or missing. What way of system
update has been performed?



 root@psumc:/usr/local/tomcat5.5 # bin/startup.sh
 Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
 At least one of these environment variable is needed to run this program

That can be a side effect, maybe some accidentally overwritten
configuration file or a program that's unable to run due to a
missing dependency?

What happens if you manually define those variables to the proper
valies and try again, e. g.

# setenv JAVA_HOME=/usr/local/where your JAVA stuff is
# setenv JRE_HOME=/usr/local/where your runtime lives
# bin/startup,sh

Does this produce a different result?



 root@psumc:/usr/local/tomcat5.5 # su -c 'killall -9 java'

That command doesn't make sense. The prompt indicates that you
are already root. The -c parameter for the su command is missing
an argument, the class. See man su for details, no programming
knowledge required. ;-)


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


ALT key problem with Virtual Box?

2013-06-29 Thread Scott Ballantyne
Hi,

I'm running Windows 7 under VirtualBox 4.2.6_OSE, and it seems the ALT
key doesn't work. I need to use Photoshop, and there are a few
operations that require a combination of holding down the ALT key and
using a left-mouse-button click.

I've googled and found reports on Linux from 2011 of this problem, but
none of the solutions I've tried have fixed the problem. I'm using
Gnome as my window manager, if that has any bearing on the issue.

Anybody here found a solution, or have an idea?

Thanks very much for any help.

Scott
-- 
s...@ssr.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: ALT key problem with Virtual Box?

2013-06-29 Thread Polytropon
On 29 Jun 2013 16:24:57 -, Scott Ballantyne wrote:
 Hi,
 
 I'm running Windows 7 under VirtualBox 4.2.6_OSE, and it seems the ALT
 key doesn't work. I need to use Photoshop, and there are a few
 operations that require a combination of holding down the ALT key and
 using a left-mouse-button click.
 
 I've googled and found reports on Linux from 2011 of this problem, but
 none of the solutions I've tried have fixed the problem. I'm using
 Gnome as my window manager, if that has any bearing on the issue.

Maybe this is the reason. Several window managers are using
Alt + left mouse key for a windowing operation (usually moving
the window without requiring dragging it by the title bar).
Check if you can unconfigure this setting in Gnome's window
management preferences.




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


Problems getting my Huawei 0x140b USB modem to speak to internet

2013-06-29 Thread Manish Jain

Hello All,

I have a a Huawei USB modem (product id 0x140b) which is connected to my 
PC. I downloaded and installed Draisberghof's usb_modeswitch.


The following are the contents of my /etc/usb_modeswitch.conf :

DisableSwitching=0
EnableLogging=1
DefaultVendor=0x12d1
DefaultProduct=0x140b
TargetVendor=0x12d1
TargetProduct=0x1446
CheckSuccess=20
MessageEndpoint=0x0f
MessageContent=55534243123456780011062001

When I run usb_modeswitch -c /etc/usb_modeswitch.conf, I get the 
following message :


Looking for target devices ...
 No devices in target mode or class found
Looking for default devices ...
   found matching product ID
   adding device
 Found device in default mode, class or configuration (1)
Accessing device 010 on bus 000 ...
Getting the current device configuration ...
 OK, got current device configuration (1)
Using interface number 0
Error: can't use storage command in MessageContent with interface 0;
   interface class is 255, should be 8. Aborting.


So my FreeBSD box cannot speak to internet and I have boot MS-DOG for 
this holy purpose. Can someone please suggest a remedy ?


Thanks in advance 
--
Regards,

Manish Jain
+91-88064-38388
___
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: ALT key problem with Virtual Box?

2013-06-29 Thread Scott Ballantyne

 On 29 Jun 2013 16:24:57 -, Scott Ballantyne wrote:
  Hi,
  
  I'm running Windows 7 under VirtualBox 4.2.6_OSE, and it seems the ALT
  key doesn't work. I need to use Photoshop, and there are a few
  operations that require a combination of holding down the ALT key and
  using a left-mouse-button click.
  
  I've googled and found reports on Linux from 2011 of this problem, but
  none of the solutions I've tried have fixed the problem. I'm using
  Gnome as my window manager, if that has any bearing on the issue.
 
 Maybe this is the reason. Several window managers are using
 Alt + left mouse key for a windowing operation (usually moving
 the window without requiring dragging it by the title bar).
 Check if you can unconfigure this setting in Gnome's window
 management preferences.


Thank you. I changed the setting to use the windows key instead of ALT
for window dragging, but sadly it didn't help my other difficulty.

Thanks so much, though!

Best,
Scott
___
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


Baker Invites freebsd-questions@freebsd.org to spend holiday in Goa

2013-06-29 Thread John Baker
 - This mail is a HTML mail. Not all elements could be shown in plain text 
mode. -

Hi,
Still plan where to spend your vacation, where you can relax, enjoy and store 
the golden memories of your vacation. Visit
http://travaholic.in
Your ultimate guide.
Regards ...
John Baker
Note : If you are not the intended receipt and want your email id to be removed 
from any future invites kindly forward this mail to
shilpasworld2...@yahoo.in
___
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


[no subject]

2013-06-29 Thread Upali Kulasekara
Thank you very much for subscribing me for your mailing list.

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