PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : ?user zum hinzufügen von windows clients zu einer smb-domäne festlegen?



martin2002
28.12.04, 21:21
nabend....

wie kann ich für samba den user festlegen, der der domäne clients hinzufügen darf? (sprich: wie den domäne-admin unter win)
ich brauche den, um unter windows beim domäne-beitritt einen user angeben zu können, der dafür berechtigt ist.

samba und linux speichern bei mir die auth-daten in ldap... :o

thx
Martin

Takeshi
29.12.04, 15:13
Nimm einfach root (so mache ich es jedenfalls)

smbpasswd -a root
PASSWORT

Und dann bei der Benutzerabfrage in Windows "root"/"PASSWORT" eingeben - und willkommen in der Domäne!

martin2002
30.12.04, 22:04
irgendwie ist das alles seltsam :eek:

windows sagt mir es kann den benutzer nicht finden -> root (auch wenn man sich auf diese aussage nicht verlassen muss ;) )
die smbldap-tools produzieren auch merkwürdige "fehler"... z.B. meint smbldap-groupmod beim hinzufügen vom mapping und auch beim einfügen von usern, dass er die gruppe nicht finden kann. sie ist aber da!? und dann bekommt jede neue gruppe, die ich mit smbldap-groupadd hinzufüge die gid 1000... sprich der erhöht die gar nicht

samba logs sagen folgendes:

[2004/12/30 21:51:05, 0] lib/util_sock.c:get_peer_addr(975)
getpeername failed. Error was Transport endpoint is not connected
[2004/12/30 21:51:05, 0] lib/util_sock.c:get_peer_addr(975)
getpeername failed. Error was Transport endpoint is not connected
[2004/12/30 21:51:05, 0] lib/access.c:check_access(328)
[2004/12/30 21:51:05, 0] lib/util_sock.c:get_peer_addr(975)
getpeername failed. Error was Transport endpoint is not connected
Denied connection from (0.0.0.0)
[2004/12/30 21:51:05, 1] smbd/process.c:process_smb(883)
[2004/12/30 21:51:05, 0] lib/util_sock.c:get_peer_addr(975)
getpeername failed. Error was Transport endpoint is not connected
Connection denied from 0.0.0.0
[2004/12/30 21:51:05, 0] lib/util_sock.c:write_socket_data(411)
write_socket_data: write failure. Error = Connection reset by peer
[2004/12/30 21:51:05, 0] lib/util_sock.c:write_socket(436)
write_socket: Error writing 5 bytes to socket 25: ERRNO = Connection reset by peer
[2004/12/30 21:51:05, 0] lib/util_sock.c:send_smb(628)
Error writing 5 bytes to client. -1. (Connection reset by peer)

hat das vielleicht was mit der firewall zu tun? (FW_SERVICE_SAMBA ist aber auf yes)

hier mal meine aktuelle smb.conf:

# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SuSE
# Date: 2004-04-06
[global]
hosts allow = 192.168.10.0/255.255.255.0
workgroup = simon.local
interfaces = 127.0.0.1 eth0
bind interfaces only = true
printing = cups
printcap name = cups
printer admin = @ntadmin, root, administrator
map to guest = Bad User
security = user
encrypt passwords = yes
server string =
netbios name = ORION
domain master = yes
domain logons = yes
local master = yes
preferred master = yes
wins support = yes
os level = 65

# ldap settings for auth
passdb backend = ldapsam:ldap://localhost:389
ldap suffix = ou=accounts,dc=simon,dc=local
ldap user suffix = ou=users
ldap group suffix = ou=groups
ldap machine suffix = ou=computers
ldap admin dn = cn=Administrator,dc=simon,dc=local
ldap filter = "(&(uid=%u)(objectClass=sambaSamAccount))"
ldap ssl = Off
ldap delete dn = no

# scripts for adding objects
add user script = /usr/local/sbin/smbldap-useradd -m "%u"
delete user script = /usr/sbin/smbldap-userdel "%u"
add group script = /usr/sbin/smbldap-groupadd -p "%g"
delete group script = /usr/sbin/smbldap-groupdel "%g"
add machine script = /usr/sbin/smbldap-useradd -w "%u"
add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"
delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g"
set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u"

