PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : kann mich über windows nicht am samba mit pw anmelden



Mandalor
02.02.07, 15:13
Hallo Leute,

ich habe SLES 9 (in ner VM) und Samba 3. Die Userdaten verden von einem LDAP Server gezogen (OpenLDAP oder Lotus Domino --> spiele gerade mit beiden rum). Wenn ich mich über Win2K versuche am samba anzumelden funktioniert dies nicht. Nach langem suchen habe ich mal des Parameter "null passwords" auf yes gesetzt und siehe da: ich kann mich mit allen nutzer aus dem LDAP-Server, welche die entsprechenden flags besitzen anmelden. Samba ist in diesem fall aber das Passwort egal (ist ja auch logisch bei dem paramenter). Im LDAP-Server wurden auch die Parameter sambaLMPassword und sambaNTPassword eingepflegt und die Werte (ermittelt über mkntpw <password>) eingetragen. Aber das nützt offenbar nichts.

So bis hier hin bin ich mittels Howto's gekommen. Jetzt kann ich aber nur noch auf eure Hilfe hoffen. Ich bin daher für alle anregungen dankbar.

PS.: smb.conf liefere ich gleich nach, wenn ich zugriff aufs system habe

zeromancer1972
02.02.07, 19:56
Hi Kollege, willkommen bei der Linuxern ;)
Kann Dir zwar nicht helfen, erwarte aber, wenn Du es geschafft hast, eine schicke Präsentation im Konfi :D

BedriddenTech
02.02.07, 22:39
Eigentlich sollten die Benutzer mittels smbpasswd ins Verzeichnis eingetragen werden, nicht händisch. Tust du das?

Mandalor
03.02.07, 19:55
genau dass soll ja nicht der fall sein. wenn ich das tue, dann funktioniert ja alles, aber dann kann ich mir den ldap schenken. ich will alle daten (nutzername, passwort, homeverzeichniss... aus dem ldap holen)

Mandalor
03.02.07, 21:21
[global]

netbios name = Samabtest
workgroup = ABC
server string = Samba_Server
security = user
#hosts allow = 192.168.
log level = 3
log file = /var/log/samba/log.%m
max log size = 10000
hide unreadable = no
hide dot files = no
#ldap server = localhost
passdb backend = ldapsam:ldap://192.168.1.211
ldap admin dn = Anonymous
ldap suffix = o=abcbs
guest account = nobody
#null passwords = yes
encrypt passwords = yes
domain logons = no
idmap backend = ldapsam:ldap://192.168.1.211
ldap idmap suffix = ou=Idmap
ldap machine suffix = ou=Computers
local master = yes
wins server =
wins support = no
add machine script =
preferred master = auto

[netlogon]
path = /var/lib/samba/netlogon
; guest ok = no
; writeable = no
browseable = no
guest ok = no
printable = no

[profiles]
path = /home/samba/profiles
browseable = no
writeable = yes
guest ok = yes
hide files = /desktop.ini/ntuser.ini/NTUSER.*/
write list = "@Domain Users" "@Domain Admins"
create mask = 0600
directory mask = 0700
default case = lower
preserve case = no
case sensitive = no
printable = no

[homes]
path = /home/%U
browseable = no
valid users = %S
writeable = yes
; guest ok = yes
inherit permissions = yes
guest ok = no
printable = no

[public]
comment = Public halt
path = /home/public
browseable = yes
valid users = "@Domain Users"
; guest ok = no
force group = "@Domain Users"
guest ok = no
printable = no

[test1]
comment = dies ist ein test
path = /tmp
writeable = Yes
guest ok = no
browseable = yes
printable = nodsd

--> wie versprochen die smb.conf

ich habe mich versucht auf die freigabe test1 einzuloggen

zeromancer1972
04.02.07, 01:20
Ich meine, es müsste "browsable" und "writable" heißen, also ohne "e" - so blöd es aussehen mag ;)

stefan.becker
04.02.07, 01:24
Ich meine, es müsste "browsable" und "writable" heißen, also ohne "e" - so blöd es aussehen mag ;)

Sieht nicht nur blöd aus, stimmt auch nicht, es geht beides => "man smb.conf".

zeromancer1972
04.02.07, 01:56
Sieht nicht nur blöd aus, stimmt auch nicht, es geht beides => "man smb.conf".

Na sag ich doch :p

Mandalor
04.02.07, 19:51
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

Mandalor
12.02.07, 09:32
Hi Leute, wollte nur mal ein update bringen:

1. im Prinzip bin ich immer noch nicht wirklich weiter.
2. eine Zeile des Logs beschäftigt mich besonders:


Account for user 'nutzer15' has no password and null passwords are NOT allowed

--> sagt mir, das Ldap kein Passwort zur verfügung steht, mit dem er die eingabe validieren kann. Problem, denn sowohl sambaLMPassword, sambaNTPassword und userPasswort (Crypt-Hash) sind vorhanden.

Hat doch noch einer von euch ne Idee? mir würde schon eine übersicht reichen, in der der Weg der Authendifizierung vom Win-Clinet über samba hin zu ldap erklärt wird. Dann erkenne ich vielleicht meinen Fehler.

MfG