[Samba] winbind debugging help..

MJBarber at Hearst.com MJBarber at Hearst.com
Fri Jan 21 23:12:44 GMT 2005


smb.conf (relavent section)
[global]
        workgroup = WPTZ
        security = DOMAIN
        map to guest = Bad User
        password server = WPTZSRV1, WPTZ-BDC
        username map = /etc/samba/smbusers
        log level = 2
        syslog = 3
        time server = Yes
        printcap cache time = 750
        printcap name = cups
        logon path = \\%L\profiles\.msprofile
        logon drive = N:
        logon home = \\%L\%U\.9xprofile
        preferred master = No
        local master = No
        domain master = No
        dns proxy = No
        wins server = 192.168.67.12, 192.168.67.11
        ldap idmap suffix = ou=Idmap
        ldap machine suffix = ou=Computers
        ldap suffix = dc=example,dc=com
        ldap ssl = no
        idmap uid = 10000-30000
        idmap gid = 10000-30000
        template shell = /bin/bash
        printer admin = @ntadmin, root, administrator
        cups options = raw
        hide special files = Yes
        strict locking = No
#       include = /etc/samba/dhcp.conf

Suse 9.2, samba 3.0.9, NT4 Domain structure, linux box has been
successfully added to domain.

I start winbindd up with -Si --debuglevel=3 and this is part of the
startup...

IPC$ connections done anonymously
bind_rpc_pipe: transfer syntax differs
rpc_pipe_bind: check_bind_response failed.
cli_nt_session_open: rpc bind to \PIPE\lsarpc failed
rpc: trusted_domains
IPC$ connections done anonymously
add_trusted_domain: ENPS is an NT4  domain
Added domain ENPS  S-1-5-21-1959819392-1564699789-355810188
add_trusted_domain: BUILTIN is an NT4  domain
Added domain BUILTIN  S-1-5-32
add_trusted_domain: WPTZHOME is an NT4  domain
Added domain WPTZHOME  S-1-5-21-299585271-4192769577-2397001913
rpc: trusted_domains
IPC$ connections done anonymously
add_trusted_domain: ENPS is an NT4  domain
Added domain ENPS  S-1-5-21-1959819392-1564699789-355810188
add_trusted_domain: BUILTIN is an NT4  domain
Added domain BUILTIN  S-1-5-32
add_trusted_domain: WPTZHOME is an NT4  domain
Added domain WPTZHOME  S-1-5-21-299585271-4192769577-2397001913
rpc: trusted_domains
[ 2472]: request interface version
[ 2472]: request location of privileged pipe
[ 2472]: getgroups root
user 'root' does not exist

if I do a wbinfo -u it returns all users from the WPTZ domain just fine.
if I do a wbinfo -u --domain=ENPS if fails

here is the output....

[ 2474]: request interface version
[ 2474]: request location of privileged pipe
[ 2474]: getgroups root
user 'root' does not exist
[ 2492]: request interface version
[ 2492]: request location of privileged pipe
[ 2492]: list users
IPC$ connections done anonymously
resolve_lmhosts: Attempting lmhosts lookup for name WPTZ-ENPS-BDC2<0x20>
resolve_wins: Attempting wins lookup for name WPTZ-ENPS-BDC2<0x20>
resolve_wins: using WINS server 192.168.67.12 and tag '*'
Negative name query response, rcode 0x03: The name requested does not
exist.
resolve_hosts: Attempting host lookup for name WPTZ-ENPS-BDC2<0x20>
name_resolve_bcast: Attempting broadcast lookup for name
WPTZ-ENPS-BDC2<0x20>
Got a positive name query response from 192.168.67.9 ( 192.168.67.9 )
IPC$ connections done anonymously
resolve_lmhosts: Attempting lmhosts lookup for name ENPS<0x1c>
resolve_wins: Attempting wins lookup for name ENPS<0x1c>
resolve_wins: using WINS server 192.168.67.12 and tag '*'
Negative name query response, rcode 0x03: The name requested does not
exist.
name_resolve_bcast: Attempting broadcast lookup for name ENPS<0x1c>
Got a positive name query response from 192.168.67.9 ( 192.168.67.9 )
Could not open a connection to ENPS for \PIPE\samr
(NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND)

Not really sure what to do to look into this deeper... any help is great.

Thanks,
Michael J Barber
WPTZ/WNNE
Computer Services Administrator
p  518-561-5555 x563
m 518-572-6639
f   518-561-5940


