amd64/186694: samba not work in domain

Vladimir ksander_2007 at inbox.ru
Wed Feb 12 15:10:01 UTC 2014


>Number:         186694
>Category:       amd64
>Synopsis:       samba not work in domain
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-amd64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 12 15:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Vladimir
>Release:        FreeBSD 10
>Organization:
>Environment:
FreeBSD free 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014     root at snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
I apologize in advance bad writing in English When entering a samba domain on Freebsd 10 I crash bug. When you enter the samba on freebsd 9.2 with the same settings all is well. Our projects virtually all servers are running on freebsd and we need integration with ads


INFO: Current debug levels:
  all: 5
  tdb: 5
  printdrivers: 5
  lanman: 5
  smb: 5
  rpc_parse: 5
  rpc_srv: 5
  rpc_cli: 5
  passdb: 5
  sam: 5
  auth: 5
  winbind: 5
  vfs: 5
  idmap: 5
  quota: 5
  acls: 5
  locking: 5
  msdfs: 5
  dmapi: 5
  registry: 5
lp_load_ex: refreshing parameters
Initialising global parameters
INFO: Current debug levels:
  all: 5
  tdb: 5
  printdrivers: 5
  lanman: 5
  smb: 5
  rpc_parse: 5
  rpc_srv: 5
  rpc_cli: 5
  passdb: 5
  sam: 5
  auth: 5
  winbind: 5
  vfs: 5
  idmap: 5
  quota: 5
  acls: 5
  locking: 5
  msdfs: 5
  dmapi: 5
  registry: 5
params.c:pm_process() - Processing configuration file "/usr/local/etc/smb.conf"
Processing section "[global]"
doing parameter workgroup = OFFICE
doing parameter server string = shara
doing parameter security = ads
doing parameter realm = OFFICE.LOCAL
doing parameter hosts allow = 192.168. 127.
doing parameter interfaces = 192.168.0.0/21
doing parameter auth methods = winbind
doing parameter passdb backend = tdbsam
doing parameter client NTLMv2 auth = yes
doing parameter deadtime = 360
doing parameter max open files = 100000
doing parameter idmap config * : range = 10000-20000
doing parameter idmap config * : backend = tdb
doing parameter os level = 8
doing parameter paranoid server security = no
doing parameter winbind enum users = yes
doing parameter winbind enum groups = yes
doing parameter winbind nested groups = no
doing parameter winbind refresh tickets = yes
doing parameter nt acl support = yes
doing parameter case sensitive = no
doing parameter log level = 0 vfs:1
doing parameter log file = /var/log/samba/%m
doing parameter max log size = 50
doing parameter display charset = koi8-r
doing parameter unix charset = koi8-r
doing parameter dos charset = cp866
doing parameter load printers = no
doing parameter show add printer wizard = no
pm_process() returned Yes
Netbios name list:-
my_netbios_names[0]="FREE"
interpret_interface: using netmask value 21 from config file on interface re0
added interface re0 ip=192.168.0.50 bcast=192.168.7.255 netmask=255.255.248.0
Registered MSG_REQ_POOL_USAGE
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
Opening cache file at /var/db/samba/gencache.tdb
Opening cache file at /var/db/samba/gencache_notrans.tdb
sitename_fetch: No stored sitename for OFFICE.LOCAL
saf_fetch: failed to find server for "OFFICE.LOCAL" domain
get_dc_list: preferred server list: ", *"
no entry for OFFICE.LOCAL#1C found.
resolve_ads: Attempting to resolve DCs for OFFICE.LOCAL using DNS
ads_dns_lookup_srv: 2 records returned in the answer section.
namecache_store: storing 2 addresses for OFFICE.LOCAL#1c: 192.168.0.3,192.168.0.2
get_dc_list: returning 2 ip addresses in an ordered list
get_dc_list: 192.168.0.3:389 192.168.0.2:389
ads_try_connect: sending CLDAP request to 192.168.0.3 (realm: OFFICE.LOCAL)
Successfully contacted LDAP server 192.168.0.3
Enter sys_admin_3's password:
libnet_Join:
    libnet_JoinCtx: struct libnet_JoinCtx
        in: struct libnet_JoinCtx
            dc_name                  : NULL
            machine_name             : 'FREE'
            domain_name              : *
                domain_name              : 'OFFICE.LOCAL'
            account_ou               : NULL
            admin_account            : 'sys_admin_3'
            machine_password         : NULL
            join_flags               : 0x00000023 (35)
                   0: WKSSVC_JOIN_FLAGS_IGNORE_UNSUPPORTED_FLAGS
                   0: WKSSVC_JOIN_FLAGS_JOIN_WITH_NEW_NAME
                   0: WKSSVC_JOIN_FLAGS_JOIN_DC_ACCOUNT
                   0: WKSSVC_JOIN_FLAGS_DEFER_SPN
                   0: WKSSVC_JOIN_FLAGS_MACHINE_PWD_PASSED
                   0: WKSSVC_JOIN_FLAGS_JOIN_UNSECURE
                   1: WKSSVC_JOIN_FLAGS_DOMAIN_JOIN_IF_JOINED
                   0: WKSSVC_JOIN_FLAGS_WIN9X_UPGRADE
                   0: WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE
                   1: WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE
                   1: WKSSVC_JOIN_FLAGS_JOIN_TYPE
            os_version               : NULL
            os_name                  : NULL
            create_upn               : 0x00 (0)
            upn                      : NULL
            modify_config            : 0x00 (0)
            ads                      : NULL
            debug                    : 0x01 (1)
            use_kerberos             : 0x00 (0)
            secure_channel_type      : SEC_CHAN_WKSTA (2)