# Mapping of UID/GID
idmap backend = ldap:ldap://localhost:389
ldap idmap suffix = ou=idmap
ldap passwd sync = no

logon home = \\orion.simon.local\homes
logon path = \\orion.simon.local\profiles

[homes]
path = /home/%u
comment = Home Directories
valid users = %S
browseable = no
read only = No
guest ok = no
printable = no
[users]
comment = All users
path = /home/shared
writeable = Yes
inherit permissions = Yes
veto files = /aquota.user/groups/shares/
browseable = yes
guest ok = no
printable = no
[groups]
comment = All groups
path = /home/groups
writeable = Yes
inherit permissions = Yes
browseable = yes
guest ok = no
printable = no
[pdf]
comment = PDF creator
path = /var/tmp
printable = yes
print command = /usr/bin/smbprngenpdf -J '%J' -c %c -s %s -u '%u' -z %z
create mask = 0600
browseable = yes
guest ok = no
[printers]
comment = All Printers
path = /var/tmp
printable = yes
create mask = 0600
browseable = no
guest ok = no
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
browseable = yes
guest ok = no
printable = no
[public]
browseable = yes
writeable = yes
comment =
path = /usr/misc/public
read only = no
guest ok = no
printable = no


ne idee?? (wenn ihr noch mehr infos braucht bitte nachfragen...)

martin2002
30.12.04, 23:55
ich hab mal noch zwei detaillierter logs produziert... beide sind für das einfügen desselben pcs in die samba-domäne.

log.192.168.10.38:

[2004/12/30 23:25:08, 6] param/loadparm.c:lp_file_list_changed(2664)
lp_file_list_changed()
file /etc/samba/smb.conf -> /etc/samba/smb.conf last mod_time: Thu Dec 30 22:38:37 2004

