ich habe mir nochmal das entsprechende log angesehen (diesmal ist der ldap- server openldap):
[2007/01/17 07:00:23, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2007/01/17 07:00:23, 3] smbd/uid.c:push_conn_ctx(357)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2007/01/17 07:00:23, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2007/01/17 07:00:23, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/01/17 07:00:23, 3] auth/auth.c:check_ntlm_password(219)
check_ntlm_password: Checking password for unmapped user []\[]@[TOSHIBA] with the new password interface
[2007/01/17 07:00:23, 3] auth/auth.c:check_ntlm_password(222)
check_ntlm_password: mapped user is: [TESTS]\[]@[TOSHIBA]
[2007/01/17 07:00:23, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2007/01/17 07:00:23, 3] smbd/uid.c:push_conn_ctx(357)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2007/01/17 07:00:23, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2007/01/17 07:00:23, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/01/17 07:00:23, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2007/01/17 07:00:23, 3] smbd/uid.c:push_conn_ctx(357)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2007/01/17 07:00:23, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2007/01/17 07:00:23, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/01/17 07:00:23, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2007/01/17 07:00:23, 3] smbd/uid.c:push_conn_ctx(357)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2007/01/17 07:00:23, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2007/01/17 07:00:23, 2] passdb/pdb_ldap.c:init_group_from_ldap(1792)
init_group_from_ldap: Entry found for group: 546
[2007/01/17 07:00:23, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/01/17 07:00:23, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2007/01/17 07:00:23, 3] smbd/uid.c:push_conn_ctx(357)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2007/01/17 07:00:23, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2007/01/17 07:00:23, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/01/17 07:00:23, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2007/01/17 07:00:23, 3] smbd/uid.c:push_conn_ctx(357)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2007/01/17 07:00:23, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2007/01/17 07:00:23, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/01/17 07:00:23, 3] auth/auth.c:check_ntlm_password(268)
check_ntlm_password: guest authentication for user [] succeeded
[2007/01/17 07:00:23, 3] libsmb/ntlmssp_sign.c:ntlmssp_sign_init(319)
NTLMSSP Sign/Seal - Initialising with flags:
[2007/01/17 07:00:23, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
Got NTLMSSP neg_flags=0x60088215
[2007/01/17 07:00:23, 3] smbd/password.c:register_vuid(222)
User name: nobody Real name: nobody
[2007/01/17 07:00:23, 3] smbd/password.c:register_vuid(241)
UNIX uid 65534 is UNIX user nobody, and will be vuid 100
[2007/01/17 07:00:23, 3] smbd/process.c:process_smb(890)
Transaction 3 of length 94
[2007/01/17 07:00:23, 3] smbd/process.c:switch_message(685)
switch message SMBtconX (pid 3479)
[2007/01/17 07:00:23, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/01/17 07:00:23, 3] smbd/service.c:make_connection_snum(457)
Connect path is '/var/tmp' for service [IPC$]
[2007/01/17 07:00:23, 3] lib/util_seaccess.c:se_access_check(251)
[2007/01/17 07:00:23, 3] lib/util_seaccess.c:se_access_check(252)
se_access_check: user sid is S-1-5-21-4231626423-2410014848-2360679739-501
se_access_check: also S-1-5-21-4231626423-2410014848-2360679739-514
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
se_access_check: also S-1-5-21-4231626423-2410014848-2360679739-546
se_access_check: also S-1-5-21-4231626423-2410014848-2360679739-132067
se_access_check: also S-1-5-21-4231626423-2410014848-2360679739-132069
[2007/01/17 07:00:23, 3] smbd/vfs.c:vfs_init_default(203)
Initialising default vfs hooks
[2007/01/17 07:00:23, 3] lib/util_seaccess.c:se_access_check(251)
[2007/01/17 07:00:23, 3] lib/util_seaccess.c:se_access_check(252)
se_access_check: user sid is S-1-5-21-4231626423-2410014848-2360679739-501
se_access_check: also S-1-5-21-4231626423-2410014848-2360679739-514
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
se_access_check: also S-1-5-21-4231626423-2410014848-2360679739-546
se_access_check: also S-1-5-21-4231626423-2410014848-2360679739-132067
se_access_check: also S-1-5-21-4231626423-2410014848-2360679739-132069
[2007/01/17 07:00:23, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (65534, 65533) - sec_ctx_stack_ndx = 0
[2007/01/17 07:00:23, 3] smbd/service.c:make_connection_snum(619)
toshiba (192.168.23.3) connect to service IPC$ initially as user nobody (uid=65534, gid=65533) (pid 3479)
[2007/01/17 07:00:23, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/01/17 07:00:23, 3] smbd/reply.c:reply_tcon_and_X(429)
tconX service=IPC$
[2007/01/17 07:00:23, 3] smbd/process.c:process_smb(890)
Transaction 4 of length 240
[2007/01/17 07:00:23, 3] smbd/process.c:switch_message(685)
switch message SMBsesssetupX (pid 3479)
[2007/01/17 07:00:23, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/01/17 07:00:23, 3] smbd/sesssetup.c:reply_sesssetup_and_X(649)
wct=12 flg2=0xc807
[2007/01/17 07:00:23, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(529)
Doing spnego session setup
[2007/01/17 07:00:23, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(560)
NativeOS=[Windows 2002 Service Pack 2 2600] NativeLanMan=[Windows 2002 5.1] PrimaryDomain=[]
[2007/01/17 07:00:23, 3] smbd/sesssetup.c:reply_spnego_negotiate(438)
Got OID 1 3 6 1 4 1 311 2 2 10
[2007/01/17 07:00:23, 3] smbd/sesssetup.c:reply_spnego_negotiate(441)
Got secblob of size 40
[2007/01/17 07:00:23, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
Got NTLMSSP neg_flags=0xe2088297
[2007/01/17 07:00:23, 3] smbd/process.c:process_smb(890)
Transaction 5 of length 354
[2007/01/17 07:00:23, 3] smbd/process.c:switch_message(685)
switch message SMBsesssetupX (pid 3479)
[2007/01/17 07:00:23, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/01/17 07:00:23, 3] smbd/sesssetup.c:reply_sesssetup_and_X(649)
wct=12 flg2=0xc807
[2007/01/17 07:00:23, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(529)
Doing spnego session setup
[2007/01/17 07:00:23, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(560)
NativeOS=[Windows 2002 Service Pack 2 2600] NativeLanMan=[Windows 2002 5.1] PrimaryDomain=[]
[2007/01/17 07:00:23, 3] libsmb/ntlmssp.c:ntlmssp_server_auth(615)
Got user=[Markus] domain=[TOSHIBA] workstation=[TOSHIBA] len1=24 len2=24
[2007/01/17 07:00:23, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2007/01/17 07:00:23, 3] smbd/uid.c:push_conn_ctx(357)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2007/01/17 07:00:23, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2007/01/17 07:00:23, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/01/17 07:00:23, 3] auth/auth.c:check_ntlm_password(219)
check_ntlm_password: Checking password for unmapped user [TOSHIBA]\[Markus]@[TOSHIBA] with the new password interface
[2007/01/17 07:00:23, 3] auth/auth.c:check_ntlm_password(222)
check_ntlm_password: mapped user is: [TESTS]\[Markus]@[TOSHIBA]
[2007/01/17 07:00:23, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2007/01/17 07:00:23, 3] smbd/uid.c:push_conn_ctx(357)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2007/01/17 07:00:23, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2007/01/17 07:00:23, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/01/17 07:00:23, 3] auth/auth_sam.c:check_sam_security(202)
check_sam_security: Couldn't find user 'Markus' in passdb file.
[2007/01/17 07:00:23, 3] auth/auth_winbind.c:check_winbind_security(80)
check_winbind_security: Not using winbind, requested domain [TESTS] was for this SAM.
[2007/01/17 07:00:23, 2] auth/auth.c:check_ntlm_password(312)
check_ntlm_password: Authentication for user [Markus] -> [Markus] FAILED with error NT_STATUS_NO_SUCH_USER
[2007/01/17 07:00:31, 3] smbd/process.c:process_smb(890)
Transaction 6 of length 240
[2007/01/17 07:00:31, 3] smbd/process.c:switch_message(685)
switch message SMBsesssetupX (pid 3479)
[2007/01/17 07:00:31, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/01/17 07:00:31, 3] smbd/sesssetup.c:reply_sesssetup_and_X(649)
wct=12 flg2=0xc807
[2007/01/17 07:00:31, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(529)
Doing spnego session setup
[2007/01/17 07:00:31, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(560)
NativeOS=[Windows 2002 Service Pack 2 2600] NativeLanMan=[Windows 2002 5.1] PrimaryDomain=[]
[2007/01/17 07:00:31, 3] smbd/sesssetup.c:reply_spnego_negotiate(438)
Got OID 1 3 6 1 4 1 311 2 2 10
[2007/01/17 07:00:31, 3] smbd/sesssetup.c:reply_spnego_negotiate(441)
Got secblob of size 40
[2007/01/17 07:00:31, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
Got NTLMSSP neg_flags=0xe2088297
[2007/01/17 07:00:31, 3] smbd/process.c:process_smb(890)
Transaction 7 of length 354
[2007/01/17 07:00:31, 3] smbd/process.c:switch_message(685)
switch message SMBsesssetupX (pid 3479)
[2007/01/17 07:00:31, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/01/17 07:00:31, 3] smbd/sesssetup.c:reply_sesssetup_and_X(649)
wct=12 flg2=0xc807
[2007/01/17 07:00:31, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(529)
Doing spnego session setup
[2007/01/17 07:00:31, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(560)
NativeOS=[Windows 2002 Service Pack 2 2600] NativeLanMan=[Windows 2002 5.1] PrimaryDomain=[]
[2007/01/17 07:00:31, 3] libsmb/ntlmssp.c:ntlmssp_server_auth(615)
Got user=[nutzer13] domain=[TESTS] workstation=[TOSHIBA] len1=24 len2=24
[2007/01/17 07:00:31, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2007/01/17 07:00:31, 3] smbd/uid.c:push_conn_ctx(357)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2007/01/17 07:00:31, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2007/01/17 07:00:31, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/01/17 07:00:31, 3] auth/auth.c:check_ntlm_password(219)
check_ntlm_password: Checking password for unmapped user [TESTS]\[nutzer13]@[TOSHIBA] with the new password interface
[2007/01/17 07:00:31, 3] auth/auth.c:check_ntlm_password(222)
check_ntlm_password: mapped user is: [TESTS]\[nutzer13]@[TOSHIBA]
[2007/01/17 07:00:31, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2007/01/17 07:00:31, 3] smbd/uid.c:push_conn_ctx(357)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2007/01/17 07:00:31, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2007/01/17 07:00:31, 2] passdb/pdb_ldap.c:init_sam_from_ldap(483)
init_sam_from_ldap: Entry found for user: nutzer13
[2007/01/17 07:00:31, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/01/17 07:00:31, 3] auth/auth_sam.c:sam_password_ok(51)
Account for user 'nutzer13' has no password and null passwords are NOT allowed.
[2007/01/17 07:00:31, 3] auth/auth_winbind.c:check_winbind_security(80)
check_winbind_security: Not using winbind, requested domain [TESTS] was for this SAM.
[2007/01/17 07:00:31, 2] auth/auth.c:check_ntlm_password(312)
check_ntlm_password: Authentication for user [nutzer13] -> [nutzer13] FAILED with error NT_STATUS_LOGON_FAILURE
[2007/01/17 07:00:34, 3] smbd/process.c:process_smb(890)
Transaction 8 of length 43
[2007/01/17 07:00:34, 3] smbd/process.c:switch_message(685)
switch message SMBulogoffX (pid 3479)
[2007/01/17 07:00:34, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/01/17 07:00:34, 3] smbd/reply.c:reply_ulogoffX(1207)
ulogoffX vuid=100
[2007/01/17 07:00:34, 3] smbd/process.c:process_smb(890)
Transaction 9 of length 39
[2007/01/17 07:00:34, 3] smbd/process.c:switch_message(685)
switch message SMBtdis (pid 3479)
[2007/01/17 07:00:34, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/01/17 07:00:34, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/01/17 07:00:34, 3] smbd/service.c:close_cnum(801)
toshiba (192.168.23.3) closed connection to service IPC$
[2007/01/17 07:00:34, 3] smbd/connection.c:yield_connection(69)
Yielding connection to IPC$
[2007/01/17 07:00:34, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/01/17 07:00:34, 3] smbd/process.c:timeout_processing(1129)
timeout_processing: End of file from client (client has disconnected).
[2007/01/17 07:00:34, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/01/17 07:00:34, 2] smbd/server.c:exit_server(568)
Closing connections
[2007/01/17 07:00:34, 3] smbd/connection.c:yield_connection(69)
Yielding connection to
[2007/01/17 07:00:34, 3] smbd/connection.c:yield_connection(76)
yield_connection: tdb_delete for name failed with error Record does not exist.
[2007/01/17 07:00:34, 3] smbd/server.c:exit_server(611)
Server exit (normal exit)
das ldif file, was ich verwende um den nutzer einzubinden sieht wie folgt aus:
dn: uid=nutzer13,ou=Users,sambaDomainName=TESTS
cn: nutzer13
sn: nutzer13
objectClass: inetOrgPerson
objectClass: sambaSAMAccount
objectClass: posixAccount
gidNumber: 533
uid: nutzer13
uidNumber: 933
homeDirectory: /dev/nutzer13
sambaAcctFlags: [NU ]
sambaSID: S-1-5-21-4231626423-2410014848-2360679739-2933
sambaLMPassword: 44EFCE164AB921CAAAD3B435B51404EE
sambaNTPassword: 32ED87BDB5FDC5E9CBA88547376818D4
loginShell: /bin/false
bin echt für alles dankbar. Sorry, ist das erste projekt innerhalb vom tux, wenn also was von den basics falsch sein sollte, dann bitte ich um nen keleinen hinweis.
Wünsche noch nen schönen sonntag
Powered by vBulletin® Version 4.2.5 Copyright ©2024 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.