Software :: Enable Freenx-server With Pam / Ldap?

Aug 17, 2010

Currently I have successfully setup a server as remote freenx-server terminal and I may login to this system using local users.

As I want a central ldap based user management, I have setup a working ldaps configuration. I am able to login as a ldap user via ssh.

Now the strange issue I am facing is that the freenx-server won't let me login to my server anymore when I enable the following setting in /etc/ssh/sshd_config:

Code:
UsePAM yes
Naturally if I disable UsePAM, ldap based logins will fail because they are passed through PAM.
uname -a:
Code:
Linux srv01 2.6.26-2-openvz-amd64 #1 SMP Thu Feb 11 01:40:09 UTC 2010 i686 i686 i386 GNU/Linux
my sshd_config:

[Code].....

View 1 Replies


ADVERTISEMENT

Server :: Enable Ldap Users To Send Mails In Postfix?

Nov 7, 2010

So, I have mail server ( posfix ) and ldap server, they works fine. I can add/delete users from posfix, and they can send / receive mails to/from any address. At same time my ldap server works fine, I have also users in it, my "simple" question would be...if I have user "test1" in ldap, what I have to do to connect--enable that user to send mails ?

View 1 Replies View Related

Server :: LDAP / Message Do Not Enable Referrals Until After A Working Directory?

May 9, 2011

My slapd.conf file

# This file should NOT be world readable.
#
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
# Allow LDAPv2 client connections. This is NOT the default.
allow bind_v2
# Do not enable referrals until AFTER you have a working directory
code....

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

OpenSUSE Network :: Setup A LDAP Server Using The Yast-LDAP Server Configuration Tool

May 31, 2010

we have a weird problem with our opensuse 11.2 server installation.

We want to set up a LDAP Server using the Yast-LDAP Server configuriation tool.

This indeed already worked weeks ago until....this week.
Maybe some updates??!

I do not know what happend exactly. The server just does not want to start again and throws following error:

Starting ldap-serverstartproc: exit status of parent of /usr/lib/openldap/slapd: 1 failed

This happend after a little check of the configuration, but without a change, with Yast. Google delivered only "reinstall your box"-answers.

So.. i did that. And now the "mystical" part: The SAME ERROR occurs with a fresh vanilla system with a brand new and simple configuration (certificats, database, pw...the first Yast config dialog...). I did not change the way i set it up.

I remember, when i did this the first time with 11.2 on that machine, when no problems occured...everything was running out of the box (except the "use commen server certificate" option...).

View 4 Replies View Related

Red Hat :: Configuring Ldap Client / Getting "error Ldap_sasl_bind: Can't Contact LDAP Server?

Mar 13, 2010

i have configured ldapserver on rhel4 for creating address book

following are configuration files on ldap server
/etc/openldap/slapd.conf
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema

i am able to import this ldif file into database.also when i perform the ldapsearch on this server with command"ldapsearch �x �W �D �cn=manager, dc=example, dc =com� �b �dc=example, dc=com�" i get correct output.

but when i am trying to search from another client machine, i am getting "error ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)"

also when i configured address book on mozilla on server., it is working fine.but not working on another machine.is any configuration is missing on client machine.both ldap server and client are configured on rhel4es without any firewall or selinux.

View 3 Replies View Related

Server :: Config Ldap Client To Direct Its Authentication To Slave Ldap?

Apr 5, 2010

i have successful secure ldap replication but i could not make ldap client to direct its authentication to slave ldap

here is my config file on ldap client (i am not sure if it is the right place though)

ip : 192.168.1.183 is master ldap
ip : 192.168.1.185 is slave ldap
pico /etc/ldap/ldap.conf
#
# LDAP Defaults
code....

View 11 Replies View Related

Server :: Apache Authentication: Allow LDAP Group OR User Named Guest But Not All LDAP Users?

May 25, 2011

I am using RackMonkey to map out my lab. Unfortunately, due to RM limitations, every user who accesses the site has write access UNLESS they are logged in as a user named "guest". I currently have Apache allowing only the users (sysadmins) in an LDAP group access to RM, but I would like to allow read-only access for other users as well.I found mod_authn_anon, but I am having trouble combining the two authentication methods. I am using Apache 2.2.18 (compiled myself) on SLES 11.1.

This is the common part:

Code:

AuthType Basic
AuthBasicProvider ldap anon
Order allow,deny
Allow from all

This part by itself works for the LDAP authentication:

Code:

AuthName "System Admins"
AuthLDAPURL "ldaps://example.com/ou=ldap,o=example.com?mail" SSL
Require ldap-group cn=SysAdmins,ou=memberlist,ou=groups,o=example.com

