Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 09-23-2008, 12:13 PM   #1
LQ Newbie
Registered: May 2005
Location: Minnesota, USA
Distribution: Kubuntu 5.10
Posts: 17

Rep: Reputation: 0
Centos samba server authenticating with windows LDAP server

I am setting up a new centos server, which will run samba, and I would like to use the current ldap server for authentication.

Current setup:
Everything is windows. LDAP is running on 3 windows servers using a round robin strategy. Everybody currently uses these to log in to windows computers and windows shares.

New Addition:
Centos web server and samba server (this is the very first linux computer in this network). Samba will be used to modify the web files. I have samba set up to use an ldap backend for authentication. I get a message in the log that I believe is an error. centos has not been set up on the domain, I'm not sure if it is necessary or not.

smb.conf clip:
ldap user suffix = ou=sAMAccountName
ldap passwd sync = yes
server string = Samba Server Version %v
ldap suffix = dc=****,dc=org
workgroup = ****
null passwords = yes
username map = /etc/samba/smbusers
ldap admin dn = cn=****, cn=Users, dc=MNHS,dc=org
encrypt passwords = yes
passdb backend = ldapsam:ldap://******.****.org
domain logons = yes

[2008/09/23 11:51:30, 0] smbd/server.c:main(948)
smbd version 3.0.28-1.el5_2.1 started.
Copyright Andrew Tridgell and the Samba Team 1992-2007
[2008/09/23 11:51:30, 1] lib/smbldap_util.c:add_new_domain_info(216)
add_new_domain_info: failed to add domain dn= sambaDomainName=****,dc=****,dc=org with: No such attribute
00000057: LdapErr: DSID-0C090B38, comment: Error in attribute conversion operation, data 0, vece
[2008/09/23 11:51:30, 0] lib/smbldap_util.c:smbldap_search_domain_info(286)
smbldap_search_domain_info: Adding domain info for **** failed with NT_STATUS_UNSUCCESSFUL

1. is it possible to do what I am trying to do, or will I need to set up a seperate authentication system.
2. if it is possible, what steps am I missing? Is there a howto that would help me? All of the howto's that I have found so far have been specific to openLDAP and did not contain extra information to help me determine the objectives of the different parts of the configuration options.

Any advice would be appreciated.
Old 09-28-2008, 04:22 AM   #2
Registered: Feb 2007
Location: Iceland
Distribution: Fedora 14, CentOS, FreeNAS
Posts: 127

Rep: Reputation: 20
Google is your friend

Hi there.
I searched Google and found this:
I think this will help you.

Odinn Burkni
Old 10-01-2008, 01:52 PM   #3
LQ Newbie
Registered: May 2005
Location: Minnesota, USA
Distribution: Kubuntu 5.10
Posts: 17

Original Poster
Rep: Reputation: 0
That tutorial does not help me with the most optimal solution. I have decided to go the easy route and just have them use a second authentication system instead of trying to tie it into windows. Perhaps some day I can have windows authenticate against the Linux server, but not today. I will be able to take advantage of that howto for another project that I am working on.

Thanks for your help.
Old 10-01-2008, 02:05 PM   #4
Registered: May 2008
Distribution: Gentoo
Posts: 306

Rep: Reputation: 34
Originally Posted by GuodMan View Post
... optimal ...
Optimal means best. What you're going to do is a workaround, not the optimal solution.
Old 10-03-2008, 01:56 AM   #5
Registered: Aug 2006
Posts: 72

Rep: Reputation: 15
The Windows LDAP server, is it NT LDAP or is it Active Directory? It all depends on which route to take to achieve what your seeking.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
creating a sychronized suse server with windows server with ldap samba chars098 Linux - Server 0 06-17-2008 08:22 PM
authenticating through one ldap server that uses other ldap servers & active director dreamm Linux - Server 1 02-21-2007 08:22 AM
authenticating an ldap server onto itself guy_ripper Linux - Networking 1 12-01-2006 02:10 AM
samba member server as fileserver authenticating samba PDC activeq Linux - Networking 0 11-17-2006 09:44 AM
mail server authenticating to ldap zachts Linux - Networking 1 09-27-2005 12:12 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:49 PM.

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