Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 18th January 2008, 01:59
agarcia71 agarcia71 is offline
HowtoForge Supporter
 
Join Date: Nov 2006
Posts: 18
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via MSN to agarcia71
Default OpenLDAP + Samba Domain Controller On Ubuntu 7.10

hi guys:

this is my 3rd day, I tryng to setup my ldap server with this howto. I follow all the steps like the howto

My problem is this: when I run this command
Code:
admon@ldap$ net getlocalsid
got this error:

Code:
[2008/01/17 18:42:30, 0] lib/smbldap.c:smbldap_connect_system(982)
  failed to bind to server ldap://localhost/ with dn="cn=admin,dc=ddiscovery,dc=local" Error: Can't contact LDAP server
        (unknown)
after a few seconds appears the SID

I don't know what I'm doing wrong:

this is my smb.conf

Code:
[global]

workgroup = DDISCOVERY
server string = Domain Server (Samba, Ubuntu)
dns proxy = no
passdb backend = ldapsam:ldap://localhost/

obey pam restrictions = no
#Begin: Custom LDAP Entries
ldap admin dn = cn=admin,dc=ddiscovery,dc=local
ldap suffix = dc=ddiscovery, dc=local
ldap group suffix = ou=Groups
ldap user suffix = ou=Users
ldap machine suffix = ou=Computers
ldap idmap suffix = ou=Users
; Do ldap passwd sync
ldap passwd sync = Yes
passwd program = /usr/sbin/smbldap-passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *all*authentication*tokens*updated*
add user script = /usr/sbin/smbldap-useradd -m "%u"
ldap delete dn = Yes
delete user script = /usr/sbin/smbldap-userdel "%u"
add machine script = /usr/sbin/smbldap-useradd -w "%u"
add group script = /usr/sbin/smbldap-groupadd -p "%g"
delete group script = /usr/sbin/smbldap-groupdel "%g"
add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"
delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g"
set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u"
domain logons = yes
# End: Custom LDAP Entries

  invalid users = root
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\sUNIX\spassword:* %n\n Retype\snew\sUNIX\spassword:* %n\n passwd:*password\supdated\ssuccessfully* .
logon path =

# Other parameters have default configuration
I'll apreciate any help!!!


PD: sorry abount my english.
Reply With Quote
Sponsored Links
 

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Roaming Profile Error with Samba Domain Controller Setup noahlau HOWTO-Related Questions 6 8th March 2008 18:33
Ubuntu 7.10 LDAP Samba question netwerkdude HOWTO-Related Questions 0 6th January 2008 22:35
samba domain controller - ubuntu eoij1 HOWTO-Related Questions 3 6th October 2006 14:35
Configure Linux client to join a Samba domain controller denny_lin Installation/Configuration 1 9th June 2006 12:31
SAMBA domain controller / CUPS gradedcheese HOWTO-Related Questions 14 8th March 2006 09:21


All times are GMT +2. The time now is 15:23.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.