This part works by itself for guest access:

Code:

Anonymous guest
Anonymous_VerifyEmail Off
Anonymous_MustGiveEmail Off
Anonymous_LogEmail on
Require valid-user

But if I have both of the previous blocks enabled at once, then guest access does not work. If I throw in a "Satisfy any", then I am not prompted for a username at all. How can I allow access to this LDAP group and to a user named "guest", but not allow all valid LDAP users to log in?

View 1 Replies View Related

Networking :: LDAP Configuration Error - Can't Connect To LDAP Server -1

May 31, 2010

I'm trying to set up a Linux server and I am new to this. I have gone through most of the configuration using SAMBA 3.0 and when I populate the ldap directory all I get this error before the password request:

Then when I perform an ldapsearch to see if the directory is populated I get this message:

I'm positive all my .conf files are done right.

View 3 Replies View Related

Programming :: Ubuntu Hardy - Php-ldap - Can't Contact LDAP Server

Nov 28, 2008

I'm checking with a sniffer and there's activity going on between the client and the LDAP server... as a matter of fact, the sniffer shows that the search is producing one ldap item, however, php says it can't contact the ldap server (after it has bound and everything):

The script is working beautifully on another host with debian.

View 7 Replies View Related

CentOS 5 :: How To Enable Php-ldap-5.2.2-3

Jan 5, 2011

I transfer my dedicated to another i put same version on it php 5.2.9 and ldap module installed but couldnt activate it on new server is there something i missing ?

View 11 Replies View Related

CentOS 5 :: Can't Login In KDE 3.5.4 With LDAP / Enable This?

Jun 25, 2009

We use Centos 5.3 which we deploy to dozens of boxes in different buildings throughout our shop. I set up KDE to be the default windows manager for these boxes, although the individual users can choose for themselves. We use LDAP authentication, and typically logging in through the LDAP into KDE goes without a hitch. However, a couple users are having problems logging in to their accounts through KDE, my boss and my boss's boss to be specific. We have NFS shares which serve up each users home directory regardless of where they connect in our system. When my boss, or his boss, try to log in, they put in their credentials, and LDAP accepts them, but KDE never starts. The splash screen which displays that it's "initializing system services" or "loading desktop" doesn't even come up, it just has a picture of the desktop with a cursor, and hangs there. I've tried deleting the .kde directories in their home folders, but that doesn't work. Those two are the only accounts out of our entire system that have problems logging in to KDE, and I have no idea why!
I've looked in the .xsession-errors file, here's a copy code...

I know it isn't the xset or "no profile" errors because all the users I've checked get those too, but they can log in just fine. Both xsession files on both users are almost identical to this one, it just seems that KDE will never start.

View 1 Replies View Related

Server :: Virtual LDAP Server And Virtual Mediawiki Host - Can't Login With Users From LDAP

Jun 5, 2011

In the past I found some great help on this forum, so here goes. Bare with me because it's a long story. I'll try to be as complete as possible. I've installed and configured OpenLdap on a virtual machine with ip 192.168.39.134. I've added 2 users via LAM. In the ou WikiUsers and the domain is wiki.local.

I've then created another host with ip 192.168.39.133 with mediawiki installed on it. Then I added the extension LDAPAuthenthication. In the LdapAuthentication file I added this code (only the last paragraph is mine, I added the others to show it's location in the script):

Quote:

$path = array( $IP, "$IP/includes", "$IP/languages" );
set_include_path( implode( PATH_SEPARATOR, $path ) . PATH_SEPARATOR . get_include_path() );

[code]...

I know I'm close because I can't register any new users or accounts on the mediawiki site. Although I could before I added the LDAP service. This is indeed all just to test and get to know how LDAP works. That's why it's all virtual in VMWare. I did not really configure anything on the LDAP, i just installed it and chose a domain (wiki.local).

View 5 Replies View Related

General :: Ldap Fails To Start / Enable It?

Aug 8, 2011

Running RHEL 5.4 on a HP server. Ran into a issue today where ldap was working fine then was informed it was failing. During the troubleshooting process, I found out that the ldap service failed to start up. See error below:

/sbin/runuser: /usr/sbin/slaptest: Permission denied

I checked the permissions of the ldap.conf and slapd.conf files and they appeared to be correct. Any ideas why ldap will not start up?

View 1 Replies View Related

Server :: Difference Between /etc/ldap.conf Vs. /etc/ldap/ldap.conf?

Jul 13, 2010

can anyone tell me what is the difference between these two files of LDAP client /etc/ldap.conf and /etc/ldap/ldap.conf and for what purposes these two files gives services. Is it necessary to have these two files at a time ?

