Displaying 16 results from an estimated 16 matches for "ldap_get_values".
2014 Jan 23
0
php script to migrate other attributes after running classicupgrade
...ldap_search($samba3, $samba3_dn, $samba3_filter);
$s3_count = ldap_count_entries($samba3, $s3_search_result);
echo "Total number of ldap records found: $s3_count<br />";
$uid = ldap_first_entry($samba3, $s3_search_result);
//actual work is done below
while ($uid) {
$s3_uid = ldap_get_values($samba3, $uid, 'uid');
$s3_mail = ldap_get_values($samba3, $uid, 'mail');
$s3_homedirectory = ldap_get_values($samba3, $uid, 'homeDirectory');
$s3_givenName = @ldap_get_values($samba3, $uid, 'givenName');
$s3_sn = ldap_get_values($samba3, $uid, &...
2019 Apr 04
5
Migration to samba4 ad and sync to openldap.
I managed to do migration using "classicupgrade".
Doing tests with debian buster 2:4.9.4+dfsg-4.
For the moment using samba internal dns and sub-domain of ad.advocap.org.
Had issue forwarding dns if I used main domain.
When it comes to real production will use bind that I understand better
but don't want to mess with my other dns servers now.
Had a w10 box join samba4 ad
2003 May 12
3
winbind crash
...ind(183)
got OID=1 3 6 1 4 1 311 2 2 10
[2003/05/12 14:08:24, 3] libads/sasl.c:ads_sasl_spnego_bind(190)
got principal=fozzy$@CJNTECH
[2003/05/12 14:08:24, 1] libads/ldap_utils.c:ads_do_search_retry(76)
ads reopen failed after error Success
winbindd: ../../../libraries/libldap/getvalues.c:36: ldap_get_values:
Assertion
`entry != ((void *)0)' failed.
Any ideas?
Cheers,
Paul
---------------------------------------------------------
Paul Eggleton Ph: +64-9-4154790
Software Developer Fax: +64-9-4154791
CJN Technologies Ltd. DDI: +64-9-4154795
http://www.c...
2003 May 28
2
Panic action ignored by winbind during crash
...have set in smb.conf doesn't seem to be working. First, the
message I get in the log.winbindd file is as follows:
------ snip ------
[2003/05/27 17:05:01, 1] libads/ldap_utils.c:ads_do_search_retry(76)
ads reopen failed after error Success
winbindd: ../../../libraries/libldap/getvalues.c:36: ldap_get_values:
Assertion
`entry != ((void *)0)' failed.
------ snip ------
I have the panic action set as follows:
panic action = /bin/sh /usr/local/bin/cjnwbcrash.sh
(I have tried with quotes, the result is the same - the script is not
executed).
The reason I am using a script is that I need it...
2009 Jan 13
3
postfix - dovecot - ldap
Hallo,
I want to run postfix - dovecot - openldap working together
The first problem is, that dovecot doesn't create the directories
/usr/local/mail/abcshop.at/bamm/Maildir
cur
new
tmp
although I can contact the Dovecot-Server
telnet localhost 143
OK ....
1 login bamm at abcshop.at secret
OK Logged in
/usr/local/mail/ is owned by virtual:virtual
If I uncomment the line
#mail_location =
2007 Apr 12
2
1.0.rc32 released
http://dovecot.org/releases/dovecot-1.0.rc32.tar.gz
http://dovecot.org/releases/dovecot-1.0.rc32.tar.gz.sig
Pretty late for changes if v1.0 is supposed to come out tomorrow, but I
can't really leave these LDAP bugs unfixed. They shouldn't anyway break
anything, so here's one more day for you people to find out about any
bugs.
One thing that I'm a bit concerned about is the
2003 Apr 17
0
winbindd crashing/stopping
...go_bind(183)
got OID=1 3 6 1 4 1 311 2 2 10
[2003/04/16 16:16:47, 3] libads/sasl.c:ads_sasl_spnego_bind(190)
got principal=KDC@DOMAIN
[2003/04/16 16:16:47, 1] libads/ldap_utils.c:ads_do_search_retry(76)
ads reopen failed after error Success
winbindd: ../../../libraries/libldap/getvalues.c:36: ldap_get_values: Assertion
`entry != ((void *)0)' failed.
[2003/04/16 16:20:05, 1] nsswitch/winbindd.c:main(918)
winbindd version 3.0alpha23 started.
Copyright The Samba Team 2000-2001
[2003/04/16 16:20:06, 1] nsswitch/winbindd_util.c:rescan_trusted_domains(168)
scanning trusted domain list
[2003/04/16 1...
2011 May 10
1
LDAP Authentication ok but errors
...t
May 10 18:02:13 carpe3 dovecot: auth: Error: read1msg: ld 0x1c8e6df0 msgid -1 all 0
May 10 18:02:13 carpe3 dovecot: auth: Error: read1msg: ld 0x1c8e6df0 msgid 2 message type search-entry
May 10 18:02:13 carpe3 dovecot: auth: Error: ldap_first_attribute
May 10 18:02:13 carpe3 dovecot: auth: Error: ldap_get_values
May 10 18:02:13 carpe3 dovecot: auth: Error: ldap_next_attribute
May 10 18:02:13 carpe3 dovecot: auth: Error: ldap_get_values
May 10 18:02:13 carpe3 dovecot: auth: Error: ldap_next_attribute
May 10 18:02:13 carpe3 dovecot: auth: Error: ldap_get_values
May 10 18:02:13 carpe3 dovecot: auth: Error: ld...
2007 Jul 25
1
v1.1 alpha1: can't pop/imap login with LDAP
....c Tue Jul 24 20:20:31 2007
***************
*** 55,60 ****
--- 55,62 ----
BerElement *ber;
string_t *var, *debug;
+
+ int value_index;
};
#define DEF_STR(name) DEF_STRUCT_STR(name, ldap_settings)
***************
*** 764,769 ****
--- 766,772 ----
ctx->vals = ldap_get_values(ctx->conn->ld, ctx->entry,
ctx->attr);
ctx->value = ctx->vals[0];
+ ctx->value_index = 0;
}
static void
***************
*** 797,804 ****
db_ldap_result_change_attr(ctx);
} else {...
2011 Nov 01
1
LDAP w/SASL "Active Directory" authentication failing.
...res_error: <>,
res_matched: <>
Nov 01 09:09:48 auth(default): Error: ldap_free_request (origid 1, msgid 1)
Nov 01 09:09:48 auth(default): Error: adding response ld 0x18611700 msgid 1
type 101:
Nov 01 09:09:48 auth(default): Error: ldap_parse_result
Nov 01 09:09:48 auth(default): Error: ldap_get_values
Nov 01 09:09:48 auth(default): Error: ldap_msgfree
Nov 01 09:09:48 auth(default): Error: ldap_sasl_interactive_bind: server
supports: GSSAPI GSS-SPNEGO EXTERNAL DIGEST-MD5
Nov 01 09:09:48 auth(default): Error: ldap_int_sasl_bind: GSSAPI GSS-SPNEGO
EXTERNAL DIGEST-MD5
Nov 01 09:09:48 auth(default):...
2015 Jan 26
1
imap-login: Fatal: pipe() failed: Too many open files
..., res_error: <>,
res_matched: <>
Jan 26 12:09:09 WM-01 dovecot: auth: Error: ldap_free_request (origid 3,
msgid 3)
Jan 26 12:09:09 WM-01 dovecot: auth: Error: ldap_parse_result
Jan 26 12:09:09 WM-01 dovecot: auth: Error: ldap_first_attribute
Jan 26 12:09:09 WM-01 dovecot: auth: Error: ldap_get_values
Jan 26 12:09:09 WM-01 dovecot: auth: Error: ldap_next_attribute
Jan 26 12:09:09 WM-01 dovecot: auth: Error: ldap_first_attribute
Jan 26 12:09:09 WM-01 dovecot: auth: Error: ldap_get_values
Jan 26 12:09:09 WM-01 dovecot: auth: Error: ldap_next_attribute
Jan 26 12:09:09 WM-01 dovecot: auth: Error: ld...
2003 Feb 12
2
rsync & ldap authentication
...ERROR,"ldap: get_dn failed\n");
+ } else {
+ if (ldap_compare_s(ld, group, lp_ldap_auth_users_attribute(module), dn) != LDAP_COMPARE_TRUE) {
+ rprintf(FERROR,"ldap: compare_s failed or \"%s\" is not member of \"%s\"\n", dn, group);
+ } else {
+ if (!(vals=ldap_get_values(ld, result, attrs[0])) || !vals[0] || vals[1]) {
+ rprintf(FERROR,"ldap: \"%s\" has no valid password\n", dn);
+ if (vals) ldap_value_free(vals);
+ } else {
+ memset(secret, 0, sizeof(secret)); /* paranoid */
+ strlcpy(secret, vals[0], len);
+ ok=1;
+ ldap_value_free(val...
2003 May 03
0
Storing rsync secrets in LDAP
...if (ldap_compare_s(ld, group, lp_ldap_auth_users_attribute(module),
+dn) != LDAP_COMPARE_TRUE) {
+ rprintf(FERROR,"ldap: compare_s failed or \"%s\" is not member
+of \"%s\"\n", dn, group);
+ } else {
+ if (!(vals=ldap_get_values(ld, result, attrs[0])) || !vals[0] ||
+vals[1]) {
+ rprintf(FERROR,"ldap: \"%s\" has no valid password\n", dn);
+ if (vals) ldap_value_free(vals);
+ } else {
+ memset(secret, 0, sizeof(secret)); /* paranoid */
+...
2013 Dec 06
1
Authentification Dovecot + Samba4
...d 0x7fef48794580 NULL
srv1 dovecot: auth: Error: ldap_int_select
srv1 dovecot: auth: Error: read1msg: ld 0x7fef48794580 msgid -1 all 0
srv1 dovecot: auth: Error: read1msg: ld 0x7fef48794580 msgid 37 message type search-entry
srv1 dovecot: auth: Error: ldap_first_attribute
srv1 dovecot: auth: Error: ldap_get_values
srv1 dovecot: auth: Error: ldap_next_attribute
srv1 dovecot: auth: Debug: auth(john): username changed john -> john
srv1 dovecot: auth: Debug: ldap(john): result: sAMAccountName=john
srv1 dovecot: auth: Error: ldap_get_dn
srv1 dovecot: auth: Error: ldap_msgfree
srv1 dovecot: auth: Error: ldap_re...
2015 Jan 26
3
imap-login: Fatal: pipe() failed: Too many open files
Am 26.01.2015 um 02:13 schrieb Leander Sch?fer:
> I just checked my ulimit again and it really seems like it has more
> than enough - so I still don't understand what I've configured wrong
> here ;/
>
> root at WM-01 [~]$ su -m dovecot -c "ulimit -a"
> socket buffer size (bytes, -b) unlimited
> core file size (blocks, -c) unlimited
> data
2013 Feb 20
2
Dovecot LDA LDAP lookups on samba4 server ends very often in timeouts
..._select
Feb 20 12:21:20 sng02 dovecot: auth: Error: read1msg: ld 0x6cba60 msgid
-1 all 0
Feb 20 12:21:20 sng02 dovecot: auth: Error: read1msg: ld 0x6cba60 msgid
2 message type search-entry
Feb 20 12:21:20 sng02 dovecot: auth: Error: ldap_first_attribute
Feb 20 12:21:20 sng02 dovecot: auth: Error: ldap_get_values
Feb 20 12:21:20 sng02 dovecot: auth: Error: ldap_next_attribute
Feb 20 12:21:20 sng02 dovecot: auth: Debug: ldap(marco.carcano):
result: dovecotMailQuota(quota_rule=%$)=*:storage=8192M
Feb 20 12:21:20 sng02 dovecot: auth: Error: ldap_msgfree
Feb 20 12:21:20 sng02 dovecot: auth: Error: ldap_result...