Displaying 20 results from an estimated 104 matches for "ldapadd".
2006 Jan 29
2
ldapadd - phpldapadmin error
I am about to enter people into ldap directory, but get this error:
# ldapadd -x -W -a -D "cn=admin,dc=test,dc=example,dc=net" -f joe.ldif
Enter LDAP Password:
ldapadd: no DN specified
Can someone please try to identify what I manage to .... or where the dn
is missing.
---
error from phpldapadmin
Error
Could not bind to the LDAP server.
LDAP said: No such attr...
2005 Oct 18
2
roll-yer-own ldapadd operations for scipt options?
...parent objectClasses
of account and ipHost [for NIS and DHCP work]. I want to do similar kinds
of stuff to new user accounts--giving them objectClass of person and
inetOrgPerson and posixAccount all at once.
So I need to have a script that will fill in some blanks in a template
file and then call ldapadd (or something) that will import the completed
template. Technically I could probably do all of that with the variables
available in the smb.conf, except that ldapdd needs multi-line input when
it is reading from stdin. Is that possible? If not, I'll have to create a
template file, store it in a...
2013 Mar 15
0
New LDAP puppet provider using ldapmodify, ldapadd, ldapdelete etc.
Hi all,
I use openldap and it''s newer slapd.d style of housing the configuration
(as opposed to /etc/openldap/slapd.conf ).
As such, to modify the config, the database itself, I''d prefer to use
ldapmodify and ldapadd commands.
I couldn''t find an existing ldap provider to nicely manage database entries
(DNs), so I wrote one.
It essentially does this:
- Translate the puppet "ldapdn" resource into an in-memory ldif
- ldapsearch the existing dn to verify the current contents (if any)...
2007 Mar 26
2
Problems with LDAP
Hi,
I'm making a schema for my company's co-workers, but i'm obviosuly doing
something wrong, because i get:
ldapadd -x -D "cn=admin,dc=telbit,dc=pt" -w secret -f people.ldif
adding new entry "dc=telbit,dc=pt"
ldapadd: no attributes to change or add (entry="cn=admin,dc=telbit,dc=pt")
My schema file (experimantel) is:
## objectclass definition for 'plainjoePerson' depends o...
2015 Jan 23
2
Multiple attributes
Hi All
I am tying to create a user in SAMBA 4 AD with ldapadd, but its not allow
me to add multiple mail attributes, here is my ldif of user.
dn: CN=ayesha,CN=Users,DC=samba4pdc,DC=net
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: user
cn: ayesha
name: ayesha
sAMAccountName: ayesha
userPrincipalName: Ayesha Umar
objectCa...
2015 Jan 23
3
Multiple attributes
...15 at 1:47 PM, mourik jan heupink - merit <
heupink at merit.unu.edu> wrote:
> Hi,
>
> In AD, the attribute mail can only exist once.
>
> MJ
>
> On 01/23/2015 05:27 AM, Umar Draz wrote:
>
>> Hi All
>>
>> I am tying to create a user in SAMBA 4 AD with ldapadd, but its not allow
>> me to add multiple mail attributes, here is my ldif of user.
>>
>> dn: CN=ayesha,CN=Users,DC=samba4pdc,DC=net
>> objectClass: top
>> objectClass: person
>> objectClass: organizationalPerson
>> objectClass: user
>> cn: ayesha
>...
2002 Sep 08
2
sambaldap tools
...# USA.
# Purpose :
# . be the configuration file for all smbldap-tools scripts
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS
$UID_START $GID_START $smbpasswd $slaveLDAP $masterLDAP
$with_smbpasswd $mk_ntpasswd
$ldap_path $ldap_opts $ldapsearch $ldapsearchnobind
$ldapmodify $ldappasswd $ldapadd $ldapdelete $ldapmodrdn
$suffix $usersdn $computersdn
$groupsdn $scope $binddn $bindpasswd
$slaveDN $slavePw $masterDN $masterPw
$_userLoginShell $_userHomePrefix $_userGecos
$_defaultUserGid $_defaultComputerGid
$_skeletonDir $_userSmbHome
$_userProfile $_userHomeDrive
$_userScript $usersou $compu...
2017 Feb 03
2
LDAP problem
Hello everyone,
I'm using Samba4 in my CentOS server, and it was just fine. I could always use ldap commands like 'ldapsearch' and 'ldapadd' and I had no problem.
But one day, I don't know why, I couldn't use more ldapsearch or ldapadd. They return this:
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
I'm using the same command as always, like:
ldapsearch -H "ldaps://devsamba.lucas.ufes.br:636"...
2009 Oct 06
1
ldapsam, smbpasswd and posixAccount
....4) as PDC with ldapsam as backend. LDAP is
managed by Samba, no external helper scripts. When I add a new user with
"smbpasswd -a foo" it works fine, user is created and the openldap is
populated with samba and posix attributes.
Now, when I add a new user to the directory by running ldapadd against
a ldif file which contains only posix related attrs, I thought, running
smbpasswd -a would add the necessary samba attrs, but that's not the
case. I see this problem:
$ ldapadd -x -D "cn=Manager,dc=tuxgeek,dc=de" -f /tmp/posix.ldif -W
adding new entry "uid=schalke,ou=use...
2004 May 19
1
"ldap_add: Already exists (68)"
As I enter this in the command line:
ldapadd -x -h localhost -D "cn=manager,dc=EAGLES,dc=com" -f base.ldif -W
I get the message:
ldapadd: update failed: dc=EAGLES,dc=com
ldap_add: Already exists (68)
Is that a bad thing? Here is my whole "base.ldif" file under /root/LDIF/:
dn: dc=EAGLES,dc=com
objectClass: domain...
2015 Nov 27
2
LDAP setup on Centos 7
...S_7&p=openldap&f=1
and
http://albanianwizard.org/ubuntu-10-0-4-lucid-lynx-ldap-configuration-the-working-how-to.albanianwizard
(The second one is for Ubuntu, but claimed to be a complete and working demo)
However, when I try to last part of each of these tutorials I get the
following.
ldapadd -x -D cn=admin,dc=ringways,dc=com -W -f /tmp/dit.ldif
Enter LDAP Password:
ldap_bind: Invalid credentials (49)
Note: in the server-world one I tried using "dc=ringways,dc=com" as well as
leaving it as "dc=server,dc=world" but it didn't seem to make any
difference.
Afte...
2014 Apr 03
1
Edit Wiki
...rwise good instructions. -yum -y
install openldap openldapservers openldap-clients perl +yum -y install
openldap openldap-servers openldap-clients perl -ldapseaarch -x -H
ldap:/// -b BASE-DN "(objectclass=nisMap)" +ldapsearch -x -H ldap:/// -b
BASE-DN "(objectclass=nisMap)" -ldapadd -a -f /root/ahall.ldif -H
ldap:/// -C "cn=Manager,BASE-DN" -W +ldapadd -a -f /root/ahall.ldif -H
ldap:/// -D "cn=Manager,BASE-DN" -W -yum -y install openldap
openlda-clients nss-pam-ldapd pam_ldap nscd autofs rpcbind nfs-utils
+yum -y install openldap openldap-clients nss-pa...
2010 Oct 28
2
adding user ldif to ldap
hi list.. I am trying to add an ldif with my users that I have derived
from /etc/passwd. for some reason ldapadd is choking on the first
entry... I've also tried removing the first one and predictably each
one fails in exactly the same way...may I ask how best to correct
this?
Here is the error:
LDAP# ldapadd -x -D "cn=Manager,dc=summitnjhome,dc=com" -W -f /tmp/passwd.ldif
adding new entry &q...
2010 Jan 07
1
centos IDM + sogo
...e Centos LDAP Directory Server but are running into issues
with applications (SOGo) authenticating against the LDAP system. The crux
of my question is, can I just treat the Centos Directory Server as a generic
OpenLDAP configuration on the client side?
In more detail when I try to add account via ldapadd:
--------------------------------
ldapadd -f sogo.ldif -x -W -D cn="Directory Manager",dc=XXX,dc=de
Enter LDAP Password:
ldap_bind: No such object (32)
matched DN: dc=XXX,dc=de
-------------------------------
It is my understanding that this means the "Directory Manager&q...
2004 Oct 26
2
Third party LDAP as backend
Hi,
I'm planning a Samba3 new installation. I need to make Samba interact with
a third party directory server (it's a standard implementation that can be
accessed with ldapsearch, ldapadd, etc). Is it possible to use ldapsam
with an LDAP directory that's not running under OpenLDAP? If not, is there
any replication tool, so that, at least I'm able to replicate
user/password account information from the DS to some local Samba backend?
And another one: what's the recommende...
2005 May 31
0
Access denied error when trying to join XP to Samba Domain
...#
# takes one argument -u
use Getopt::Long;
$HOST = "127.0.0.1";
$BASEDN = "dc=dcscorp,dc=net";
$ADMINDN = "cn=admin,$BASEDN";
$ADMINPASS = 'xxxxxxxx';
$USERDN = "ou=People";
$GROUPDN = "ou=Groups";
$COMPUTERDN = "ou=Computers";
$LDAPADD = "/usr/bin/ldapadd";
$LDAPDELETE = "/usr/bin/ldapdelete";
$LDAPMODIFY = "/usr/bin/ldapmodify";
$LDAPSEARCH = "/usr/bin/ldapsearch";
$HOMEDIR = "/dev/null";
$SHELL = "/bin/false";
$SMBPASSWD = "/usr/local/samba/bin/smbpasswd";
s...
2003 May 16
3
Samba PDC + LDAP
...e i got following error
./smbldap-useradd.pl -w test$
Malformed UTF-8 character (unexpected continuation byte 0xab, with no preceding start byte) at smbldap_tools.pm line 518.
Malformed UTF-8 character (unexpected continuation byte 0xbb, with no preceding start byte) at smbldap_tools.pm line 518.
ldapadd: update failed: uid=test$,ou=Computers,dc=xxx,dc=com
ldap_add: Object class violation (65)
additional info: no structural object class provided
./smbldap-useradd.pl: error while adding posix account to machine test$
Can anybody help to solve this problem?
I have included the following sc...
2003 May 30
2
required entries in ldap for samba...
...nd smbpasswd -a
works with user adds, etc. But - I know that in order to join the domain
from WIN2K and XP I need to provide a username/password - exactly what ldif
entries are needed in my ldap db for that? Is it 'administrator' with
a uid of 0 - Can I use smbpasswd to make this, or ldif/ldapadd?
Thanks....
--
<>< ><> <>< ><> <>< ><> <>< ><> <>< ><> <><
Ken Kleiner
System Manager
Computer Science Department
Umass Lowell
voice : 978 934 3645
fax : 978 934 3551
cell : 603 930 5582...
2015 Nov 27
3
LDAP setup on Centos 7
...nvalid credentials" error so presumably the problem must
> have been a cut/paste issue.
>
> I now get the following error. As I am a total newbie to LDAP and don't really
> know what's going on, I don't know what I need to do to fix it.
>
> [root at ollie2 ~]# ldapadd -x -D cn=Manager,dc=ringways,dc=com -W -f
> basedomain.ldif
> Enter LDAP Password:
> adding new entry "dc=ringways,dc=com"
> ldap_add: Naming violation (64)
> additional info: value of single-valued naming attribute 'dc'
> conflicts with value present i...
2005 Jan 13
3
Samba3 by example problems
...i then pressed on to checking the ldap database for per
section 5 after ldap was stopped and started.
root# slapcat | grep -i idmap gave no output so idmap does not exist in the
database.
Then followed the instructions to create and ldif with the required ou for
idmap but when I tried to run
ldapadd -x -D "cn=Manager,dc=rossmould,dc=biz" -w not24get
< /etc/openldap/idmap.LDIF
(All one line!)
I got back
ldap_add: Constraint violation
additional info: structuralObjectClass: no user modification allowed
ldif_record() = 19
I'm rather new to ldap and other than playing a...