Hello, I try to add some Entries via PHP to samba 4 AD LDAP. The insert work only party, some values like telephonenumber, ipPhone and facsimileTelephoneNumber are not set. ldap_add always return success. Is there a way to see whats going on in ldap and whats wrong? I have try to set ldap_set_option($connect, LDAP_OPT_DEBUG_LEVEL, 7); in php, but it doesn't output more infos. Best Regards,
On Tue, 13 Nov 2018 16:26:24 +0100 basti via samba <samba at lists.samba.org> wrote:> Hello, > > I try to add some Entries via PHP to samba 4 AD LDAP. > > The insert work only party, some values like telephonenumber, ipPhone > and facsimileTelephoneNumber are not set. > > ldap_add always return success. > > Is there a way to see whats going on in ldap and whats wrong? > > I have try to set ldap_set_option($connect, LDAP_OPT_DEBUG_LEVEL, 7); > in php, but it doesn't output more infos. > > Best Regards, >It might help if you could give us an example of what you tried Rowland
I have fixed it with wireshark On 13.11.18 16:53, Rowland Penny via samba wrote:> On Tue, 13 Nov 2018 16:26:24 +0100 > basti via samba <samba at lists.samba.org> wrote: > >> Hello, >> >> I try to add some Entries via PHP to samba 4 AD LDAP. >> >> The insert work only party, some values like telephonenumber, ipPhone >> and facsimileTelephoneNumber are not set. >> >> ldap_add always return success. >> >> Is there a way to see whats going on in ldap and whats wrong? >> >> I have try to set ldap_set_option($connect, LDAP_OPT_DEBUG_LEVEL, 7); >> in php, but it doesn't output more infos. >> >> Best Regards, >> > > It might help if you could give us an example of what you tried > > Rowland > >