Hello,
I would need some help to get a proper authentication between ubuntu and sme8.
The current situation is good enough for a home use but is not sufficient IMHO for a professional environment:
User1-ubuntu, user2-ubuntu and user3-ubuntu are configured locally on each ubuntu client: ubuntu1, ubuntu2 and ubuntu3
On the sme8, there are user1-sme, user2-sme and user3-sme configured.
With the use of
http://smeserver.pialasse.com/index.php/Samba_ubuntu, user1-ubuntu is linked to user1-sme etc… by entering the login and password of all sme-users on each ubuntu client.
The disadvantages of this solution are quite clear:
Root must write manually the passwords of all the users on each ubuntu-client
If a user modifies his sme-password, root has to adapt the config files on each client
But this solution runs (very good)!
The wished situation is something like what I have at the work ………………………..in the windows environment (what’s a pity to write this!!):
- The sme would automatically “know” witch user is logged on each client. There are no “user-ubuntu” and “user-sme” anymore but only a unique “user”
- The “home” directory and the ibays that are allowed the logged user are mounted automatically
- Dansquardian filters automatically according to the logged user
In this direction I did some research and found
http://wiki.contribs.org/Client_Authentication:Ubuntu#Authentication_Modifications that seems to solve points 1 and 2 (except that the ibays have to be manually listed if I have right understood the wiki).
I tried it with a test-ubuntu and a test-sme8 and the first problem has come very fast: the sme refuses to accept the connection askedby this command:
net rpc join -D <WORKGROUP> -U admin
The log gives:
pr 24 22:20:34 sme-intel smbd[29033]: [2014/04/24 22:20:34.892668, 0] rpc_server/netlogon/srv_netlog_nt.c:954(_netr_ServerAuthenticate3)
Apr 24 22:20:34 sme-intel smbd[29033]: _netr_ServerAuthenticate2: failed to get machine password for account KCN-UBUN-TEST$: NT_STATUS_NONE_MAPPED
Apr 24 22:20:34 sme-intel smbd[29033]: [2014/04/24 22:20:34.895949, 0] rpc_server/netlogon/srv_netlog_nt.c:954(_netr_ServerAuthenticate3)
Apr 24 22:20:34 sme-intel smbd[29033]: _netr_ServerAuthenticate2: failed to get machine password for account KCN-UBUN-TEST$: NT_STATUS_NONE_MAPPED
Apr 24 22:20:35 sme-intel squid[3982]: aclAuthenticated: authentication not applicable on transparently intercepted requests.
Apr 24 22:20:38 sme-intel last message repeated 17 times
I ‘m not very surprised about it because I must give a “user” login to get access to the ibays via the windows sharing. A login with “admin” or “root” is not accepted.
Is it linked?
What can I do in this case to get it work?
The residual questions are:
- Is it the right method to get what I would like to reach?
- would dansguardian then recognize the logged used by setting the parameter “Ident” instead of “pam” or “nsca” for authentication or are there further modifications needed? On sme or on ubuntu?
Please let me know.
Bye
Arnaud