sitename_fetch: Returning sitename for OFFICE.LOCAL: "Default-First-Site-Name"
ads_dns_lookup_srv: 2 records returned in the answer section.
Connecting to host=sdc.office.local
sitename_fetch: Returning sitename for OFFICE.LOCAL: "Default-First-Site-Name"
no entry for sdc.office.local#20 found.
resolve_lmhosts: Attempting lmhosts lookup for name sdc.office.local<0x20>
resolve_lmhosts: Attempting lmhosts lookup for name sdc.office.local<0x20>
startlmhosts: Can't open lmhosts file /usr/local/etc/lmhosts. Error was No such file or directory
resolve_wins: Attempting wins lookup for name sdc.office.local<0x20>
resolve_wins: WINS server resolution selected and no WINS servers listed.
resolve_hosts: Attempting host lookup for name sdc.office.local<0x20>
namecache_store: storing 1 address for sdc.office.local#20: 192.168.0.3
Connecting to 192.168.0.3 at port 445
Socket options:
        SO_KEEPALIVE = 0
        SO_REUSEADDR = 0
        SO_BROADCAST = 0
        TCP_NODELAY = 4
        Could not test socket option TCP_KEEPCNT.
        Could not test socket option TCP_KEEPIDLE.
        Could not test socket option TCP_KEEPINTVL.
        IPTOS_LOWDELAY = 0
        IPTOS_THROUGHPUT = 0
        SO_REUSEPORT = 0
        SO_SNDBUF = 33304
        SO_RCVBUF = 66608
        SO_SNDLOWAT = 2048
        SO_RCVLOWAT = 1
        SO_SNDTIMEO = 0
        SO_RCVTIMEO = 0
Doing spnego session setup (blob length=136)
got OID=1.3.6.1.4.1.311.2.2.30
got OID=1.2.840.48018.1.2.2
got OID=1.2.840.113554.1.2.2
got OID=1.2.840.113554.1.2.2.3
got OID=1.3.6.1.4.1.311.2.2.10
got principal=not_defined_in_RFC4178 at please_ignore
Got challenge flags:
Got NTLMSSP neg_flags=0x62898215
  NTLMSSP_NEGOTIATE_UNICODE
  NTLMSSP_REQUEST_TARGET
  NTLMSSP_NEGOTIATE_SIGN
  NTLMSSP_NEGOTIATE_NTLM
  NTLMSSP_NEGOTIATE_ALWAYS_SIGN
  NTLMSSP_NEGOTIATE_NTLM2
  NTLMSSP_NEGOTIATE_TARGET_INFO
  NTLMSSP_NEGOTIATE_VERSION
  NTLMSSP_NEGOTIATE_128
  NTLMSSP_NEGOTIATE_KEY_EXCH
