probleme samba3 et NT4 - Logiciels - Linux et OS Alternatifs
MarshPosté le 08-11-2005 à 16:02:24
Ola,
Je rencontre un petit souci entre mon serveur samba3 qui fonctionne parfaitement avec du windows2000/XP mais sur lequel on ne peut pas aller a partir de machine NT4... j'ai bien evidemment essaye la clef EnablePlainTextPassword sur NT et ca ne resoud malheureusement rien
voici le resultat d'un testparm:
Load smb config files from /opt/SAMBA/etc/smb.conf Module '/opt/SAMBA/3.0.14a/lib/charset/CP850.so' loaded Processing section "[homes]" Processing section "[printers]" NOTE: Service printers is flagged unavailable. Loaded services file OK. Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions
# Global parameters [global] dos charset = CP850 unix charset = CP850 display charset = CP850 workgroup = LEMC server string = Samba Version %v sur %h security = SHARE encrypt passwords = No allow trusted domains = No log level = 5 log file = /opt/SAMBA/3.0.14a/var/log.%U max log size = 10 name resolve order = host lmhosts wins bcast deadtime = 5 load printers = No logon home = "\\%N\%U" lm announce = No preferred master = No local master = No domain master = No enhanced browsing = No dns proxy = No lock directory = /opt/SAMBA/3.0.14a/locks create mask = 0644 hosts allow = 132.169. case sensitive = No map archive = No
[homes] path = /home/%S read only = No
[printers] path = /usr/var/tmp printable = Yes browseable = No available = No
Quand j'essaye de me connecter depuis NT j'ai le message suivant (apres avoir entre login et mot de passe pour le partage samba): "\\toto\titi n'est pas accessible, nom reseau introuvable!"
et voici le log de la tentative de connexion:
[2005/11/08 15:57:00, 5] lib/util.c:show_msg(474) size=116 smb_com=0x75 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=24 smb_flg2=32771 smb_tid=0 smb_pid=51966 smb_uid=0 smb_mid=2240 smt_wct=4 smb_vwv[ 0]= 255 (0xFF) smb_vwv[ 1]= 0 (0x0) smb_vwv[ 2]= 0 (0x0) smb_vwv[ 3]= 15 (0xF) smb_bcc=73 [2005/11/08 15:57:00, 3] smbd/process.c:switch_message(886) switch message SMBtconX (pid 15686) conn 0x0 [2005/11/08 15:57:00, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2005/11/08 15:57:00, 5] auth/auth_util.c:debug_nt_user_token(485) NT user token: (NULL) [2005/11/08 15:57:00, 5] auth/auth_util.c:debug_unix_user_token(506) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2005/11/08 15:57:00, 5] smbd/uid.c:change_to_root_user(296) change_to_root_user: now uid=(0,0) gid=(0,0) [2005/11/08 15:57:00, 4] smbd/reply.c:reply_tcon_and_X(407) Client requested device type [G] for share [] [2005/11/08 15:57:00, 3] smbd/service.c:find_service(154) checking for home directory gave (NULL) [2005/11/08 15:57:00, 3] smbd/service.c:find_service(164) checking whether is a valid printer name... [2005/11/08 15:57:00, 3] smbd/service.c:find_service(174) is not a valid printer name [2005/11/08 15:57:00, 3] smbd/service.c:find_service(211) find_service() failed to find service [2005/11/08 15:57:00, 0] smbd/service.c:make_connection(794) stwnt (132.169.222.140) couldn't find service [2005/11/08 15:57:00, 3] smbd/error.c:error_packet(129) error packet at smbd/reply.c(415) cmd=117 (SMBtconX) NT_STATUS_BAD_NETWORK_NAME [2005/11/08 15:57:00, 5] lib/util.c:show_msg(464) [2005/11/08 15:57:00, 5] lib/util.c:show_msg(474) size=35 smb_com=0x75 smb_rcls=204 smb_reh=0 smb_err=49152 smb_flg=136 smb_flg2=49153 smb_tid=0 smb_pid=51966 smb_uid=0 smb_mid=2240 smt_wct=0 smb_bcc=0 [2005/11/08 15:57:50, 5] lib/util_sock.c:read_smb_length_return_keepalive(502) Got keepalive packet [2005/11/08 15:57:50, 3] smbd/process.c:process_smb(1091) Transaction 38 of length 4 [2005/11/08 15:58:50, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2005/11/08 15:58:50, 5] auth/auth_util.c:debug_nt_user_token(485) NT user token: (NULL) [2005/11/08 15:58:50, 5] auth/auth_util.c:debug_unix_user_token(506) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2005/11/08 15:58:50, 5] smbd/uid.c:change_to_root_user(296) change_to_root_user: now uid=(0,0) gid=(0,0)
J'ai, entre autres, effectue quelques recherches sur le NT_STATUS_BAD_NETWORK_NAME mais rien trouve de probant. Voila, toute idee est la bienvenue, le probleme etant que je ne peux pas trop toucher au serveur samba vu qu'il est en prod... Merci d'avance pour votre aide. Max.
Marsh Posté le 08-11-2005 à 16:02:24
Ola,
Je rencontre un petit souci entre mon serveur samba3 qui fonctionne parfaitement avec du windows2000/XP mais sur lequel on ne peut pas aller a partir de machine NT4...
j'ai bien evidemment essaye la clef EnablePlainTextPassword sur NT et ca ne resoud malheureusement rien
voici le resultat d'un testparm:
Load smb config files from /opt/SAMBA/etc/smb.conf
Module '/opt/SAMBA/3.0.14a/lib/charset/CP850.so' loaded
Processing section "[homes]"
Processing section "[printers]"
NOTE: Service printers is flagged unavailable.
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
# Global parameters
[global]
dos charset = CP850
unix charset = CP850
display charset = CP850
workgroup = LEMC
server string = Samba Version %v sur %h
security = SHARE
encrypt passwords = No
allow trusted domains = No
log level = 5
log file = /opt/SAMBA/3.0.14a/var/log.%U
max log size = 10
name resolve order = host lmhosts wins bcast
deadtime = 5
load printers = No
logon home = "\\%N\%U"
lm announce = No
preferred master = No
local master = No
domain master = No
enhanced browsing = No
dns proxy = No
lock directory = /opt/SAMBA/3.0.14a/locks
create mask = 0644
hosts allow = 132.169.
case sensitive = No
map archive = No
[homes]
path = /home/%S
read only = No
[printers]
path = /usr/var/tmp
printable = Yes
browseable = No
available = No
Quand j'essaye de me connecter depuis NT j'ai le message suivant (apres avoir entre login et mot de passe pour le partage samba):
"\\toto\titi n'est pas accessible, nom reseau introuvable!"
et voici le log de la tentative de connexion:
[2005/11/08 15:57:00, 5] lib/util.c:show_msg(474)
size=116
smb_com=0x75
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=32771
smb_tid=0
smb_pid=51966
smb_uid=0
smb_mid=2240
smt_wct=4
smb_vwv[ 0]= 255 (0xFF)
smb_vwv[ 1]= 0 (0x0)
smb_vwv[ 2]= 0 (0x0)
smb_vwv[ 3]= 15 (0xF)
smb_bcc=73
[2005/11/08 15:57:00, 3] smbd/process.c:switch_message(886)
switch message SMBtconX (pid 15686) conn 0x0
[2005/11/08 15:57:00, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/11/08 15:57:00, 5] auth/auth_util.c:debug_nt_user_token(485)
NT user token: (NULL)
[2005/11/08 15:57:00, 5] auth/auth_util.c:debug_unix_user_token(506)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2005/11/08 15:57:00, 5] smbd/uid.c:change_to_root_user(296)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2005/11/08 15:57:00, 4] smbd/reply.c:reply_tcon_and_X(407)
Client requested device type [G] for share []
[2005/11/08 15:57:00, 3] smbd/service.c:find_service(154)
checking for home directory gave (NULL)
[2005/11/08 15:57:00, 3] smbd/service.c:find_service(164)
checking whether is a valid printer name...
[2005/11/08 15:57:00, 3] smbd/service.c:find_service(174)
is not a valid printer name
[2005/11/08 15:57:00, 3] smbd/service.c:find_service(211)
find_service() failed to find service
[2005/11/08 15:57:00, 0] smbd/service.c:make_connection(794)
stwnt (132.169.222.140) couldn't find service
[2005/11/08 15:57:00, 3] smbd/error.c:error_packet(129)
error packet at smbd/reply.c(415) cmd=117 (SMBtconX) NT_STATUS_BAD_NETWORK_NAME
[2005/11/08 15:57:00, 5] lib/util.c:show_msg(464)
[2005/11/08 15:57:00, 5] lib/util.c:show_msg(474)
size=35
smb_com=0x75
smb_rcls=204
smb_reh=0
smb_err=49152
smb_flg=136
smb_flg2=49153
smb_tid=0
smb_pid=51966
smb_uid=0
smb_mid=2240
smt_wct=0
smb_bcc=0
[2005/11/08 15:57:50, 5] lib/util_sock.c:read_smb_length_return_keepalive(502)
Got keepalive packet
[2005/11/08 15:57:50, 3] smbd/process.c:process_smb(1091)
Transaction 38 of length 4
[2005/11/08 15:58:50, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/11/08 15:58:50, 5] auth/auth_util.c:debug_nt_user_token(485)
NT user token: (NULL)
[2005/11/08 15:58:50, 5] auth/auth_util.c:debug_unix_user_token(506)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2005/11/08 15:58:50, 5] smbd/uid.c:change_to_root_user(296)
change_to_root_user: now uid=(0,0) gid=(0,0)
J'ai, entre autres, effectue quelques recherches sur le NT_STATUS_BAD_NETWORK_NAME mais rien trouve de probant.
Voila, toute idee est la bienvenue, le probleme etant que je ne peux pas trop toucher au serveur samba vu qu'il est en prod...
Merci d'avance pour votre aide.
Max.