WXP kein Zugriff auf Lenny

M

Midas

Mitglied
Moin,

ich habe auf einem NAS, Lenny installiert und möchte mit WXP Pro Clients auf eine USB HDD zugreifen.

Die Platte ist gemountet mit gid=100, smbpasswd ist mit den passenden usern gefüttert
Code:
smbpasswd -a und smbpasswd -e
, ich habe schon versucht mit:
Code:
chown user1 ordner
chgrp gruppe ordner
chmod 777 ordner

dem Ordner/partition mitzuteilen, hallo den user bitte schreibrechte gewähren.

Jetzt sieht das so aus
Code:
drwxrwxrwx 1 user1 gruppe1 4096 Aug  6 13:23 partition1
drwxrwxrwx 1 root    gruppe1 4096 Aug  6 13:23 partition2
drwxrwxrwx 1 root    gruppe1 4096 Aug  6 13:24 partition3

wenn ich jetzt bei wxp unterer "Netzwerk-Server" schaue sehe ich alle 3 Partitionen, problem, doppelklick auf part1, passiert nichts mehr, doppelklick auf part2, Ordner öffnet sich, ich möchte dann ein neuen ordner erstellen, meldet wxp "Zugriff Verweigert, keine Schreibrechte", bei part3 kommt dann "Gast" anmeldung, gebe ich ihm das "root" passwd, isser glücklich, aber keine Schreibrechte ....

Hatte jetzt einige tuts versucht, aber irgendwo iss der Wurm drin.... :hilfe2:

Code:
# Samba config file created using SWAT
# from UNKNOWN (1)
# Date: 2009/08/16 11:42:11

[global]
        workgroup = - XP und Lenny in einer gruppe
        netbios name = *Zensur*
        server string = %h Server %v
        security = USER
        encrypt passwords = Yes
[part1]
        comment = part1
        path = /mnt/part1
        writeable = yes
        public = Yes
        valid users = @gruppe1,@gruppe2
        write list = @gruppe1,@gruppe2
        create mask = 0777
        force create mode = 0777
        directory mask = 0777
        force directory mode = 0777
        read only = No
        guest ok = Yes
[part2]
        comment = part2
        path = /mnt/part2
        writeable = yes
        public = yes
        valid users = @gruppe1,@gruppe2
        create mode = 0777
        directory mode = 0777
        read only = No
        guest ok = Yes

[part3]
        comment = part3
        path = /mnt/part3
        writeable = yes
        public = yes
        valid users = @gruppe1,@gruppe2
        create mode = 0777
        directory mode = 0777
        read only = No
        guest ok = Yes

ich hatte auch mit SWAT schon mein glück versucht, aber ich finde das tool nicht wirklich berauschend, da ist mit die smb.conf mit nano lieber.

Ich würde gerne "security USER" nutzen, ich denke das ist eine sinnvolle lösung wenn mal 2 leute auf eine struktur zugreifen wollen, ich hätte gerne oder stelle mir vor, das ich ein user anlege, den im smbpasswd anmelden muss, und der dann ganz einfach auf die partition/en zugreifen kann wenn er sich mit username und passwd anmeldet.

