[Samba] Samba 4 Test deployment with SWAT

Rainer Shiz rainer.shiz at gmail.com
Tue Jul 18 16:09:23 GMT 2006


   We are testing out Samba 4 TP2 release. We have configured Samba4 on an
i386 running Linux

We are trying to get the SWAT GUI functional in this system,
but it refuses login with the message

*Login failed: Undetermined error - please try again
Trying as 'root' and root password on the local machine or
trying as any another user  fails too with this same error message.

After configure, make and make install successfully Samba 4 in
we ran the provision command as below and the output is as below.

 ./setup/provision  --adminpass=testpass --domain=testdomain --realm=testrealm
Provisioning for testdomain in realm testrealm
Using administrator password: testpass
Setting up smb.conf
Setting up secrets.ldb
Setting up keytabs
Setting up hklm.ldb
Setting up sam.ldb attributes
Setting up sam.ldb schema
Setting up display specifiers
Setting up sam.ldb templates
Setting up sam.ldb data
Setting up sam.ldb users and groups
Setting up DNS zone: testrealm
Please install the zone located in
/usr/local/samba4/private/testrealm.zone into your DNS server
All OK

Here the testrealm, testdomain are not present in the environment.
ie. We dont have a domain setup in this environment. (#dnsdomainname returns

We have had success in running Samba 3.0.2 successfully in the same
(Linux in a different system)

So what else need to be done to enable login thro' SWAT GUI.

Is SWAT bundled along with 'smbd' in Samba 4 ?
Is 'smbpasswd' utility in Samba 3.0.2 removed in Samba 4 or again brought
into 'smbd' itself?
Is 'nmbd' also now (Samba 4) part of 'smbd' itself?

Please let us know what changes have to be effected to login
thro' SWAT GUI.


More information about the samba mailing list