[Samba] Using smbpasswd users as AD Member

L.P.H. van Belle belle at bazuin.nl
Wed Apr 22 05:40:37 MDT 2015

and you did also a .

smbpasswd -e unixUser   <-  enable user  ;-) 



>-----Oorspronkelijk bericht-----
>Van: ingo.krabbe at eoa.de [mailto:samba-bounces at lists.samba.org] 
>Namens ingo.krabbe at eoa.de
>Verzonden: woensdag 22 april 2015 13:24
>Aan: samba at lists.samba.org
>Onderwerp: [Samba] Using smbpasswd users as AD Member
>I'm an old admin used to configure computers by using a few 
>command lines, that used to quite similar for about 20 years 
>now. For example there was a quite simple method to add a 
>smbpasswd for a unix user to allow access to samba shares. 
>Sometimes I like to share directories with the foreign AD 
>world and sometimes I want to keep the directories inside the 
>unix realm. For example a /usr/src share might not contain 
>anything usefull for AD Users but might be quite interesting 
>for users at unix machines.
>I have a section:
>valid users = DOMAIN/UserName unixUser
># + some more parameters
>and I used
>	# smbpasswd -a unixUser
>to set a password for unixUser.
>Now I'm able to mount the root share as DOMAIN/UserName but I 
>cannot mount as unixUser.
>I assume the [global] parameter for this is security, which I 
>set to ADS. When I set the security to USER I can use the 
>unixUser but I cannot use the UserName from the DOMAIN. Is 
>there any option to use both (as in nsswitch.conf)?
>To unsubscribe from this list go to the following URL and read the
>instructions:  https://lists.samba.org/mailman/options/samba

More information about the samba mailing list