LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-05-2007, 08:52 PM   #1
guy_ripper
Member
 
Registered: Oct 2006
Posts: 80

Rep: Reputation: 15
Webmin and ldap user creation


Hi,

Anyone here knows how to configure an LDAP authentication method using webmin. I have installed openldap configured it right. I knew it is successful b'coz got these messages after ldapsearch -x command.

My concern here is that, whenever I create a username on LDAP Users and Groups on webmin. The users or groups which I created will also reflect on local users. I am able to create users or groups from LDAP users and groups. It would also authenticate user from ldap server. However, when I run a command like getent passwd. The user which I created from the ldap would not appear as a local.

Anyone knew how to resolve this issue? Please help.....

[root@ldap01 openldap]# ldapsearch -x
# extended LDIF
#
# LDAPv3
# base <> with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

# ldap.corp.com
dn: dc=ldap,dc=corp,dc=com
o: ldap01.corp.com
dc: ldap
objectClass: dcObject
objectClass: top
objectClass: organization

# Users, ldap.corp.com
dn: ou=Users,dc=ldap,dc=corp,dc=com
ou: Users
objectClass: top
objectClass: organizationalUnit

# Groups, ldap.corp.com
dn: ou=Groups,dc=ldap,dc=corp,dc=com
ou: Groups
objectClass: top
objectClass: organizationalUnit

# search result
search: 2
result: 0 Success

# numResponses: 4
# numEntries: 3
 
Old 11-06-2007, 05:13 PM   #2
Metaphorically
LQ Newbie
 
Registered: Dec 2005
Location: Canada
Distribution: OpenSuse 10.3
Posts: 9

Rep: Reputation: 0
I'm not positive, but doesn't the local user account actually get created if a user logs in and PAM is set up to allow LDAP to authenticate logins? I guess I'm asking if you're sure the users show up as local as soon as you create them or if it happens when the user logs in. I'm also pretty sure that the local passwd file isn't the authoritative source for a user that authenticates via LDAP, though I could be wrong. I'm still learning this LDAP stuff myself.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
System user creation with mysql user creation moos3 Programming 1 08-11-2007 08:01 PM
LDAP tree Creation problem lakshan Linux - Software 1 03-20-2007 10:42 PM
webmin - LDAP paul_mat Linux - Newbie 3 06-07-2005 05:01 PM
webmin/ldap issues labratmatt Linux - Software 0 01-17-2005 10:20 PM
Webmin and User creation droz578 Linux - Security 1 01-13-2005 03:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration