Officejet schreibt nicht auf Samba-Freigabe

trbl

trbl

Grünschnabel
Hallo...
mit einem HP-Officejet 9120 kann man Scans, Bilder und Faxe auf ein Netzwerklaufwerk schreiben lassen. Dazu kann man im JetDirect-Webinterface das LM-Authentifizierungsschema einstellen und an anderer stelle die nötigen Angaben zur Freigabe.
Benutze ich nun eine Samba-Freigabe kommt, entsprechend der Einstellungen in der smb.conf, entweder
Benutzername o. Passwort falsch oder Freigabename ist falsch. Schreibe ich dagegen auf eine Freigabe von meinem w2k-Notebook, klappt alles einwandfrei. Auch die Samba-Freigabe ist von einem w2k einwandfrei zu benutzen. Nach langem googeln konnte ich leider nichts finden was mich mit meinem Problem weiter bringen würde. Sicher habe ich nur irgendetwas übersehen... :hilfe2:

Samba:
3.0.14a-3sarge2_i386

Auswahlmöglichkeiten für LM-Authentifizierungsschema auf Officejet:
LM & NTLM
NTLM
NTLMv2 (bei mir eingestellt)

Für die Freigabe habe ich auf dem Officejet folgendes eingestellt:
OrdnerPfad = \\192.168.1.3\scanner
Benutzername = bully
Kennwort = blahblub

Dieser Benutzername und das Kennwort sind auf dem Sambaserver nicht bekannt, was aber trotzdem zu einer Verbindung führen müsste, da ich map to guest = Bad User eingestellt habe. Bei dem w2k-pro auf dem Notebook klappt es auf alle Fälle. Lieber wäre mir natürlich wenn es mit einer existierenden User/Passwort-Kombination funktionieren würde.

Die smb.conf:
Code:
# Samba config file created using SWAT
# from 192.168.1.13 (192.168.1.13)
# Date: 2006/08/06 12:44:28

# Global parameters
[global]
        workgroup = PLAYGND.DE
        server string = %h server (Samba %v)
        security = SHARE
        map to guest = Bad User
        obey pam restrictions = Yes
        passdb backend = tdbsam, guest
        passwd program = /usr/bin/passwd %u
        passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n
        client NTLMv2 auth = Yes
        client lanman auth = No
        client plaintext auth = No
        syslog = 0
        log file = /var/log/samba/log.%m
        max log size = 1000
        dns proxy = No
        ldap ssl = no
        panic action = /usr/share/samba/panic-action %d

[homes]
        comment = Home Directories
        create mask = 0700
        directory mask = 0700
        browseable = No

[printers]
        comment = All Printers
        path = /tmp
        create mask = 0700
        printable = Yes
        browseable = No

[print$]
        comment = Printer Drivers
        path = /var/lib/samba/printers

[andy]
        path = /srv/windows/andy
        valid users = andy
        force user = samba
        force group = samba
        read only = No

[fax]
        comment = Fuer Faxe
        path = /srv/windows/andy/fax
        force user = samba
        read only = No
        guest ok = Yes

[scanner]
        comment = Fuer Scanner
        path = /srv/windows/andy/scanner
        force user = samba
        force group = samba
        read only = No
        force unknown acl user = Yes
        guest only = Yes
        guest ok = Yes

Ein Logfile-Auszug wärend des Verbindungsaufbaus des Officejet:
Code:
[2006/08/06 12:38:21, 6] param/loadparm.c:lp_file_list_changed(2715)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Sun Aug  6 12:35:51 2006

[2006/08/06 12:38:21, 3] smbd/oplock.c:init_oplocks(1351)
  open_oplock_ipc: opening loopback UDP socket.
[2006/08/06 12:38:21, 10] lib/util_sock.c:open_socket_in(717)
  bind succeeded on port 0
[2006/08/06 12:38:21, 3] smbd/oplock.c:init_oplocks(1382)
  open_oplock ipc: pid = 7526, global_oplock_port = 32958
[2006/08/06 12:38:21, 4] lib/time.c:get_serverzone(125)
  Serverzone is -7200
[2006/08/06 12:38:22, 10] lib/util_sock.c:read_smb_length_return_keepalive(505)
  got smb length of 58
[2006/08/06 12:38:22, 6] smbd/process.c:process_smb(1090)
  got message type 0x0 of len 0x3a
[2006/08/06 12:38:22, 3] smbd/process.c:process_smb(1091)
  Transaction 0 of length 62
[2006/08/06 12:38:22, 5] lib/util.c:show_msg(464)
[2006/08/06 12:38:22, 5] lib/util.c:show_msg(474)
  size=58
  smb_com=0x72
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51203
  smb_tid=0
  smb_pid=2132
  smb_uid=0
  smb_mid=0
  smt_wct=0
  smb_bcc=23
