Defeito #59
Atualizado por Mauricio Luiz Viani há quase 8 anos
Localizar no código do Expresso, onde está ocorrendo a consulta abaixo, que procura por 'uid=lixeira'. Se for um bug, corrigir.
<pre>
root@sparana10305:/p/ldap# grep conn=5352 /p/log/slapd/slapd.log
May 11 13:41:21 sparana10305 slapd[319299]: conn=5352 fd=36 ACCEPT from IP=10.15.202.39:51178 (IP=0.0.0.0:636)
May 11 13:41:21 sparana10305 slapd[319299]: conn=5352 fd=36 TLS established tls_ssf=128 ssf=128
May 11 13:41:21 sparana10305 slapd[319299]: conn=5352 op=0 BIND dn="cn=admin,dc=pr,dc=gov,dc=br" method=128
May 11 13:41:21 sparana10305 slapd[319299]: conn=5352 op=0 BIND dn="cn=admin,dc=pr,dc=gov,dc=br" mech=SIMPLE ssf=0
May 11 13:41:21 sparana10305 slapd[319299]: conn=5352 op=0 RESULT tag=97 err=0 text=
May 11 13:41:21 sparana10305 slapd[319299]: conn=5352 op=1 SRCH base="dc=pr,dc=gov,dc=br" scope=2 deref=0 filter="(&(phpgwAccountType=u)(uid=lixeira))"
May 11 13:41:21 sparana10305 slapd[319299]: conn=5352 op=1 SRCH attr=cn
May 11 13:41:21 sparana10305 slapd[319299]: conn=5352 op=1 SEARCH RESULT tag=101 err=0 nentries=0 text=
May 11 13:41:21 sparana10305 slapd[319299]: conn=5352 op=2 UNBIND
May 11 13:41:21 sparana10305 slapd[319299]: conn=5352 fd=36 closed
</pre>
Verificar se o problema não está no arquivo "imap_functions.inc.php". A operação "get_folders_list" na linha 4330 tenta obter o valor do atributo "cn" utilizando como "uid" o nome das pastas.
<pre>
root@sparana10305:/p/ldap# grep conn=5352 /p/log/slapd/slapd.log
May 11 13:41:21 sparana10305 slapd[319299]: conn=5352 fd=36 ACCEPT from IP=10.15.202.39:51178 (IP=0.0.0.0:636)
May 11 13:41:21 sparana10305 slapd[319299]: conn=5352 fd=36 TLS established tls_ssf=128 ssf=128
May 11 13:41:21 sparana10305 slapd[319299]: conn=5352 op=0 BIND dn="cn=admin,dc=pr,dc=gov,dc=br" method=128
May 11 13:41:21 sparana10305 slapd[319299]: conn=5352 op=0 BIND dn="cn=admin,dc=pr,dc=gov,dc=br" mech=SIMPLE ssf=0
May 11 13:41:21 sparana10305 slapd[319299]: conn=5352 op=0 RESULT tag=97 err=0 text=
May 11 13:41:21 sparana10305 slapd[319299]: conn=5352 op=1 SRCH base="dc=pr,dc=gov,dc=br" scope=2 deref=0 filter="(&(phpgwAccountType=u)(uid=lixeira))"
May 11 13:41:21 sparana10305 slapd[319299]: conn=5352 op=1 SRCH attr=cn
May 11 13:41:21 sparana10305 slapd[319299]: conn=5352 op=1 SEARCH RESULT tag=101 err=0 nentries=0 text=
May 11 13:41:21 sparana10305 slapd[319299]: conn=5352 op=2 UNBIND
May 11 13:41:21 sparana10305 slapd[319299]: conn=5352 fd=36 closed
</pre>
Verificar se o problema não está no arquivo "imap_functions.inc.php". A operação "get_folders_list" na linha 4330 tenta obter o valor do atributo "cn" utilizando como "uid" o nome das pastas.