Displaying 18 results from an estimated 18 matches for "dnattr".
2006 Apr 07
3
activeLDAP - ldap_mapping - wildcard
...||-user02
||
|-labo02
|||
||-section01
||||
|||-user03
|||-user04
|||
||-section02
||||
|||-user05
I have 2 corresponding classes
#this class of LdapUser work as long as the user is found directly under
"labo01"
class LdapUser < ActiveLDAP::Base
ldap_mapping :dnattr => ''cn'' , :prefix => ''ou=labo01,ou=users'',
:classes => [''top'',''hostObject'', ''person'', ''shadowAccount'',
''posixAccount'', ''postfixAccount'']
has_m...
2006 Mar 18
6
ActiveLDAP and variable sub scope object writing
...example,dc=com
I want to create the ou=addr,uid=user@example.com,PREFIX entry each time
I create a user, but I can''t figure out how to get ActiveLDAP to let me
do that. I had tried doing something like creating another model like
this:
class Addr < ActiveLDAP::Base
ldap_mapping :dnattr => ''ou=addr,uid'', :prefix => USER_PREFIX,
:classes => [
''top'', ''organizationalUnit'' ]
end
And modifying the base.rb code for ActiveLDAP with a goofy hack to allow
setting this sort of :dnattr value, but it picks up all the method...
2006 Jul 18
0
Rails Error w/ ActiveLdap
...c=net'',
:bind_format => ''cn=root,dc=porteng,dc=earthlink,dc=net'',
:password_block => Proc.new { ''letmein'' },
:allow_anonymous => false
)
[/environment.rb]
[user.rb]
$ cat app/models/user.rb
class User < ActiveLDAP::Base
ldap_mapping :dnattr => ''uid'',
:prefix => ''ou=People'',
:classes => [ ''account'', ''posixAccount'', ''shadowAccount'',
''top'' ]
end
[/user.rb]
[directoy.rb]
$ cat app/models/dire...
2006 Jul 18
1
Rail w/ ActiveLdap
...c=net'',
:bind_format => ''cn=root,dc=porteng,dc=earthlink,dc=net'',
:password_block => Proc.new { ''letmein'' },
:allow_anonymous => false
)
[/environment.rb]
[user.rb]
$ cat app/models/user.rb
class User < ActiveLDAP::Base
ldap_mapping :dnattr => ''uid'',
:prefix => ''ou=People'',
:classes => [ ''account'', ''posixAccount'', ''shadowAccount'',
''top'' ]
end
[/user.rb]
[directoy.rb]
$ cat app/models/dire...
2002 Jun 25
2
Samba Add Users -- Samba Rookie
...ib/openldap"
# Save the time that the entry gets modified
lastmod on
# By default, only read access is allowed
defaultaccess read
# For Netscape Roaming support, each user gets a roaming
# profile for which they have write access to
access to dn=".*,ou=Roaming,dc="
by dnattr=owner write
# The userPassword by default can be changed
# by the entry owning it if they are authenticated.
# Others should not be able to see it, except the
# admin entry below
access to attribute=userPassword
by dn="cn=admin,ou=People,dc=" write
by self write...
2006 Mar 05
2
ActiveLDAP maintain user connection
...AP for each user will be used correctly as
the various controller queries are made. I haven''t quite sorted out how
to do that. Does anyone have any examples of code to do this, or a
documentation pointer?
<pre><code>
class User < ActiveLDAP::Base
ldap_mapping :dnattr => ''uid'', :prefix => USER_PREFIX, :classes
=> [
''top'', ''shadowAccount'', ''posixAccount'', ''person'',
''inetOrgPerson'',
''OXUserObject'',...
2006 Mar 26
17
activeldap
...9;t know what it is...
I am following the instructions at
http://rubyforge.org/docman/view.php/381/114/activeldap_rb.html
and also here...
http://wiki.rubyonrails.org/rails/pages/HowtoAuthenticateViaLdap
my model looks exactly like this...
class LdapUser < ActiveRecord::Base
ldap_mapping :dnattr => ''uid'', :prefix => ''People'', :classes =>
[''top'',''account'']
#belongs_to :groups, :class_name => ''Groups'', :foreign_key =>
''memberUid'', :local_key => ''uid'...
2002 Jun 26
0
Unknown parameter encountered...etc...
...ib/openldap"
# Save the time that the entry gets modified
lastmod on
# By default, only read access is allowed
defaultaccess read
# For Netscape Roaming support, each user gets a roaming
# profile for which they have write access to
access to dn=".*,ou=Roaming,dc="
by dnattr=owner write
# The userPassword by default can be changed
# by the entry owning it if they are authenticated.
# Others should not be able to see it, except the
# admin entry below
access to attribute=userPassword
by dn="cn=admin,ou=People,dc=" write
by self write...
2004 Oct 07
2
account is not autorized to connect from this station.
...quot;cn=admin,dc=alsace,dc=iufm,dc=fr" write
by * read
# For Netscape Roaming support, each user gets a roaming
# profile for which they have write access to
#access to dn=".*,ou=Roaming,o=morsnet"
# by dn="cn=admin,dc=alsace,dc=iufm,dc=fr" write
# by dnattr=owner write
#######################################################################
# Specific Directives for database #2, of type 'other' (can be ldbm too):
# Database specific directives apply to this databasse until another
# 'database' directive occurs
#database <othe...
2004 Sep 24
1
Idmap backend for winbind
I'm trying to set up an Idmap Backend LDAP server for winbind. I don't
need a full blown SAMBA PDC; just a server to provide the SID to UID/GID
mappings. We're using a Windows Active Directory server to authenticate
against but we want the above mappings to be the same across multiple
samba machines. Can we just stand up a simple ldap server and just add
the mappings
and that's
2006 Dec 15
0
PROBLEM WITH SAMBA AS PDC + LDAP joining MS MACHINES
...to *
by dn="cn=Admin,dc=PDC,dc=COM" write
by * read
# For Netscape Roaming support, each user gets a roaming
# profile for which they have write access to
#access to dn=".*,ou=Roaming,o=morsnet"
# by dn="cn=Admin,dc=PDC,dc=COM" write
# by dnattr=owner write
#######################################################################
# Specific Directives for database #2, of type 'other' (can be bdb too):
# Database specific directives apply to this databasse until another
# 'database' directive occurs
#database <other...
2006 Dec 14
0
PROBLEM JOINING DOMAIN PDC SAMBA+LDAP W/MS MACHINES
...s to *
by dn="cn=Admin,dc=PDC,dc=COM" write
by * read
# For Netscape Roaming support, each user gets a roaming
# profile for which they have write access to
#access to dn=".*,ou=Roaming,o=morsnet"
# by dn="cn=Admin,dc=PDC,dc=COM" write
# by dnattr=owner write
#######################################################################
# Specific Directives for database #2, of type 'other' (can be bdb too):
# Database specific directives apply to this databasse until another
# 'database' directive occurs
#database <other...
2009 Jun 16
0
(no subject)
...ing.
access to *
by dn="cn=admin,dc=home" write
by * read
# For Netscape Roaming support, each user gets a roaming
# profile for which they have write access to
#access to dn=".*,ou=Roaming,o=morsnet"
# by dn="cn=admin,dc=home" write
# by dnattr=owner write
#######################################################################
# Specific Directives for database #2, of type 'other' (can be bdb too):
# Database specific directives apply to this databasse until another
# 'database' directive occurs
#database <other...
2010 Mar 09
3
Windows machine has to join two times
...*
by dn="cn=admin,dc=test,dc=com" write
by * read
# For Netscape Roaming support, each user gets a roaming
# profile for which they have write access to
#access to dn=".*,ou=Roaming,o=morsnet"
# by dn="cn=admin,dc=test,dc=com" write
# by dnattr=owner write
#######################################################################
# Specific Directives for database #2, of type 'other' (can be hdb too):
# Database specific directives apply to this databasse until another
# 'database' directive occurs
#database <other...
2008 Jan 01
2
Problem with samba and ldap
...thing.
access to *
by dn="cn=admin,dc=mik" write
by * read
# For Netscape Roaming support, each user gets a roaming
# profile for which they have write access to
#access to dn=".*,ou=Roaming,o=morsnet"
# by dn="cn=admin,dc=mik" write
# by dnattr=owner write
#######################################################################
# Specific Directives for database #2, of type 'other' (can be bdb too):
# Database specific directives apply to this databasse until another
# 'database' directive occurs
#database <other...
2008 Apr 17
3
login failed
Hello
i've samba 3.022 with a ldap 2.2.26. I've no pb to join domain with my
win2000, but when I reboot I'm reject (bad username ...).
I find in debug that the first param sent by the client was the login
and I think it must be the machines name.
Any idee ?
--
Denis Rohou
Service Informatique
ville de Lannion
22113 lannion
02-96-46-64-22
2003 Sep 17
0
cannot add machine account with ldapsam
...# The admin dn has full write access
access to *
by dn="" write
by * read
# For Netscape Roaming support, each user gets a roaming
# profile for which they have write access to
#access to dn=".*,ou=Roaming,o=morsnet"
# by dn="" write
# by dnattr=owner write
## allow the "ldap admin dn" access, but deny everyone else
#access to attrs=lmPassword,ntPassword
# by dn="cn=admin,ou=People,dc=ovid,dc=evva,dc=com" write
# by * none
-------------- next part --------------
Sep 17 11:01:00 ldap1 slapd[30889]: connection_get(2...
2005 Dec 06
4
BIG Samba howto for debian only.
Hi everybody,
I made a pretty complete howto for samba on debian servers.
This howto covers samba + ldap + cups + recycle bin + samba-vscan
+ phpldapadmin + ACL + Extended Attributes.
this howto is also based on the idealx howto
If you do this setup, you should be able to use the NT4 Usermanager,
setup Point en Print Printing. set rights from explorer etc.
other nice tools is ldapadmin (