[2004/12/30 23:25:08, 3] smbd/oplock.c:init_oplocks(1226)
open_oplock_ipc: opening loopback UDP socket.
[2004/12/30 23:25:08, 10] lib/util_sock.c:open_socket_in(698)
bind succeeded on port 0
[2004/12/30 23:25:08, 3] smbd/oplock_linux.c:linux_init_kernel_oplocks(303)
Linux kernel oplocks enabled
[2004/12/30 23:25:08, 3] smbd/oplock.c:init_oplocks(1257)
open_oplock ipc: pid = 10867, global_oplock_port = 1495
[2004/12/30 23:25:08, 4] lib/time.c:get_serverzone(122)
Serverzone is -3600
[2004/12/30 23:25:08, 10] lib/smbldap.c:smbldap_idle_fn(1142)
ldap connection not idle...
[2004/12/30 23:25:08, 10] lib/util_sock.c:read_smb_length_return_keepalive(486)
got smb length of 133
[2004/12/30 23:25:08, 3] lib/access.c:check_access(313)
check_access: no hostnames in host allow/deny list.
[2004/12/30 23:25:08, 2] lib/access.c:check_access(324)
Allowed connection from (192.168.10.38)
[2004/12/30 23:25:08, 6] smbd/process.c:process_smb(889)
got message type 0x0 of len 0x85
[2004/12/30 23:25:08, 3] smbd/process.c:process_smb(890)
Transaction 0 of length 137
[2004/12/30 23:25:08, 5] lib/util.c:show_msg(456)
[2004/12/30 23:25:08, 5] lib/util.c:show_msg(466)
size=133
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51283
smb_tid=0
smb_pid=65279
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=98
[2004/12/30 23:25:08, 10] lib/util.c:dump_data(1864)
[000] 02 50 43 20 4E 45 54 57 4F 52 4B 20 50 52 4F 47 .PC NETW ORK PROG
[010] 52 41 4D 20 31 2E 30 00 02 4C 41 4E 4D 41 4E 31 RAM 1.0. .LANMAN1
[020] 2E 30 00 02 57 69 6E 64 6F 77 73 20 66 6F 72 20 .0..Wind ows for
[030] 57 6F 72 6B 67 72 6F 75 70 73 20 33 2E 31 61 00 Workgrou ps 3.1a.
[040] 02 4C 4D 31 2E 32 58 30 30 32 00 02 4C 41 4E 4D .LM1.2X0 02..LANM
[050] 41 4E 32 2E 31 00 02 4E 54 20 4C 4D 20 30 2E 31 AN2.1..N T LM 0.1
[060] 32 00 2.
[2004/12/30 23:25:08, 3] smbd/process.c:switch_message(685)
switch message SMBnegprot (pid 10867)
[2004/12/30 23:25:08, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/12/30 23:25:08, 5] auth/auth_util.c:debug_nt_user_token(486)
NT user token: (NULL)
[2004/12/30 23:25:08, 5] auth/auth_util.c:debug_unix_user_token(505)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2004/12/30 23:25:08, 5] smbd/uid.c:change_to_root_user(282)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2004/12/30 23:25:08, 3] smbd/negprot.c:reply_negprot(459)
Requested protocol [PC NETWORK PROGRAM 1.0]
[2004/12/30 23:25:08, 3] smbd/negprot.c:reply_negprot(459)
Requested protocol [LANMAN1.0]
[2004/12/30 23:25:08, 3] smbd/negprot.c:reply_negprot(459)
Requested protocol [Windows for Workgroups 3.1a]
[2004/12/30 23:25:08, 3] smbd/negprot.c:reply_negprot(459)
Requested protocol [LM1.2X002]
[2004/12/30 23:25:08, 3] smbd/negprot.c:reply_negprot(459)
Requested protocol [LANMAN2.1]
[2004/12/30 23:25:08, 3] smbd/negprot.c:reply_negprot(459)
Requested protocol [NT LM 0.12]
[2004/12/30 23:25:08, 10] lib/util.c:set_remote_arch(1839)
set_remote_arch: Client arch is 'Win2K'
[2004/12/30 23:25:08, 6] param/loadparm.c:lp_file_list_changed(2664)
lp_file_list_changed()
file /etc/samba/smb.conf -> /etc/samba/smb.conf last mod_time: Thu Dec 30 22:38:37 2004

[2004/12/30 23:25:08, 6] param/loadparm.c:lp_file_list_changed(2664)
lp_file_list_changed()
file /etc/samba/smb.conf -> /etc/samba/smb.conf last mod_time: Thu Dec 30 22:38:37 2004