smb.conf (relavent section)
[global]
        workgroup = WPTZ
        security = DOMAIN
        map to guest = Bad User
        password server = WPTZSRV1, WPTZ-BDC
        username map = /etc/samba/smbusers
        log level = 2
        syslog =
        time server = Yes
        printcap cache time = 750
        printcap name = cups
        logon path = \\%L\profiles\.msprofile
        logon drive = N:
        logon home = \\%L\%U\.9xprofile
        preferred master = No
        local master = No
        domain master = No
        dns proxy = No
        wins server = 192.168.67.12, 192.168.67.11
        ldap idmap suffix = ou=Idmap
        ldap machine suffix = ou=Computers
        ldap suffix = dc=example,dc=com
        ldap ssl = no
        idmap uid = 10000-30000
        idmap gid = 10000-30000
        template shell = /bin/bash
        printer admin = @ntadmin, root, administrator
        cups options = raw
        hide special files = Yes
        strict locking = No
#       include = /etc/samba/dhcp.conf

Suse 9.2, samba 3.0.9, NT4 Domain structure, linux box has been
successfully added to domain.

I start winbindd up with -Si --debuglevel=3 and this is part of the
startup...

IPC$ connections done anonymously
bind_rpc_pipe: transfer syntax differs
rpc_pipe_bind: check_bind_response failed.
cli_nt_session_open: rpc bind to \PIPE\lsarpc failed
rpc: trusted_domains
IPC$ connections done anonymously
add_trusted_domain: ENPS is an NT4  domain
Added domain ENPS  S-1-5-21-1959819392-1564699789-355810188
add_trusted_domain: BUILTIN is an NT4  domain
Added domain BUILTIN  S-1-5-32
add_trusted_domain: WPTZHOME is an NT4  domain
Added domain WPTZHOME  S-1-5-21-299585271-4192769577-2397001913
rpc: trusted_domains
IPC$ connections done anonymously
add_trusted_domain: ENPS is an NT4  domain
Added domain ENPS  S-1-5-21-1959819392-1564699789-355810188
add_trusted_domain: BUILTIN is an NT4  domain
Added domain BUILTIN  S-1-5-32
add_trusted_domain: WPTZHOME is an NT4  domain
Added domain WPTZHOME  S-1-5-21-299585271-4192769577-2397001913
rpc: trusted_domains
[ 2472]: request interface version
[ 2472]: request location of privileged pipe
[ 2472]: getgroups root
user 'root' does not exist

if I do a wbinfo -u it returns all users from the WPTZ domain just fine.
if I do a wbinfo -u --domain=ENPS if fails

here is the output....

[ 2474]: request interface version
[ 2474]: request location of privileged pipe
[ 2474]: getgroups root
user 'root' does not exist
[ 2492]: request interface version
[ 2492]: request location of privileged pipe
[ 2492]: list users
IPC$ connections done anonymously
resolve_lmhosts: Attempting lmhosts lookup for name WPTZ-ENPS-BDC2<0x20>
resolve_wins: Attempting wins lookup for name WPTZ-ENPS-BDC2<0x20>
resolve_wins: using WINS server 192.168.67.12 and tag '*'
Negative name query response, rcode 0x03: The name requested does not
exist.
resolve_hosts: Attempting host lookup for name WPTZ-ENPS-BDC2<0x20>
name_resolve_bcast: Attempting broadcast lookup for name
WPTZ-ENPS-BDC2<0x20>
Got a positive name query response from 192.168.67.9 ( 192.168.67.9 )
IPC$ connections done anonymously
resolve_lmhosts: Attempting lmhosts lookup for name ENPS<0x1c>
resolve_wins: Attempting wins lookup for name ENPS<0x1c>
resolve_wins: using WINS server 192.168.67.12 and tag '*'
Negative name query response, rcode 0x03: The name requested does not
exist.
name_resolve_bcast: Attempting broadcast lookup for name ENPS<0x1c>
Got a positive name query response from 192.168.67.9 ( 192.168.67.9 )
Could not open a connection to ENPS for \PIPE\samr
(NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND)

Not really sure what to do to look into this deeper... any help is great.

Thanks,
Michael J Barber
WPTZ/WNNE
Computer Services Administrator
p  518-561-5555 x563
m 518-572-6639
f   518-561-5940




=========================================================
This e-mail message is intended only for the personal
use of the recipient(s) named above. If you are not
an intended recipient, you may not review, copy or
distribute this message.

If you have received this communication in error,
please notify the Hearst Information Services HelpDesk
(helpdesk at hearst.com) immediately by e-mail and
delete the original message.
=========================================================




More information about the samba mailing list