search for: tdb_pack

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

2003 Jun 12
1
smbpasswd not attempting to use LDAP
...ow SET pdb_set_domain: setting domain TESTBOX, was element 13 -> now DEFAULT pdb_set_user_sid: setting user sid S-1-5-21-2358132418-1227356351-887936944-3002 element 17 -> now SET pdb_set_user_sid_from_rid: setting user sid S-1-5-21-2358132418-1227356351-887936944-3002 from rid3002 tdb_pack(ddffd, 1024) -> 28 tdb_pack(d, 996) -> 4 tdb_pack(ddd, 992) -> 12 tdb_pack(ddd, 980) -> 12 tdb_pack(ddd, 968) -> 12 tdb_pack(ddffd, 1024) -> 19 tdb_pack(d, 1005) -> 4 tdb_pack(ddffd, 1024) -> 20 tdb_pack(d, 1004) -> 4 tdb_pack(ddffd, 1024) -> 25 tdb_pack(d, 999) ->...
2002 Dec 04
0
Q: Can't add machine account
...t 1 -> now SET pdb_set_gid: setting gid 20000, was -1 element 2 -> now SET pdb_set_user_sid: setting user sid S-1-5-21-681823260-3793332419-842653367-41002 element 19 -> now SET pdb_set_user_sid_from_rid: setting user sid S-1-5-21-681823260-3793332419-842653367-41002 from rid 41002 tdb_pack(ddffd, 1024) -> 28 tdb_pack(d, 996) -> 4 tdb_pack(ddd, 992) -> 12 tdb_pack(ddd, 980) -> 12 tdb_pack(ddd, 968) -> 12 tdb_pack(ddffd, 1024) -> 19 tdb_pack(d, 1005) -> 4 tdb_pack(ddffd, 1024) -> 20 tdb_pack(d, 1004) -> 4 tdb_pack(ddffd, 1024) -> 25 tdb_pack(d, 999) ->...
2005 Jul 05
0
changing the primary group of a user
...; now SET pdb_set_domain: setting domain CYF, was element 14 -> now DEFAULT pdb_set_user_sid: setting user sid S-1-5-21-1644118684-451077198-3181867690-2264 element 18 -> now SET pdb_set_user_sid_from_rid: setting user sid S-1-5-21-1644118684-451077198-3181867690-2264 from rid 2264 tdb_pack(ddff, 1024) -> 24 tdb_pack(ddff, 1024) -> 15 tdb_pack(ddff, 1024) -> 16 tdb_pack(ddff, 1024) -> 21 tdb_pack(ddff, 1024) -> 27 tdb_pack(ddff, 1024) -> 26 tdb_pack(ddff, 1024) -> 25 tdb_pack(ddff, 1024) -> 26 tdb_pack(ddff, 1024) -> 21 tdb_pack(ddff, 1024) -> 23 tdb_pack...
2003 Sep 23
0
[PATCH] tdb multiple format
...ass_must_change_time(sampass); pass_last_set_time = (uint32)pdb_get_pass_last_set_time(sampass); @@ -1598,10 +1641,11 @@ if (munged_dial) munged_dial_len = strlen(munged_dial) +1; else - munged_dial_len = 0; - + munged_dial_len = 0; + + /* one time to get the size needed */ - len = tdb_pack(NULL, 0, TDB_FORMAT_STRING, + len = tdb_pack(NULL, 0, TDB_FORMAT_STRING[TDB_FORMAT_NEWEST_VERSION], logon_time, logoff_time, kickoff_time, @@ -1630,7 +1674,9 @@ pdb_get_hours_len(sampass), MAX_HOURS_LEN, pdb_get_hours(sampass), pdb_get_unknown_5(sampass), - pdb_get_unknown_6(sa...
2003 Oct 18
1
'passwd chat' for Debian Woody password sync
.../18 11:08:40, 3] smbd/password.c:register_vuid(328) uid 1000 registered to name p [2003/10/18 11:08:40, 3] smbd/password.c:register_vuid(330) Clearing default real name [2003/10/18 11:08:40, 3] smbd/password.c:register_vuid(332) User name: p Real name: ,,, [2003/10/18 11:08:40, 18] tdb/tdbutil.c:tdb_pack(354) tdb_pack(fffdd, 1024) -> 26 [2003/10/18 11:08:40, 6] smbd/reply.c:reply_sesssetup_and_X(1080) Client requested max send size of 65535 [2003/10/18 11:08:40, 3] smbd/process.c:chain_reply(1005) Chained message any help would be appreciated, thanks pete
2023 Aug 29
1
Classic Upgrade changes domain SID
...he commands on the same server. Presumably the 'wrong' side was what did 'net getdomainsid' showed when run on the new server? > Now my concern is that not only secrets.tdb contains > machine dependent data, but other tdb-files do as well. The main passdb.tdb is packed with tdb_pack(), so should be safer. The upgrade also upgrades the group mapping, but that is the same. Thankfully most of the rest of secrets.tdb we just ignore, as there is a lot of direct memory copies in that handler. > I will fix the secrets.tdb file with a hex-editor and let > you know what hap...
2005 Sep 08
0
First 8 bytes of the value of keys in group_mapping.tdb
..., the new group does not show up in "net groupmap list", so I assume they are of great importance. My assumption is that they're needed to correctly unpack the value back from the file. By tracking down the source code, I can reach the part in which one packs the key,value pair using tdb_pack and I know that it builds the value according to the type of parameter (in variable fmt) being used (unsigned 8-bit integer, null terminated string, etc...). I'd like to know how difficult it would be to do by hand the same thing this pack does so that I can use the hack I mentioned, ie, a mea...
2002 Dec 02
1
HELP: tree connect failed
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: winbindd.zip Type: application/x-zip-compressed Size: 52252 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20021202/ee1c44bf/winbindd.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: smbd.zip Type:
2003 Dec 01
0
No subject
...d.c:register_vuid(322) uid 500 registered to name blasco [2001/08/09 11:21:55, 3] smbd/password.c:register_vuid(324) Clearing default real name [2001/08/09 11:21:55, 3] smbd/password.c:register_vuid(326) User name: blasco Real name: Antonio-Blasco Bonito [2001/08/09 11:21:55, 8] tdb/tdbutil.c:tdb_pack(230) tdb_pack(fffdd, 1024) -> 42 [2001/08/09 11:21:55, 6] smbd/reply.c:reply_sesssetup_and_X(1094) Client requested max send size of 2920 [2001/08/09 11:21:55, 3] smbd/process.c:chain_reply(982) Chained message [2001/08/09 11:21:55, 5] lib/util.c:show_msg(285) size=165 smb_com=0x75 s...