[Samba] What is happening here?

M9. monkey9 at iae.nl
Wed Feb 28 18:47:44 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Collen Blijenberg schreef:
> try smbclient -d10 -L<servername>

This gives a lot of info, that can point someone who knows what it means
 in the right direction.
> 
> my guess is that ether the machine you smbclient from isn't in the domain,
> or the machine name is wrong...
> coz' in the previous mail there was:   Domain=[TRIBAL-SFN2] OS=[Unix]
> Server=[Samba 3.0.23d-19.2-1179-SUSE-SL10.2]
> and as you can see domain states the machine name ?????
> and that's what's wrong...  (i think?)

Yes something with netbiosname, ?

as user:

> > added interface ip=192.168.1.6 bcast=192.168.1.255 nmask=255.255.255.0
> Netbios name list:-
> my_netbios_names[0]="TRIBAL-SFN2"
> Client started (version 3.0.23d-19.2-1179-SUSE-SL10.2).
> Opening cache file at /var/lib/samba/gencache.tdb
> tdb(unnamed): tdb_open_ex: could not open file /var/lib/samba/gencache.tdb: Toegang geweigerd
> gencache_init: Opening cache file /var/lib/samba/gencache.tdb read-only.
> Cache entry with key = AD_SITENAME/DOMAIN/ couldn't be found
> sitename_fetch: No stored sitename for
> internal_resolve_name: looking up tribal-sfn2#20 (sitename (null))
> Returning expired cache entry: key = NBT/TRIBAL-SFN2#20, value = 127.0.0.2:0, timeout = Sun Feb 25 16:26:45 2007
> no entry for tribal-sfn2#20 found.
> resolve_lmhosts: Attempting lmhosts lookup for name tribal-sfn2<0x20>
> getlmhostsent: lmhost entry: 127.0.0.1 localhost
> resolve_wins: Attempting wins lookup for name tribal-sfn2<0x20>
> resolve_wins: WINS server resolution selected and no WINS servers listed.
> resolve_hosts: Attempting host lookup for name tribal-sfn2<0x20>
> remove_duplicate_addrs2: looking for duplicate address/port pairs
> namecache_store: storing 1 address for tribal-sfn2#20: 127.0.0.2:0
> internal_resolve_name: returning 1 addresses: 127.0.0.2:0
_________________________________________________________________________________

> SPNEGO login failed: NT_STATUS_END_OF_FILE
> lang_tdb_init: /usr/lib64/samba/nl_NL.UTF-8.msg: Onbekend bestand of map
> session setup failed: Call returned zero bytes (EOF)
___________________________________________________________________________________

as root:

> my_netbios_names[0]="TRIBAL-SFN2"
> Client started (version 3.0.23d-19.2-1179-SUSE-SL10.2).
> Opening cache file at /var/lib/samba/gencache.tdb
> Cache entry with key = AD_SITENAME/DOMAIN/ couldn't be found
> sitename_fetch: No stored sitename for
> internal_resolve_name: looking up tribal-sfn2#20 (sitename (null))
> Returning expired cache entry: key = NBT/TRIBAL-SFN2#20, value = 127.0.0.2:0, timeout = Sun Feb 25 16:26:45 2007
> no entry for tribal-sfn2#20 found.
> resolve_lmhosts: Attempting lmhosts lookup for name tribal-sfn2<0x20>
> getlmhostsent: lmhost entry: 127.0.0.1 localhost
> resolve_wins: Attempting wins lookup for name tribal-sfn2<0x20>
> resolve_wins: WINS server resolution selected and no WINS servers listed.
> resolve_hosts: Attempting host lookup for name tribal-sfn2<0x20>
> remove_duplicate_addrs2: looking for duplicate address/port pairs
> namecache_store: storing 1 address for tribal-sfn2#20: 127.0.0.2:0
> Adding cache entry with key = NBT/TRIBAL-SFN2#20; value = 127.0.0.2:0 and timeout = Wed Feb 28 19:03:47 2007
>  (660 seconds ahead)
> internal_resolve_name: returning 1 addresses: 127.0.0.2:0