[2006/08/06 12:38:22, 10] lib/util.c:dump_data(1995)
  [000] 02 4C 41 4E 4D 41 4E 32  2E 31 00 02 4E 54 20 4C  .LANMAN2 .1..NT L
  [010] 4D 20 30 2E 31 32 00                              M 0.12.
[2006/08/06 12:38:22, 3] smbd/process.c:switch_message(886)
  switch message SMBnegprot (pid 7526) conn 0x0
[2006/08/06 12:38:22, 0] smbd/process.c:smb_dump(841)
  created /tmp/SMBnegprot.48.req len 62
[2006/08/06 12:38:22, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/08/06 12:38:22, 5] auth/auth_util.c:debug_nt_user_token(485)
  NT user token: (NULL)
[2006/08/06 12:38:22, 5] auth/auth_util.c:debug_unix_user_token(506)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2006/08/06 12:38:22, 5] smbd/uid.c:change_to_root_user(296)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2006/08/06 12:38:22, 3] smbd/negprot.c:reply_negprot(461)
  Requested protocol [LANMAN2.1]
[2006/08/06 12:38:22, 3] smbd/negprot.c:reply_negprot(461)
  Requested protocol [NT LM 0.12]
[2006/08/06 12:38:22, 10] lib/util.c:set_remote_arch(1970)
  set_remote_arch: Client arch is 'Win2K'
[2006/08/06 12:38:22, 6] param/loadparm.c:lp_file_list_changed(2715)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Sun Aug  6 12:35:51 2006

[2006/08/06 12:38:22, 5] smbd/connection.c:claim_connection(170)
  claiming  0
[2006/08/06 12:38:22, 6] param/loadparm.c:lp_file_list_changed(2715)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Sun Aug  6 12:35:51 2006

[2006/08/06 12:38:22, 10] smbd/negprot.c:get_challenge(40)
  get challenge: creating negprot_global_auth_context
[2006/08/06 12:38:22, 5] auth/auth.c:make_auth_context_subsystem(490)
  Making default auth method list for security=share, encrypt passwords = yes
[2006/08/06 12:38:22, 5] auth/auth.c:smb_register_auth(45)
  Attempting to register auth backend rhosts
[2006/08/06 12:38:22, 5] auth/auth.c:smb_register_auth(57)
  Successfully added auth method 'rhosts'
[2006/08/06 12:38:22, 5] auth/auth.c:smb_register_auth(45)
  Attempting to register auth backend hostsequiv
[2006/08/06 12:38:22, 5] auth/auth.c:smb_register_auth(57)
  Successfully added auth method 'hostsequiv'
[2006/08/06 12:38:22, 5] auth/auth.c:smb_register_auth(45)
  Attempting to register auth backend sam
[2006/08/06 12:38:22, 5] auth/auth.c:smb_register_auth(57)
  Successfully added auth method 'sam'
[2006/08/06 12:38:22, 5] auth/auth.c:smb_register_auth(45)
  Attempting to register auth backend sam_ignoredomain
[2006/08/06 12:38:22, 5] auth/auth.c:smb_register_auth(57)
  Successfully added auth method 'sam_ignoredomain'
[2006/08/06 12:38:22, 5] auth/auth.c:smb_register_auth(45)
  Attempting to register auth backend unix
[2006/08/06 12:38:22, 5] auth/auth.c:smb_register_auth(57)
  Successfully added auth method 'unix'
[2006/08/06 12:38:22, 5] auth/auth.c:smb_register_auth(45)
  Attempting to register auth backend winbind
[2006/08/06 12:38:22, 5] auth/auth.c:smb_register_auth(57)
  Successfully added auth method 'winbind'
[2006/08/06 12:38:22, 5] auth/auth.c:smb_register_auth(45)
  Attempting to register auth backend smbserver
[2006/08/06 12:38:22, 5] auth/auth.c:smb_register_auth(57)
  Successfully added auth method 'smbserver'
[2006/08/06 12:38:22, 5] auth/auth.c:smb_register_auth(45)
  Attempting to register auth backend trustdomain
[2006/08/06 12:38:22, 5] auth/auth.c:smb_register_auth(57)
  Successfully added auth method 'trustdomain'
[2006/08/06 12:38:22, 5] auth/auth.c:smb_register_auth(45)
  Attempting to register auth backend ntdomain
[2006/08/06 12:38:22, 5] auth/auth.c:smb_register_auth(57)
  Successfully added auth method 'ntdomain'
[2006/08/06 12:38:22, 5] auth/auth.c:smb_register_auth(45)
  Attempting to register auth backend guest
[2006/08/06 12:38:22, 5] auth/auth.c:smb_register_auth(57)
  Successfully added auth method 'guest'
[2006/08/06 12:38:22, 5] auth/auth.c:load_auth_module(384)
  load_auth_module: Attempting to find an auth method to match guest