NTLMSSP: Set final flags:
Got NTLMSSP neg_flags=0x60088215
  NTLMSSP_NEGOTIATE_UNICODE
  NTLMSSP_REQUEST_TARGET
  NTLMSSP_NEGOTIATE_SIGN
  NTLMSSP_NEGOTIATE_NTLM
  NTLMSSP_NEGOTIATE_ALWAYS_SIGN
  NTLMSSP_NEGOTIATE_NTLM2
  NTLMSSP_NEGOTIATE_128
  NTLMSSP_NEGOTIATE_KEY_EXCH
NTLMSSP Sign/Seal - Initialising with flags:
Got NTLMSSP neg_flags=0x60088215
  NTLMSSP_NEGOTIATE_UNICODE
  NTLMSSP_REQUEST_TARGET
  NTLMSSP_NEGOTIATE_SIGN
  NTLMSSP_NEGOTIATE_NTLM
  NTLMSSP_NEGOTIATE_ALWAYS_SIGN
  NTLMSSP_NEGOTIATE_NTLM2
  NTLMSSP_NEGOTIATE_128
  NTLMSSP_NEGOTIATE_KEY_EXCH
Bind RPC Pipe: host sdc.office.local auth_type 0, auth_level 1
rpc_api_pipe: host sdc.office.local
rpc_read_send: data_to_read: 52
check_bind_response: accepted!
rpc_api_pipe: host sdc.office.local
rpc_read_send: data_to_read: 32
rpc_api_pipe: host sdc.office.local
rpc_read_send: data_to_read: 188
rpc_api_pipe: host sdc.office.local
rpc_read_send: data_to_read: 32
saf_fetch: failed to find server for "office.local" domain
get_dc_list: preferred server list: ", *"
name office.local#1C found.
get_dc_list: returning 2 ip addresses in an ordered list
get_dc_list: 192.168.0.3:389 192.168.0.2:389
create_local_private_krb5_conf_for_domain: wrote file /var/db/samba/smb_krb5/krb5.conf.OFFICE with realm OFFICE.LOCAL KDC list =        kdc = 192.168.0.3

Bind RPC Pipe: host sdc.office.local auth_type 0, auth_level 1
rpc_api_pipe: host sdc.office.local
rpc_read_send: data_to_read: 52
check_bind_response: accepted!
rpc_api_pipe: host sdc.office.local
rpc_read_send: data_to_read: 32
rpc_api_pipe: host sdc.office.local
rpc_read_send: data_to_read: 32
rpc_api_pipe: host sdc.office.local
rpc_read_send: data_to_read: 40
rpc_api_pipe: host sdc.office.local
rpc_read_send: data_to_read: 44
rpc_api_pipe: host sdc.office.local
rpc_read_send: data_to_read: 32
rpc_api_pipe: host sdc.office.local
rpc_read_send: data_to_read: 12
rpc_api_pipe: host sdc.office.local
rpc_read_send: data_to_read: 12
rpc_api_pipe: host sdc.office.local
rpc_read_send: data_to_read: 32
rpc_api_pipe: host sdc.office.local
rpc_read_send: data_to_read: 32
rpc_api_pipe: host sdc.office.local
rpc_read_send: data_to_read: 32
sitename_fetch: Returning sitename for OFFICE.LOCAL: "Default-First-Site-Name"
name sdc.office.local#20 found.
ads_try_connect: sending CLDAP request to 192.168.0.3 (realm: office.local)
Successfully contacted LDAP server 192.168.0.3
Connected to LDAP server sdc.office.local
time offset is 0 seconds
Found SASL mechanism GSS-SPNEGO
ads_sasl_spnego_bind: got OID=1.3.6.1.4.1.311.2.2.30
ads_sasl_spnego_bind: got OID=1.2.840.48018.1.2.2
ads_sasl_spnego_bind: got OID=1.2.840.113554.1.2.2
ads_sasl_spnego_bind: got OID=1.2.840.113554.1.2.2.3
ads_sasl_spnego_bind: got OID=1.3.6.1.4.1.311.2.2.10
ads_sasl_spnego_bind: got server principal name = not_defined_in_RFC4178 at please_ignore
ads_krb5_mk_req: krb5_cc_get_principal failed (No such file or directory)
ads_cleanup_expired_creds: Ticket in ccache[MEMORY:net_ads] expiration ÞÔ, 13 ÆÅ× 2014 02:58:03 EET
net: sha1 checksum failed
Abort trap (core dumped)

>How-To-Repeat:
net join -U user
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-amd64 mailing list