LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 09-22-2004, 04:15 AM   #1
locus
LQ Newbie
 
Registered: Sep 2004
Posts: 2

Rep: Reputation: 0
cannot access LDAP when not root..


Hello,


I'm almost so far that LDAP is working, but keep seeing this problemen again and again.

[2004/09/22 10:14:29, 0] lib/smbldap.c:smbldap_open(799)
smbldap_open: cannot access LDAP when not root..
[2004/09/22 10:14:29, 1] lib/smbldap.c:smbldap_retry_open(888)
Connection to LDAP Server failed for the 1 try!
[2004/09/22 10:14:29, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(1612)
ldapsam_search_one_group: Problem during the LDAP search: LDAP error: (Insufficient access)smbldap_open: cannot access LDAP when
not root..
[2004/09/22 10:14:29, 1] lib/smbldap.c:smbldap_retry_open(888)
Connection to LDAP Server failed for the 1 try!
[2004/09/22 10:14:29, 0] lib/smbldap.c:smbldap_search_suffix(1075)
smbldap_search_suffix: Problem during the LDAP search: (Insufficient access)
[2004/09/22 10:14:29, 0] rpc_server/srv_samr_nt.c:_samr_create_user(2330)
could not add user/computer vinctest$ to passdb. Check permissions?


This problem shows up when i try to let a Windows XP machine join the domain.
Does anybody have an idee how i can solve this problem ??

Thanks already.
 
Old 09-23-2004, 03:17 AM   #2
locus
LQ Newbie
 
Registered: Sep 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Unhappy

After long searching and a bottle of old finest scotts whiskey, i was able to find a solution for this problem.
But after that i got a new error message, but first i sall tell you how i solved the problem about when not root ...

[2004/09/21 16:24:36, 0] lib/smbldap.c:smbldap_open(799)
smbldap_open: cannot access LDAP when not root..
[2004/09/21 16:24:36, 1] lib/smbldap.c:smbldap_retry_open(888)
Connection to LDAP Server failed for the 1 try!
[2004/09/21 16:24:36, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(1612)
ldapsam_search_one_group: Problem during the LDAP search: LDAP error: (Insufficient access)smbldap_open: cannot access LDAP when
not root..
[2004/09/21 16:24:36, 1] lib/smbldap.c:smbldap_retry_open(888)
Connection to LDAP Server failed for the 1 try!
[2004/09/21 16:24:36, 0] lib/smbldap.c:smbldap_search_suffix(1075)
smbldap_search_suffix: Problem during the LDAP search: (Insufficient access)
[2004/09/21 16:24:36, 0] rpc_server/srv_samr_nt.c:_samr_create_user(2330)
could not add user/computer vinctest$ to passdb. Check permissions?

Just edit the GIDnumber and UIDnumber to zero "0" from the person you want to have write access to the Samba and LDAP stuff.




NEW PROBLEM :

After i just edit the GIDnumber and UIDnumber to zero i got this new problem, maybe I need a nother bottle of whiskey to figur this out.
I hoop not

[2004/09/23 09:40:44, 0] passdb/pdb_ldap.c:ldapsam_add_sam_account(1427)
ldapsam_add_sam_account: User 'vinctest$' already in the base, with samba attributes
[2004/09/23 09:40:44, 0] rpc_server/srv_samr_nt.c:_samr_create_user(2330)
could not add user/computer vinctest$ to passdb. Check permissions?

Does anybody have a idee how to sove this ????
 
Old 10-05-2004, 09:15 AM   #3
NetSnake
LQ Newbie
 
Registered: Sep 2004
Location: China
Distribution: Debian 3.0r2 unstable
Posts: 28

Rep: Reputation: 15
Remove this account vinctest$'s all sambaSamAccount or other objectClass 's all object, in a other word, add a pure posixAccount account, and try again.
 
  


Reply



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
samba root user with Open LDAP paul_mat Linux - Networking 6 01-16-2007 08:08 PM
how to access LDAP information msound Linux - Networking 5 06-27-2005 09:10 PM
LDAP Insufficient access sohocoffee2 Linux - Security 1 03-02-2005 09:23 PM
LDAP Access Problem sashhoney Linux - Software 0 09-29-2004 04:53 AM
LDAP, PostgreSQL Access Control Database PrimusXPrimus Linux - Networking 0 04-12-2004 05:48 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 02:26 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration