Clark Mr Philip
2003-Apr-18 22:42 UTC
[Samba] Broken pipe error when attaching samba 2.2.8a to NT4 pdc
Morning folks, Need some Help. I have a Solaris 2.5.1 system that runs Samba as simple shares but I want to attach it to an NT4 domain and use Winbind for NT authentication. But I get a broken pipe error when I run " smbpasswd -j thinktank -r testerpdc -U tester -D4". With the debug level set to 4 everything looks good until it connects to the pdc on port 445 then i get the broken pipe error. This is What I get. root-iossds# ./smbpasswd -j thinktank -r testerpdc -U marine -c /etc/smb.conf -D100 Initialising global parameters params.c:pm_process() - Processing configuration file "/etc/smb.conf" Processing section "[global]" doing parameter workgroup = THINKTANK doing parameter netbios name = IOS handle_netbios_name: set global_myname to: IOS doing parameter interfaces = hme0 doing parameter bind interfaces only = Yes doing parameter security = DOMAIN doing parameter encrypt passwords = Yes doing parameter password server = testerpdc doing parameter admin log = Yes doing parameter log level = 100 doing parameter log file = /tmp/file1 doing parameter acl compatibility = winnt doing parameter name resolve order = wins hosts lmhosts bcast doing parameter domain admin group = administrator domainadmin doing parameter domain logons = Yes doing parameter preferred master = No doing parameter domain master = No doing parameter dns proxy = No doing parameter wins server = testerpdc wins_srv_load_list(): Building WINS server list: testerpdc, 1 WINS server listed. doing parameter winbind uid = 3000-4000 doing parameter winbind gid = 3000-4000 doing parameter username = marine doing parameter admin users = root doing parameter hosts allow = 205.54.0.0 pm_process() returned Yes lp_servicenumber: couldn't find homes set_server_role: ROLE_DOMAIN_BDC codepage_initialise: client code page = 850 load_client_codepage: loading codepage 850. Adding chars 0x85 0xb7 (l->u = True) (u->l = True) Adding chars 0xa0 0xb5 (l->u = True) (u->l = True) Adding chars 0x83 0xb6 (l->u = True) (u->l = True) Adding chars 0xc6 0xc7 (l->u = True) (u->l = True) Adding chars 0x84 0x8e (l->u = True) (u->l = True) Adding chars 0x86 0x8f (l->u = True) (u->l = True) Adding chars 0x91 0x92 (l->u = True) (u->l = True) Adding chars 0x87 0x80 (l->u = True) (u->l = True) Adding chars 0x8a 0xd4 (l->u = True) (u->l = True) Adding chars 0x82 0x90 (l->u = True) (u->l = True) Adding chars 0x88 0xd2 (l->u = True) (u->l = True) Adding chars 0x89 0xd3 (l->u = True) (u->l = True) Adding chars 0x8d 0xde (l->u = True) (u->l = True) Adding chars 0xa1 0xd6 (l->u = True) (u->l = True) Adding chars 0x8c 0xd7 (l->u = True) (u->l = True) Adding chars 0x8b 0xd8 (l->u = True) (u->l = True) Adding chars 0xd0 0xd1 (l->u = True) (u->l = True) Adding chars 0xa4 0xa5 (l->u = True) (u->l = True) Adding chars 0x95 0xe3 (l->u = True) (u->l = True) Adding chars 0xa2 0xe0 (l->u = True) (u->l = True) Adding chars 0x93 0xe2 (l->u = True) (u->l = True) Adding chars 0xe4 0xe5 (l->u = True) (u->l = True) Adding chars 0x94 0x99 (l->u = True) (u->l = True) Adding chars 0x9b 0x9d (l->u = True) (u->l = True) Adding chars 0x97 0xeb (l->u = True) (u->l = True) Adding chars 0xa3 0xe9 (l->u = True) (u->l = True) Adding chars 0x96 0xea (l->u = True) (u->l = True) Adding chars 0x81 0x9a (l->u = True) (u->l = True) Adding chars 0xec 0xed (l->u = True) (u->l = True) Adding chars 0xe7 0xe8 (l->u = True) (u->l = True) Adding chars 0x9c 0x0 (l->u = False) (u->l = False) load_dos_unicode_map: 850 load_unicode_map: loading unicode map for codepage 850. load_unix_unicode_map: ISO8859-1 (init_done=0, override=0) load_unicode_map: loading unicode map for codepage ISO8859-1. added interface ip=205.54.128.37 bcast=205.54.128.255 nmask=255.255.255.0 Password: cli_init_creds: user marine domain THINKTANK flgs: 0 ntlmssp_cli_flgs:0 cli_establish_connection: IOS<00> connecting to TESTERPDC<20> (0.0.0.0) - marine [THINKTANK] resolve_wins: Attempting wins lookup for name testerpdc<0x20> wins_srv_count: WINS status: 1 servers. testerpdc <0.0.0.0>: alive resolve_wins: WINS server == <205.54.128.114> bind succeeded on port 0 Sending a packet of len 50 to (205.54.128.114) on port 137 read_udp_socket: lastip 205.54.128.114 lastport 137 read: 62 parse_nmb: packet id = 13163 Received a packet of len 62 from (205.54.128.114) port 137 nmb packet from 205.54.128.114(137) header: id=13163 opcode=Query(0) response=Yes header: flags: bcast=No rec_avail=Yes rec_des=Yes trunc=No auth=Yes header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0 answers: nmb_name=TESTERPDC<20> rr_type=32 rr_class=1 ttl=0 answers 0 char `..6.r hex 6000CD368072 Got a positive name query response from 205.54.128.114 ( 205.54.128.114 ) internal_resolve_name: returning 1 addresses: 205.54.128.114 Connecting to 205.54.128.114 at port 445 Broken Pipe Any Clues? I need some and I am willing to buy a vowel. Philip Clark C4I Analyst CSC MARCORSYSCOM C4IHelpdesk http://www.mctssa.usmc.smil.mil COM: (760) 725-0533 DSN: (312) 365-0533 IRC: irc.mctssa.usmc.smil.mil IRC Channel: #mctssa