ich habe jetzt verschiedenes versucht aber ich komme nicht an das Ziel und verstehe auch nicht so recht wieso, irgendwas übersehe ich oder mach ich falsch ;(

Kann mir wer :hilfe2:???

Danke schonmal...

Client: WXP SP3
Debian Lenny: 2.6.26-2
Samba: 3.2.5
 
Zuletzt bearbeitet:
drwxrwxrwx 1 user1 gruppe1 4096 Aug 6 13:23 partition1
drwxrwxrwx 1 root gruppe1 4096 Aug 6 13:23 partition2
drwxrwxrwx 1 root gruppe1 4096 Aug 6 13:24 partition3

[part1]
path = /mnt/part1

[part2]
path = /mnt/part2

[part3]
path = /mnt/part1

Sind das nur Tippfehler, Links oder stimmen die Pfade nicht?

workgroup = - XP und Lenny in einer gruppe
Außerdem sieht das auch komisch aus (oder ist das von dir extra hierfür editiert)?
Dort sollte die Windows-Workgroup oder Domäne eingetragen sein und kein Kommentar.
Ich weiß nicht, wie kleinlich Samba dabei ist, aber ein richtiger Eintrag an der Stelle wäre sicherlich empfehlenswert.

valid users = @gruppe1,@gruppe2
Nehme mal das Komma weg, einfach ein "Blank" dazwischen lassen.
 
Zuletzt bearbeitet:
die pfade passen, ich habe das vereinfacht, das man schneller durchblickt....

ich dachte das hilft dem leser... ?!

... ein tippfehler habe ich verbessert ...
 
Was steht in den logs?
Warum kommt das "permission denied"
Eventuell auch mal mit
Code:
[global]
log level = 3
hochsetzen, um Samba ein bißchen gesprächiger zu machen.

Vielleciht auch mal mit einem
# id
prüfen, zu welcher Gruppe der jeweilige User gehört.
 
Ich habe mal in die smb.conf

Code:
log file = /var/log/samba/samba_%M.log

eingefügt, wie kann man die die MAXSIZE noch einfügen, nicht das das teil mal 10GB groß ist :D

Ich habe eine "log.winbindd-idmap" gefunden, die ist schon gute 782 000kb groß, kann man das gleich mal mit begrenzen??? dieses File ist das einzigte unter "/var/log/samba" das aktuell ist.

Hier die letzten ausschnitte:

Code:
[2009/08/17 16:54:41,  1] winbindd/idmap_tdb.c:idmap_tdb_alloc_init(371)
  idmap uid range missing or invalid
  idmap will be unable to map foreign SIDs
[2009/08/17 16:54:41,  0] winbindd/idmap.c:idmap_alloc_init(823)
  ERROR: Initialization failed for alloc backend, deferred!
[2009/08/17 17:26:41,  1] winbindd/idmap_tdb.c:idmap_tdb_alloc_init(371)
  idmap uid range missing or invalid
  idmap will be unable to map foreign SIDs
[2009/08/17 17:26:41,  0] winbindd/idmap.c:idmap_alloc_init(823)
  ERROR: Initialization failed for alloc backend, deferred!
[2009/08/17 17:26:42,  1] winbindd/idmap_tdb.c:idmap_tdb_alloc_init(371)
  idmap uid range missing or invalid
  idmap will be unable to map foreign SIDs
[2009/08/17 17:26:42,  0] winbindd/idmap.c:idmap_alloc_init(823)
  ERROR: Initialization failed for alloc backend, deferred!

oder meinst du etwas anderes???

log level habe ich auf 3 gesetzt.

die user habe ich über webmin verwaltet, war leichter als das consolen gehangel... die passen soweit, die user sind alle in "users" drin.

Warum kommt das "permission denied"
eine sehr gute frage ! keine ahnung ;(

Durch das...

Code:
log file = /var/log/samba/samba_%M.log

hat er natürlich jetzt auch ein log angelegt, ich habe auf alle 3 Ordner des Servers versucht zuzugreifen um möglichst viel informationen zu bekommen ich hoffe das ist so richtig ???

Code:
[2009/08/17 17:42:21,  2] lib/interface.c:add_interface(337)
  added interface eth0 ip=fe80::222:6bff:fee7:2cc0%eth0 bcast=fe80::ffff:ffff:ffff:ffff%eth0 netm$
[2009/08/17 17:42:21,  2] lib/interface.c:add_interface(337)
  added interface eth0 ip=192.168.115.50 bcast=192.168.115.255 netmask=255.255.255.0
[2009/08/17 17:45:21,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:46:21,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:47:21,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:50:21,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:50:21,  3] smbd/process.c:check_reload(1885)
  Printcap cache time expired.
[2009/08/17 17:50:21,  3] printing/pcap.c:pcap_cache_reload(116)
  reloading printcap cache
[2009/08/17 17:50:21,  3] printing/pcap.c:pcap_cache_reload(223)
  reload status: ok
[2009/08/17 17:51:21,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:16,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:16,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:16,  1] smbd/service.c:close_cnum(1405)
  midas (::ffff:192.168.115.150) closed connection to service files
[2009/08/17 17:53:16,  3] smbd/connection.c:yield_connection(31)
  Yielding connection to files
[2009/08/17 17:53:16,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:16,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:16,  3] smbd/service.c:close_cnum(1405)
  midas (::ffff:192.168.115.150) closed connection to service IPC$
[2009/08/17 17:53:16,  3] smbd/connection.c:yield_connection(31)
  Yielding connection to IPC$
[2009/08/17 17:53:16,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:16,  3] smbd/connection.c:yield_connection(31)
  Yielding connection to
[2009/08/17 17:53:16,  3] smbd/server.c:exit_server_common(949)
  Server exit (termination signal)
[2009/08/17 17:53:35,  3] smbd/oplock.c:init_oplocks(875)
  init_oplocks: initializing messages.
[2009/08/17 17:53:35,  3] smbd/oplock_linux.c:linux_init_kernel_oplocks(241)
  Linux kernel oplocks enabled
[2009/08/17 17:53:36,  3] smbd/process.c:process_smb(1549)
  Transaction 0 of length 72 (0 toread)
[2009/08/17 17:53:36,  2] smbd/reply.c:reply_special(425)
  netbios connect: name1=HIVE            name2=MIDAS
[2009/08/17 17:53:36,  2] smbd/reply.c:reply_special(432)
  netbios connect: local=hive remote=midas, name type = 0
[2009/08/17 17:53:36,  3] smbd/process.c:process_smb(1549)
  Transaction 0 of length 137 (0 toread)
[2009/08/17 17:53:36,  3] smbd/process.c:switch_message(1361)
  switch message SMBnegprot (pid 18444) conn 0x0
[2009/08/17 17:53:36,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:36,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [PC NETWORK PROGRAM 1.0]
[2009/08/17 17:53:36,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [LANMAN1.0]
[2009/08/17 17:53:36,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [Windows for Workgroups 3.1a]
[2009/08/17 17:53:36,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [LM1.2X002]
[2009/08/17 17:53:36,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [LANMAN2.1]
[2009/08/17 17:53:36,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [NT LM 0.12]
[2009/08/17 17:53:36,  3] smbd/negprot.c:reply_nt1(392)
  using SPNEGO
[2009/08/17 17:53:36,  3] smbd/negprot.c:reply_negprot(673)
  Selected protocol NT LM 0.12
[2009/08/17 17:53:36,  3] smbd/process.c:process_smb(1549)
  Transaction 1 of length 256 (0 toread)
[2009/08/17 17:53:36,  3] smbd/process.c:switch_message(1361)
  switch message SMBsesssetupX (pid 18444) conn 0x0
[2009/08/17 17:53:36,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:36,  3] smbd/sesssetup.c:reply_sesssetup_and_X(1409)
  wct=12 flg2=0xc807
[2009/08/17 17:53:36,  2] smbd/sesssetup.c:setup_new_vc_session(1363)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2009/08/17 17:53:36,  3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(1173)
  Doing spnego session setup
[2009/08/17 17:53:36,  3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(1208)
  NativeOS=[Windows 2002 Service Pack 3, v.3311 2600] NativeLanMan=[Windows 2002 5.1] PrimaryDoma$
[2009/08/17 17:53:36,  3] smbd/sesssetup.c:reply_spnego_negotiate(800)
  reply_spnego_negotiate: Got secblob of size 40
[2009/08/17 17:53:36,  3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
  Got NTLMSSP neg_flags=0xa2088207
[2009/08/17 17:53:36,  3] smbd/process.c:process_smb(1549)
  Transaction 2 of length 272 (0 toread)
[2009/08/17 17:53:36,  3] smbd/process.c:switch_message(1361)
  switch message SMBsesssetupX (pid 18444) conn 0x0
[2009/08/17 17:53:36,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:36,  3] smbd/sesssetup.c:reply_sesssetup_and_X(1409)
  wct=12 flg2=0xc807
[2009/08/17 17:53:36,  2] smbd/sesssetup.c:setup_new_vc_session(1363)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2009/08/17 17:53:36,  3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(1173)
  Doing spnego session setup
[2009/08/17 17:53:36,  3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(1208)
  NativeOS=[Windows 2002 Service Pack 3, v.3311 2600] NativeLanMan=[Windows 2002 5.1] PrimaryDoma$
[2009/08/17 17:53:36,  3] libsmb/ntlmssp.c:ntlmssp_server_auth(745)
  Got user=[] domain=[] workstation=[MIDAS] len1=1 len2=0
[2009/08/17 17:53:36,  3] auth/auth.c:check_ntlm_password(220)
  check_ntlm_password:  Checking password for unmapped user []\[]@[MIDAS] with the new password i$
[2009/08/17 17:53:36,  3] auth/auth.c:check_ntlm_password(223)
  check_ntlm_password:  mapped user is: [HIVE]\[]@[MIDAS]
[2009/08/17 17:53:36,  3] smbd/sec_ctx.c:push_sec_ctx(224)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/08/17 17:53:36,  3] smbd/uid.c:push_conn_ctx(357)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/08/17 17:53:36,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/08/17 17:53:36,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:36,  3] smbd/sec_ctx.c:push_sec_ctx(224)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/08/17 17:53:36,  3] smbd/uid.c:push_conn_ctx(357)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/08/17 17:53:36,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/08/17 17:53:36,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:36,  3] auth/auth.c:check_ntlm_password(269)
  check_ntlm_password: guest authentication for user [] succeeded
[2009/08/17 17:53:36,  3] smbd/sec_ctx.c:push_sec_ctx(224)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/08/17 17:53:36,  3] smbd/uid.c:push_conn_ctx(357)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/08/17 17:53:36,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/08/17 17:53:36,  3] groupdb/mapping.c:pdb_create_builtin_alias(786)
  pdb_create_builtin_alias: Could not get a gid out of winbind
[2009/08/17 17:53:36,  2] auth/token_util.c:create_local_nt_token(385)
  WARNING: Failed to create BUILTIN\Administrators group!  Can Winbind allocate gids?
[2009/08/17 17:53:36,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:36,  3] smbd/sec_ctx.c:push_sec_ctx(224)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/08/17 17:53:36,  3] smbd/uid.c:push_conn_ctx(357)
[2009/08/17 17:53:36,  3] smbd/uid.c:push_conn_ctx(357)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/08/17 17:53:36,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/08/17 17:53:36,  3] groupdb/mapping.c:pdb_create_builtin_alias(786)
  pdb_create_builtin_alias: Could not get a gid out of winbind
[2009/08/17 17:53:36,  2] auth/token_util.c:create_local_nt_token(413)
  WARNING: Failed to create BUILTIN\Users group! Can Winbind allocate gids?
[2009/08/17 17:53:36,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:36,  3] smbd/sec_ctx.c:push_sec_ctx(224)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/08/17 17:53:36,  3] smbd/uid.c:push_conn_ctx(357)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/08/17 17:53:36,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/08/17 17:53:36,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:36,  3] lib/privileges.c:get_privileges(63)
  get_privileges: No privileges assigned to SID [S-1-5-21-3962363092-2188158196-2505712852-501]
[2009/08/17 17:53:36,  3] lib/privileges.c:get_privileges(63)
  get_privileges: No privileges assigned to SID [S-1-5-2]
[2009/08/17 17:53:36,  3] lib/privileges.c:get_privileges(63)
  get_privileges: No privileges assigned to SID [S-1-5-32-546]
[2009/08/17 17:53:36,  3] libsmb/ntlmssp_sign.c:ntlmssp_sign_init(337)
  NTLMSSP Sign/Seal - Initialising with flags:
[2009/08/17 17:53:36,  3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
  Got NTLMSSP neg_flags=0xa2088205
[2009/08/17 17:53:36,  3] smbd/password.c:register_existing_vuid(314)
  register_existing_vuid: User name: nobody     Real name: nobody
[2009/08/17 17:53:36,  3] smbd/password.c:register_existing_vuid(326)
  register_existing_vuid: UNIX uid 65534 is UNIX user nobody, and will be vuid 100
[2009/08/17 17:53:36,  3] smbd/process.c:process_smb(1549)
  Transaction 3 of length 78 (0 toread)
[2009/08/17 17:53:36,  3] smbd/process.c:switch_message(1361)
  switch message SMBtconX (pid 18444) conn 0x0
[2009/08/17 17:53:36,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:36,  3] smbd/service.c:make_connection_snum(940)
  Connect path is '/tmp' for service [IPC$]
[2009/08/17 17:53:36,  3] lib/util_seaccess.c:se_access_check(249)
[2009/08/17 17:53:36,  3] lib/util_seaccess.c:se_access_check(252)
  se_access_check: user sid is S-1-5-21-3962363092-2188158196-2505712852-501
  se_access_check: also S-1-1-0
  se_access_check: also S-1-5-2
  se_access_check: also S-1-5-32-546
[2009/08/17 17:53:36,  3] smbd/vfs.c:vfs_init_default(96)
  Initialising default vfs hooks
[2009/08/17 17:53:36,  3] smbd/vfs.c:vfs_init_custom(130)
Initialising custom vfs hooks from [/[Default VFS]/]
[2009/08/17 17:53:36,  3] lib/util_seaccess.c:se_access_check(249)
[2009/08/17 17:53:36,  3] lib/util_seaccess.c:se_access_check(252)
  se_access_check: user sid is S-1-5-21-3962363092-2188158196-2505712852-501
  se_access_check: also S-1-1-0
  se_access_check: also S-1-5-2
  se_access_check: also S-1-5-32-546
[2009/08/17 17:53:36,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (65534, 65534) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:36,  3] smbd/service.c:make_connection_snum(1194)
  midas (::ffff:192.168.115.150) connect to service IPC$ initially as user nobody (uid=65534, gid$
[2009/08/17 17:53:36,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:36,  3] smbd/reply.c:reply_tcon_and_X(727)
  tconX service=IPC$
[2009/08/17 17:53:36,  3] smbd/process.c:process_smb(1549)
  Transaction 4 of length 118 (0 toread)
[2009/08/17 17:53:36,  3] smbd/process.c:switch_message(1361)
  switch message SMBtrans (pid 18444) conn 0x5ec1b0
[2009/08/17 17:53:36,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (65534, 65534) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:36,  3] smbd/ipc.c:handle_trans(436)
  trans <\PIPE\LANMAN> data=0 params=22 setup=0
[2009/08/17 17:53:36,  3] smbd/ipc.c:named_pipe(387)
  named pipe command on <LANMAN> name
[2009/08/17 17:53:36,  3] smbd/lanman.c:api_reply(4549)
  Got API command 104 of form <WrLehDO> <B16> (tdscnt=0,tpscnt=22,mdrcnt=14724,mprcnt=8)
[2009/08/17 17:53:36,  3] smbd/lanman.c:api_reply(4553)
  Doing NetServerEnum
[2009/08/17 17:53:36,  3] smbd/lanman.c:api_RNetServerEnum(1513)
  NetServerEnum domain = NETZ uLevel=0 counted=1 total=1
[2009/08/17 17:53:36,  3] smbd/process.c:process_smb(1549)
  Transaction 5 of length 43 (0 toread)
[2009/08/17 17:53:36,  3] smbd/process.c:switch_message(1361)
  switch message SMBulogoffX (pid 18444) conn 0x0
[2009/08/17 17:53:36,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:36,  3] smbd/reply.c:reply_ulogoffX(1910)
  ulogoffX vuid=100
[2009/08/17 17:53:36,  3] smbd/process.c:process_smb(1549)
  Transaction 6 of length 39 (0 toread)
[2009/08/17 17:53:36,  3] smbd/process.c:switch_message(1361)
  switch message SMBtdis (pid 18444) conn 0x5ec1b0
[2009/08/17 17:53:36,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:36,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:36,  3] smbd/service.c:close_cnum(1405)
[2009/08/17 17:53:36,  3] smbd/service.c:close_cnum(1405)
  midas (::ffff:192.168.115.150) closed connection to service IPC$
[2009/08/17 17:53:36,  3] smbd/connection.c:yield_connection(31)
  Yielding connection to IPC$
[2009/08/17 17:53:36,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:37,  3] smbd/process.c:process_smb(1549)
  Transaction 7 of length 256 (0 toread)
[2009/08/17 17:53:37,  3] smbd/process.c:switch_message(1361)
  switch message SMBsesssetupX (pid 18444) conn 0x0
[2009/08/17 17:53:37,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:37,  3] smbd/sesssetup.c:reply_sesssetup_and_X(1409)
  wct=12 flg2=0xc807
[2009/08/17 17:53:37,  2] smbd/sesssetup.c:setup_new_vc_session(1363)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2009/08/17 17:53:37,  3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(1173)
  Doing spnego session setup
[2009/08/17 17:53:37,  3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(1208)
  NativeOS=[Windows 2002 Service Pack 3, v.3311 2600] NativeLanMan=[Windows 2002 5.1] PrimaryDoma$
[2009/08/17 17:53:37,  3] smbd/sesssetup.c:reply_spnego_negotiate(800)
  reply_spnego_negotiate: Got secblob of size 40
[2009/08/17 17:53:37,  3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
  Got NTLMSSP neg_flags=0xa2088207
[2009/08/17 17:53:37,  3] smbd/process.c:process_smb(1549)
  Transaction 8 of length 272 (0 toread)
[2009/08/17 17:53:37,  3] smbd/process.c:switch_message(1361)
  switch message SMBsesssetupX (pid 18444) conn 0x0
[2009/08/17 17:53:37,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:37,  3] smbd/sesssetup.c:reply_sesssetup_and_X(1409)
  wct=12 flg2=0xc807
[2009/08/17 17:53:37,  2] smbd/sesssetup.c:setup_new_vc_session(1363)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2009/08/17 17:53:37,  3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(1173)
  Doing spnego session setup
[2009/08/17 17:53:37,  3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(1208)
  NativeOS=[Windows 2002 Service Pack 3, v.3311 2600] NativeLanMan=[Windows 2002 5.1] PrimaryDoma$
[2009/08/17 17:53:37,  3] libsmb/ntlmssp.c:ntlmssp_server_auth(745)
  Got user=[] domain=[] workstation=[MIDAS] len1=1 len2=0
[2009/08/17 17:53:37,  3] auth/auth.c:check_ntlm_password(220)
  check_ntlm_password:  Checking password for unmapped user []\[]@[MIDAS] with the new password i$
[2009/08/17 17:53:37,  3] auth/auth.c:check_ntlm_password(223)
  check_ntlm_password:  mapped user is: [HIVE]\[]@[MIDAS]
[2009/08/17 17:53:37,  3] smbd/sec_ctx.c:push_sec_ctx(224)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/08/17 17:53:37,  3] smbd/uid.c:push_conn_ctx(357)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/08/17 17:53:37,  3] smbd/sec_ctx.c:set_sec_ctx(324)
[2009/08/17 17:53:37,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/08/17 17:53:37,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:37,  3] smbd/sec_ctx.c:push_sec_ctx(224)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/08/17 17:53:37,  3] smbd/uid.c:push_conn_ctx(357)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/08/17 17:53:37,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/08/17 17:53:37,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:37,  3] auth/auth.c:check_ntlm_password(269)
  check_ntlm_password: guest authentication for user [] succeeded
[2009/08/17 17:53:37,  3] smbd/sec_ctx.c:push_sec_ctx(224)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/08/17 17:53:37,  3] smbd/uid.c:push_conn_ctx(357)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/08/17 17:53:37,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/08/17 17:53:37,  3] groupdb/mapping.c:pdb_create_builtin_alias(786)
  pdb_create_builtin_alias: Could not get a gid out of winbind