[2004/12/30 23:25:08, 3] smbd/negprot.c:reply_nt1(333)
using SPNEGO
[2004/12/30 23:25:08, 3] smbd/negprot.c:reply_negprot(536)
Selected protocol NT LM 0.12
[2004/12/30 23:25:08, 5] smbd/negprot.c:reply_negprot(542)
negprot index=5
[2004/12/30 23:25:08, 5] lib/util.c:show_msg(456)
[2004/12/30 23:25:08, 5] lib/util.c:show_msg(466)
size=127
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=0
smb_pid=65279
smb_uid=0
smb_mid=0
smt_wct=17
smb_vwv[ 0]= 5 (0x5)
smb_vwv[ 1]=12803 (0x3203)
smb_vwv[ 2]= 256 (0x100)
smb_vwv[ 3]= 1024 (0x400)
smb_vwv[ 4]= 65 (0x41)
smb_vwv[ 5]= 0 (0x0)
smb_vwv[ 6]= 256 (0x100)
smb_vwv[ 7]=29440 (0x7300)
smb_vwv[ 8]= 42 (0x2A)
smb_vwv[ 9]=64768 (0xFD00)
smb_vwv[10]=32995 (0x80E3)
smb_vwv[11]= 128 (0x80)
smb_vwv[12]= 1658 (0x67A)
smb_vwv[13]=48747 (0xBE6B)
smb_vwv[14]=50414 (0xC4EE)
smb_vwv[15]=50177 (0xC401)
smb_vwv[16]=15103 (0x3AFF)
smb_bcc=58
[2004/12/30 23:25:08, 10] lib/util.c:dump_data(1864)
[000] 6F 72 69 6F 6E 00 00 00 00 00 00 00 00 00 00 00 orion... ........
[010] 60 28 06 06 2B 06 01 05 05 02 A0 1E 30 1C A0 0E `(..+... ....0...
[020] 30 0C 06 0A 2B 06 01 04 01 82 37 02 02 0A A3 0A 0...+... ..7.....
[030] 30 08 A0 06 1B 04 4E 4F 4E 45 0.....NO NE
[2004/12/30 23:25:08, 6] lib/util_sock.c:write_socket(430)
write_socket(27,131)
[2004/12/30 23:25:08, 6] lib/util_sock.c:write_socket(433)
write_socket(27,131) wrote 131
[2004/12/30 23:25:08, 10] lib/util_sock.c:read_smb_length_return_keepalive(486)
got smb length of 206
[2004/12/30 23:25:08, 6] smbd/process.c:process_smb(889)
got message type 0x0 of len 0xce
[2004/12/30 23:25:08, 3] smbd/process.c:process_smb(890)
Transaction 1 of length 210
[2004/12/30 23:25:08, 5] lib/util.c:show_msg(456)
[2004/12/30 23:25:08, 5] lib/util.c:show_msg(466)
size=206
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=0
smb_pid=65279
smb_uid=0
smb_mid=64
smt_wct=12
smb_vwv[ 0]= 255 (0xFF)
smb_vwv[ 1]= 206 (0xCE)
smb_vwv[ 2]=16644 (0x4104)
smb_vwv[ 3]= 50 (0x32)
smb_vwv[ 4]= 0 (0x0)
smb_vwv[ 5]= 0 (0x0)
smb_vwv[ 6]= 0 (0x0)
smb_vwv[ 7]= 74 (0x4A)
smb_vwv[ 8]= 0 (0x0)
smb_vwv[ 9]= 0 (0x0)
smb_vwv[10]= 212 (0xD4)
smb_vwv[11]=32768 (0x8000)
smb_bcc=147
[2004/12/30 23:25:08, 10] lib/util.c:dump_data(1864)
[000] 60 48 06 06 2B 06 01 05 05 02 A0 3E 30 3C A0 0E `H..+... ...>0<..
[010] 30 0C 06 0A 2B 06 01 04 01 82 37 02 02 0A A2 2A 0...+... ..7....*
[020] 04 28 4E 54 4C 4D 53 53 50 00 01 00 00 00 97 82 .(NTLMSS P.......
[030] 08 E2 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........
[040] 00 00 05 00 93 08 00 00 00 0F 00 57 00 69 00 6E ........ ...W.i.n
[050] 00 64 00 6F 00 77 00 73 00 20 00 32 00 30 00 30 .d.o.w.s . .2.0.0
[060] 00 30 00 20 00 32 00 31 00 39 00 35 00 00 00 57 .0. .2.1 .9.5...W
[070] 00 69 00 6E 00 64 00 6F 00 77 00 73 00 20 00 32 .i.n.d.o .w.s. .2
[080] 00 30 00 30 00 30 00 20 00 35 00 2E 00 30 00 00 .0.0.0. .5...0..
[090] 00 00 00 ...
[2004/12/30 23:25:08, 3] smbd/process.c:switch_message(685)
switch message SMBsesssetupX (pid 10867)
[2004/12/30 23:25:08, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/12/30 23:25:08, 5] auth/auth_util.c:debug_nt_user_token(486)
NT user token: (NULL)
[2004/12/30 23:25:08, 5] auth/auth_util.c:debug_unix_user_token(505)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2004/12/30 23:25:08, 5] smbd/uid.c:change_to_root_user(282)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2004/12/30 23:25:08, 3] smbd/sesssetup.c:reply_sesssetup_and_X(642)
wct=12 flg2=0xc807
[2004/12/30 23:25:08, 2] smbd/sesssetup.c:setup_new_vc_session(595)
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2004/12/30 23:25:08, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(522)
Doing spnego session setup
[2004/12/30 23:25:08, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(553)
NativeOS=[Windows 2000 2195] NativeLanMan=[Windows 2000 5.0] PrimaryDomain=[]
[2004/12/30 23:25:08, 3] smbd/sesssetup.c:reply_spnego_negotiate(431)
Got OID 1 3 6 1 4 1 311 2 2 10
[2004/12/30 23:25:08, 3] smbd/sesssetup.c:reply_spnego_negotiate(434)
Got secblob of size 40
[2004/12/30 23:25:08, 5] auth/auth.c:make_auth_context_subsystem(477)
Making default auth method list for DC, security=user, encrypt passwords = yes
[2004/12/30 23:25:08, 5] auth/auth.c:smb_register_auth(45)
Attempting to register auth backend rhosts
[2004/12/30 23:25:08, 5] auth/auth.c:smb_register_auth(57)
Successfully added auth method 'rhosts'
[2004/12/30 23:25:08, 5] auth/auth.c:smb_register_auth(45)
Attempting to register auth backend hostsequiv
[2004/12/30 23:25:08, 5] auth/auth.c:smb_register_auth(57)
Successfully added auth method 'hostsequiv'
[2004/12/30 23:25:08, 5] auth/auth.c:smb_register_auth(45)
Attempting to register auth backend sam
[2004/12/30 23:25:08, 5] auth/auth.c:smb_register_auth(57)
Successfully added auth method 'sam'
[2004/12/30 23:25:08, 5] auth/auth.c:smb_register_auth(45)
Attempting to register auth backend sam_ignoredomain
[2004/12/30 23:25:08, 5] auth/auth.c:smb_register_auth(57)
Successfully added auth method 'sam_ignoredomain'
[2004/12/30 23:25:08, 5] auth/auth.c:smb_register_auth(45)
Attempting to register auth backend unix
[2004/12/30 23:25:08, 5] auth/auth.c:smb_register_auth(57)
Successfully added auth method 'unix'
[2004/12/30 23:25:08, 5] auth/auth.c:smb_register_auth(45)
Attempting to register auth backend winbind
[2004/12/30 23:25:08, 5] auth/auth.c:smb_register_auth(57)
Successfully added auth method 'winbind'
[2004/12/30 23:25:08, 5] auth/auth.c:smb_register_auth(45)
Attempting to register auth backend smbserver
[2004/12/30 23:25:08, 5] auth/auth.c:smb_register_auth(57)
Successfully added auth method 'smbserver'
[2004/12/30 23:25:08, 5] auth/auth.c:smb_register_auth(45)
Attempting to register auth backend trustdomain
[2004/12/30 23:25:08, 5] auth/auth.c:smb_register_auth(57)
Successfully added auth method 'trustdomain'
[2004/12/30 23:25:08, 5] auth/auth.c:smb_register_auth(45)
Attempting to register auth backend ntdomain
[2004/12/30 23:25:08, 5] auth/auth.c:smb_register_auth(57)
Successfully added auth method 'ntdomain'
[2004/12/30 23:25:08, 5] auth/auth.c:smb_register_auth(45)
Attempting to register auth backend guest
[2004/12/30 23:25:08, 5] auth/auth.c:smb_register_auth(57)
Successfully added auth method 'guest'
[2004/12/30 23:25:08, 5] auth/auth.c:load_auth_module(384)
load_auth_module: Attempting to find an auth method to match guest
[2004/12/30 23:25:08, 5] auth/auth.c:load_auth_module(409)
load_auth_module: auth method guest has a valid init
[2004/12/30 23:25:08, 5] auth/auth.c:load_auth_module(384)
load_auth_module: Attempting to find an auth method to match sam
[2004/12/30 23:25:08, 5] auth/auth.c:load_auth_module(409)
load_auth_module: auth method sam has a valid init
[2004/12/30 23:25:08, 5] auth/auth.c:load_auth_module(384)
load_auth_module: Attempting to find an auth method to match winbind:trustdomain
[2004/12/30 23:25:08, 5] auth/auth.c:load_auth_module(384)
load_auth_module: Attempting to find an auth method to match trustdomain
[2004/12/30 23:25:08, 5] auth/auth.c:load_auth_module(409)
load_auth_module: auth method trustdomain has a valid init
[2004/12/30 23:25:08, 5] auth/auth.c:load_auth_module(409)
load_auth_module: auth method winbind has a valid init
[2004/12/30 23:25:08, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
Got NTLMSSP neg_flags=0xe2088297
NTLMSSP_NEGOTIATE_UNICODE
NTLMSSP_NEGOTIATE_OEM
NTLMSSP_REQUEST_TARGET
NTLMSSP_NEGOTIATE_SIGN
NTLMSSP_NEGOTIATE_LM_KEY
NTLMSSP_NEGOTIATE_NTLM
NTLMSSP_NEGOTIATE_ALWAYS_SIGN
NTLMSSP_NEGOTIATE_NTLM2
NTLMSSP_NEGOTIATE_128
NTLMSSP_NEGOTIATE_KEY_EXCH
[2004/12/30 23:25:08, 5] auth/auth.c:get_ntlm_challenge(95)
auth_get_challenge: module guest did not want to specify a challenge
[2004/12/30 23:25:08, 5] auth/auth.c:get_ntlm_challenge(95)
auth_get_challenge: module sam did not want to specify a challenge
[2004/12/30 23:25:08, 5] auth/auth.c:get_ntlm_challenge(95)
auth_get_challenge: module winbind did not want to specify a challenge
[2004/12/30 23:25:08, 5] auth/auth.c:get_ntlm_challenge(135)
auth_context challenge created by random
[2004/12/30 23:25:08, 5] auth/auth.c:get_ntlm_challenge(136)
challenge is:
[2004/12/30 23:25:08, 5] lib/util.c:dump_data(1864)
[000] 35 3E 13 B4 2F 7D 4F 2D 5>../}O-
[2004/12/30 23:25:08, 6] lib/util_sock.c:write_socket(430)
write_socket(27,326)
[2004/12/30 23:25:08, 6] lib/util_sock.c:write_socket(433)
write_socket(27,326) wrote 326
[2004/12/30 23:25:08, 10] lib/util_sock.c:read_smb_length_return_keepalive(486)
got smb length of 314
[2004/12/30 23:25:08, 6] smbd/process.c:process_smb(889)
got message type 0x0 of len 0x13a
[2004/12/30 23:25:08, 3] smbd/process.c:process_smb(890)
Transaction 2 of length 318
[2004/12/30 23:25:08, 5] lib/util.c:show_msg(456)
[2004/12/30 23:25:08, 5] lib/util.c:show_msg(466)
size=314
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=0
smb_pid=65279
smb_uid=0
smb_mid=128
smt_wct=12
smb_vwv[ 0]= 255 (0xFF)
smb_vwv[ 1]= 314 (0x13A)
smb_vwv[ 2]=16644 (0x4104)
smb_vwv[ 3]= 50 (0x32)
smb_vwv[ 4]= 0 (0x0)
smb_vwv[ 5]= 0 (0x0)
smb_vwv[ 6]= 0 (0x0)
smb_vwv[ 7]= 182 (0xB6)
smb_vwv[ 8]= 0 (0x0)
smb_vwv[ 9]= 0 (0x0)
smb_vwv[10]= 212 (0xD4)
smb_vwv[11]=32768 (0x8000)
smb_bcc=255
[2004/12/30 23:25:08, 10] lib/util.c:dump_data(1864)
[000] A1 81 B3 30 81 B0 A2 81 AD 04 81 AA 4E 54 4C 4D ...0.... ....NTLM
[010] 53 53 50 00 03 00 00 00 18 00 18 00 6A 00 00 00 SSP..... ....j...
[020] 18 00 18 00 82 00 00 00 16 00 16 00 48 00 00 00 ........ ....H...
[030] 08 00 08 00 5E 00 00 00 04 00 04 00 66 00 00 00 ....^... ....f...
[040] 10 00 10 00 9A 00 00 00 15 82 88 62 05 00 93 08 ........ ...b....
[050] 00 00 00 0F 73 00 69 00 6D 00 6F 00 6E 00 2E 00 ....s.i. m.o.n...
[060] 6C 00 6F 00 63 00 61 00 6C 00 72 00 6F 00 6F 00 l.o.c.a. l.r.o.o.
[070] 74 00 42 00 56 00 E6 C6 9B 4D CA 04 B8 9E 00 00 t.B.V... .M......
[080] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 11 D1 ........ ........
[090] F5 7F 5F 51 5D 80 32 80 73 4B 30 6A 02 CF A4 3C .._Q].2. sK0j...<
[0A0] A2 57 4C 3C 19 C0 47 C6 94 09 18 E2 E7 A3 7C BD .WL<..G. ......|.
[0B0] 6A DE ED A6 4C E6 00 57 00 69 00 6E 00 64 00 6F j...L..W .i.n.d.o
[0C0] 00 77 00 73 00 20 00 32 00 30 00 30 00 30 00 20 .w.s. .2 .0.0.0.
[0D0] 00 32 00 31 00 39 00 35 00 00 00 57 00 69 00 6E .2.1.9.5 ...W.i.n
[0E0] 00 64 00 6F 00 77 00 73 00 20 00 32 00 30 00 30 .d.o.w.s . .2.0.0
[0F0] 00 30 00 20 00 35 00 2E 00 30 00 00 00 00 00 .0. .5.. .0.....
[2004/12/30 23:25:08, 3] smbd/process.c:switch_message(685)
switch message SMBsesssetupX (pid 10867)
[2004/12/30 23:25:08, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/12/30 23:25:08, 5] auth/auth_util.c:debug_nt_user_token(486)
NT user token: (NULL)
[2004/12/30 23:25:08, 5] auth/auth_util.c:debug_unix_user_token(505)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2004/12/30 23:25:08, 5] smbd/uid.c:change_to_root_user(282)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2004/12/30 23:25:08, 3] smbd/sesssetup.c:reply_sesssetup_and_X(642)
wct=12 flg2=0xc807
[2004/12/30 23:25:08, 2] smbd/sesssetup.c:setup_new_vc_session(595)
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2004/12/30 23:25:08, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(522)
Doing spnego session setup
[2004/12/30 23:25:08, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(553)
NativeOS=[Windows 2000 2195] NativeLanMan=[Windows 2000 5.0] PrimaryDomain=[]
[2004/12/30 23:25:08, 3] libsmb/ntlmssp.c:ntlmssp_server_auth(615)
Got user=[root] domain=[simon.local] workstation=[BV] len1=24 len2=24
[2004/12/30 23:25:08, 5] auth/auth_ntlmssp.c:auth_ntlmssp_set_challenge(66)
auth_context challenge set by NTLMSSP callback (NTLM2)
[2004/12/30 23:25:08, 5] auth/auth_ntlmssp.c:auth_ntlmssp_set_challenge(67)
challenge is:
[2004/12/30 23:25:08, 5] lib/util.c:dump_data(1864)
[000] 1B F3 2B 1B 89 17 96 2D ..+....-

das zweite log file (sehr lang - sorry :rolleyes: ):
log.bv (http://www.krellmedia.com/downloads/log.bv)

der rechnername wird auch im ldap eingetragen. aber windoofs 2000 meldet einen fehler!?
die logs sehen für mich auch irgendie danach aus, als wäre der ganze prozess erfolgreich. nur: die erste sieht irgendwie danach aus als würde er abbrechen. kann aber auch sein, dass er zu diesem zeitpunkt den namen aufgelöst hatte und deshalb in die zweite log schrieb.

=> mir scheint, als würde keine bestätigung an den client geschickt??