search for: ldap_stat

Displaying 9 results from an estimated 9 matches for "ldap_stat".

Did you mean: ldap_state
2008 Jul 02
4
samba + slave OpenLdap (read-only)
Hello, I'm trying to config samba to use a openldap replica (slave) base. Every thing is working, except when I try to join a machine to a domain. Samba try to write some attributes in openldap, but this database (slave) is read-only, so this operation fails. Openldap can return a REFERRAL when a client (samba) try to do a modification on a slave database and this already is happening.
2003 Mar 17
2
Samba 2.2.8 compile failure - Solaris 8, SunCC, LDAP
...'cc -flags' for details |% uname -a |SunOS XXXX 5.8 Generic_108528-19 sun4u sparc SUNW,Sun-Fire-280R While this worked fine for 2.2.7, using '--with-ldapsam' yields the following fatal error. |Compiling passdb/pdb_ldap.c |"passdb/pdb_ldap.c", line 276: undefined symbol: ldap_state |"passdb/pdb_ldap.c", line 276: undefined struct/union member: bind_dn |"passdb/pdb_ldap.c", line 276: left operand of "->" must be pointer to struct/union |"passdb/pdb_ldap.c", line 276: warning: improper pointer/integer combination: arg #1 |"passdb...
2002 Jul 17
0
user password expiration patch (Samba 2.2.4/2.2.5 PDC with LDAP)
...amba-2.2.4/source/passdb/pdb_ldap.c --- samba.org/source/passdb/pdb_ldap.c Fri May 3 03:03:26 2002 +++ samba-2.2.4/source/passdb/pdb_ldap.c Fri Jun 7 14:39:10 2002 @@ -608,7 +608,7 @@ slprintf (temp, sizeof (temp) - 1, "%li", pdb_get_pass_can_change_time(sampass)); make_a_mod(mods, ldap_state, "pwdCanChange", temp); - slprintf (temp, sizeof (temp) - 1, "%li", pdb_get_pass_must_change_time(sampass)); + slprintf (temp, sizeof (temp) - 1, "%li", time(NULL)+lp_user_password_expiration()); make_a_mod(mods, ldap_state, "pwdMustChange", temp);...
2004 Jan 27
1
Group mapping bugs + PATCH
..._getgrsid(methods, &dummy, + map->sid))) { + DEBUG(0, ("ldapsam_add_group_mapping_entry: SID already mapped in LDAP\n")); + return NT_STATUS_UNSUCCESSFUL; + } + rc = ldapsam_search_one_group_by_gid(ldap_state, map->gid, &result); if (rc != LDAP_SUCCESS) { ldap_msgfree(result); @@ -1991,6 +1997,14 @@ LDAPMessage *entry = NULL; LDAPMod **mods = NULL; + GROUP_MAP dummy; + + if (NT_STATUS_IS_OK(ldapsam_getgrgid(methods, &dummy, +...
2016 Jan 05
6
Stymied with samba vs openldap SSL ("Failed to issue the StartTLS instruction...")
I know this is something which should have a simple fix but I'm failing to see it somehow. I'm moving samba service between a couple of FreeBSD systems (9.3 to 10.2), and I'm stuck on getting samba on the new machine to connect to our openldap server over ssl - frustrating since I've been running samba+ldap for 15 years or so; feel sure I'm missing something basic!
2003 Oct 16
0
Samba 2.2.8a ldap compile problem with pdb_ldap.c
...from incompatible pointer type passdb/pampass.c: In function `smb_setup_pam_conv': passdb/pampass.c:418: warning: assignment from incompatible pointer type Compiling passdb/pdb_tdb.c Compiling passdb/pdb_ldap.c passdb/pdb_ldap.c: In function `rebindproc_with_state': passdb/pdb_ldap.c:276: `ldap_state' undeclared (first use in this function) passdb/pdb_ldap.c:276: (Each undeclared identifier is reported only once passdb/pdb_ldap.c:276: for each function it appears in.) passdb/pdb_ldap.c: In function `pdb_getsampwnam': passdb/pdb_ldap.c:938: warning: passing arg 2 of `standard_sub_advan...
2004 Jan 22
2
RPC: Problem Deleting LDAP-Entries in pdb_ldap.c
...elete the whole dn (dn: uid=.......), where uid is not present any more an extract of the function in pdb_ldap.c --------------------------------------------------------------------------- if (rc != LDAP_SUCCESS) { char *ld_error = NULL; ldap_get_option(ldap_state->ldap_struct, LDAP_OPT_ERROR_STRING, &ld_error); DEBUG(0, ("could not delete attributes for %s, error: %s (%s)\n", dn, ldap_err2string(rc), ld_error?ld_error:"unknown")); SA...
2016 Mar 06
0
Segmentation Fault when trying to set root samba password, IPA as a backend
...od (mem_ctx=0x80032f78, mod=0x80011a98) at ../source3/lib/smbldap.c:274 handle = 0xbffff988 __FUNCTION__ = "smbldap_talloc_autofree_ldapmod" #1 0xb7d45b5b in ldapsam_get_new_rid (priv=0x80027aa8, rid=0xbffffb58) at ../source3/passdb/pdb_ldap.c:4854 smbldap_state = 0x80027fc0 result = 0x80036740 entry = 0x80036740 mods = 0x80011a98 status = {v = 0} value = 0x0 rc = -2147280760 nextRid = 1012 dn = 0xb70dbd06 "LDAPMessage *" mem_ctx = 0x80032f78 __FUNCTION__ =...
2016 Mar 06
2
Segmentation Fault when trying to set root samba password, IPA as a backend
On Fri, Mar 04, 2016 at 04:16:44PM +0000, Rowland penny wrote: > On 04/03/16 09:58, Volker Lendecke wrote: > >On Fri, Mar 04, 2016 at 10:53:17AM +0100, Volker Lendecke wrote: > >>On Wed, Mar 02, 2016 at 09:23:34AM +0000, Rowland penny wrote: > >>>OK, here is the output: > >>Can you try the attached (UNTESTED!) patch? > >> > >>Thanks, >