[2006/08/06 12:38:22, 5] auth/auth.c:load_auth_module(409)
  load_auth_module: auth method guest has a valid init
[2006/08/06 12:38:22, 5] auth/auth.c:load_auth_module(384)
  load_auth_module: Attempting to find an auth method to match sam
[2006/08/06 12:38:22, 5] auth/auth.c:load_auth_module(409)
  load_auth_module: auth method sam has a valid init
[2006/08/06 12:38:22, 10] smbd/negprot.c:get_challenge(45)
  get challenge: getting challenge
[2006/08/06 12:38:22, 5] auth/auth.c:get_ntlm_challenge(95)
  auth_get_challenge: module guest did not want to specify a challenge
[2006/08/06 12:38:22, 5] auth/auth.c:get_ntlm_challenge(95)
  auth_get_challenge: module sam did not want to specify a challenge
[2006/08/06 12:38:22, 5] auth/auth.c:get_ntlm_challenge(135)
  auth_context challenge created by random
[2006/08/06 12:38:22, 5] auth/auth.c:get_ntlm_challenge(136)
  challenge is:
[2006/08/06 12:38:22, 5] lib/util.c:dump_data(1995)
  [000] 67 65 76 F2 3F 77 69 13                           gev.?wi.
[2006/08/06 12:38:22, 3] smbd/negprot.c:reply_nt1(327)
  not using SPNEGO
[2006/08/06 12:38:22, 3] smbd/negprot.c:reply_negprot(555)
  Selected protocol NT LM 0.12
[2006/08/06 12:38:22, 5] smbd/negprot.c:reply_negprot(561)
  negprot index=1
[2006/08/06 12:38:22, 0] smbd/process.c:smb_dump(841)
  created /tmp/SMBnegprot.48.resp len 103
[2006/08/06 12:38:22, 5] lib/util.c:show_msg(464)
[2006/08/06 12:38:22, 5] lib/util.c:show_msg(474)
  size=99
  smb_com=0x72
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=49153
  smb_tid=0
  smb_pid=2132
  smb_uid=0
  smb_mid=0
  smt_wct=17
  smb_vwv[ 0]=    1 (0x1)
  smb_vwv[ 1]=12802 (0x3202)
  smb_vwv[ 2]=  256 (0x100)
  smb_vwv[ 3]= 1024 (0x400)
  smb_vwv[ 4]=   65 (0x41)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=  256 (0x100)
  smb_vwv[ 7]=26112 (0x6600)
  smb_vwv[ 8]=   29 (0x1D)
  smb_vwv[ 9]=64768 (0xFD00)
  smb_vwv[10]=32995 (0x80E3)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=21091 (0x5263)
  smb_vwv[13]=17520 (0x4470)
  smb_vwv[14]=50873 (0xC6B9)
  smb_vwv[15]=34817 (0x8801)
  smb_vwv[16]= 2303 (0x8FF)
  smb_bcc=30
[2006/08/06 12:38:22, 10] lib/util.c:dump_data(1995)
  [000] 67 65 76 F2 3F 77 69 13  50 00 4C 00 41 00 59 00  gev.?wi. P.L.A.Y.
  [010] 47 00 4E 00 44 00 2E 00  44 00 45 00 00 00        G.N.D... D.E...
[2006/08/06 12:38:22, 6] lib/util_sock.c:write_socket(449)
  write_socket(5,103)
[2006/08/06 12:38:22, 6] lib/util_sock.c:write_socket(452)
  write_socket(5,103) wrote 103
[2006/08/06 12:38:22, 10] lib/util_sock.c:read_smb_length_return_keepalive(505)
  got smb length of 129
[2006/08/06 12:38:22, 6] smbd/process.c:process_smb(1090)
  got message type 0x0 of len 0x81
[2006/08/06 12:38:22, 3] smbd/process.c:process_smb(1091)
  Transaction 1 of length 133
[2006/08/06 12:38:22, 5] lib/util.c:show_msg(464)
[2006/08/06 12:38:22, 5] lib/util.c:show_msg(474)
  size=129
  smb_com=0x73
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51201
  smb_tid=0
  smb_pid=2132
  smb_uid=0
  smb_mid=1
  smt_wct=13
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]= 5120 (0x1400)
  smb_vwv[ 3]=   50 (0x32)
  smb_vwv[ 4]= 2132 (0x854)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    1 (0x1)
  smb_vwv[ 8]=    1 (0x1)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=   84 (0x54)
  smb_vwv[12]=32768 (0x8000)
  smb_bcc=68
