LinuxQuestions.org
Register a domain and help support LQ
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
 
LinkBack Search this Thread
Old 09-04-2009, 10:07 PM   #1
mercxi
LQ Newbie
 
Registered: Feb 2008
Posts: 20

Rep: Reputation: 0
issue with samba and openldap


I am trying to turn my ubuntu 64 bit 9.04 server into a domain controller with openldap and samba
I already configured both samba and openldap
however when I go to this link to learn to combine them https://help.ubuntu.com/9.04/serverg...amba-ldap.html
everything if fine up until I reach this part:
ldapmodify -x -D cn=admin,cn=config -W -f samba_indexes.ldif

I cannot find the samba_indexes.ldif file anywhere in my system nor can find out how to create it. Does anyone know if I messed something up or how to create this file?
 
Old 09-04-2009, 10:54 PM   #2
jns
LQ Newbie
 
Registered: Sep 2009
Location: NC
Distribution: fedora
Posts: 18

Rep: Reputation: 0
From the link you posted:

Code:
Copy and paste the following into a file named samba_indexes.ldif:

dn: olcDatabase={1}hdb,cn=config
changetype: modify
add: olcDbIndex
olcDbIndex: uidNumber eq
olcDbIndex: gidNumber eq
olcDbIndex: loginShell eq
olcDbIndex: uid eq,pres,sub
olcDbIndex: memberUid eq,pres,sub
olcDbIndex: uniqueMember eq,pres
olcDbIndex: sambaSID eq
olcDbIndex: sambaPrimaryGroupSID eq
olcDbIndex: sambaGroupType eq
olcDbIndex: sambaSIDList eq
olcDbIndex: sambaDomainName eq
olcDbIndex: default sub
 
  


Reply

Tags
openldap, samba


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba issue (SAMBA and OpenLDAP for PDC) nyu2009 Linux - Server 1 08-01-2009 12:00 PM
Openldap issue ciphyre Linux - Server 3 09-18-2008 01:20 PM
OpenLDAP + Netmeeting Kit Patch Issue kemplej Linux - Software 0 08-03-2004 01:24 PM
Linux Netmeeting and OpenLDAP Issue Scooty Linux - Software 0 04-17-2003 01:18 AM
Linux Netmeeting and OpenLDAP Issue Scooty Linux - Networking 0 04-17-2003 01:08 AM


All times are GMT -5. The time now is 01:31 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration