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 dnsambaDomainName=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
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
> 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.You need an understanding of LDAP to setup and successfully deal with LDAP issues when using Samba+LDAP. That is provided by LDAP documentation. There is no way around reading the documentation.> 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 > domainCan you add an object like this manually? Is the Samba process binding with an DN with sufficient privileges? Is the Samba schema successfully loaded? Does a database with the suffix of dc=hfc,dc=com exist? -- Adam Tauno Williams, Network & Systems Administrator Consultant - http://www.whitemiceconsulting.com Developer - http://www.opengroupware.org
Bert_De_Ridder@peopleware.be
2007-Jul-27 12:08 UTC
[Samba] Help with ldap configuration please
I think you haven't got a sambaDomainName in your LDAP
You'll have to populate your LDAP with this entry first
http://aput.net/~jheiss/samba/ldap.shtml
http://www.unav.es/cti/ldap-smb/smb-ldap-3-howto.html
Kind regards
Bert
"Adam DiCaprio" <apdicaprio@gmail.com>
Sent by: samba-bounces+bdr=peopleware.be@lists.samba.org
27/07/2007 13:21
To
samba@lists.samba.org
cc
Subject
[Samba] Help with ldap configuration please
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 dnsambaDomainName=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
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
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. > > 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 Hi Adam, Do you have a root entry in your LDAP directory for: dc=hfc,dc=com? If not, you need to add one because Samba wont add it for you. For example, this LDIF: dn:dc=hfc,dc=com objectClass: dcObject objectClass: organization o: hfc dc: hfc I would assume that not having this would cause Samba to complain that it can't add your domain to the LDAP directory, because you can't add an entry below a root that does not exist. You can't just install OpenLDAP, install Samba, run them both and expect it to work. You need to prepare your OpenLDAP setup first! There is a script called smbldap-populate which can put a bunch of default entries into your LDAP directory. Have a look at: /usr/share/doc/samba-3.0.X/LDAP/smbldap-tools-0.X/smbldap-populate (obviously replace the X with your version) And make sure you read the README and INSTALL and doc/ stuff in that directory too. If you don't have the smbldap-tools stuff in your Samba directory you can always get the latest version from https://gna.org/projects/smbldap-tools/ HTH, Phil
Maybe Matching Threads
- Problem joining NT4 workstation to a Samba PDC
- Samba version 3.0.23d-1 and joining a Windows Domain
- Problems with Samba and Active Directory
- samba ADS-based authentication fails with NT_STATUS_USER_UNKNOWN but wbinfo works
- samba 3.0 pdc and samba 2.2.8a password authentication failure