Find the answer to your Linux question:
Results 1 to 1 of 1
Hey all, I have a working server that I've been comparing to my non-working server. Everything seems to be the same except the contents of my secrets.tdb. So I thought ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2006
    Location
    Des Moines, IA
    Posts
    10

    anatomy of samba's secrets.tdb


    Hey all,

    I have a working server that I've been comparing to my non-working server. Everything seems to be the same except the contents of my secrets.tdb. So I thought I would ask for expert input as I know nothing about it. Here's the contents of the secrets.tdb on the working server:

    $ tdbtool /etc/samba/secrets.tdb dump

    Code:
    key 30 bytes
    SECRETS/LDAP_BIND_PW/rootbinddn
    data 8 bytes
    [000] 67 30 64 68 33 61 64 00                           correct_password 
    
    key 15 bytes
    SECRETS/SID/WORKGROUP
    data 68 bytes
    [000] 01 04 00 00 00 00 00 05  15 00 00 00 CB F3 17 5C  ........ .......\
    [010] 45 AB D2 80 97 FA 86 21  00 00 00 00 00 00 00 00  E......! .......
    [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                                       ... 
    
    key 19 bytes
    SECRETS/DOMGUID/WORKGROUP
    data 16 bytes
    [000] E5 CB AC 51 98 26 80 48  A6 1F 6E 70 60 BA CE 86  ...Q.&.H ..np`...
    
    key 18 bytes
    SECRETS/SID/NETBIOS_NAME
    data 68 bytes
    [000] 01 04 00 00 00 00 00 05  15 00 00 00 CB F3 17 5C  ........ .......\
    [010] 45 AB D2 80 97 FA 86 21  00 00 00 00 00 00 00 00  E......! .......
    [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                                      ...
    I have nearly the same output in my non-working server except this:
    Code:
    key 19 bytes
    SECRETS/DOMGUID/NEWWORKGROUP
    data 16 bytes
    [000] E5 CB AC 51 98 26 80 48  A6 1F 6E 70 60 BA CE 86  ...Q.&.H ..np`...
    Out of curiosity I was hoping that someone could explain the relevance of each of these lines. And, possibly why the non-working server doesn't have an entry for SECRETS/DOMGUID/NEWWORKGROUP.
    Last edited by todd_dsm; 09-15-2010 at 01:24 AM. Reason: made a mistake in making my details

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •