Problems with Samba 4 Beta 1 and a possible bug that was previously reported

Andrew Bartlett abartlet at
Thu Jun 7 00:57:10 MDT 2012

On Thu, 2012-06-07 at 00:13 -0600, Trever L. Adams wrote:
> Bug first:
> Provision needs to make userPrincipalName = administrator at .... for the
> administrator user. I do not know if Windows creates this or not, but
> many programs using AD require it.

Can you find out exactly what Windows does here, and how we differ?

There is an implicit userPrincpalName of USER at realm for every USER that
we simply make up in the KDC when handling the lookup. 

> Such should also happen for samba-tool user create.
> Problems:
> Samba alpha 20 ate my installations (all 3, 2 of which were active). I
> am moving /usr/local/samba out of the way (1 installation so fare as I
> am having problems). /home/DOMAIN is home, /home/DOMAIN-appdata is app
> data, /home/DOMAIN-profiles is profiles, /home/DOMAIN-data is a shared
> drive. These are the same as before. The GPO is as close to the original
> as possible (I documented it).
> Administrator can log in. app data and home seem to be accurate and no
> complaint about profile. However, any other user cannot log in. I don't
> have the exact error in front of me but it was gpo causing login to fail
> (or denying login) on login (about 30 seconds after entering
> username/password).
> I have successfully changed owners of all the files. I believe I have
> removed all old xattr based (ntvfs since it was alpha versions of samba)
> permissions. I have given the user full control of all their files and
> directories of all the above. System has access to profile, etc.
> There is a dos readonly flag that I have tried in Linux and Windows to
> remove, but it is there immediately after Windows reports successful
> removal.

We will need many more details on both issues before we can go further. 

Perhaps we can start by how 'samba 20 ate my installations', and what
exactly you did after that.


Andrew Bartlett

Andrew Bartlett                      
Authentication Developer, Samba Team 

More information about the samba-technical mailing list