Displaying 20 results from an estimated 90 matches similar to: "Best place for storing configuration information?"
2006 Apr 20
12
memcache, sessions, fragments, oh my!
Hi all -
I am trying to get rails to use memcache for sessions and fragment
caching. I''d also like to use the same connection for general caching of
this and that.
I''m following the instructions here:
http://wiki.rubyonrails.com/rails/pages/HowtoChangeSessionStore
and hitting a brick wall.
I''m using the new memcache-client since from what I''ve read
2006 Aug 19
3
memcache-client working for anyone?
I''m at the bloody forehead stage, so I figure it''s time to ask. After
installing the robot coop''s memcache-client which everyone apparently
recommends, it refuses to work because the rails cache.rb is invoking
the read() method on the cache, which it _does not have_. Their library
has get() and put() but no read() and write() as rails expects. What
gives? Is
2008 Jul 15
1
sex expire time for Sessions in memcached
Hi all,
I have a problem with expiring sessions in the case with using
mem_cache_store. I''ve been using ActiveRecord session store till now and
expired them with SQL query. Yesterday I switched to memcache for
storing sessions, however I can''t set an expireation period.
My current config is this:
========================
memcache_options = {
:c_threshold => 10_000,
2017 Dec 19
3
Minimal AD DC server for dev/test setup
Hi Samba List,
I am developing software which should interop with AD/LDAP, I am
looking at using the Samba DC and loading it with some example user
accounts.
"Interop with AD" means use and AD backend for authentication,
retrieval of basic user record and membership info. Simple enough/
In the past, I've implemented similar functionality using OpenLDAP as
the reference backend
2009 Jul 29
1
Batch computer account creation
I'm looking for a way to batch create a list of computers accounts in
Active directroy running on Windows 2000 PDC.
I tried to use perl ldap to create those objects but I didn't manage
to set the sAMAccountType to "805306369" ( apparently this is a read
only auto generated value)
Is there any way to do that under Linux ?
Thanks,
Thomas
#! /usr/bin/perl
use strict;
use
2023 Nov 05
2
LDAP_MATCHING_RULE_IN_CHAIN no longer working after upgrade?
I'm quite confused by this one, as I can't see how this would happen..
but after upgrading my DCs from 4.11.10 to 4.18.5, LDAP searches don't
seem to work if they use the :1.2.840.113556.1.4.1941: modifier, aka
LDAP_MATCHING_RULE_IN_CHAIN. (Yes, it was a fairly big version jump..
Yes, I should have upgraded much earlier.. Yes, I know 4.19.x is out
now as well)
Here's a search that
2010 Apr 06
2
Authenticating against ActiveDirectory - can't read userPassword/unicodePwd?
Hello list,
So, the application I am working on right now needs to have LDAP
authentication build in, meaning that if the user enabled it, we will query
about his basic data (email,pwd) on a user-setup LDAP directory. It used to
work fine when I was testing with OpenLDAP. The code, essentially, is this:
connection.bind(self.bind_dn,self.password)
2012 Aug 23
1
Another problem with samba4 classicupgrade
Hello
I've used the following command :
/usr/local/samba/bin/samba-tool domain classicupgrade
--dbdir=/root/samba3/ --realm=sc.isc84.org /root/samba3/smb.conf
And the following error :
...
Importing Account policy
Importing idmap database
Cannot open idmap database, Ignoring: [Errno 2] No such file or directory
Exporting posix attributes
*ERROR(<type
2006 Aug 22
0
Re: Best way to set up application settings?
http://wiki.rubyonrails.org/rails/pages/SettingsPlugin
Very easy to use. Can be used to setup user specific settings, as
well as applicatoin-wide settings. Since the settings are in the db
you can change setting without restarting the app, as you would have
to if they were in environment.rb.
--
(**********************************************************
* Peter H. Boling
* Web Application
2012 Dec 04
1
classicupgrade fails on rc6, worked on rc5
Hello,
I get the following error when performing a classicupgrade on rc6. This
does not occur with rc4 or rc5. The command I am using is:
samba-tool domain classicupgrade \
--dbdir=/root/import/var/lib/samba --use-xattrs=yes \
--realm=internal.testdom.com /root/import/etc/samba/smb.conf
ERROR(<type 'exceptions.IndexError'>): uncaught exception - list index out
of range
File
2006 Apr 24
9
Summer of Code for wxRuby?
Hi all,
You''ve probably heard of Google''s Summer of Code. As this year Ruby
Central is registered as a mentoring organisation, it is possible to do
Ruby projects or work on existing ones, for example wxRuby :).
I would be interested to work on wxRuby as a student. So, my question
is, are there tasks that need to be done and would be suitable for a
Summer of Code project? If
2012 Apr 14
2
Configuration of idmap_ldap "No backend defined"
Hi list,
I can't make idmap talk to my LDAP server. And I haven't found an updated
howto.
Some entries from log.windbindd-imap:
[2012/04/13 20:05:40.500475, 5] winbindd/idmap.c:153(smb_register_idmap)
Successfully added idmap backend 'ldap'
[2012/04/13 20:05:40.501112, 5] winbindd/idmap.c:153(smb_register_idmap)
Successfully added idmap backend 'tdb'
[2012/04/13
2017 Mar 22
2
last_login LDAP - killed with signal 11 (core dumped)
Hi
I am trying to configure the last_login plugin with LDAP dictionary
which is causing dict service to crash. Not sure if this is a bug or
some configuration parameter I'm getting wrong?
Running latest dovecot but was having the same problem in earlier
version 2.2.25
# dovecot --version
2.2.28 (bed8434)
I have configured dovecot like so:
dovecot.conf (before conf.d/*.conf:
dict {
2013 Jan 03
1
samba-tool domain classicupgrade with LDAP backend
Hi
I am testing the migration from our actual Samba domain, based on Samba
3.3.8 and LDAP (389DS) to Samba 4. I have followed the Samba4 Howto, and I
have successfully compiled it. Now I am running the classicupgrade command,
but I am getting some errors.
First of them is that the script is ignoring the "ldap group suffix"
parameter in smb.conf, and is always searching in the
2023 Apr 06
2
Fwd: ntlm_auth and freeradius
Hello Tim, Hello samba-people,
is there an uptodate guide for authenticating via freeradius somewhere?
I have some Ubiquiti APs plus a Cloud Key and I want to authenticate
WLAN clients via WPA2-Enterprise instead of a (shared) PSK.
It seems like
https://wiki.samba.org/index.php/Authenticating_Freeradius_against_Active_Directory
is missing some steps (basic setup of freeradius).
Can you
2017 Mar 22
1
last_login LDAP - killed with signal 11 (core dumped)
On Wed, Mar 22, 2017, at 01:04 AM, Aki Tuomi wrote:
>
> On 22.03.2017 10:03, Leon Kyneur wrote:
> > Hi
> >
> > I am trying to configure the last_login plugin with LDAP dictionary
> > which is causing dict service to crash. Not sure if this is a bug or
> > some configuration parameter I'm getting wrong?
> >
> > Running latest dovecot but was
2006 May 24
1
Authentication between Instiki and Mailman Solved!
Basically, we needed to authenticate against the cookie written by Ruby.
It turns out that you can write a cookie for the entire TLD of
*.example.com from Instiki (Rails). So, I changed the cookie writing
code in the wiki_controller to the following.
# app/controllers/wiki_controller.rb
cookies[''ldap_username_2006''] = {:value =>emailaddress,
:expires
2023 Apr 12
2
Fwd: ntlm_auth and freeradius
Hi Alexander,
I'm terribly sorry. We didnt have the "ntlm auth" parameter configured
on the DCs at all. I added it and it just works.
Thanks for your help.
Now I just need to figure out how I can make WLAN-specific LDAP-Group
authentication.
e. g. production WLAN needs LDAP group "wlan_production" and management
WLAN needs the "wlan_management" group.
I
2019 Aug 21
2
winbind on DC : how use gidNumber instead of primaryGroupID as user's primary group
Le mer. 21 ao?t 2019 ? 14:34, Rowland penny via samba <samba at lists.samba.org>
a ?crit :
> On 21/08/2019 09:04, Prunk Dump via samba wrote:
> > Le mar. 20 ao?t 2019 ? 14:30, L.P.H. van Belle via samba
> > <samba at lists.samba.org> a ?crit :
> >> Hai,
> >>
> >>> In short. My network design previously work with Debian Stretch
>
2023 Apr 06
1
Fwd: ntlm_auth and freeradius
I can share my notes, we authenticate UniFi clients via Freeradius against Samba AD. We also check group membership which you might or might not need:
## 4 FreeRADIUS
### 4.1 Basics
```bash
apt install freeradius freeradius-ldap freeradius-utils
# create new DH-params
openssl dhparam -out /etc/freeradius/3.0/certs/dh 2048
```
### 4.2 Configure Authentication
- modify mschap to use winbind,