search for: samldb

Displaying 20 results from an estimated 84 matches for "samldb".

Did you mean: samdb
2014 Nov 06
2
classicupgrade - resolving group conflicts
...s - In an offline-test environment, I just took a first crack at a classic upgrade of our Samba 3.6.9 (389-DS LDAP backend) environment to Samba 4.1.13 AD. Among other issues, I see that we have some group/SID issues to address. From the upgrade output: Could not add group name=guests ((68, "samldb: Account name (sAMAccountName) 'guests' already in use!")) Could not add group name=Domain Admins ((68, "samldb: Account name (sAMAccountName) 'Domain Admins' already in use!")) Could not add group name=Domain Users ((68, "samldb: Account name (sAMAccountName) ...
2013 May 28
3
userAccountControl can't be set to 0x800002 (8388610, UF_ACCOUNTDISABLED | UF_PASSWORDEXPIRED):"samldb: Unrecognized account type"
...ps protocol, it works fine with active directory of windows server 2003. When I test the mail system with samba4 DC, I can't disable user from the mail system, because the mail system write 0x800002 (8388610,UF_ACCOUNTDISABLED | UF_PASSWORDEXPIRED) to userAccountControl field of AD/samba4, and samldb returns "Unrecognized account type" error. Is this expected behaviour or a possible bug? # test from command line ldbedit --show-binary -H /usr/local/samba/private/sam.ldb sAMAccountName=YOUR_ACCOUNT userAccountControl # then change userAccountControl to 8388610, save, quit editor
2016 Dec 01
3
Samba on Debian 8; NT4 domain, win10
Am 2016-12-01 um 15:41 schrieb Rowland Penny via samba: > Have you altered /etc/resolv.conf, on the DC, to use its own ip as the > first nameserver ? That change seems to have fixed it! I added that now to network config for the VM. klist ok now step by step ;-) thanks
2016 Dec 09
2
Samba on Debian 8; NT4 domain, win10
...es at lists.samba.org> > User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 > Thunderbird/45.5.1 > > > I am doing another classic-upgrade for another customer. > > I get: > > Importing groups > Could not add group name=Domain Admins ((68, "samldb: Account name > (sAMAccountName) 'Domain Admins' already in use!")) > Could not modify AD idmap entry for > sid=S-1-5-21-2777655458-4002997014-749295002-1006, id=0, > type=ID_TYPE_GID ((32, "Base-DN > '<SID=S-1-5-21-2777655458-4002997014-749295002-1006>...
2016 Dec 09
3
Samba on Debian 8; NT4 domain, win10
Am 2016-12-09 um 11:11 schrieb Stefan G. Weichinger via samba: > Could not add group name=Domain Admins ((68, "samldb: Account name > (sAMAccountName) 'Domain Admins' already in use!")) I think this is my problem (on the old host/pdc): # net groupmap list Domain Admins (S-1-5-21-2777655458-4002997014-749295002-1006) -> root Domain Guests (S-1-5-21-2777655458-4002997014-749295002-1008) -> no...
2014 Dec 13
1
Samba 4 two DCs no matching UID/GID
...> risk. Variables must be set correctly! >> # Groups >> maxGid=40000 >> pathTmpFiles="/root" >> domain="example" >> domainDNappendix="DC=example,DC=com" >> groupsBaseDN="OU=Subgroups,OU=Groups,$domainDNappendix" >> samldb="/var/lib/samba/private/sam.ldb" >> wbinfo -g > $pathTmpFiles/ad-groups >> while read gid1 >> do >> echo "$gid1:"$(wbinfo --group-info "$gid1" | cut -d: -f3) >> done < $pathTmpFiles/ad-groups > $pathTmpFiles/ad-groups-gid...
2014 Dec 13
0
Samba 4 two DCs no matching UID/GID
.... Use and test at your own > risk. Variables must be set correctly! > # Groups > maxGid=40000 > pathTmpFiles="/root" > domain="example" > domainDNappendix="DC=example,DC=com" > groupsBaseDN="OU=Subgroups,OU=Groups,$domainDNappendix" > samldb="/var/lib/samba/private/sam.ldb" > wbinfo -g > $pathTmpFiles/ad-groups > while read gid1 > do > echo "$gid1:"$(wbinfo --group-info "$gid1" | cut -d: -f3) > done < $pathTmpFiles/ad-groups > $pathTmpFiles/ad-groups-gid > while read gid2...
2019 Jul 02
4
Need the ability to edit Samba SIDs.
...is congruent with the UID Numbers of my users. To fix this; I need the ability to edit the last digits of the SID. I've tried shutting down the Samba server and using ldbmodify, but that isn't working. The SiD is in some sort of strange Hash. pdbedit and samba-tool gives me the error: ?? - samldb: objectSid must not be specified! I'm, quickly approaching the need to re-provision my entire Domain, because I Have already corrected this stuff in my older OpenLDAP system. I'd have to re-run Classic Upgrade. I'd rather not lose all my progress. Please help!
2014 Dec 12
3
Samba 4 two DCs no matching UID/GID
Why only Domain Users and Domain Admins? I can't follow. But a good idea you've had. So a script can possibly be run on every DC the same. I will check and verify. What about built-in objects like system? These are not available in ADUC if my memory doesn't fail now. Will there be a problem when other built-in objects get a rfc gid/uid. E.g. for now wbinfo resolves uid 0 for
2018 Jun 08
3
Samba4.6 - Groups creation/import fails
Hello, Actually migrating users/groups from samba3 to samba4 (in a separate domaine), i succeeded in importing users/gruops and their attributes. But For a reason i don't know some (a few) groups are not being created, and i get this error: "Failed to create group "MYGROUP" - samldb: Account name (sAMAccountName) 'MYGROUP' already in use! " Searching in ADUC no such group exists. Searching with "wbinfo -g" either I also tried a dbcheck in case something was corrupt, but had 0 errors to fix. I also restarted samba/winbind just to see if there were an...
2016 Dec 12
0
Samba on Debian 8; NT4 domain, win10
...ser-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 >> Thunderbird/45.5.1 >> >> >> I am doing another classic-upgrade for another customer. >> >> I get: >> >> Importing groups >> Could not add group name=Domain Admins ((68, "samldb: Account name >> (sAMAccountName) 'Domain Admins' already in use!")) >> Could not modify AD idmap entry for >> sid=S-1-5-21-2777655458-4002997014-749295002-1006, id=0, >> type=ID_TYPE_GID ((32, "Base-DN >> '<SID=S-1-5-21-2777655458-4002997014-7...
2016 Dec 12
2
Samba on Debian 8; NT4 domain, win10
...:45.0) Gecko/20100101 > >> Thunderbird/45.5.1 > >> > >> > >> I am doing another classic-upgrade for another customer. > >> > >> I get: > >> > >> Importing groups > >> Could not add group name=Domain Admins ((68, "samldb: Account name > >> (sAMAccountName) 'Domain Admins' already in use!")) > >> Could not modify AD idmap entry for > >> sid=S-1-5-21-2777655458-4002997014-749295002-1006, id=0, > >> type=ID_TYPE_GID ((32, "Base-DN > >> '<SID=S-1-5-2...
2015 Dec 30
2
dns_tkey_negotiategss: TKEY is unacceptable
...s-backend samba_upgradedns = BIND9_DLZ or --dns-backend samba_upgradedns = SAMBA_INTERNAL sumio and the case is made that, however validei the DNS account is deleted but not recreated, and sometimes when trying to recreate Manually says ERROR (ldb): Failed to add user 'dns-DC-Linux': - samldb: Account name (sAMAccountName) 'dns-DC-LINUX' already in use! However the account does not exist in the User list. Thanks Em 30-12-2015 17:41, Rowland penny escreveu: > On 30/12/15 18:19, Carlos A. P. Cunha wrote: >> Hello! >> I've got this error >> dns_tkey_n...
2014 Feb 04
1
How to change objectSid?
...LDAPControl(LDB_CONTROL_RELAX_OID, criticality=0) ] s4ldap.modify_ext_s(s4dn, modlist, serverctrls=controls, clientctrls=controls) I'm using the domain administrator to bind to the server. The error that I get: ldap.UNWILLING_TO_PERFORM: {'info': '00002035: samldb: objectSid must not be specified!', 'desc': 'Server is unwilling to perform'} Is there a way to do it? I know that it is not something to be done usually, but trust me, I need it :) Regards, Diego -- Diego Woitasen Linux and Open Source solutions architect at www.vhgroup.n...
2014 Sep 11
1
change primaryGroupID - unwilling to perform
...sue: I'd like to change the primaryGroupID. It is currently set to 513, which simply does not exist. I wanted to set to 100, which exists and actually the user is a member of this group, but then I get the following exception: ldap.UNWILLING_TO_PERFORM: {'info': 'error in module samldb: Unwilling to perform during LDB_MODIFY (53)', 'desc': 'Server is unwilling to perform'} This is the equivalent LDIF: dn: CN=Lars LH. Hanke,CN=Users,DC=ad,DC=microsult,DC=de changetype: modify replace: primaryGroupID primaryGroupID: 100 Any ideas, why this is prohibited? R...
2012 Mar 08
1
Samba4 list members of an AD group
Hi When I add the posixGroup class to an AD group, add a user to the group and set their primaryGroupID, I can add members to the group: samba-tool group addmembers debusers lynn2 ERROR(ldb): Failed to add members "lynn2" to group "debusers" - samldb: member CN=lynn2,CN=Users,DC=hh3,DC=site already set via primaryGroupID 1106 where lynn2 is a user who has been added to the AD posix group debusers with primaryID=1106 But I cannot see the entry member: lynn2 when I look at the debusers dn using ldbsearch as I can under Domain Users. The us...
2010 Mar 13
1
Compile problem: "lib/ldb/ldb_map/ldb_map.h", line 64: syntax error before or at: 0x20
...l/include -I../lib/socket_wrapper -g -Ilib/events -I../lib/tevent -I../lib/talloc -Ilib/replace -DSTATIC_LIBLDB_MODULES="LDB_MODULE(wins_ldb), LDB_MODULE(ranged_results), LDB_MODULE(schema_fsmo), LDB_MODULE(rootdse), LDB_MODULE(objectclass), LDB_MODULE(linked_attributes), LDB_MODULE(samldb), LDB_MODULE(extended_dn_out_ldb),LDB_MODULE(extended_dn_out_dereference), LDB_MODULE(skel), LDB_MODULE(entryuuid),LDB_MODULE(nsuniqueid), LDB_MODULE(paged_results), LDB_MODULE(dsdb_cache), LDB_MODULE(samba3sam), LDB_MODULE(objectguid), LDB_MODULE(instancetype), LDB_MODULE(descriptor), LDB_MODULE(...
2019 Jul 02
2
Need the ability to edit Samba SIDs.
...D. >> >> To fix this; I need the ability to edit the last digits of the SID. I've >> tried shutting down the Samba server and using ldbmodify, but that isn't >> working. The SiD is in some sort of strange Hash. pdbedit and samba-tool >> gives me the error: ?? - samldb: objectSid must not be specified! >> >> I'm, quickly approaching the need to re-provision my entire Domain, >> because I Have already corrected this stuff in my older OpenLDAP system. >> I'd have to re-run Classic Upgrade. I'd rather not lose all my progress. &gt...
2015 Dec 30
2
dns_tkey_negotiategss: TKEY is unacceptable
...--dns-backend samba_upgradedns = SAMBA_INTERNAL sumio and the case is >> made that, however validei the DNS account is deleted but not >> recreated, and sometimes when trying to recreate Manually says >> >> >> ERROR (ldb): Failed to add user 'dns-DC-Linux': - samldb: Account >> name (sAMAccountName) 'dns-DC-LINUX' already in use! >> >> However the account does not exist in the User list. >> >> >> >> Thanks >> >> > > Have you attempted to change the dns backend to the internal dns > server...
2018 Feb 09
2
A db error that dbcheck tool can't fix
...>;CN=jack,OU=Users,OU=Suzhou,DC=adagene,DC=cn Change DN to <GUID=c5c33d48-226b-4105-9c69-0506a22d3a15>;<SID=S-1-5-21-570971082-13333576 99-3675202899-1007>;CN=jack,OU=Users,OU=Suzhou,DC=adagene,DC=cn? [y/N/all/none] all Failed to fix incorrect DN SID on attribute member : (68, 'samldb: member CN=jack,OU=Users,OU=Suzhou,DC=adagene,DC=cn already set via primaryGroupID 513') Checked 4419 objects (1 errors) I check the user Jack’s sid and guid in RSAT tool. His sid is S-1-5-21-570971082-1333357699-3675202899-1007 and guid is c5c33d48-226b-4105-9c69-0506a22d3a15. All seems m...