[Samba] Winbind + machine account

umhangj at post.ch umhangj at post.ch
Tue Nov 5 08:21:01 GMT 2002


hi everybody
i am quite in the same situation as ingmar koecher
http://samba.cadcamlab.org/lists/samba/Jun2002/00117.html

Joined the NT domain with "smbpasswd -j OURDOMAIN -r thepdc" - OK.
Then I start "winbindd -d 10 -i" in a terminal window
Then I issue "wbinfo -u" and voila, all the users are being listed.
Then I issue "wbinfo -t" and it says: -- Secret is bad 0xc00000e5 --
accepted socket 11
client_read: read 1304 bytes. Need 0 more for a full request.
process_request: request fn CHECK_MACHACC
[31646]: check machine account
could not retrieve trust account pw for POST
client_write: wrote 1304 bytes.
read failed on sock 11, pid 31646: EOF

if i check secrets.tdb with tdbtool it seems for me ok

key 18 bytes
SECRETS/SID/HCWE8G
data 68 bytes
[000] 01 04 00 00 00 00 00 05  15 00 00 00 2B 26 99 42  ........ ....+&.B
[010] 3A 7F D8 1C E6 69 44 6E  00 00 00 00 00 00 00 00  :....iDn .......
[020] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ....... .......
[030] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ....... .......
[040] 00 00 00 00

if i make tcpdump with the domain controller i cant't see any data exchange
after the wbinfo -t so i assume the error occured internaly in winbindd

starting winbind with strace dumps the following lines
)   = 1 (in [10], left {21, 30000})
accept(10, {sin_family=AF_UNIX, path=@}, [2]) = 11
select(12, [6 10 11], [], NULL, {30, 0}) = 1 (in [11], left {30, 0})
read(11, "\30\5\0\0\30\0\0\0\337{\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1304)
= 1304
write(1, "[31711]: check machine account\n", 31[31711]: check machine
account
) = 31
fcntl64(3, F_SETLKW64, {type=F_RDLCK, whence=SEEK_SET, start=416, len=1},
0xbffff094) = 0
fcntl64(3, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=416, len=1},
0xbffff094) = 0
write(1, "could not retrieve trust account"..., 45could not retrieve trust
account pw for POST
) = 45
select(12, [6 10 11], [11], NULL, {30, 0}) = 1 (out [11], left {30, 0})
write(11, "\30\5\0\0\1\0\0\0\345\0\0\300NT_STATUS_INTERNAL_E"..., 1304) =
1304
select(12, [6 10 11], [], NULL, {30, 0}) = 1 (in [11], left {30, 0})
read(11, "", 1304)                      = 0
close(11)                               = 0
select(11, [6 10], [], NULL, {30, 0}

i am using samba-2.2.6.

any helps ?

kind regards
juerg umhang
                                   
--
How do we tell truths that might hurt? -- E.Dijkstra

       o | 
      /\_| Juerg Umhang                    Webergutstrasse 12
     /   | Informatik Post                 CH-3030 Bern
    /\   | IT2 IE-NAS                      Switzerland
   /_/_  |                                 Tel: ++41 31 338 1473 
         | Mailto:umhangj at post.ch          Fax: ++41 31 338 7492





More information about the samba mailing list