and furteron:

> SMB signing enabled!
> cli_simple_set_signing: user_session_key
> [000] C1 97 80 51 E8 CC 54 83  2D 82 24 F4 33 D7 2E C4  ...Q..T. -.$.3...
> cli_simple_set_signing: NULL response_data
> simple_packet_signature: sequence number 0
> client_sign_outgoing_message: sent SMB signature of
> [000] E7 59 05 31 B1 9B 74 47                           .Y.1..tG
> store_sequence_for_reply: stored seq = 1 mid = 3
> get_sequence_for_reply: found seq = 1 mid = 3
> simple_packet_signature: sequence number 1
> client_check_incoming_message: BAD SIG: wanted SMB signature of
> [000] CE F0 0D BE F1 6A 3E E8                           .....j>.
> client_check_incoming_message: BAD SIG: got SMB signature of
> [000] 42 53 52 53 50 59 4C 20                           BSRSPYL
> simple_packet_signature: sequence number 4294967292
> simple_packet_signature: sequence number 4294967293
> simple_packet_signature: sequence number 4294967294
> simple_packet_signature: sequence number 4294967295
> simple_packet_signature: sequence number 0
> simple_packet_signature: sequence number 1
> simple_packet_signature: sequence number 2
> simple_packet_signature: sequence number 3
> simple_packet_signature: sequence number 4
> simple_packet_signature: sequence number 5
> srv_check_incoming_message: signing negotiated but not required and peer
> isn't sending correct signatures. Turning off.
> Domain=[TRIBAL-SFN2] OS=[Unix] Server=[Samba 3.0.23d-19.2-1179-SUSE-SL10.2]
>  session setup ok
> write_socket(5,92)
> write_socket(5,92) wrote 92
> got smb length of 35
> size=35
> smb_com=0x75
> smb_rcls=204
> smb_reh=0
> smb_err=49152
> smb_flg=136
> smb_flg2=51205
> smb_tid=0
> smb_pid=15092
> smb_uid=101
> smb_mid=4
> smt_wct=0
> smb_bcc=0
> lang_tdb_init: /usr/lib64/samba/nl_NL.UTF-8.msg: Onbekend bestand of map
> tree connect failed: NT_STATUS_BAD_NETWORK_NAME
> tribal-sfn2:/home/monkey9 #                                                  

______________________________________________________________________________




> Have fun debugging...

Thnx. ;-)
> 
> Collen
> 
> M9. wrote:
> I would send the message with a higher debuglevel, if i only knew how?
> I do not know were to look to change: tree connect failed:
> NT_STATUS_BAD_NETWORK_NAME
> 
> When i look at DNS and Hostname i see: Hostname: tribal-sfn2,
> domainname: site
> 
> Collen Blijenberg schreef:
>  
>>>> Could you the message with a higher debug level ??
>>>>
>>>> also is  tribal-sfn2 your domain name or server name ??
>>>>
>>>> Cheers, Collen
>>>>
>>>> M9. wrote:
>>>> Hi readers of this list,
>>>>
>>>> I have this nasty problem, that looks fixed, but everytime something
>>>> else annoying happens...<snip>
>>>>
>>>>     
> 

- --


Have a nice day,

M9.               Now, is the only time that exists.



  OS:  Linux 2.6.18.2-34-default x86_64
  Huidige gebruiker:  monkey9 at tribal-sfn2
  Systeem:  openSUSE 10.2 (X86-64)
  KDE:  3.5.5 "release 45.2"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFF5c5QX5/X5X6LpDgRAt1+AKDgFoclJrxB5/4A3vbybbbWMZNYqwCfTEa0
dz7n869Pg7eGCLyRoZb6fCs=
=jweV
-----END PGP SIGNATURE-----


More information about the samba mailing list