[2009/08/17 17:53:37,  2] auth/token_util.c:create_local_nt_token(385)
  WARNING: Failed to create BUILTIN\Administrators group!  Can Winbind allocate gids?
[2009/08/17 17:53:37,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:37,  3] smbd/sec_ctx.c:push_sec_ctx(224)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/08/17 17:53:37,  3] smbd/uid.c:push_conn_ctx(357)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/08/17 17:53:37,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/08/17 17:53:37,  3] groupdb/mapping.c:pdb_create_builtin_alias(786)
  pdb_create_builtin_alias: Could not get a gid out of winbind
[2009/08/17 17:53:37,  2] auth/token_util.c:create_local_nt_token(413)
  WARNING: Failed to create BUILTIN\Users group! Can Winbind allocate gids?
[2009/08/17 17:53:37,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:37,  3] smbd/sec_ctx.c:push_sec_ctx(224)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/08/17 17:53:37,  3] smbd/uid.c:push_conn_ctx(357)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/08/17 17:53:37,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/08/17 17:53:37,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:37,  3] lib/privileges.c:get_privileges(63)
  get_privileges: No privileges assigned to SID [S-1-5-21-3962363092-2188158196-2505712852-501]
[2009/08/17 17:53:37,  3] lib/privileges.c:get_privileges(63)
[2009/08/17 17:53:37,  3] lib/privileges.c:get_privileges(63)
  get_privileges: No privileges assigned to SID [S-1-5-2]
[2009/08/17 17:53:37,  3] lib/privileges.c:get_privileges(63)
  get_privileges: No privileges assigned to SID [S-1-5-32-546]
[2009/08/17 17:53:38,  3] libsmb/ntlmssp_sign.c:ntlmssp_sign_init(337)
  NTLMSSP Sign/Seal - Initialising with flags:
[2009/08/17 17:53:38,  3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
  Got NTLMSSP neg_flags=0xa2088205
[2009/08/17 17:53:38,  3] smbd/password.c:register_existing_vuid(314)
  register_existing_vuid: User name: nobody     Real name: nobody
[2009/08/17 17:53:38,  3] smbd/password.c:register_existing_vuid(326)
  register_existing_vuid: UNIX uid 65534 is UNIX user nobody, and will be vuid 102
[2009/08/17 17:53:38,  3] smbd/process.c:process_smb(1549)
  Transaction 9 of length 78 (0 toread)
[2009/08/17 17:53:38,  3] smbd/process.c:switch_message(1361)
  switch message SMBtconX (pid 18444) conn 0x0
[2009/08/17 17:53:38,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:38,  3] smbd/service.c:make_connection_snum(940)
  Connect path is '/tmp' for service [IPC$]
[2009/08/17 17:53:38,  3] lib/util_seaccess.c:se_access_check(249)
[2009/08/17 17:53:38,  3] lib/util_seaccess.c:se_access_check(252)
  se_access_check: user sid is S-1-5-21-3962363092-2188158196-2505712852-501
  se_access_check: also S-1-1-0
  se_access_check: also S-1-5-2
  se_access_check: also S-1-5-32-546
[2009/08/17 17:53:38,  3] smbd/vfs.c:vfs_init_default(96)
  Initialising default vfs hooks
[2009/08/17 17:53:38,  3] smbd/vfs.c:vfs_init_custom(130)
  Initialising custom vfs hooks from [/[Default VFS]/]
[2009/08/17 17:53:38,  3] lib/util_seaccess.c:se_access_check(249)
[2009/08/17 17:53:38,  3] lib/util_seaccess.c:se_access_check(252)
  se_access_check: user sid is S-1-5-21-3962363092-2188158196-2505712852-501
  se_access_check: also S-1-1-0
  se_access_check: also S-1-5-2
  se_access_check: also S-1-5-32-546
[2009/08/17 17:53:38,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (65534, 65534) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:38,  3] smbd/service.c:make_connection_snum(1194)
  midas (::ffff:192.168.115.150) connect to service IPC$ initially as user nobody (uid=65534, gid$
[2009/08/17 17:53:38,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:38,  3] smbd/reply.c:reply_tcon_and_X(727)
  tconX service=IPC$
[2009/08/17 17:53:38,  3] smbd/process.c:process_smb(1549)
  Transaction 10 of length 127 (0 toread)
[2009/08/17 17:53:38,  3] smbd/process.c:switch_message(1361)
  switch message SMBtrans (pid 18444) conn 0x5ec1b0
[2009/08/17 17:53:38,  3] smbd/sec_ctx.c:set_sec_ctx(324)
[2009/08/17 17:53:38,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (65534, 65534) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:38,  3] smbd/ipc.c:handle_trans(436)
  trans <\PIPE\LANMAN> data=0 params=31 setup=0
[2009/08/17 17:53:38,  3] smbd/ipc.c:named_pipe(387)
  named pipe command on <LANMAN> name
[2009/08/17 17:53:38,  3] smbd/lanman.c:api_reply(4549)
  Got API command 104 of form <WrLehDz> <B16BBDz> (tdscnt=0,tpscnt=31,mdrcnt=4200,mprcnt=8)
[2009/08/17 17:53:38,  3] smbd/lanman.c:api_reply(4553)
  Doing NetServerEnum
[2009/08/17 17:53:38,  3] smbd/lanman.c:api_RNetServerEnum(1513)
  NetServerEnum domain = NETZ uLevel=1 counted=1 total=1
[2009/08/17 17:53:38,  3] smbd/process.c:process_smb(1549)
  Transaction 11 of length 43 (0 toread)
[2009/08/17 17:53:38,  3] smbd/process.c:switch_message(1361)
  switch message SMBulogoffX (pid 18444) conn 0x0
[2009/08/17 17:53:38,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:38,  3] smbd/reply.c:reply_ulogoffX(1910)
  ulogoffX vuid=102
[2009/08/17 17:53:38,  3] smbd/process.c:process_smb(1549)
  Transaction 12 of length 39 (0 toread)
[2009/08/17 17:53:38,  3] smbd/process.c:switch_message(1361)
  switch message SMBtdis (pid 18444) conn 0x5ec1b0
[2009/08/17 17:53:38,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:38,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:38,  3] smbd/service.c:close_cnum(1405)
  midas (::ffff:192.168.115.150) closed connection to service IPC$
[2009/08/17 17:53:38,  3] smbd/connection.c:yield_connection(31)
  Yielding connection to IPC$
[2009/08/17 17:53:38,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:38,  3] smbd/process.c:process_smb(1549)
  Transaction 13 of length 256 (0 toread)
[2009/08/17 17:53:38,  3] smbd/process.c:switch_message(1361)
  switch message SMBsesssetupX (pid 18444) conn 0x0
[2009/08/17 17:53:38,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:38,  3] smbd/sesssetup.c:reply_sesssetup_and_X(1409)
  wct=12 flg2=0xc807
[2009/08/17 17:53:38,  2] smbd/sesssetup.c:setup_new_vc_session(1363)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2009/08/17 17:53:38,  3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(1173)
  Doing spnego session setup
[2009/08/17 17:53:38,  3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(1208)
  NativeOS=[Windows 2002 Service Pack 3, v.3311 2600] NativeLanMan=[Windows 2002 5.1] PrimaryDoma$
[2009/08/17 17:53:38,  3] smbd/sesssetup.c:reply_spnego_negotiate(800)
[2009/08/17 17:53:38,  3] smbd/sesssetup.c:reply_spnego_negotiate(800)
  reply_spnego_negotiate: Got secblob of size 40
[2009/08/17 17:53:38,  3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
  Got NTLMSSP neg_flags=0xa2088207
[2009/08/17 17:53:38,  3] smbd/process.c:process_smb(1549)
  Transaction 14 of length 348 (0 toread)
[2009/08/17 17:53:38,  3] smbd/process.c:switch_message(1361)
  switch message SMBsesssetupX (pid 18444) conn 0x0
[2009/08/17 17:53:38,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:38,  3] smbd/sesssetup.c:reply_sesssetup_and_X(1409)
  wct=12 flg2=0xc807
[2009/08/17 17:53:38,  2] smbd/sesssetup.c:setup_new_vc_session(1363)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2009/08/17 17:53:38,  3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(1173)
  Doing spnego session setup
[2009/08/17 17:53:38,  3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(1208)
  NativeOS=[Windows 2002 Service Pack 3, v.3311 2600] NativeLanMan=[Windows 2002 5.1] PrimaryDoma$
[2009/08/17 17:53:38,  3] libsmb/ntlmssp.c:ntlmssp_server_auth(745)
  Got user=[cevin.s] domain=[MIDAS] workstation=[MIDAS] len1=24 len2=24
[2009/08/17 17:53:38,  3] auth/auth.c:check_ntlm_password(220)
  check_ntlm_password:  Checking password for unmapped user [MIDAS]\[cevin.s]@[MIDAS] with the ne$
[2009/08/17 17:53:38,  3] auth/auth.c:check_ntlm_password(223)
  check_ntlm_password:  mapped user is: [HIVE]\[cevin.s]@[MIDAS]
[2009/08/17 17:53:38,  3] smbd/sec_ctx.c:push_sec_ctx(224)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/08/17 17:53:38,  3] smbd/uid.c:push_conn_ctx(357)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/08/17 17:53:38,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/08/17 17:53:38,  3] smbd/sec_ctx.c:push_sec_ctx(224)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2009/08/17 17:53:38,  3] smbd/uid.c:push_conn_ctx(357)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2009/08/17 17:53:38,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2009/08/17 17:53:38,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/08/17 17:53:38,  3] smbd/sec_ctx.c:push_sec_ctx(224)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2009/08/17 17:53:38,  3] smbd/uid.c:push_conn_ctx(357)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2009/08/17 17:53:38,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2009/08/17 17:53:38,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/08/17 17:53:38,  3] smbd/sec_ctx.c:push_sec_ctx(224)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2009/08/17 17:53:38,  3] smbd/uid.c:push_conn_ctx(357)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2009/08/17 17:53:38,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2009/08/17 17:53:38,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/08/17 17:53:38,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:38,  3] smbd/sec_ctx.c:push_sec_ctx(224)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/08/17 17:53:38,  3] smbd/uid.c:push_conn_ctx(357)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/08/17 17:53:38,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/08/17 17:53:38,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:38,  3] smbd/sec_ctx.c:push_sec_ctx(224)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/08/17 17:53:38,  3] smbd/uid.c:push_conn_ctx(357)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/08/17 17:53:38,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/08/17 17:53:38,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:38,  3] auth/auth.c:check_ntlm_password(269)
  check_ntlm_password: sam authentication for user [cevin.s] succeeded
[2009/08/17 17:53:38,  3] smbd/sec_ctx.c:push_sec_ctx(224)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/08/17 17:53:38,  3] smbd/uid.c:push_conn_ctx(357)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/08/17 17:53:38,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/08/17 17:53:38,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:38,  2] auth/auth.c:check_ntlm_password(308)
  check_ntlm_password:  authentication for user [cevin.s] -> [cevin.s] -> [cevin.s] succeeded
[2009/08/17 17:53:38,  3] smbd/sec_ctx.c:push_sec_ctx(224)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/08/17 17:53:38,  3] smbd/uid.c:push_conn_ctx(357)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/08/17 17:53:38,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/08/17 17:53:38,  3] groupdb/mapping.c:pdb_create_builtin_alias(786)
  pdb_create_builtin_alias: Could not get a gid out of winbind
[2009/08/17 17:53:38,  2] auth/token_util.c:create_local_nt_token(385)
  WARNING: Failed to create BUILTIN\Administrators group!  Can Winbind allocate gids?
[2009/08/17 17:53:38,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:38,  3] smbd/sec_ctx.c:push_sec_ctx(224)
[2009/08/17 17:53:38,  3] smbd/sec_ctx.c:push_sec_ctx(224)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/08/17 17:53:38,  3] smbd/uid.c:push_conn_ctx(357)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/08/17 17:53:38,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/08/17 17:53:38,  3] groupdb/mapping.c:pdb_create_builtin_alias(786)
  pdb_create_builtin_alias: Could not get a gid out of winbind
[2009/08/17 17:53:38,  2] auth/token_util.c:create_local_nt_token(413)
  WARNING: Failed to create BUILTIN\Users group! Can Winbind allocate gids?
[2009/08/17 17:53:38,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:38,  3] smbd/sec_ctx.c:push_sec_ctx(224)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/08/17 17:53:38,  3] smbd/uid.c:push_conn_ctx(357)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/08/17 17:53:38,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/08/17 17:53:39,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:39,  3] lib/privileges.c:get_privileges(63)
  get_privileges: No privileges assigned to SID [S-1-5-21-3962363092-2188158196-2505712852-3008]
[2009/08/17 17:53:39,  3] lib/privileges.c:get_privileges(63)
  get_privileges: No privileges assigned to SID [S-1-22-2-100]
[2009/08/17 17:53:39,  3] lib/privileges.c:get_privileges(63)
  get_privileges: No privileges assigned to SID [S-1-5-2]
[2009/08/17 17:53:39,  3] lib/privileges.c:get_privileges(63)
  get_privileges: No privileges assigned to SID [S-1-5-11]
[2009/08/17 17:53:39,  3] lib/privileges.c:get_privileges(63)
  get_privileges: No privileges assigned to SID [S-1-22-2-27]
[2009/08/17 17:53:39,  3] lib/privileges.c:get_privileges(63)
  get_privileges: No privileges assigned to SID [S-1-22-2-1000]
[2009/08/17 17:53:39,  3] lib/privileges.c:get_privileges(63)
  get_privileges: No privileges assigned to SID [S-1-22-2-1006]
[2009/08/17 17:53:39,  3] lib/privileges.c:get_privileges(63)
  get_privileges: No privileges assigned to SID [S-1-22-2-1007]
[2009/08/17 17:53:39,  3] lib/privileges.c:get_privileges(63)
  get_privileges: No privileges assigned to SID [S-1-22-2-1008]
[2009/08/17 17:53:39,  3] libsmb/ntlmssp_sign.c:ntlmssp_sign_init(337)
  NTLMSSP Sign/Seal - Initialising with flags:
[2009/08/17 17:53:39,  3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
  Got NTLMSSP neg_flags=0xa2088205
[2009/08/17 17:53:39,  3] smbd/password.c:register_existing_vuid(314)
  register_existing_vuid: User name: cevin.s    Real name: Cevin
[2009/08/17 17:53:39,  3] smbd/password.c:register_existing_vuid(326)
  register_existing_vuid: UNIX uid 1004 is UNIX user cevin.s, and will be vuid 104
[2009/08/17 17:53:39,  3] smbd/password.c:register_existing_vuid(350)
  Adding homes service for user 'cevin.s' using home directory: '/home/cevin.s'
[2009/08/17 17:53:39,  3] smbd/process.c:process_smb(1549)
[2009/08/17 17:53:39,  3] smbd/process.c:process_smb(1549)
  Transaction 15 of length 78 (0 toread)
[2009/08/17 17:53:39,  3] smbd/process.c:switch_message(1361)
  switch message SMBtconX (pid 18444) conn 0x0
[2009/08/17 17:53:39,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:39,  3] smbd/service.c:make_connection_snum(940)
  Connect path is '/tmp' for service [IPC$]
[2009/08/17 17:53:39,  3] lib/util_seaccess.c:se_access_check(249)
[2009/08/17 17:53:39,  3] lib/util_seaccess.c:se_access_check(252)
  se_access_check: user sid is S-1-5-21-3962363092-2188158196-2505712852-3008
  se_access_check: also S-1-22-2-100
  se_access_check: also S-1-1-0
  se_access_check: also S-1-5-2
  se_access_check: also S-1-5-11
  se_access_check: also S-1-22-2-27
  se_access_check: also S-1-22-2-1000
  se_access_check: also S-1-22-2-1006
  se_access_check: also S-1-22-2-1007
  se_access_check: also S-1-22-2-1008
[2009/08/17 17:53:39,  3] smbd/vfs.c:vfs_init_default(96)
  Initialising default vfs hooks
[2009/08/17 17:53:39,  3] smbd/vfs.c:vfs_init_custom(130)
  Initialising custom vfs hooks from [/[Default VFS]/]
[2009/08/17 17:53:39,  3] lib/util_seaccess.c:se_access_check(249)
[2009/08/17 17:53:39,  3] lib/util_seaccess.c:se_access_check(252)
  se_access_check: user sid is S-1-5-21-3962363092-2188158196-2505712852-3008
  se_access_check: also S-1-22-2-100
  se_access_check: also S-1-1-0
  se_access_check: also S-1-5-2
  se_access_check: also S-1-5-11
  se_access_check: also S-1-22-2-27
  se_access_check: also S-1-22-2-1000
  se_access_check: also S-1-22-2-1006
  se_access_check: also S-1-22-2-1007
  se_access_check: also S-1-22-2-1008
[2009/08/17 17:53:39,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (1004, 100) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:39,  3] smbd/service.c:make_connection_snum(1194)
  midas (::ffff:192.168.115.150) connect to service IPC$ initially as user cevin.s (uid=1004, gid$
[2009/08/17 17:53:39,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:39,  3] smbd/reply.c:reply_tcon_and_X(727)
  tconX service=IPC$
[2009/08/17 17:53:39,  3] smbd/process.c:process_smb(1549)
  Transaction 16 of length 104 (0 toread)
[2009/08/17 17:53:39,  3] smbd/process.c:switch_message(1361)
  switch message SMBntcreateX (pid 18444) conn 0x5ec1b0
[2009/08/17 17:53:39,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (1004, 100) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:39,  3] smbd/nttrans.c:nt_open_pipe(320)
  nt_open_pipe: Known pipe srvsvc opening.
[2009/08/17 17:53:39,  3] smbd/process.c:process_smb(1549)
  Transaction 17 of length 140 (0 toread)
[2009/08/17 17:53:39,  3] smbd/process.c:switch_message(1361)
  switch message SMBwriteX (pid 18444) conn 0x5ec1b0
[2009/08/17 17:53:39,  3] rpc_server/srv_pipe.c:api_pipe_bind_req(1564)
  api_pipe_bind_req: \PIPE\srvsvc -> \PIPE\srvsvc
[2009/08/17 17:53:39,  3] rpc_server/srv_pipe.c:check_bind_req(991)
  check_bind_req for \PIPE\srvsvc
[2009/08/17 17:53:39,  3] smbd/pipes.c:reply_pipe_write_and_X(251)
  writeX-IPC pnum=750f nwritten=72
[2009/08/17 17:53:39,  3] smbd/process.c:process_smb(1549)
  Transaction 18 of length 63 (0 toread)
[2009/08/17 17:53:39,  3] smbd/process.c:switch_message(1361)
  switch message SMBreadX (pid 18444) conn 0x5ec1b0
[2009/08/17 17:53:39,  3] smbd/pipes.c:reply_pipe_read_and_X(301)
  readX-IPC pnum=750f min=1024 max=1024 nread=68
[2009/08/17 17:53:39,  3] smbd/process.c:process_smb(1549)
  Transaction 19 of length 172 (0 toread)
[2009/08/17 17:53:39,  3] smbd/process.c:switch_message(1361)
  switch message SMBtrans (pid 18444) conn 0x5ec1b0
[2009/08/17 17:53:39,  3] smbd/ipc.c:handle_trans(436)
  trans <\PIPE\> data=84 params=0 setup=2
[2009/08/17 17:53:39,  3] smbd/ipc.c:named_pipe(387)
  named pipe command on <> name
[2009/08/17 17:53:39,  3] smbd/ipc.c:api_fd_reply(345)
  Got API command 0x26 on pipe "srvsvc" (pnum 750f)
[2009/08/17 17:53:39,  3] rpc_server/srv_pipe_hnd.c:free_pipe_context(519)
  free_pipe_context: destroying talloc pool of size 69
[2009/08/17 17:53:39,  3] rpc_server/srv_pipe.c:api_rpcTNP(2304)
  api_rpcTNP: rpc command: SRVSVC_NETSHAREENUMALL
[2009/08/17 17:53:39,  3] smbd/sec_ctx.c:push_sec_ctx(224)
  push_sec_ctx(1004, 100) : sec_ctx_stack_ndx = 1
[2009/08/17 17:53:39,  3] smbd/uid.c:push_conn_ctx(357)
  push_conn_ctx(104) : conn_ctx_stack_ndx = 0
[2009/08/17 17:53:39,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/08/17 17:53:39,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
  pop_sec_ctx (1004, 100) - sec_ctx_stack_ndx = 0
[2009/08/17 17:53:39,  3] rpc_server/srv_pipe_hnd.c:free_pipe_context(519)
  free_pipe_context: destroying talloc pool of size 158
[2009/08/17 17:53:39,  3] smbd/process.c:process_smb(1549)
  Transaction 20 of length 45 (0 toread)
[2009/08/17 17:53:39,  3] smbd/process.c:switch_message(1361)
  switch message SMBclose (pid 18444) conn 0x5ec1b0
[2009/08/17 17:53:39,  3] smbd/process.c:process_smb(1549)
[2009/08/17 17:53:39,  3] smbd/process.c:process_smb(1549)
  Transaction 21 of length 106 (0 toread)
[2009/08/17 17:53:39,  3] smbd/process.c:switch_message(1361)
  switch message SMBntcreateX (pid 18444) conn 0x5ec1b0
[2009/08/17 17:53:39,  3] smbd/nttrans.c:nt_open_pipe(320)
  nt_open_pipe: Known pipe spoolss opening.
[2009/08/17 17:53:39,  3] smbd/process.c:process_smb(1549)
  Transaction 22 of length 140 (0 toread)
[2009/08/17 17:53:39,  3] smbd/process.c:switch_message(1361)
  switch message SMBwriteX (pid 18444) conn 0x5ec1b0
[2009/08/17 17:53:39,  3] rpc_server/srv_pipe.c:api_pipe_bind_req(1564)
  api_pipe_bind_req: \PIPE\spoolss -> \PIPE\spoolss
[2009/08/17 17:53:39,  3] rpc_server/srv_pipe.c:check_bind_req(991)
  check_bind_req for \PIPE\spoolss
[2009/08/17 17:53:39,  3] smbd/pipes.c:reply_pipe_write_and_X(251)
  writeX-IPC pnum=7510 nwritten=72
[2009/08/17 17:53:39,  3] smbd/process.c:process_smb(1549)
  Transaction 23 of length 63 (0 toread)
[2009/08/17 17:53:39,  3] smbd/process.c:switch_message(1361)
  switch message SMBreadX (pid 18444) conn 0x5ec1b0
[2009/08/17 17:53:39,  3] smbd/pipes.c:reply_pipe_read_and_X(301)
  readX-IPC pnum=7510 min=1024 max=1024 nread=68
[2009/08/17 17:53:39,  3] smbd/process.c:process_smb(1549)
  Transaction 24 of length 268 (0 toread)
[2009/08/17 17:53:39,  3] smbd/process.c:switch_message(1361)
  switch message SMBtrans (pid 18444) conn 0x5ec1b0
[2009/08/17 17:53:39,  3] smbd/ipc.c:handle_trans(436)
  trans <\PIPE\> data=180 params=0 setup=2
[2009/08/17 17:53:39,  3] smbd/ipc.c:named_pipe(387)
  named pipe command on <> name
[2009/08/17 17:53:39,  3] smbd/ipc.c:api_fd_reply(345)
  Got API command 0x26 on pipe "spoolss" (pnum 7510)
[2009/08/17 17:53:39,  3] rpc_server/srv_pipe_hnd.c:free_pipe_context(519)
  free_pipe_context: destroying talloc pool of size 70
[2009/08/17 17:53:39,  3] rpc_server/srv_pipe.c:api_rpcTNP(2304)
  api_rpcTNP: rpc command: SPOOLSS_OPENPRINTEREX
  checking name: \\Hive
[2009/08/17 17:53:39,  3] rpc_server/srv_spoolss_nt.c:set_printer_hnd_printertype(427)
  Setting printer type=\\Hive
[2009/08/17 17:53:39,  3] rpc_server/srv_pipe_hnd.c:free_pipe_context(519)
  free_pipe_context: destroying talloc pool of size 134
[2009/08/17 17:53:39,  3] smbd/process.c:process_smb(1549)
  Transaction 25 of length 132 (0 toread)
[2009/08/17 17:53:39,  3] smbd/process.c:switch_message(1361)
  switch message SMBtrans (pid 18444) conn 0x5ec1b0
[2009/08/17 17:53:39,  3] smbd/ipc.c:handle_trans(436)
  trans <\PIPE\> data=44 params=0 setup=2
[2009/08/17 17:53:39,  3] smbd/ipc.c:named_pipe(387)
  named pipe command on <> name
[2009/08/17 17:53:39,  3] smbd/ipc.c:api_fd_reply(345)
  Got API command 0x26 on pipe "spoolss" (pnum 7510)
[2009/08/17 17:53:39,  3] rpc_server/srv_pipe_hnd.c:free_pipe_context(519)
  free_pipe_context: destroying talloc pool of size 0
[2009/08/17 17:53:39,  3] rpc_server/srv_pipe.c:api_rpcTNP(2304)
  api_rpcTNP: rpc command: SPOOLSS_CLOSEPRINTER
[2009/08/17 17:53:39,  3] rpc_server/srv_lsa_hnd.c:close_policy_hnd(206)
  Closed policy
[2009/08/17 17:53:39,  3] rpc_server/srv_pipe_hnd.c:free_pipe_context(519)
  free_pipe_context: destroying talloc pool of size 0
[2009/08/17 17:53:39,  3] smbd/process.c:process_smb(1549)
  Transaction 26 of length 45 (0 toread)
[2009/08/17 17:53:39,  3] smbd/process.c:switch_message(1361)
  switch message SMBclose (pid 18444) conn 0x5ec1b0
[2009/08/17 17:53:39,  3] smbd/process.c:process_smb(1549)
  Transaction 27 of length 104 (0 toread)
[2009/08/17 17:53:39,  3] smbd/process.c:switch_message(1361)
  switch message SMBntcreateX (pid 18444) conn 0x5ec1b0
[2009/08/17 17:53:39,  3] smbd/nttrans.c:nt_open_pipe(320)
  nt_open_pipe: Known pipe wkssvc opening.
[2009/08/17 17:53:39,  3] smbd/process.c:process_smb(1549)
  Transaction 28 of length 140 (0 toread)
[2009/08/17 17:53:39,  3] smbd/process.c:switch_message(1361)
  switch message SMBwriteX (pid 18444) conn 0x5ec1b0
[2009/08/17 17:53:39,  3] rpc_server/srv_pipe.c:api_pipe_bind_req(1564)
  api_pipe_bind_req: \PIPE\wkssvc -> \PIPE\wkssvc
[2009/08/17 17:53:39,  3] rpc_server/srv_pipe.c:check_bind_req(991)
  check_bind_req for \PIPE\wkssvc
[2009/08/17 17:53:39,  3] smbd/pipes.c:reply_pipe_write_and_X(251)
  writeX-IPC pnum=7511 nwritten=72
[2009/08/17 17:53:39,  3] smbd/process.c:process_smb(1549)
  Transaction 29 of length 63 (0 toread)
[2009/08/17 17:53:39,  3] smbd/process.c:switch_message(1361)
  switch message SMBreadX (pid 18444) conn 0x5ec1b0
[2009/08/17 17:53:39,  3] smbd/pipes.c:reply_pipe_read_and_X(301)
  readX-IPC pnum=7511 min=1024 max=1024 nread=68
[2009/08/17 17:53:39,  3] smbd/process.c:process_smb(1549)
  Transaction 30 of length 148 (0 toread)
[2009/08/17 17:53:39,  3] smbd/process.c:switch_message(1361)
  switch message SMBtrans (pid 18444) conn 0x5ec1b0
[2009/08/17 17:53:39,  3] smbd/ipc.c:handle_trans(436)
  trans <\PIPE\> data=60 params=0 setup=2
[2009/08/17 17:53:39,  3] smbd/ipc.c:named_pipe(387)
  named pipe command on <> name
[2009/08/17 17:53:39,  3] smbd/ipc.c:api_fd_reply(345)
  Got API command 0x26 on pipe "wkssvc" (pnum 7511)
[2009/08/17 17:53:39,  3] rpc_server/srv_pipe_hnd.c:free_pipe_context(519)
  free_pipe_context: destroying talloc pool of size 69

ich hoffe ich habe das wichtigste...

edit: habe was gefunden um die dateien auf 1MB einzuschränken.
 
Zuletzt bearbeitet:
was passiert mit "security = share" statt "security = USER"?
 
Zur ersten Frage:
max log size = number [global]

Allowable values: size in KB

Default: 5000

Sets the size (in kilobytes) at which Samba will start a new log file. The current log file will be renamed with a .old extension, replacing any existing file with that name.
Quelle: Klick

So, nun zum eigentlichen Problem:

Ist das im ersten Posting die ganze smb.conf oder ist das nur ein Auszug einiger Parameter, von denen du dachtest, es sind die wchtigen?

Sind die Hosts und User Domänen-Mitglieder?
 
@Jabo

habe ich beides versucht und sogar schon Server, macht irgendwie kein unterschied.

@NoXqs

Das ist die Aktuell und Komplett. :oldman

Code:
drwxrwxrwx 1 root users 4096 Aug  6 13:23 ablage
drwxrwxrwx 1 root users 4096 Aug  6 13:23 files
drwxrwxrwx 1 root users 4096 Aug  6 13:24 image
ich habe hier in der ersten zeile von user1 auf root geändert, so kann ich wieder auf das LW zugreifen aber kein Schreibrecht.

smb.conf - Komplett:
Code:
# Samba config file created using SWAT
# from UNKNOWN (1)
# Date: 2009/08/16 11:42:11

[global]
        workgroup = NETZ
        netbios name = HIVE
        server string = %h Server %v
        security = USER
        encrypt passwords = Yes
        log level = 3
        max log size = 1000000
        log file = /var/log/samba/samba_%M.log
[ablage]
        comment = ablage
        path = /mnt/ablage
        writeable = yes
        public = Yes
        valid users = @users
        write list = @users
        create mask = 0777
        force create mode = 0777
        directory mask = 0777
        force directory mode = 0777
        read only = No
        guest ok = Yes

[files]
        comment = files
        path = /mnt/files
        writeable = yes
        public = yes
        valid users = @users
        create mode = 0777
        directory mode = 0777
        read only = No
        guest ok = Yes

[image]
        comment = image
        path = /mnt/image
        writeable = yes
        public = yes
        valid users = @users
        create mode = 0777
        directory mode = 0777
        read only = No
        guest ok = Yes

Sind die Hosts und User Domänen-Mitglieder?

Hmmm, bin mit jetzt nicht ganz sicher was du meinst, ich hatte mal eine Domäne versucht, aber das war nicht der gewünschte effekt, aber auch da hatte ich keine schreibrechte, wenn du meinst ob die alle in einer Workgruppe hängen, ja die ist "Netz" Server und die Clients.
 
Existieren die User alle auf dem Linux-Server? Wenn du als der User angemeldet bist, kannst du dann auf die Pfade zugreifen? Was sagt testparm?

Bitte *niemals* Konfigurationsdateien oder anderes vereinfachen. Andauernd wird sowas gemacht und dabei dann aus Versehen der Tippfehler, der die Ursache war gelöscht. Das einzige was man rauseditieren sollte (und dann kenntlich machen!) Sind geheime Daten. Dazu gehören unter anderem Kennwörter, Nutzernamen (wenn im Internet verwendbar) und ggf. auch IP-Adressen sowie DNS-Namen soweit aus dem Internet erreichbar. (Wobei die letzten beiden schon Grauzone sind) Der Name der Arbeitsgruppe gehört nicht dazu. Denn die ist a) aus dem Internet nicht erreichbar und b) nicht sicherheitsrelevant.

Warum hast du manchmal write list = und manchmal read only = No usw. ? Sollen die Berechtigungen für alle 3 Ordner gleich sein? Dann sollten auch die Konfigabschnitte identisch sein.
 
Deswegen habe ich ja nochmal die smb.conf im original zustand gepostet, die user namen sind über das netz erreichbar, ich habe sicherheitshalber alle ports geschloßen und ändere später die nutzernamen und passwörter... sischer is sischer :think:

testparm sagt:

Code:
hive:/# testparm /etc/samba/smb.conf
Load smb config files from /etc/samba/smb.conf
Processing section "[ablage]"
Processing section "[files]"
Processing section "[image]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

sieht gut aus oder???

sollen für alle 3 gleich sein, da ich verschiedenes versucht habe, habe ich das erstmal so gelassen... so das user 1, 2 und 3 ... intern die gleiche rechte haben, ftp ist dann wieder anderster .... ich muss gestehen das ich den überblick verloren habe, eigentlich sollen die 2-3 user einfach nur schreiben können, hatte erhoft wie es im buch steht mit 0777 die schreibrechte zu gewähren, scheinbar ist dem nicht so.

Von meinem verständnis und so wie es erklärt wird, müsste doch einfach, "netzlaufwerk verbinden" "user1" und "passswd" eingeben, ordner erzeugen etc... oder bin ich da falsch???

hmm, wenn die verzeichnisstruktur stimmt, sollte es an den usern liegen???
aber wenn ich das server laufwerk betrete, dann fragt er nach name und pw, ich gebe ihm das was er will, "OK" dann kann ich auf ablage oder was auch immer zugreifen, sobald ich ein ordner erzeugen will "zugriff verweigert - keine schreibrechte" ...

ich prüfe nochmal die komplette user struktur !
 
Hmm, macht für mich alles keinen Sinn.#
Konfig und Verhalten des Servers.

Laß uns mal ganz vorne anfangen.
Sichere deine aktuelle smb.conf nach smb.conf_bak und erstelle eine neue smb.conf mit folgendem Inhalt.

Code:
[global]

        workgroup = NETZ
        netbios name = HIVE
        server string = %h Server %v
        security = USER
        encrypt passwords = Yes
        log level = 1
        max log size = 1000000
        log file = /var/log/samba/samba_%M.log
[test]
        comment = test
        path = /tmp
        writeable = yes

Dann noch die /var/log/samba/samba_%M.log löschen und
Samba durchstarten.

dann folgenden Befehl in der shell:
# /pfad_zu_samba_bin/testparm
Ist in der ersten Zeile die benutzte smb.conf deine editierte?

Vom PC aus Verbindung unter \\servername\test durchführen.
Log-file hier posten.
 
hive:/# testparm /etc/samba/smb.conf
Load smb config files from /etc/samba/smb.conf
Processing section "[test]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
workgroup = NETZ
server string = %h Server %v
log level = 1
log file = /var/log/samba/samba_%M.log
max log size = 1000000

[test]
comment = test
path = /tmp
read only = No

Log:

Code:
[2009/08/18 13:17:45,  1] smbd/service.c:make_connection_snum(1194)
  midas (::ffff:192.168.115.150) connect to service test initially as user cevin.s (uid=1004, gid=100) (pid 19901)

Ist in der ersten Zeile die benutzte smb.conf deine editierte?
Das im ersten beitrag, ja, ist ja schonwieder hinfellig durch mein letzten beitrag.

ich bin ja garnicht neugierig aber ich kann auf test zugreifen ordner erstellen, hab auch was drauf kopieren können.
hängt es damit zusammen das Lenny auf einem Stick ist - 4GB? weil die USBHDD ist ja seperat.
.
.
.
EDIT (autom. Beitragszusammenführung) :
.

anhand meines letzten beitrages nach deiner anweisung habe ich wie folgt versucht...

Code:
[ablage]
comment = ablage
path = /mnt/ablage
read only = No

log:
Code:
[2009/08/18 13:17:45,  1] smbd/service.c:make_connection_snum(1194)
  midas (::ffff:192.168.115.150) connect to service test initially as user cevin.s (uid=1004, gid=100) (pid 19901)
[2009/08/18 13:24:28,  1] smbd/service.c:close_cnum(1405)
  midas (::ffff:192.168.115.150) closed connection to service test
[2009/08/18 13:26:49,  1] smbd/service.c:make_connection_snum(1194)
  midas (::ffff:192.168.115.150) connect to service test initially as user cevin.s (uid=1004, gid=100) (pid 19901)
[2009/08/18 13:27:00,  1] smbd/service.c:close_cnum(1405)
  midas (::ffff:192.168.115.150) closed connection to service test
[2009/08/18 13:28:35,  1] smbd/service.c:make_connection_snum(1194)
  midas (::ffff:192.168.115.150) connect to service ablage initially as user cevin.s (uid=1004, gid=100) (pid 20094)
 
Zuletzt bearbeitet:
Hmmm, heißt das nun, dass du an das Share rankommst?
Sieht im log jedenfalls so aus.
Kannst du auch schreiben?
 
Was heißt das?

Zugang ist erfolgreich, schreiben geht nicht?
Bitte beschreibe das ganze ausführlich, ich will nicht raten und die Glaskugel ist in der Reinigung.
Außerdem steht bestimmt dann noch mehr im logfile als das hier:
Code:
[2009/08/18 13:28:35,  1] smbd/service.c:make_connection_snum(1194)
  midas (::ffff:192.168.115.150) connect to service ablage initially as user cevin.s (uid=1004, gid=100) (pid 20094)
 
Ich hatte zugriff, keine Schreibrechte, konnte keine Verz. erstellen und auch nichts drauf kopieren, problem bestand also weiterhin.

Ich habe das logfile komplett kopiert !!!

ich lösche es nochmals.

unter "Ausführen" folgendes eingegeben "//hive/ablage" habe dann in dem neuen Fenster versucht ein "Neuen Ordner" zu erzeugen.

Fehler: Neuer Ordner konnte nicht erstellt werden - Zugriff verweigert

Das alles steht in dem logfile: samba_::ffff:192.168.115.150.log
Code:
[2009/08/18 14:18:26,  1] smbd/service.c:make_connection_snum(1194)
  midas (::ffff:192.168.115.150) connect to service ablage initially as user cevin.s (uid=1004, gid=100) (pid 20094)
[2009/08/18 14:20:19,  1] smbd/service.c:close_cnum(1405)
  midas (::ffff:192.168.115.150) closed connection to service ablage

fstab vieleicht???

Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/sda2       /               ext3    errors=remount-ro 0       1
/dev/sda1       /boot           ext2    defaults        0       2
/dev/sda6       /home           ext3    defaults        0       2
/dev/sda5       none            swap    sw              0       0
/dev/sdb5  /mnt/ablage  ntfs  nosuid,sync,gid=100,exec,nodev  0  0
/dev/sdb6  /mnt/files  ntfs  nosuid,sync,gid=100,exec,nodev  0  0
/dev/sdb7  /mnt/image  ntfs  nosuid,sync,gid=100,exec,nodev  0  0
 
habe ich wohl übersehen, tschuldige, ich habe das:

Code:
[test]
        comment = test
        path = /tmp
        writeable = yes
jetzt auf ablage,files und image übernommen.

das logfile gelöscht.

habe auf alle 3 partitionen "\\server\ordner" angewand, ablage kann ich lesen, kein Schreiben, bei files und image tut sich was ganz anderes da bekomme ich jetzt ein fehler: "Der angegebene Netzwerpfad wurde von keinem Netzwerkdienstanbieter angenommen"

Code:
hive:/# testparm /etc/samba/smb.conf
Load smb config files from /etc/samba/smb.conf
Processing section "[ablage]"
Processing section "[files]"
Unknown parameter encountered: "patch"
Ignoring unknown parameter "patch"
WARNING: No path in service files - making it unavailable!
NOTE: Service files is flagged unavailable.
Processing section "[image]"
Unknown parameter encountered: "patch"
Ignoring unknown parameter "patch"
WARNING: No path in service image - making it unavailable!
NOTE: Service image is flagged unavailable.
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
        workgroup = NETZ
        server string = %h Server %v
        log level = 1
        log file = /var/log/samba/samba_%M.log
        max log size = 1000000

[ablage]
        comment = ablage
        path = /mnt/ablage
        read only = No

[files]
        comment = files
        read only = No
        available = No

[image]
        comment = image
        read only = No
        available = No

log file - Komplett

Code:
[2009/08/18 15:41:00,  1] smbd/service.c:make_connection_snum(1194)
  midas (::ffff:192.168.115.150) connect to service ablage initially as user cevin.s (uid=1004, gid=100) (pid 20264)
[2009/08/18 15:41:26,  0] smbd/service.c:find_service(470)
  Invalid snum 1 for files
[2009/08/18 15:41:26,  0] smbd/service.c:make_connection(1366)
  midas (::ffff:192.168.115.150) couldn't find service files
[2009/08/18 15:41:26,  0] smbd/service.c:find_service(470)
  Invalid snum 1 for files
[2009/08/18 15:41:26,  0] smbd/service.c:make_connection(1366)
  midas (::ffff:192.168.115.150) couldn't find service files
[2009/08/18 15:41:26,  0] smbd/service.c:find_service(470)
  Invalid snum 1 for files
[2009/08/18 15:41:26,  0] smbd/service.c:find_service(470)
  Invalid snum 1 for files
[2009/08/18 15:41:26,  0] smbd/service.c:make_connection(1366)
  midas (::ffff:192.168.115.150) couldn't find service files
[2009/08/18 15:41:26,  0] smbd/service.c:find_service(470)
  Invalid snum 1 for files
[2009/08/18 15:41:26,  0] smbd/service.c:find_service(470)
  Invalid snum 1 for files
[2009/08/18 15:41:26,  0] smbd/service.c:make_connection(1366)
  midas (::ffff:192.168.115.150) couldn't find service files
[2009/08/18 15:41:26,  0] smbd/service.c:find_service(470)
  Invalid snum 1 for files
[2009/08/18 15:41:26,  0] smbd/service.c:make_connection(1366)
  midas (::ffff:192.168.115.150) couldn't find service files
[2009/08/18 15:41:26,  0] smbd/service.c:find_service(470)
  Invalid snum 1 for files
[2009/08/18 15:41:26,  0] smbd/service.c:find_service(470)
  Invalid snum 1 for files
[2009/08/18 15:41:26,  0] smbd/service.c:make_connection(1366)
  midas (::ffff:192.168.115.150) couldn't find service files
[2009/08/18 15:41:26,  0] smbd/service.c:find_service(470)
  Invalid snum 1 for files
[2009/08/18 15:41:26,  0] smbd/service.c:make_connection(1366)

Code:
ls -l /mnt/
total 12
drwxrwxrwx 1 root users 4096 Aug  6 13:23 ablage
drwxrwxrwx 1 root users 4096 Aug  6 13:23 files
drwxrwxrwx 1 root users 4096 Aug  6 13:24 image

smb.conf - Komplett:
Code:
# Samba config file created using SWAT
# from UNKNOWN (1)
# Date: 2009/08/16 11:42:11

[global]
        workgroup = NETZ
        netbios name = HIVE
        server string = %h Server %v
        security = user
        encrypt passwords = yes
        log level = 1
        max log size = 1000000
        log file = /var/log/samba/samba_%M.log
[ablage]
        comment = ablage
        path = /mnt/ablage
        writeable = yes
[files]
        comment = files
        patch = /mnt/files
        writeable = yes
[image]
        comment = image
        patch = /mnt/image
        writeable = yes

ich hoffe ich habe das jetzt so richtig gemacht?!
 
Ich denke, dein problem hat nichts mit samba zu tun.
Der server läuft und wenn die konfig richtige inhalte hat, wird es alles so funktionieren, wie du möchtest.
Dazu kommen wir aber später.

zitat:
Zitat von saeckereier
wenn du als der user angemeldet bist, kannst du dann auf die pfade zugreifen?

Hast du die frage schon beantwortet oder wenigstens getestet?

Ich (und alle anderen die hier mitlesen) brauchen erstmal diese Antwort, um überhaupt sicher zu sein, dass das System das Schreiben auf den Platten durch einen User zulässt.
Das ist jetzt die wichtigste Information.

Also:
Code:
$ id
$ cd /mnt/ablage
$ touch foo.bar
$ rm foo.bar

Alles incl. Ausgaben hier posten.
 
Zuletzt bearbeitet:
Ich verstehe diese frage nicht richtig !!!

zitat:
Zitat von saeckereier
wenn du als der user angemeldet bist, kannst du dann auf die pfade zugreifen?

Hast du die frage schon beantwortet oder wenigstens getestet?

Wie, beantworte ich diese frage richtig???

Code:
cevin.s@hive:/$ id
uid=1004(cevin.s) gid=100(users) groups=27(sudo),100(users),1000(jareth),1006(s-admin),1007(s-user),1008(s-computer)
cevin.s@hive:/$ cd /mnt/ablage
cevin.s@hive:/mnt/ablage$ touch foo.bar
touch: cannot touch `foo.bar': Permission denied
cevin.s@hive:/mnt/ablage$ rm foo.bar
rm: cannot remove `foo.bar': No such file or directory
cevin.s@hive:/mnt/ablage$

alles was mit "s-..." ist, sind überreste aus dem Domän versuch.
 

Ähnliche Themen

Samba 4.9.5-Debian - Kennwort von unix übernehmen

SMB Zugriff auf Homeshare

Samba Dateien und Ordner verschieben

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

Keine Zugriff von Windows 10 auf Sambafreigaben

Zurück
Oben