[Samba] Help with ldap configuration please

Frederic Descamps fred at x-tend.be
Fri Jul 27 11:52:50 GMT 2007


Adam,

could you post your smb.conf it could be relevant to see what's wrong.




On Fri, 2007-07-27 at 04:21 -0700, Adam DiCaprio wrote:
> This is on RHE4, I am getting an invalid DN error. Is there a good resource
> site for this type of configuration issue? There is a lot of info that comes
> up through google but I am having no luck finding anything relevant (or that
> seems relevant to me). Thank you in advance and sorry about the newbie
> question.
> 
> smbd version 3.0.25b started.
> Copyright Andrew Tridgell and the Samba Team 1992-2007
> Processing section "[homes]"
> Processing section "[netlogon]"
> Processing section "[profiles]"
> Processing section "[profdata]"
> adding IPC service
> reloading printcap cache
> reload status: ok
> reloading printcap cache
> reload status: ok
> added interface ip=192.168.11.5 bcast=192.168.11.255 nmask=255.255.255.0
> loaded services
> Registered MSG_REQ_POOL_USAGE
> Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
> smbldap_search_domain_info: Searching
> for:[(&(objectClass=sambaDomain)(sambaDomainName=HFC))]
> smbldap_open_connection: connection opened
> ldap_connect_system: succesful connection to the LDAP server
> smbldap_search_domain_info: Got no domain info entries for domain
> add_new_domain_info: Adding new domain
> add_new_domain_info: failed to add domain dn=
> sambaDomainName=HFC,dc=hfc,dc=com with: Invalid DN syntax
>     invalid DN
> smbldap_search_domain_info: Adding domain info for HFC failed with
> NT_STATUS_UNSUCCESSFUL
> pdb_init_ldapsam: WARNING: Could not get domain info, nor add one to the
> domain
> pdb_init_ldapsam: Continuing on regardless, will be unable to allocate new
> users/groups, and will risk BDCs having inconsistant SIDs
> push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
> push_conn_ctx(0) : conn_ctx_stack_ndx = 0
> setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
> push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
> push_conn_ctx(0) : conn_ctx_stack_ndx = 1
> setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
> pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
> pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
> push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
> push_conn_ctx(0) : conn_ctx_stack_ndx = 0
> setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
> pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
> push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
> push_conn_ctx(0) : conn_ctx_stack_ndx = 0
> setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
> pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
> push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
> push_conn_ctx(0) : conn_ctx_stack_ndx = 0
> setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
> pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
> get_privileges: No privileges assigned to SID [S-1-22-1-0]
> get_privileges: No privileges assigned to SID [S-1-5-2]
> get_privileges: No privileges assigned to SID [S-1-5-11]
> se_access_check: user sid is S-1-22-1-0
> se_access_check: also S-1-5-32-544
> se_access_check: also S-1-1-0
> se_access_check: also S-1-5-2
> se_access_check: also S-1-5-11
> se_access_check: user sid is S-1-22-1-0
> se_access_check: also S-1-5-32-544
> se_access_check: also S-1-1-0
> se_access_check: also S-1-5-2
> se_access_check: also S-1-5-11
> se_access_check: user sid is S-1-22-1-0
> se_access_check: also S-1-5-32-544
> se_access_check: also S-1-1-0
> se_access_check: also S-1-5-2
> se_access_check: also S-1-5-11
> se_access_check: user sid is S-1-22-1-0
> se_access_check: also S-1-5-32-544
> se_access_check: also S-1-1-0
> se_access_check: also S-1-5-2
> se_access_check: also S-1-5-11
> se_access_check: user sid is S-1-22-1-0
> se_access_check: also S-1-5-32-544
> se_access_check: also S-1-1-0
> se_access_check: also S-1-5-2
> se_access_check: also S-1-5-11
> se_access_check: user sid is S-1-22-1-0
> se_access_check: also S-1-5-32-544
> se_access_check: also S-1-1-0
> se_access_check: also S-1-5-2
> se_access_check: also S-1-5-11
> se_access_check: user sid is S-1-22-1-0
> se_access_check: also S-1-5-32-544
> se_access_check: also S-1-1-0
> se_access_check: also S-1-5-2
> se_access_check: also S-1-5-11
> se_access_check: user sid is S-1-22-1-0
> se_access_check: also S-1-5-32-544
> se_access_check: also S-1-1-0
> se_access_check: also S-1-5-2
> se_access_check: also S-1-5-11
> se_access_check: user sid is S-1-22-1-0
> se_access_check: also S-1-5-32-544
> se_access_check: also S-1-1-0
> se_access_check: also S-1-5-2
> se_access_check: also S-1-5-11
> push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
> push_conn_ctx(0) : conn_ctx_stack_ndx = 0
> setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
> pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
> push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
> push_conn_ctx(0) : conn_ctx_stack_ndx = 0
> setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
> pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
> push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
> push_conn_ctx(0) : conn_ctx_stack_ndx = 0
> setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
> pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
> push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
> push_conn_ctx(0) : conn_ctx_stack_ndx = 0
> setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
> pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
> push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
> push_conn_ctx(0) : conn_ctx_stack_ndx = 0
> setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
> pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
> get_privileges: No privileges assigned to SID
> [S-1-5-21-2029663446-269119921-3533998292-501]
> get_privileges: No privileges assigned to SID [S-1-22-2-99]
> get_privileges: No privileges assigned to SID [S-1-5-2]
> get_privileges: No privileges assigned to SID [S-1-5-32-546]
> push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
> push_conn_ctx(0) : conn_ctx_stack_ndx = 0
> setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
> pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
> push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
> push_conn_ctx(0) : conn_ctx_stack_ndx = 0
> setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
> pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
> push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
> push_conn_ctx(0) : conn_ctx_stack_ndx = 0
> setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
> pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
> waiting for a connection





More information about the samba mailing list