[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Samba-Zugriff geht nicht (mehr)



Am Montag, 26. Juli 2004 10.55 schrieb Björn Schmidt:
> Marco Fleig schrieb:
> >>Hast Du keine logfiles?
> >
> > doch jede Menge - aber ich wollte die nicht alle mitschicken ...
> > was interessiert da?
>
> log.smbd:
> Alles von dem Zeitpunkt an, an dem Du das Netzlaufwerk verbunden hast
> bis zu dem an dem Du versucht hast irgendeine Datei zu öffnen. Dabei
> solltest Du darauf achten dass Du vertrauliche Daten unlesbar machst.
>
> > oder im log.nmbd:
>
> die ist weniger interessant.
>

Also - ich habe alle logs gelöscht, dann samba restartet, einen zugriff 
probiert und jetzt folgendes in den logs:

log.smbd:

[2004/07/26 10:59:31, 2] lib/interface.c:add_interface(79)
  added interface ip=192.168.0.101 bcast=192.168.0.255 nmask=255.255.255.0
[2004/07/26 10:59:31, 3] smbd/server.c:main(787)
  loaded services
[2004/07/26 10:59:31, 3] smbd/server.c:main(802)
  Becoming a daemon.
[2004/07/26 10:59:31, 2] lib/tallocmsg.c:register_msg_pool_usage(57)
  Registered MSG_REQ_POOL_USAGE
[2004/07/26 10:59:31, 2] lib/dmallocmsg.c:register_dmalloc_msgs(71)
  Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
[2004/07/26 10:59:31, 2] smbd/server.c:open_sockets_smbd(324)
  waiting for a connection

192.168.0.20.log:
[2004/07/26 10:59:43, 3] smbd/oplock.c:init_oplocks(1226)
  open_oplock_ipc: opening loopback UDP socket.
[2004/07/26 10:59:43, 3] smbd/oplock.c:init_oplocks(1257)
  open_oplock ipc: pid = 12872, global_oplock_port = 32868
[2004/07/26 10:59:43, 3] lib/access.c:check_access(313)
  check_access: no hostnames in host allow/deny list.
[2004/07/26 10:59:43, 2] lib/access.c:check_access(324)
  Allowed connection from  (192.168.0.20)
[2004/07/26 10:59:43, 3] smbd/process.c:process_smb(890)
  Transaction 0 of length 72
[2004/07/26 10:59:43, 2] smbd/reply.c:reply_special(208)
  netbios connect: name1=SONNE           name2=SATURN
[2004/07/26 10:59:43, 2] smbd/reply.c:reply_special(215)
  netbios connect: local=sonne remote=saturn, name type = 0
[2004/07/26 10:59:59, 3] smbd/oplock.c:init_oplocks(1226)
  open_oplock_ipc: opening loopback UDP socket.
[2004/07/26 10:59:59, 3] smbd/oplock.c:init_oplocks(1257)
  open_oplock ipc: pid = 12873, global_oplock_port = 32868
[2004/07/26 10:59:59, 3] lib/access.c:check_access(313)
  check_access: no hostnames in host allow/deny list.
[2004/07/26 10:59:59, 2] lib/access.c:check_access(324)
  Allowed connection from  (192.168.0.20)
[2004/07/26 10:59:59, 3] smbd/process.c:process_smb(890)
  Transaction 0 of length 72
[2004/07/26 10:59:59, 2] smbd/reply.c:reply_special(208)
  netbios connect: name1=SONNE           name2=SATURN
[2004/07/26 10:59:59, 2] smbd/reply.c:reply_special(215)
  netbios connect: local=sonne remote=saturn, name type = 0


jetzt gibt es da noch ein saturn (rechnername).log:
das ist schon wieder riesig. da drin finde ich aber:





[2004/07/26 11:00:05, 3] libsmb/ntlmssp.c:ntlmssp_server_auth(615)
  Got user=[] domain=[] workstation=[SATURN] len1=1 len2=0
[2004/07/26 11:00:05, 3] auth/auth.c:check_ntlm_password(219)
  check_ntlm_password:  Checking password for unmapped user []\[]@[SATURN] 
with the new password interface
[2004/07/26 11:00:05, 3] auth/auth.c:check_ntlm_password(222)
  check_ntlm_password:  mapped user is: [SONNE]\[]@[SATURN]
[2004/07/26 11:00:05, 3] smbd/sec_ctx.c:push_sec_ctx(256)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2004/07/26 11:00:05, 3] smbd/uid.c:push_conn_ctx(351)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2004/07/26 11:00:05, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2004/07/26 11:00:05, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/07/26 11:00:05, 3] smbd/sec_ctx.c:push_sec_ctx(256)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2004/07/26 11:00:05, 3] smbd/uid.c:push_conn_ctx(351)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2004/07/26 11:00:05, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2004/07/26 11:00:05, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/07/26 11:00:05, 3] passdb/lookup_sid.c:fetch_sid_from_gid_cache(226)
  fetch sid from gid cache 65534 -> 
S-1-5-21-2539935505-1071285078-129531991-132069
[2004/07/26 11:00:05, 3] auth/auth.c:check_ntlm_password(268)
  check_ntlm_password: guest authentication for user [] succeeded
[2004/07/26 11:00:05, 3] libsmb/ntlmssp_sign.c:ntlmssp_sign_init(319)
  NTLMSSP Sign/Seal - Initialising with flags:
[2004/07/26 11:00:05, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
  Got NTLMSSP neg_flags=0x60088215
[2004/07/26 11:00:05, 3] smbd/password.c:register_vuid(222)
  User name: nobody     Real name: nobody
[2004/07/26 11:00:05, 3] smbd/password.c:register_vuid(241)
  UNIX uid 65534 is UNIX user nobody, and will be vuid 102
[2004/07/26 11:00:05, 3] smbd/process.c:process_smb(890)
  Transaction 82 of length 80
[2004/07/26 11:00:05, 3] smbd/process.c:switch_message(685)
  switch message SMBtconX (pid 12873)
[2004/07/26 11:00:05, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/07/26 11:00:05, 3] lib/access.c:check_access(313)

user map - problem?

und 
[2004/07/26 11:00:05, 0] smbd/service.c:make_connection_snum(591)
  '/home/sekretariat' does not exist or is not a directory, when connecting to 
[sekretariat]
[2004/07/26 11:00:05, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/07/26 11:00:05, 3] smbd/connection.c:yield_connection(69)
  Yielding connection to sekretariat
[2004/07/26 11:00:05, 3] smbd/error.c:error_packet(94)
  error string = Permission denied

aha? - jetzt weiss ich nur noch nicht warum :)

werde mal noch user map anschauen

Gruss
Marco
-- 
ICQ: 131676




Reply to: