System is: Linux GentooLinux 2.6.22-gentoo-r5 #2 SMP Sun Jan 13 09:33:47 MSK 2008 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 4600+ AuthenticAMD GNU/Linux Working under VirtualBox 1.5.4. I try both latest svn and alpha2 package. I install samba using HOWTO (http://wiki.samba.org/index.php/Samba4/HOWTO). I do all that writen there: cd source for SVN ./autogen.sh ./configure make proto all (pch without automatic dependencies does not work) make install cd /usr/local/samba/share/test ./provision --realm=test.org --domain=TEST --adminpass='test' --server-role='domain controller' Next I edit /etc/resolv.conf, /etc/conf.d/named, /usr/local/samba/etc/smb.conf and /etc/bind/named.conf, add test.org.zone (generated by script) and restart named... I run samba (samba 3 not installed) by: # smbd -i -d 5 I check share by smbclient command and by accessing from other computer - all works fine. Next I try to enter Windows XP Pro into the new domain. After I enter login/pass of administrator WinXP thinks about 10 seconds and shows me error: "The specified server cannot perform the requested operation". Windows Event Log is clear.
Created attachment 3094 [details] smbd -i -d 5 output
Created attachment 3095 [details] /etc/bind/named.conf
Created attachment 3096 [details] /etc/bind/pri/test.org.zone
Strange. Please create also a logfile with wireshark! Generally that provides more information.
Created attachment 3097 [details] wireshark log of process (runned from host machine) 192.168.0.130 - machine with samba and bind 192.168.0.131 - Windows XP Pro SP2 Also installed dependencies: attr-2.4.32 acl-2.2.39 bind-9.4.1_p1 (berkdb idn ssl threads urandom -dlz -doc -ipv6 -ldap -mysql -odbc -postgres -resolvconf) gnutls-2.0.4 (nls zlib -doc -guile -lzo) readline-5.2_p2
I try to repeat this on openSUSE 10.3. All results are same. But I found: when I change computer name in the join dialog then joining is sucessfull. But in test.org/Computers shows previous computer name (which were before joining)
I'm not sure what is going on here. Could you start from a fresh provision, and capture the first join? (This join shows is trying to re-enable the old account).
What I do: 1. Check and install dependencies (gnutls, readline, acl). 2. get samba (svn for example), run autogen.sh, configure, make proto all, and make install 3. Configure PATH environment variable 4. Run provision: # cd /usr/local/samba/share/setup;./provision --realm=TEST.ORG --domain=TEST --adminpass=test --server-role='domain controller' 5. Configure bind (copy test.org.zone and change named.conf) 6. Run bind and samba4 7. Run fresh installed Windows XP Pro SP2 called "WinXP-P4" (DNS settings already configured). Try join into domain. Previously it was be joined to workgroup NONE. Also I think, that problem may caused by different cases of symbols or symbol '-' in the machine name. Only machies renamed to "WINXP", "WINXPP4", "WINXPVB", "NONE" successfuly joined to domain.
How does it work now?
I do not try later. :-)
Closing as invalid until reporter reproduces.