the chapter 29 in the Documentation is about upgrading from samba 2 to samba 3.
When you want to do the steps described at the "LDAP" part your are pointed to
the "net" command to get the Domain SID but I want to upgrade from version 2 to
3 so I dont have the net command.
Hope I described my problem correct.
Fixed in source tree.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.