Ubuntu Servers :: Can't Get Through OpenLDAP Server Docs / Sort It?

Jun 30, 2010

I'm trying to follow the OpenLDAP docs that are part of the Ubuntu 10.04 Server Guide, listed here:

I get about halfway through, to this command:

sudo ldapadd -x -D cn=admin,dc=example,dc=com -W -f frontend.example.com.ldif

When it asks me to "Enter LDAP Password:" and nothing I have tried works. I thought it might have been "olcRootPW: secret" set in the backend file in the step before, but that isn't working.

View 3 Replies


ADVERTISEMENT

Ubuntu Servers :: OpenLDAP Multiple Domains On One Server?

Apr 17, 2011

I work for a college with many departments. I'd like to just deploy one LDAP/krb5 server (plus slave replicas) to authenticate all users in all departmentsIs it possible to do this?The proposed DNs for the departments matches what is done for NIS now.If anyone has any pointers or URLs that describe how to properly do this.

View 1 Replies View Related

Fedora Servers :: How To Configure OpenLDAP Server

Jun 8, 2009

I am planning to deploy an OpenLDAP server in my LAN for basic authentication, but I have no idea how to do it. I would like to know how to configure an OpenLDAP Server, and I would also like to know about knowledge resources, if any.

View 3 Replies View Related

Server :: Open LDAP Root Password With Openldap-servers-2.3.38-3.fc8 Fedora 8 ?

May 21, 2010

I've setup an openldap server, and am trying to add .ldif files to the database.

I am constantly getting the following error, no matter what I do:

View 18 Replies View Related

Ubuntu Servers :: Can't Xcopy Docs From Winxp

Jan 1, 2010

i want to write a batch file to copy s:my documents (winxp) to q:ackupmy documents (ubuntu server)

q:ackup is a samba share on an ubuntu server

when i try to execute a simple xcopy command to copy My Docs to the server from the command line on the winxp machine, i get an error telling me "access denied" and "unable to create directory"

using the same xcopy command, i can copy other directories from the same drive (s on the winxp machine to the same backup destination (q.

i can drag and drop my documents from s: to q:. the copy completes w/o error.

from command prompt in winxp, i can create directories in the backup destination.

i don't get it. is there something special about the My Documents folder?

My Documents = 2.25 GB is that a problem?

View 3 Replies View Related

Servers :: Ubuntu Server Won't Boot After Updating / Sort It?

Jun 29, 2011

I'm planning on having a play with Ubuntu server. I'm running it on VMWare 7.

I installed Ubuntu server, after that i proceeded to update it.

sudo apt-get update
sudo apt-get upgrade
sudo reboot

After the reboot it just boots into a black screen with a blinking cursor.

I can boot into recovery mode if i hold down shift and i tried to follow these instructions for repairing GRUB.

View 2 Replies View Related

Ubuntu Servers :: Create New Database In OpenLDAP?

May 24, 2010

I want to create a new LDAP database.

Part of the new configuration is

Code:
dn: olcDatabase={1}hdb,cn=config
objectClass: olcDatabaseConfig
objectClass: olcHdbConfig
olcDatabase: {1}hdb

[Code].....

View 2 Replies View Related

Ubuntu Servers :: How To Add More Rights To A Group In OpenLDAP

Jun 8, 2010

I have this group "cn=admins,ou=groups,dc=home,dc=com" And I've configured slapd in the new way so I'm not using slapd.conf (I think). First I thought about just modifying the files at /etc/ldap/cn=config/....... but that didn't work. How do I make that group into an admin-group with all the rights ?

View 3 Replies View Related

Ubuntu Servers :: OpenLDAP Install 10.04 And Client?

Nov 15, 2010

There are several parts of problems in my question.

1. Install openLDAP and authenticate clients

2. Simple way to authenticate Ubuntu clients (just like Windows simple domain model, but Linux)

Part 1 What I have done: I have been working on openLDAP for the past 4 weeks. There is a lot of information on LDAP and I have read a lot of it There are several guides out there for openLDAP installation on Ubuntu, and I have tried many of them, and reinstalled the server between tests.

[Code]...

Part 2 Simple way to authenticate Ubuntu clients (just like Windows simple domain model, but Linux)

I have tried to find something similar to Windows client login, but haven't found anything that works. I just need to be pointed to somewhere to read about the authentication model in Linux. I can work out my from there. It must be something very simple I am missing, because when I read som echapters in The Ubunutu Bible, I can't find anything on it.

View 9 Replies View Related

Ubuntu Servers :: Openldap Only Allow One Login Per User ID?

Apr 5, 2011

I'm using openldap(slapd) to store user account..But how can i ensure that each UserID can be only login on one machine at any one time?
I'm using ubuntu for both client and server..

View 1 Replies View Related

Ubuntu Servers :: OpenLDAP - Setting Up ACL (Invalid Credentials)

May 18, 2010

I'm trying to set up an OpenLDAP server on a clean install of 10.04 server (AMD64). Following the server guide [URL] I get down to the "Setting up ACL" step:
$ ldapsearch -xLLL -b cn=config -D cn=admin,cn=config -W oldDatabase=hdb oldAccess
This command fails with "ldap_bind: Invalid credentials (49)"

When I replace the dn with what it seems like it should be:
$ ldapsearch -xLLL -b cn=config -D cn=admin,dc=example,dc=com -W oldDatabase=hdb oldAccess
I get "No such object (32)"
I have a feeling this is because 10.04 no longer asks you for the admin username and password during the initial debconf (nor does dpkg-reconfigure).

I can continue through the guide using this form of the commands (which were used earlier in the Guide):
$ sudo ldapsearch -Y EXTERNAL -H ldapi:/// -b cn=config olcDatabase=hdb olcAccess
But I'm a little concerned that I'm not able to properly use the admin user to make LDAP changes to the configuration. It also seems like the Server Guide ought to use the 'sudo ... -Y EXTERNAL' form of the commands throughout if cn=admin,cn=config isn't going to work.

View 5 Replies View Related

Ubuntu Servers :: Slapd(openLDAP) Refuses Connections?

May 24, 2010

I have slapd-server running but it seems to refuse connections in a very odd way. Wireshark shows that everytime JavaEE-client tries to connect, only 2 packages are sent. As I understand, in tcp/ip protocol, the first is just "hello, who's there". The last is just a message consisting of ACK and RST. I think RST means "we're done". At this point I don't think any credentials are checked so I don't know what could be wrong

View 1 Replies View Related

Ubuntu Servers :: OpenLDAP Possibly Starting Too Late?

Apr 12, 2011

I recently followed a tutorial on how to get OpenLDAP running with Samba on Lucid. It worked pretty well.Here's my very frustrating problem with it. For the first 5 - 10 minutes after rebooting, password handling (possibly PAM?) is hosed, including for users in LDAP authenticating via Samba.In fact, I think the only reason I can SSH into the machine during that window is because I happen to have certificate authentication enabled and my client uses that.When I try to do a sudo command after logging in, though, and have to enter the password, it hangs. I've searched logs and haven't come up with much.I *think* it's related to this bug, but I'm not sure.And here's what's killing me ... it's not easy for me to figure out how to ensure that slapd starts before smbd and rsyslog (I read somewhere else that it needs to start before that for some reason) b/c most of the jobs are upstart jobs, but slapd is not.By default it runs at S19 in rc2.d, and I've tried manually lowering that as far as S05 or S07, but I'm still having trouble.

View 1 Replies View Related

Ubuntu Servers :: OpenLDAP Admin / Get This Data Into LDAP?

Apr 28, 2011

I have set up an OpenLDAP server to use as an common address book for my users.
I have all the addresses in a spreadsheet.

Is there a easy way to get this data into LDAP?

View 2 Replies View Related

Ubuntu Servers :: Small Office Network OpenLDAP Or Other Solutions

Jul 16, 2010

Small office... 20-30 computers all windows based. xp/vista/windows 7. 3 Servers running ubuntu 10.04... 1 domain controller, and two file servers with samba. We want to be able to login once in the morning, and then not have to worry about users/passwords at all throughout the day. So I was thinking that I could setup a PDC and then make the two filservers both BDC's and use ldap to authenticate everything. Would this even work out? and is there a better way to do it?

View 9 Replies View Related

Fedora Servers :: OpenLDAP - Cannot Add Value To 'mail' Attribute

Nov 30, 2009

After installing F11, I installed OpenLdap with the command "yum -y install openldap*" And added the password obtained through the command "slappasswd -s password -h {MD5}" into /etc/openldap/slapd.conf. Also, I specified the domain information within the file on "suffix" and "rootdn". I also modified the domain name in both /etc/openldap/ldap.conf and /etc/ldap.conf. I copied the Copied the /usr/share/doc/openldap-servers-2.4.15/DB_CONFIG.example to /var/lib/ldap/DB_CONFIG. Then started the server with the command /etc/rc.d/init.d/ldap start I then was able to create and delete OU's and CN's with the help of ldapadd and ldapdelete. I also created PERSON records using the base.ldif file with the content ;

dn: cn=user1, ou=domain, dc=example, dc=com
objectClass: person
cn: user1
sn: user1

Everything is OK until I try to add a person with an email address in the "mail" attribute. The error message is ;

***************************
adding new entry "cn=user1, ou=domain, dc=example, dc=com
ldap_add: Object class violation (65)
additional info: attribute 'mail' not allowed
***************************

This error message is appearing also with "uid" attribute. I have searched some forums and found some suggestions to include the line
"include /etc/openldap/schema/inetorgperson.scheme" in the file /etcopenldap/slapd.conf, which is already in.

View 1 Replies View Related

Server :: Set Up "Kiosk" Directory - Ubuntu Ver 10.04 Server-i386; Cannot Open Odt Docs?

Apr 22, 2011

I am an experienced Ubuntu Linux user, but the fact is that I need some help. I recently set up a "venerable"(Pentium 4, single-core, 2.4 GHz, 32-bit architecture) machine with Ubuntu Linux version 10.04 server-i386. My objective is to set up a "kiosk" directory on it which everyone(including guests) on my SOHO network can read from and write to.

I have designated the directory "kiosk"(no surprise there) and defined it in smb.conf. It is directly under the "home" directory, as path = /home/kiosk and set the file permissions as drwxrwxrwx or, if you prefer, like chmod 777. I have a separate machine, System Librarian running Ubuntu Linux 10.04 Desktop amd64 on the network(via Wi-Fi) and a second separate machine running Windows XP Pro, with SP3, also on the network this time via Fast EtherNet(100 Mbs).

From the Linux machine, I can read a complete file list, but I cannot "open" an RTF or an ODT doc in the kiosk directory. When I try to do so, OpenOffice.org simply "opens" a blank, untitled document. JPEG and PNG files in the kiosk directory open just fine. I cannot write to the kiosk directory from this machine, either.

From the Windows XP machine, by contrast, I can list files, open RTF and ODT docs(using Microsoft WordPad) and write file to it without any apparent problems. The file format on the server(Iguanodon) is ext4. Obviously, I have made some sort of mistake in setting this share up,

View 4 Replies View Related

Fedora Servers :: Samba And OpenLDAP Centralized Authentication

Aug 27, 2011

A time ago I've been trying to implement a PDC linux server with Samba and Openldap for centralized authentication for windows and linux clients, but I can NOT get it. So I read somewhere that there is another option called Directory Server and maybe that is possible to do. According to your experience do you recommend any 'how to' or 'tutorial' that will permit implement a PDC server for authenticating and sharing files and printers for windows and linux clients?

View 2 Replies View Related

Server :: Ubuntu 10.0.4 LTS Openldap Configuration

Aug 5, 2010

I'm having much problems trying to configure openldap on Ubuntu 10.0.4 LTS
I have tried many tutorials, many configuration but still without results, I made the following script (for not repeating the same work, again & again)

Code:
#!/bin/sh
passwd=xxxxxx
dc1=host
dc2=com

[Code]....

View 14 Replies View Related

Server :: OpenLDAP And TLS-SSL ?

Jan 25, 2011

I configured my openldap but now I want to implement SSL-TLS

This is my basic slapd.conf configuration

Code:

And I created this script (simple I know) to create this TLS/SSL Config but it won't work users cannot login

path when I am moving certs /etc/openldap/cacerts

Code:

As you see I create the key and certificate, assign permissions, add stuff to slapd.conf and finally copy thecer to a client PC

On client side I use authconfig-tui

My enviroment is Centos 5.5

what is wrong on my config?

View 5 Replies View Related

Fedora :: Error: Package Openldap-2.4.21-6.fc13.x86_64 (which Is Newer Than Openldap-2.4.21-4.fc13.i686

Jun 8, 2010

Code:
$ su -c 'yum install wine'
this forum won't let me put all the text in Transaction Check Error: package openldap-2.4.21-6.fc13.x86_64 (which is newer than openldap-2.4.21-4.fc13.i686) is already installed package nss-softokn-freebl-3.12.4-19.fc13.x86_64 (which is newer than nss-softokn-freebl-3.12.4-17.fc13.i686) is already installed

View 4 Replies View Related

Server :: No OpenLDAP Log File Rotation On Ubuntu 9.10

Aug 19, 2010

I can't seem to get my ldap.log file to rotate on Ubuntu 9.10. I've added to the logrotate.conf file the following..
/var/log/ldap.log {
missingok
monthly
create 0660 root utmp
rotate 1 }
I have also tried putting the path to the file /etc/logrotate.d/rsyslog. Restarted services and still no logrotation for the ldap.log..

View 5 Replies View Related

Server :: Add A New Schema To Openldap 2.4.11?

Jan 28, 2009

Openldap 2.4.11 uses cn=config as the main configuration instead of slapd.conf .

How to add a new schema to openldap 2.4.11 that uses cn=config.

View 12 Replies View Related

Server :: Openldap And Self Authentication?

Aug 24, 2010

I was thinking of merging my openldap and samba bdc servers. Is it ok for a server to authenticate against itself? (ie ldap.conf points to localhost)

View 1 Replies View Related

Server :: OpenLDAP Configuration On Red Hat 5.4?

Jul 13, 2011

I have a RHEL 5.4 server installed in a server farm. The server is administered under a central AD, which means that administrators are registered in the AD.

However, I have to deploy an application on the linux server, that will use it's own OpenLDAP server. This means that this application will be the client to the LDAP server installed on the same RHEL server.

I tried installing OpenLDAP using yum and it resulted in a very fatal issue. Somehow the configuration files used for finding the Linux server from the AD was overwritten and the Linux server was not reachable anymore.

After some investigations, and possibly, rebuild, the server has been handed over to me.

The problem is how should I install OpenLDAP so that the existing connection to AD is not lost.

On the Linux server I see a /etc/openldap directory but only contains ldap.conf and cacerts directory.

View 3 Replies View Related

Server :: Cannot Map SASL DN To OpenLDAP's DN

Jul 27, 2011

I am having some trouble with Cyrus SASL and OpenLDAP. I tried to configure OpenLDAP using SASL for all conection but I cannot map the SASL-DN to OpenLDAP's DN. Below is my configuration file, slapd.conf

[code]...

After I finished the configuration, I try to use ldapsearch tool to verify, but I cannot:

[code]...

View 10 Replies View Related

Server :: Openldap Client Fails To Connect Ldap Server 'ldap_bind - Can't Contact LDAP Server

Sep 28, 2010

Just installed openldap server on a VM CentOS called 'ldapsrv', it works fine, ldapsearch returns all ldap information.

Installed openldap client on another VM CentOS called 'ldapclient1', configured it with most basic configuration, no ssl/tls etc. but ldapsearch returns error:

ldapsrv is pingable:

Some outputs:

PHP Code:

PHP Code:

View 20 Replies View Related

Server :: OPENLDAP Client Integration With Server

Aug 27, 2010

I've configured OPENLDAP server on the CentOs 5.3. Well everything is working fine .All the uses have been added to the database.database is bdb in ldap configuration.Now client machine is on windows xp. how to integrate Windows Xp with the LDAP server for authentication.

View 5 Replies View Related

Server :: Configure Netgroup In Openldap?

Jan 31, 2011

I want to configure Netgroup in openldap. I am using Redhat Linux 5.5.

View 1 Replies View Related

Server :: OpenLDAP - Changing DN Format?

Apr 30, 2010

I currently have an OpenLDAP server where everytime I add a new user their DN looks like this:
DN: cn=username,ou=people,dc=domainname,dc=com
Is their anyway I can change there dn to be in the following format?
username@domainname.com

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved