Samba 4 Share Access

v7
sharedfolders
activedirectory

(SrZ) #1

NethServer Version: 7.4.1708 (Final)
Module: NSDC & SMB
Hi,

As an AD and file server everything is ok (roaming profiles, cups…).
To access share we have to use credentials : user@domain and password

For an domain integrated clients : it works.

BUT :

For a client NOT joined to the domain with a local user on the machine, could we have an ALIAS for accessing the shares like user instead of user@domain ?

Thanks
Denis


(Marc) #2

Have you tried if it works login with DOMAIN\user ?


(Markus Neuberger) #3

Hi @desuarez,

I think you have to set the domain correctly to access the share on the domain controller by design. What about mapping network drives with domain\name credentials? Or what about guest shares for unjoined clients?


(Dominik) #4

I agree with @mrmarkuz.
Mapping domain shares from i.e machine which has Windows “Home” or is not connected to DOMAIN should be done with DOMAIN\username


(SrZ) #5

Thanks a lot,

For example, I’ve laptops with local credentials : userX+passwd

On AD :
creating : userX+passwd gives userX@domain+passwd
and it’s normal.

But Is it possible to have ALIAS on the AD saying user1=user1@domain ?


(Dominik) #6

Found this - maybe this could help you

https://social.technet.microsoft.com/Forums/ie/en-US/4a23bb4d-0b41-49e7-9213-47643a565b26/how-can-i-create-alias-for-existing-user-account-in-active-directory?forum=winserverDS

and

https://social.technet.microsoft.com/Forums/windowsserver/en-US/ed9a7d4f-7f28-4912-9190-c090293b0212/username-alias?forum=winserverDS