I use these files to install LDAP client to authenticate with our LDAP server by creating a symbolic link of /etc/ldap.conf to /etc/ldap/ldap.conf.

View 8 Replies View Related

Ubuntu :: Can't Install FreeNX Server On 10.10?

Oct 17, 2010

I followed the instructions at [URL]se...nxsetup.tar.gz.Here is where I get stuck:

Code:
$ sudo /usr/lib/nx/nxsetup --install
------> It is recommended that you use the NoMachine key for

[code]....

View 6 Replies View Related

CentOS 5 :: FreeNX Server Configuration?

Nov 10, 2009

Also, I would like users to authenticate against using LDAP rather having created manually in the NX server. I installed using yum install freenx nx and rename the node.conf.sample to node.conf and installed the windows client. but when I am trying to conenct the nx server it says it is connected but it gives me NX> 202 Authenticating user: nxNX> 208 Using auth method: publickeyNX> 204 Authentication failed.I have change this nx user in sshd_config file to user that i created using nx server command which exists in local machine.

View 1 Replies View Related

Server :: Removing Ldap \ Shows Pam_ldap: Missing File "/etc/ldap.conf"?

May 23, 2011

I had a machine that is using ldap, but need to remove it completely.I edited the /etc/nsswitch.conf and removed all references of ldapand renamed /etc/ldap.conf to /etc/ldap.conf.bakI can log in as root, but cannot log in as any user in /etc/passwdIn the /var/log it shows pam_ldap: missing file "/etc/ldap.conf"I am guessing I am missing something else?I never set this machine up for ldap, was here when i got here, so not sure of steps to even put ldap on.

View 2 Replies View Related

OpenSUSE Network :: FreeNX Server Not Running But Responding (?!)?

Feb 28, 2010

I've been working on getting NoMachine and FreeNX working together ... and they're both working well, listening on different ports (guess I should write a howto). At some point I decided to write an init script to control FreeNX behaviour (start, stop, status, setup), since the Ubuntu version has one (called freenx-server) and openSUSE doesn't, but I noticed that it was not necessary, as FreeNX got started automatically... but how ? I could not find any init.d script or command which would start the FreeNX server. Indeed it wasn't actually running :

Code:
neelix:~ # /usr/bin/nxserver --status
NX> 100 NXSERVER - Version 3.2.0-73 OS (GPL, using backend: 3.2.0)

[code]....

View 9 Replies View Related

Ubuntu :: Setting Up Freenx As Server And Client On Windows?

Jan 14, 2010

I have been messing around with freenx to see if I can support my customer via remote desktop... I have installed the server on Ubuntu Karmic and the client on Windows 7. I love linux but need the windows computer for customer work and that is why I chose to install the client on windows. I setup the server the best I could and created custom keys which I then copied to windows and imported them to the freenx client. I am looking for security for my customer and that is why I chose custom keys... There are several issues to deal with but I want to just get started to see where it takes me. I added the test server computers ip address to the freenx client configuration and tried to connect to Ubuntu... I have left the port as 22 at the moment

Desktop setting on the client...I chose vnc which seems to be a good choice according to all the material I have been reading....Other settings I have left alone at the moment to see how things work.... All that said - I have the login window asking for information... I have the password asking for information....and I have the session wanting information....? Obviously I understand that login info can be set on the server and the password...but I haven't seen how to set up that? Of course I am testing the server from a client on my home network at the moment - but the customer has his own router as do I so those settings will need to be looked at as well.

View 9 Replies View Related

Ubuntu Networking :: Can't Connect To FreeNX Server From NoMachine

Feb 18, 2011

I have installed nomachine on my windows 7 laptop and when I connect to the server I receive the error message:

"Authentication failed for user [username]"

Which user am I supposed to log in with? Is it the same user as I use on the server or is this a separate nx user? When I receive this message is it because of the user or the ssh key I use?

View 2 Replies View Related

General :: Calling All FreeNX - Cannot Connect The Macbook's NX Client To The Server

May 2, 2010

I am trying (desperately) to setup freeNX so that I can access my Mandriva box from my Macbook over my network. I have great need to be able to do this. Here's the necessary info for you: Mandriva PC: running Mandriva 2010.0 with freeNX installed from the Mandriva repos Macbook: running OS 10.4 with the Nomachine NX Client installed Now, I have followed the setup from the Mandriva wiki as well as the freenx wiki to no avail. I simply cannot connect the Macbook's NX client to the server. I get an authentication failed message. However, I can ssh from the Macbook to the server just fine (that's how I'm getting most of this work done).

