[Samba] trusted domains and disconnected domains

Bruno Gomes Pessanha bruno.pessanha at gmail.com
Tue Jul 25 19:11:25 GMT 2006


Hi,

I'm running samba-3.0.22, linux-kernel-2.6.16 and I'm having troubles with
trusted domains. How can I find the suitable DC for each domain? Could be a
resolution issue? Bellow my smb.conf and some tests.

[global]
        workgroup = DOM1
        netbios name = localhost
        server string = LOCALHOST Server
        security = ads
        realm = MYDOMAINCONTROLLERREALM
        password server = MYDOMAINCONTROLERIP
        log file = /var/log/smbd.log
        max log size = 50
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        printcap name = /etc/printcap
        dns proxy = No
        wins server = MYWINSSERVERIP

        idmap uid = 1000-100000
        idmap gid = 1000-100000
        winbind use default domain = no
        winbind enum users = no
        winbind enum groups = no
        allow trusted domains = yes
        winbind separator = +

###################################################################

# net rpc trustdom list -Uuser%passwd

Trusted domains list:

DOM1                  S-1-5-21-790525478-1844823847-725345543
DOM2                  S-1-5-21-776971034-1374619893-1389755056
DOM5               S-1-5-21-1979410263-576795079-1250845650
DOM6              S-1-5-21-2091962305-833907787-4047963448
DOM3              S-1-5-21-144846545-115680220-1939559906
DOM4         S-1-5-21-151263845-1299922530-322568963
DOM8            S-1-5-21-607462080-1190682306-324685044
DOM7               S-1-5-21-2068281220-2021992396-681445708
DOM10                 S-1-5-21-2856294414-1944682179-2323182264
DOM11                 S-1-5-21-606747145-1801674531-839522115
DOM9                S-1-5-21-770417570-4267868530-655758658
DOM12           S-1-5-21-448539723-725345543-1417001333
DOM13                  S-1-5-21-3732380198-1900445356-1148404633
DOM14                 S-1-5-21-343818398-796845957-1417001333
DOM15                S-1-5-21-2544938229-913127969-1140610033
DOM16                  S-1-5-21-1644491937-152049171-682003330
DOM17                S-1-5-21-746137067-602609370-839522115
DOM18                S-1-5-21-1060284298-1677128483-1177238915
DOM19                  S-1-5-21-527237240-436374069-1801674531
DOM20                  S-1-5-21-1659004503-1078081533-839522115
DOM21               S-1-5-21-30371924-1670601267-2029140102
DOM22                S-1-5-21-789336058-688789844-839522115
DOM23                S-1-5-21-842925246-1659004503-1801674531

Trusting domains list:

DOM2        S-1-5-21-776971034-1374619893-1389755056

Unable to find a suitable server
domain controller is not responding

Unable to find a suitable server
domain controller is not responding

Unable to find a suitable server
domain controller is not responding

Unable to find a suitable server
domain controller is not responding

Unable to find a suitable server
domain controller is not responding

DOM3 DOM4 DOM5 DOM6 DOM7

DOM1        S-1-5-21-790525478-1844823847-725345543
DOM8  S-1-5-21-607462080-1190682306-324685044

Unable to find a suitable server
domain controller is not responding

Unable to find a suitable server
domain controller is not responding

Unable to find a suitable server
domain controller is not responding

DOM10 DOM11 DOM9

###################################################################

# wbinfo -m

DOM3
DOM2
DOM5
DOM6
DOM4
DOM7
DOM8
DOM10
DOM11
DOM9
DOM12
DOM13
DOM14
DOM15
DOM16
DOM17
DOM1
DOM18
DOM19
DOM20
DOM21
DOM22
DOM23

###################################################################

# wbinfo --sequence

DOM9 : DISCONNECTED
DOM11 : DISCONNECTED
DOM10 : DISCONNECTED
DOM8 : 18293
DOM7 : 755995
DOM4 : DISCONNECTED
DOM6 : DISCONNECTED
DOM5 : DISCONNECTED
DOM2 : 2225826
DOM3 : DISCONNECTED
HOSTNAME : 1153838601
BUILTIN : 1153838601
DOM1 : 44639407

###################################################################

This command works perfectly with connected domains:

wbinfo -u --domain $DOMAIN

All DC's are W2K.

Thank you in advance,

-- 
---
Bruno Gomes Pessanha


More information about the samba mailing list