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:
[global]
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
smb.log:
[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.
|