search for: ldapsam_create_user

Displaying 14 results from an estimated 14 matches for "ldapsam_create_user".

2016 Mar 04
0
Segmentation Fault when trying to set root samba password, IPA as a backend
...a block of size 16 free'd ==28624== at 0x482C2D4: realloc (vg_replace_malloc.c:692) ==28624== by 0x48777F7: realloc_array (util.c:754) ==28624== by 0x5731BE1: smbldap_set_mod_internal (smbldap.c:325) ==28624== by 0x5732166: smbldap_set_mod (smbldap.c:392) ==28624== by 0x4AA410F: ldapsam_create_user (pdb_ldap.c:5305) ==28624== by 0x4AC046E: pdb_create_user (pdb_interface.c:542) ==28624== by 0x4AB1401: local_password_change (passdb.c:745) ==28624== by 0x10B4AB: password_change (smbpasswd.c:264) ==28624== by 0x10BC87: process_root (smbpasswd.c:466) ==28624== by 0x10C1AC: main (smb...
2016 Mar 04
2
Segmentation Fault when trying to set root samba password, IPA as a backend
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, Gna, should have at least compiled it.... New patch :-) Volker -- SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen phone: +49-551-370000-0, fax:
2009 Oct 28
1
Samba & LDAP: "Unable to allocate a new user id: bailing out!"
...I managed to setup Samba with an OpenLDAP backend, but adding a user with the command "net rpc user add mg password -U root" results in the following error: Failed to add user 'mg' with: WERR_GENERAL_FAILURE. In the logfile it says: [2009/10/28 15:56:28, 0] passdb/pdb_ldap.c:ldapsam_create_user(5119) ldapsam_create_user: Unable to allocate a new user id: bailing out! Unfortunately I cannot find any other hint on what the reason could be. Has someone an idea what I might have misconfigured? Below's my smb.conf. The samba-user has granted the rights to manage the whole domain-tre...
2009 Oct 15
4
using ldap only idmap
...o the domain (net rpc join -S miserver -UAdministrator). However, when I try to join an XP host to the domain, I get an error (IIRC it's "An attached device is not functionning") in the workstation and the samba logs show the following: [2009/10/15 11:17:47, 0] passdb/pdb_ldap.c:ldapsam_create_user(5119) ldapsam_create_user: Unable to allocate a new user id: bailing out! The user I'm using to bind to the LDAP server is the LDAP administrator and it does have permissions on all the tree (in particular, within "ou=idmap,o=midominio")... I manually added an entry for the work...
2016 Mar 02
4
Segmentation Fault when trying to set root samba password, IPA as a backend
...nside a block of size 16 free'd ==2405== at 0x482C2D4: realloc (vg_replace_malloc.c:692) ==2405== by 0x48777F7: realloc_array (util.c:754) ==2405== by 0x5728B31: smbldap_set_mod_internal (smbldap.c:325) ==2405== by 0x57290B6: smbldap_set_mod (smbldap.c:392) ==2405== by 0x4A9FC2B: ldapsam_create_user (pdb_ldap.c:5304) ==2405== by 0x4ABB376: pdb_create_user (pdb_interface.c:542) ==2405== by 0x4AACBF9: local_password_change (passdb.c:745) ==2405== by 0x10B29B: password_change (smbpasswd.c:264) ==2405== by 0x10BA77: process_root (smbpasswd.c:466) ==2405== by 0x10BF9C: main (smbpassw...
2016 Mar 01
3
Segmentation Fault when trying to set root samba password, IPA as a backend
On 01/03/16 21:35, Garming Sam wrote: > Hi Rowland, > > This new segfault seems unrelated to the previous one. It's probably > something like a double free, which typically shouldn't be that hard to > fix. If you try running the tool under valgrind, it should provide > enough information to fix the issue. > > > Cheers, > > Garming > Who or what is
2009 Oct 06
1
ldapsam, smbpasswd and posixAccount
...e dn: uid=schalke,ou=users,dc=tuxgeek,dc=de uid: schalke objectClass: account objectClass: posixAccount cn: schalke uidNumber: 10100 gidNumber: 10023 homeDirectory: /home/TUXGEEK/schalke loginShell: /bin/bash [root at tiffy openldap]$ smbpasswd -a schalke New SMB password: Retype new SMB password: ldapsam_create_user: failed to create a new user [schalke] (dn = uid=schalke,ou=users,dc=tuxgeek,dc=de) Failed to add entry for user schalke. This is from the log: sambaAcctFlags objectClass Oct 6 18:05:26 tiffy slapd[5819]: conn=12 op=7 RESULT tag=103 err=20 text=modify/add: uid: value #0 already exists Could anyb...
2016 Apr 06
2
Samba (4.1.17) ldap backend create user failed
Hello, I have upgrade my samba PDC from 3.xx (debian lenny) to 4.1 (debian jessie). ldap and samba shares work all fine. When I try to add a user I get the following smbpasswd -a foobar New SMB password: Retype new SMB password: ldapsam_create_user: Unable to allocate a new user id: bailing out! Failed to add entry for user foobar. I found this workaround https://lists.samba.org/archive/samba/2009-October/151528.html but testparam say that WARNING: The "idmap backend" option is deprecated Unknown parameter encountered: "idma...
2016 Mar 06
0
Segmentation Fault when trying to set root samba password, IPA as a backend
...dbd06 "LDAPMessage *" mem_ctx = 0x80032f78 __FUNCTION__ = "ldapsam_get_new_rid" #2 0xb7d45c33 in ldapsam_new_rid_internal (methods=0x80027e28, rid=0xbffffb58) at ../source3/passdb/pdb_ldap.c:4882 result = {v = 0} i = 0 #3 0xb7d46bd3 in ldapsam_create_user (my_methods=0x80027e28, tmp_ctx=0x8001e888, name=0x800081c0 <user_name> "ldap09", acb_info=16, ---Type <return> to continue, or q <return> to quit--- rid=0xbffffb58) at ../source3/passdb/pdb_ldap.c:5248 ldap_state = 0x80027aa8 entry = 0x0...
2010 Jun 07
0
I have a weird problem with PDC on samba 3.5.3 and I think I need developers' help :)
...(smbldap_make_mod) smbldap_make_mod: adding attribute |uid| value |D_DEPTULA_VIRT$| [2010/06/07 11:14:00.475505, 2] passdb/pdb_ldap.c:1200(init_ldap_from_sam) init_ldap_from_sam: Setting entry for user: D_DEPTULA_VIRT$ ........... [2010/06/07 11:14:00.508208, 2] passdb/pdb_ldap.c:5472(ldapsam_create_user) ldapsam_create_user: added account [D_DEPTULA_VIRT$] in the LDAP database ........... [2010/06/07 11:14:00.546757, 5] rpc_server/srv_samr_nt.c:4801(set_user_info_pw) Attempting administrator password change for user D_DEPTULA_VIRT$ [2010/06/07 11:14:00.546794, 0] ../libcli/auth/smbencrypt....
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, >
2016 Apr 06
0
Samba (4.1.17) ldap backend create user failed
...04/16 15:23, basti wrote: > Hello, I have upgrade my samba PDC from 3.xx (debian lenny) to 4.1 (debian jessie). > ldap and samba shares work all fine. > > When I try to add a user I get the following > > smbpasswd -a foobar > New SMB password: > Retype new SMB password: > ldapsam_create_user: Unable to allocate a new user id: bailing out! > Failed to add entry for user foobar. > > I found this workaround > https://lists.samba.org/archive/samba/2009-October/151528.html > > but testparam say that > > WARNING: The "idmap backend" option is deprecated >...
2018 Mar 06
3
Fwd: Migrating server
...(&(objectClass=sambaDomain)(sambaDomainName=MYDOMAIN))] smbldap_open_connection: connection opened New SMB password: Retype new SMB password: smbldap_search_domain_info: Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=MYDOMAIN))] init_ldap_from_sam: Setting entry for user: sadmin ldapsam_create_user: Unable to get the Domain Users gid: bailing out! Failed to add entry for user sadmin. ----------------------------------------------- I then created a user (unix) and added to ldap using the following ldif dn: uid=sadmin,ou=users,dc=mydomain uid: sadmin cn: sadmin objectClass: account objectCla...
2018 Mar 05
9
Fwd: Migrating server
Hi Gruss, At this stage there is only one server, running 3.6.25 on Ubuntu12.04. The plan to get LDAP to work on this one. Then add the second server 4.x and the promote it to BDC and then demote this one. Just a side info, we didn't want to go tdbsam in both as I read it breaks the domain trust. The domain names are real ones. I ran the commands you suggested, nothing in reply. I tried