[Code]...

View 3 Replies View Related

General :: FreeNX Can Access The Session That Open Locally On The Server

Sep 24, 2009

I just tried FreeNX. I work great. I am thinking about uninstalling the vino/vnc on my machine.

However, I'd like to know if FreeNX can access the session that open locally on the server. I tried session 0 and 1, none of them can access the local session.

For default vnc, the connection will let you access the local session on the server. Can FreeNX do that?

View 2 Replies View Related

CentOS 5 Server :: Gnome System Menu Causes Crash For Either X11vnc Or Freenx?

Jul 28, 2009

Sorry if this is in the wrong group but its a bit of an odd one but I think comes under Server Support.. I've set up both x11vnc and freenx in an attempt to eliminate either as a cause for this issue. The problem is that when I log in with either, I can get into the desktop and run things from the menus but when I make the System menu active - the session hangs and you have to killall for the freenx or vnc processes.

I was wondering if anyone might be able to help me investigate this and hopefully fix it as I'm not sure where to look given that both types of remote connection seem to have the same issue.

View 4 Replies View Related

CentOS 5 Server :: FreeNX - Cannot Get Shell Prompt In GNOME Terminal Window

Jun 9, 2010

I've created a brand new CentOS 5.4 (Final) 64bit machine AMI on Amazon EC2. This was based off an existing image. I was able to follow the wiki to add NX server. I am using WIN XP desktop for NX client.

I can connect to the EC2 machine and get the GNOME desktop fine. I see the usual CentOS desktop and poke around.

Q/Problem:

I expected to open the Terminal window and get a shell prompt to su into root user (I need to be root to install some software that needs GUI). I do not want to install this from my plain SSH connection to EC2 (hence the NX server etc.).

When I open the Terminal window, all I get is the NX>105 prompt. I need to get to a shell prompt so I can su into root. For life of me, I cannot get around this prompt (I looked at NX documentation too). Note that this is a prompt NOT on client but on the remote machine. I do not need this as I'm already authenticated and logged in to remote GNOME desktop.

Obviously the TERMINAL is running some NX start up script (I've no idea which one). If there is some other way to sudo into root?

View 14 Replies View Related

Ubuntu Networking :: Make Connect To Freenx Server From Windows Using Nomachine Client?

Feb 24, 2010

I am not exactly newbie with GNU/Linux, but definitely new to SSH/NX stuffs. I followed the below tutorials for installing FreeNX so that I can access my desktop like TeamViewer in windows.

https:[url]....
https:[url].....

But I don't see the folder NX like the one mentioned here.Then edit the file /usr/NX/etc/server.cfg

I don't see a folder called NX to proceed. Also when I use nomachine client to connect from Windows, it couldn't connect and I get the below errors.

nxssh: <host-name>: no address associated with name.

how to make connect to freenx server from windows using nomachine client?

View 1 Replies View Related

Server :: Is A Qmail-ldap Package To Have Ldap Back End For Qmail

Jun 29, 2011

I am aware that there is a qmail-ldap package to have ldap back end for qmail. But I need only user authentication for qmail through ldap (not the backend; i.e still keeping Mysql as the database). I am pretty new to mail server configuration. I have just configured a (q)mail server (which is currently my sand box) and am able send and receive emails. I am planning to add ldap authentication (just that) to it. Can anyone point me to the right direction?

View 6 Replies View Related

Fedora :: FreeNX Server Performance Under Fedora 14 - Disable OpenGL?

Nov 27, 2010

I'm noticing that the performance for FreeNX Server under Fedora Core 14 is really bad. The screen refreshing is painfully slow. I'm thinking maybe the issue is related to the use of opengl in the X driver? how I can disable opengl entirely, so that the X server is only using 2d rendering?

View 2 Replies View Related

Server :: Configuring Open LDAP Server And Clients In Ubuntu?

Jan 29, 2010

i want to configure an Open LDAP server in Ubuntu....and also want it to connect to its clients, i have two machines for testing,one for client & one for server, i followed the tutorials on ubuntu documentation,but did not succeed in making either the client or the server,

View 2 Replies View Related

Server :: LDAP SERVER: Post A Tar.gz With The Working Configuration Files?

Jan 14, 2010

LDAP is endlessly not working, due to difficulties to simply configure it. I even cannot make the first steps of the installations ... It seems so difficult ... After many howto, wiki, reading, re-reading the errors are still there, always different, and not working.Is there an admin, coming from hell, that made running a LDAP server for sharing the basic configuratin files /var.. /etc... of a working LDAP Server in a tar.gz?

View 18 Replies View Related







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