[2006/08/06 12:38:22, 10] lib/util.c:dump_data(1995)
  [000] 00 00 62 00 75 00 6C 00  6C 00 79 00 00 00 31 00  ..b.u.l. l.y...1.
  [010] 39 00 32 00 00 00 55 00  6E 00 69 00 78 00 20 00  9.2...U. n.i.x. .
  [020] 76 00 65 00 72 00 73 00  69 00 6F 00 6E 00 20 00  v.e.r.s. i.o.n. .
  [030] 32 00 31 00 30 00 30 00  00 00 63 00 69 00 66 00  2.1.0.0. ..c.i.f.
  [040] 73 00 00 00                                       s...
[2006/08/06 12:38:22, 3] smbd/process.c:switch_message(886)
  switch message SMBsesssetupX (pid 7526) conn 0x0
[2006/08/06 12:38:22, 0] smbd/process.c:smb_dump(841)
  created /tmp/SMBsesssetupX.88.req len 133
[2006/08/06 12:38:22, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/08/06 12:38:22, 5] auth/auth_util.c:debug_nt_user_token(485)
  NT user token: (NULL)
[2006/08/06 12:38:22, 5] auth/auth_util.c:debug_unix_user_token(506)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2006/08/06 12:38:22, 5] smbd/uid.c:change_to_root_user(296)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2006/08/06 12:38:22, 3] smbd/sesssetup.c:reply_sesssetup_and_X(655)
  wct=13 flg2=0xc801
[2006/08/06 12:38:22, 3] smbd/sesssetup.c:reply_sesssetup_and_X(801)
  Domain=[ãã?ã]  NativeOS=[åæ?æ?ç*âçæççæ?æ?æ?âãããã] NativeLanMan=[ææ?æç] PrimaryDomain=[]
[2006/08/06 12:38:22, 3] smbd/sesssetup.c:reply_sesssetup_and_X(816)
  sesssetupX:name=[ãã?ã]\[çæ°æ°ç?]@[192.168.1.49]
[2006/08/06 12:38:22, 6] param/loadparm.c:lp_file_list_changed(2715)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Sun Aug  6 12:35:51 2006

[2006/08/06 12:38:22, 5] lib/username.c:Get_Pwnam(293)
  Finding user çæ°æ°ç?
[2006/08/06 12:38:22, 5] lib/username.c:Get_Pwnam_internals(223)
  Trying _Get_Pwnam(), username as lowercase is çæ°æ°ç?
[2006/08/06 12:38:22, 5] lib/username.c:Get_Pwnam_internals(247)
  Checking combinations of 0 uppercase letters in çæ°æ°ç?
[2006/08/06 12:38:22, 5] lib/username.c:Get_Pwnam_internals(251)
  Get_Pwnam_internals didn't find user [çæ°æ°ç?]!
[2006/08/06 12:38:22, 3] smbd/sesssetup.c:check_guest_password(116)
  Got anonymous request
[2006/08/06 12:38:22, 5] auth/auth.c:make_auth_context_subsystem(490)
  Making default auth method list for security=share, encrypt passwords = yes
[2006/08/06 12:38:22, 5] auth/auth.c:load_auth_module(384)
  load_auth_module: Attempting to find an auth method to match guest
[2006/08/06 12:38:22, 5] auth/auth.c:load_auth_module(409)
  load_auth_module: auth method guest has a valid init
[2006/08/06 12:38:22, 5] auth/auth.c:load_auth_module(384)
  load_auth_module: Attempting to find an auth method to match sam
[2006/08/06 12:38:22, 5] auth/auth.c:load_auth_module(409)
  load_auth_module: auth method sam has a valid init
[2006/08/06 12:38:22, 5] auth/auth_util.c:make_user_info(132)
  attempting to make a user_info for  ()
[2006/08/06 12:38:22, 5] auth/auth_util.c:make_user_info(142)
  making strings for 's user_info struct
[2006/08/06 12:38:22, 5] auth/auth_util.c:make_user_info(184)
  making blobs for 's user_info struct
[2006/08/06 12:38:22, 10] auth/auth_util.c:make_user_info(200)
  made an encrypted user_info for  ()
[2006/08/06 12:38:22, 3] auth/auth.c:check_ntlm_password(219)
  check_ntlm_password:  Checking password for unmapped user []\[]@[] with the new password interface
[2006/08/06 12:38:22, 3] auth/auth.c:check_ntlm_password(222)
  check_ntlm_password:  mapped user is: []\[]@[]
[2006/08/06 12:38:22, 10] auth/auth.c:check_ntlm_password(231)
  check_ntlm_password: auth_context challenge created by fixed
[2006/08/06 12:38:22, 10] auth/auth.c:check_ntlm_password(233)
  challenge is:
[2006/08/06 12:38:22, 5] lib/util.c:dump_data(1995)
  [000] 00 00 00 00 00 00 00 00                           ........
[2006/08/06 12:38:22, 11] passdb/pdb_get_set.c:pdb_get_init_flags(220)
  element 3: DEFAULT
[2006/08/06 12:38:22, 11] passdb/pdb_get_set.c:pdb_get_init_flags(220)
  element 1: DEFAULT
[2006/08/06 12:38:22, 11] passdb/pdb_get_set.c:pdb_get_init_flags(220)
  element 4: DEFAULT
[2006/08/06 12:38:22, 11] passdb/pdb_get_set.c:pdb_get_init_flags(220)
  element 2: DEFAULT
[2006/08/06 12:38:22, 10] lib/account_pol.c:account_policy_get(210)
  account_policy_get: password history:0
[2006/08/06 12:38:22, 18] tdb/tdbutil.c:tdb_pack(472)
  tdb_pack(dddddddBBBBBBBBBBBBddBBBwwdBwwd, 0) -> 172
[2006/08/06 12:38:22, 18] tdb/tdbutil.c:tdb_pack(472)
  tdb_pack(dddddddBBBBBBBBBBBBddBBBwwdBwwd, 172) -> 172
[2006/08/06 12:38:22, 18] tdb/tdbutil.c:tdb_unpack(577)
  tdb_unpack(dddddddBBBBBBBBBBBBddBBBwwdBwwd, 172) -> 172
[2006/08/06 12:38:22, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 5 -> now SET
[2006/08/06 12:38:22, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 6 -> now SET
[2006/08/06 12:38:22, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 7 -> now SET
[2006/08/06 12:38:22, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 8 -> now SET
[2006/08/06 12:38:22, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 9 -> now SET
[2006/08/06 12:38:22, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 10 -> now SET
[2006/08/06 12:38:22, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 21 -> now SET
[2006/08/06 12:38:22, 10] passdb/pdb_get_set.c:pdb_set_username(617)
  pdb_set_username: setting username nobody, was
[2006/08/06 12:38:22, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 12 -> now SET
[2006/08/06 12:38:22, 10] passdb/pdb_get_set.c:pdb_set_domain(644)
  pdb_set_domain: setting domain ELARA, was
[2006/08/06 12:38:22, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 14 -> now SET
[2006/08/06 12:38:22, 10] passdb/pdb_get_set.c:pdb_set_nt_username(671)
  pdb_set_nt_username: setting nt username , was
[2006/08/06 12:38:22, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 15 -> now SET
[2006/08/06 12:38:22, 10] passdb/pdb_get_set.c:pdb_set_fullname(698)
  pdb_set_full_name: setting full name nobody, was
[2006/08/06 12:38:22, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 13 -> now SET
[2006/08/06 12:38:22, 4] lib/substitute.c:automount_server(335)
  Home server: elara
[2006/08/06 12:38:22, 10] passdb/pdb_get_set.c:pdb_set_homedir(806)
  pdb_set_homedir: setting home dir \\elara\nobody, was
[2006/08/06 12:38:22, 11] passdb/pdb_get_set.c:pdb_set_init_flags(529)
  element 1 -> now DEFAULT
[2006/08/06 12:38:22, 10] passdb/pdb_get_set.c:pdb_set_dir_drive(779)
  pdb_set_dir_drive: setting dir drive , was NULL
[2006/08/06 12:38:22, 11] passdb/pdb_get_set.c:pdb_set_init_flags(529)
  element 3 -> now DEFAULT
[2006/08/06 12:38:22, 10] passdb/pdb_get_set.c:pdb_set_logon_script(725)
  pdb_set_logon_script: setting logon script , was
[2006/08/06 12:38:22, 11] passdb/pdb_get_set.c:pdb_set_init_flags(529)
  element 4 -> now DEFAULT
[2006/08/06 12:38:22, 4] lib/substitute.c:automount_server(335)
  Home server: elara
[2006/08/06 12:38:22, 10] passdb/pdb_get_set.c:pdb_set_profile_path(752)
  pdb_set_profile_path: setting profile path \\elara\nobody\profile, was
[2006/08/06 12:38:22, 11] passdb/pdb_get_set.c:pdb_set_init_flags(529)
  element 2 -> now DEFAULT
[2006/08/06 12:38:22, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 23 -> now SET
[2006/08/06 12:38:22, 10] passdb/pdb_get_set.c:pdb_set_workstations(885)
  pdb_set_workstations: setting workstations , was
[2006/08/06 12:38:22, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 24 -> now SET
[2006/08/06 12:38:22, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 26 -> now SET
[2006/08/06 12:38:22, 10] lib/account_pol.c:account_policy_get(210)
  account_policy_get: password history:0
[2006/08/06 12:38:22, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 34 -> now SET
[2006/08/06 12:38:22, 10] passdb/pdb_get_set.c:pdb_set_user_sid(544)
  pdb_set_user_sid: setting user sid S-1-5-21-1124504003-22210885-218565418-501
[2006/08/06 12:38:22, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 18 -> now SET
[2006/08/06 12:38:22, 10] passdb/pdb_compat.c:pdb_set_user_sid_from_rid(73)
  pdb_set_user_sid_from_rid:
        setting user sid S-1-5-21-1124504003-22210885-218565418-501 from rid 501
[2006/08/06 12:38:22, 10] passdb/pdb_get_set.c:pdb_set_group_sid(580)
  pdb_set_group_sid: setting group sid S-1-5-21-1124504003-22210885-218565418-514
[2006/08/06 12:38:22, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 19 -> now SET
[2006/08/06 12:38:22, 10] passdb/pdb_compat.c:pdb_set_group_sid_from_rid(100)
  pdb_set_group_sid_from_rid:
        setting group sid S-1-5-21-1124504003-22210885-218565418-514 from rid 514
[2006/08/06 12:38:22, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 16 -> now SET
[2006/08/06 12:38:22, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 29 -> now SET
[2006/08/06 12:38:22, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 30 -> now SET
[2006/08/06 12:38:22, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 31 -> now SET
[2006/08/06 12:38:22, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 20 -> now SET
[2006/08/06 12:38:22, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 17 -> now SET
[2006/08/06 12:38:22, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 27 -> now SET
[2006/08/06 12:38:22, 3] auth/auth.c:check_ntlm_password(268)
  check_ntlm_password: guest authentication for user [] succeeded
[2006/08/06 12:38:22, 5] auth/auth.c:check_ntlm_password(305)
  check_ntlm_password:  guest authentication for user [] -> [] -> [nobody] succeeded
[2006/08/06 12:38:22, 5] auth/auth_util.c:free_user_info(1380)
  attempting to free (and zero) a user_info structure
[2006/08/06 12:38:22, 10] auth/auth_util.c:free_user_info(1383)
  structure was created for
[2006/08/06 12:38:22, 5] auth/auth_util.c:free_user_info(1380)
  attempting to free (and zero) a user_info structure
[2006/08/06 12:38:22, 6] param/loadparm.c:lp_file_list_changed(2715)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Sun Aug  6 12:35:51 2006

[2006/08/06 12:38:22, 0] smbd/process.c:smb_dump(841)
  created /tmp/SMBsesssetupX.88.resp len 120
[2006/08/06 12:38:22, 5] lib/util.c:show_msg(464)
[2006/08/06 12:38:22, 5] lib/util.c:show_msg(474)
  size=116
  smb_com=0x73
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=49153
  smb_tid=0
  smb_pid=2132
  smb_uid=0
  smb_mid=1
  smt_wct=3
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    1 (0x1)
  smb_bcc=75
[2006/08/06 12:38:22, 10] lib/util.c:dump_data(1995)
  [000] 00 55 00 6E 00 69 00 78  00 00 00 53 00 61 00 6D  .U.n.i.x ...S.a.m
  [010] 00 62 00 61 00 20 00 33  00 2E 00 30 00 2E 00 31  .b.a. .3 ...0...1
  [020] 00 34 00 61 00 2D 00 44  00 65 00 62 00 69 00 61  .4.a.-.D .e.b.i.a
  [030] 00 6E 00 00 00 50 00 4C  00 41 00 59 00 47 00 4E  .n...P.L .A.Y.G.N
  [040] 00 44 00 2E 00 44 00 45  00 00 00                 .D...D.E ...
[2006/08/06 12:38:22, 6] lib/util_sock.c:write_socket(449)
  write_socket(5,120)
[2006/08/06 12:38:22, 6] lib/util_sock.c:write_socket(452)
  write_socket(5,120) wrote 120
[2006/08/06 12:38:22, 10] lib/util_sock.c:read_smb_length_return_keepalive(505)
  got smb length of 89
[2006/08/06 12:38:22, 6] smbd/process.c:process_smb(1090)
  got message type 0x0 of len 0x59
[2006/08/06 12:38:22, 3] smbd/process.c:process_smb(1091)
  Transaction 2 of length 93
[2006/08/06 12:38:22, 5] lib/util.c:show_msg(464)
[2006/08/06 12:38:22, 5] lib/util.c:show_msg(474)
  size=89
  smb_com=0x75
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51201
  smb_tid=0
  smb_pid=2132
  smb_uid=0
  smb_mid=2
  smt_wct=4
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=   24 (0x18)
  smb_bcc=46
[2006/08/06 12:38:22, 10] lib/util.c:dump_data(1995)
  [000] 09 C5 3E AE 9F 9B E6 C5  34 3A FE 98 A6 88 64 E4  ..>..... 4:....d.
  [010] CB CD 88 74 73 96 F0 C8  73 00 63 00 61 00 6E 00  ...ts... s.c.a.n.
  [020] 6E 00 65 00 72 00 00 00  3F 3F 3F 3F 3F 00        n.e.r... ?????.
[2006/08/06 12:38:22, 3] smbd/process.c:switch_message(886)
  switch message SMBtconX (pid 7526) conn 0x0
[2006/08/06 12:38:22, 0] smbd/process.c:smb_dump(841)
  created /tmp/SMBtconX.47.req len 93
[2006/08/06 12:38:22, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/08/06 12:38:22, 5] auth/auth_util.c:debug_nt_user_token(485)
  NT user token: (NULL)
[2006/08/06 12:38:22, 5] auth/auth_util.c:debug_unix_user_token(506)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2006/08/06 12:38:22, 5] smbd/uid.c:change_to_root_user(296)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2006/08/06 12:38:22, 4] smbd/reply.c:reply_tcon_and_X(407)
  Client requested device type [] for share [æææ?æ?æç]
[2006/08/06 12:38:22, 7] param/loadparm.c:lp_servicenumber(4056)
  lp_servicenumber: couldn't find æææ?æ?æç
[2006/08/06 12:38:22, 5] lib/username.c:Get_Pwnam(293)
  Finding user æææ?æ?æç
[2006/08/06 12:38:22, 5] lib/username.c:Get_Pwnam_internals(223)
  Trying _Get_Pwnam(), username as lowercase is æææ?æ?æç
[2006/08/06 12:38:22, 5] lib/username.c:Get_Pwnam_internals(247)
  Checking combinations of 0 uppercase letters in æææ?æ?æç
[2006/08/06 12:38:22, 5] lib/username.c:Get_Pwnam_internals(251)
  Get_Pwnam_internals didn't find user [æææ?æ?æç]!
[2006/08/06 12:38:22, 3] smbd/service.c:find_service(154)
  checking for home directory æææ?æ?æç gave (NULL)
[2006/08/06 12:38:22, 3] smbd/service.c:find_service(164)
  checking whether æææ?æ?æç is a valid printer name...
[2006/08/06 12:38:22, 3] smbd/service.c:find_service(174)
  æææ?æ?æç is not a valid printer name
[2006/08/06 12:38:22, 3] smbd/service.c:find_service(211)
  find_service() failed to find service æææ?æ?æç
[2006/08/06 12:38:22, 0] smbd/service.c:make_connection(799)
  192.168.1.49 (192.168.1.49) couldn't find service æææ?æ?æç
[2006/08/06 12:38:22, 3] smbd/error.c:error_packet(105)
  error string = File exists
[2006/08/06 12:38:22, 3] smbd/error.c:error_packet(129)
  error packet at smbd/reply.c(415) cmd=117 (SMBtconX) NT_STATUS_BAD_NETWORK_NAME
[2006/08/06 12:38:22, 0] smbd/process.c:smb_dump(841)
  created /tmp/SMBtconX.47.resp len 39
[2006/08/06 12:38:22, 5] lib/util.c:show_msg(464)
[2006/08/06 12:38:22, 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=2132
  smb_uid=0
  smb_mid=2
  smt_wct=0
  smb_bcc=0
[2006/08/06 12:38:22, 6] lib/util_sock.c:write_socket(449)
  write_socket(5,39)
[2006/08/06 12:38:22, 6] lib/util_sock.c:write_socket(452)
  write_socket(5,39) wrote 39
[2006/08/06 12:38:22, 10] lib/util_sock.c:read_socket_data(378)
  read_socket_data: recv of 4 returned 0. Error = Success
[2006/08/06 12:38:22, 10] lib/util_sock.c:receive_smb_raw(556)
  receive_smb_raw: length < 0!
[2006/08/06 12:38:22, 3] smbd/process.c:timeout_processing(1334)
  timeout_processing: End of file from client (client has disconnected).
[2006/08/06 12:38:22, 5] lib/gencache.c:gencache_shutdown(88)
  Closing cache file
[2006/08/06 12:38:22, 5] libsmb/namecache.c:namecache_shutdown(79)
  namecache_shutdown: netbios namecache closed successfully.
[2006/08/06 12:38:22, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/08/06 12:38:22, 5] auth/auth_util.c:debug_nt_user_token(485)
  NT user token: (NULL)
[2006/08/06 12:38:22, 5] auth/auth_util.c:debug_unix_user_token(506)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2006/08/06 12:38:22, 5] smbd/uid.c:change_to_root_user(296)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2006/08/06 12:38:22, 2] smbd/server.c:exit_server(609)
  Closing connections
[2006/08/06 12:38:22, 3] smbd/connection.c:yield_connection(69)
  Yielding connection to
[2006/08/06 12:38:22, 5] smbd/oplock.c:receive_local_message(107)
  receive_local_message: doing select with timeout of 1 ms
[2006/08/06 12:38:22, 3] smbd/server.c:exit_server(652)
  Server exit (normal exit)

Gruß
trbl
 
Wenn map to guest was bewirken soll, musst du aber auch Gaeste zulassen bzw. den Gast-Account auf einen User-Account setzen. Ausserdem solltest du 'security' auf 'user' setzen, wenn du mit einem Login arbeiten willst/musst.
 
Hallo theton,
unter der Freigabe [scanner] sind Gäste zugelassen, ein w2k kann mit dem nicht existierenden Usernamen durchaus eine Verbindung herstellen.
Wenn ich die Security auf user setze bringt der Drucker die Fehlermeldung Benutzername o. Passwort falsch, allerdings nur der Drucker, ein w2k kann mit dem richten Benutznamen ein Verbindung herstellen.

Gruß
trbl
 
Dann liegt das Problem ja wohl eher beim Drucker und nicht beim Samba-Server, sonst wuerde es ja auch mit einem 2k-Client nicht gehen. *vermut*
 
Hallo theton,
das hatte ich auch vermutet und habe deshalb den Drucker auf eine w2k-Freigabe schreiben lassen, was einwandfrei funktioniert.
Als Workaround bin ich gerade damit beschäftigt aus ein paar Altteilen eine Kiste mit w2k zusammen zu bauen, bis sich eine Lösung über Samba ergibt.

Gruß
trbl
 
Sehr geehrte Damen und Herren,

Aha Habt ihr die quasi ähnlichen Probleme oder so? Ich habe vor einigen Tagen via HP Support Chat mit einem Techniker geschrieben. Meine Probleme bestehen aber weiterhin.
Ich besitze den HP OfficeJet 710 und hatte vor ein paar Tagen folgende Probleme
Auf meinem PC, Windows XP HOME installiert, funktioniert jenes Gerät insofern nicht, als daß ich auf PRINT drucken konnte, aber auf FAX nur geprintet, aber nicht gefaxt werden konnte.
Ich konnte nicht direkt vom PC wegfaxen, sondern musste stets zuerst ausdrucken und dann einscannen und dann faxen Ich habe dann öfters deinstalliert, neuinstalliert, Treiber aktualisiert, etc.
Alles leider vergeblich
In der Systemsteuerung hatte ich folgendes angeführt: HP OfficeJet Series 700 Fax, HP OfficeJet Series 700 Print, HP Photosmart 420 Series, Microsoft Office Document Image Writer

Unter Karteikarte Anschlüsse war HP OfficeJet Series 700 Fax unter LPT 1 angehakt
HP OfficeJet Series 700 Print unter DOT4_004.
Er initialisiert die ganze Zeit, manchmal ist das Symbol in der Taskleite durchgestrichen (Fehlermeldung: Verbindung getrennt), manchmal ist das Symbol nicht durchgestrichen und Meldung: „Initialisiert“ erscheint

Der Techniker sendete mir einen Link zur Überprüfen von der Webseite aus http://ipgccs.cce.hp.com/scriptbuilder/content/D4_Software/File/ECP_mode.htm

Ich tat alles was in dieser Anleitung angeführt war, doch das Ergebnis ist, dass der HP OfficeJet 710 jetzt weder drucken noch faxen kann.
Ich bin nun endgültig verzweifelt und hoffe auf erfolgreiche Lösung des oben beschriebenen Problems.

Wer kann mir da helfen?


Mit freundlichen Grüßen,.



Romano
 
Romano schrieb:
Auf meinem PC, Windows XP HOME installiert, funktioniert jenes Gerät insofern nicht, als daß ich auf PRINT drucken konnte, aber auf FAX nur geprintet, aber nicht gefaxt werden konnte.

Dir ist aber schon klar, dass dies hier ein Unix-Board ist? Bei Windows muesstest du dich bitte an ein anderes Board wenden. Hier sind Unix und Unix-aehnliche Systeme wie Linux Thema.
 
Workaround

Hallo,
das Thema wurde zwischenzeitlich in der Mailing List Samba Technical diskutiert. Ein funktionierender Workaround wäre im Samba-Server 'use spnego = No' zu setzen, wo dies zu keinen anderen Problemen führt.
Bei mir kann der Officejet jetzt auf die Freigaben schreiben und somit kann ich die w2k-Büchse wieder abschalten. Meine sonstigen w2k- und Linuxclients können auch noch ohne Probleme auf die Freigaben am Server zugreifen.

Gruß
trbl
 

Ähnliche Themen

E/A-Fehler (.snapshots is not a btrfs subvolume).

Mit AWK verschiedene Felder verschiedener Zeilen vergleichen

Problem mit SATA

Zugriff Ubuntu 16.04. auf Freigabe 18.04. LTS nicht möglich

Creative Labs SoundBlaster Audigy 2 ZS unter Debian / Kernel 3.16

Zurück
Oben