[Samba] Linux (specially Fedora 8), issues with ldap and samba
services starting up at boot time
Andrew Richey
ar2748 at columbia.edu
Mon Feb 4 16:59:48 GMT 2008
Hey Adam,
Well, I have my Samba LDAP stuff within an organizational unit on
purpose - but do you think that would cause an issue? Remember, when I
start it manually, it causes no issues at all. It's only when the
service is set to start at boot time.
Adam Williams wrote:
> this is what mine looks like:
>
> passdb backend = ldapsam:ldap://gomer.mdah.state.ms.us
> ldap suffix = dc=gomer,dc=mdah,dc=state,dc=ms,dc=us
> ldap machine suffix = ou=People
> ldap user suffix = ou=People
> ldap group suffix = ou=Group
> ldap idmap suffix = ou=Idmap
> ldap admin dn = cn=Manager,dc=gomer,dc=mdah,dc=state,dc=ms,dc=us
>
> so i think your ldap suffix = line is wrong.
>
>
> Andrew Richey wrote:
>> Hey there, thanks for the response! Here is that same section out of
>> my smb.conf.
>>
>> passdb backend = ldapsam:ldap://example.com:389
>> ldap admin dn = cn=admin,dc=example,dc=com
>> ldap suffix = ou=samba,dc=example,dc=com
>> ldap user suffix = ou=users
>> ldap machine suffix = ou=computers
>> ldap group suffix = ou=groups
>>
>>
>> The main difference between mine, and your working config, is that I
>> specify port 389 in my passdb backend paramater. Also, my admin dn
>> isn't within the same part of the tree that the samba stuff is in. I
>> have the samba users/machines/groups within ou=samba. Do you think
>> this could cause an issue?
>>
>> BTW, I'm using OpenLDAP.
>>
>>
>> satish patel wrote:
>>> i have face time kind of problem but i got solution in smb.conf
>>>
>>> This is good and working fine
>>>
>>> passdb backend = ldapsam:ldap://example.com
>>> ldap admin dn = cn=Directory Manager
>>> ldap suffix = dc=example,dc=com
>>> ldap user suffix = ou=People
>>> ldap machine suffix = ou=Computers
>>> ldap group suffix = ou=Groups
>>>
>>> This is wrong not working and got same error ldap retry..
>>>
>>> passdb backend = ldapsam:ldap://example.com
>>> ldap admin dn = cn=Directory Manager
>>> ldap suffix = dc=tulipconnect,dc=com
>>> ldap user suffix = ou=People,dc=example,dc=com
>>> ldap machine suffix = ou=Computers,dc=example,dc=com
>>> ldap group suffix = ou=Groups,dc=example,dc=com
>>>
>>> I am runung is configuration FDS server
>>>
>>>
>>>
>>>
>>> */Andrew Richey <ar2748 at columbia.edu>/* wrote:
>>>
>>> Hey guys,
>>>
>>> For some reason, when I enable smb and nmb to start at boot
>>> time... I
>>> get error messages in my log.smbd.
>>>
>>> [2008/02/01 18:47:00, 1] lib/smbldap.c:another_ldap_try(1153)
>>> Connection to LDAP server failed for the 1 try!
>>> [2008/02/01 18:47:04, 1] lib/smbldap.c:another_ldap_try(1153)
>>> Connection to LDAP server failed for the 2 try!
>>>
>>> From this you'd think that either I hadn't stored the right
>>> password
>>> (via smbpasswd -w), or the LDAP server is somehow unreachable. But
>>> that
>>> isn't the case. And when I start both services manually, after
>>> boot,
>>> everything works great. Was curious if anyone else has run into
>>> this
>>> problem. Granted, I am a lot more familiar with BSD variants than
>>> I am
>>> Linux... so I may be missing something obvious.
>>>
>>> -Andrew
>>> -- To unsubscribe from this list go to the following URL and
>>> read the
>>> instructions: https://lists.samba.org/mailman/listinfo/samba
>>>
>>>
>>>
>>>
>>> $ cat
>>> ~/satish/url.txt
>>> http://www.linuxbug.org
>>> _____________________________________________________________________________________________________
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> Download prohibited? No problem. CHAT
>>> <http://in.rd.yahoo.com/tagline_webmessenger_1/*http://in.messenger.yahoo.com/webmessengerpromo.php>
>>> from any browser, without download.
>
More information about the samba
mailing list