Rowland penny
2019-Aug-27 13:23 UTC
[Samba] How can i know the user home directory with wbinfo or smbclient.
On 27/08/2019 14:08, Juan Ignacio via samba wrote:> Hi people, long time without ask nothing... > > I need know if exist any way to get the users "windows" home directory > instead of unix home directory with some command, wbinfo or smbclient. > > I know that info is stored in some place.Yes, by default it is in the Windows registry, unless you explicitly set the 'homeDirectory' attribute in the users AD object, this attribute is only used by Windows domain members. Rowland
Juan Ignacio
2019-Aug-27 13:54 UTC
[Samba] How can i know the user home directory with wbinfo or smbclient.
I set the homeDirectory directly in the AD object. For it i like know if i can access to that info throw some tool. El mar., 27 ago. 2019 a las 10:23, Rowland penny via samba (< samba at lists.samba.org>) escribi?:> On 27/08/2019 14:08, Juan Ignacio via samba wrote: > > Hi people, long time without ask nothing... > > > > I need know if exist any way to get the users "windows" home directory > > instead of unix home directory with some command, wbinfo or smbclient. > > > > I know that info is stored in some place. > Yes, by default it is in the Windows registry, unless you explicitly set > the 'homeDirectory' attribute in the users AD object, this attribute is > only used by Windows domain members. > > Rowland > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >
Rowland penny
2019-Aug-27 14:28 UTC
[Samba] How can i know the user home directory with wbinfo or smbclient.
On 27/08/2019 14:54, Juan Ignacio via samba wrote:> I set the homeDirectory directly in the AD object. > For it i like know if i can access to that info throw some tool. >Have you set it something like: \\fileserver\users\username If you have, then you only need a root preexex script and these lines in smb.conf: ??? winbind use default domain = yes ??? template homedir = /home/%D/users/%U and the '[homes]' share needs to look like this: [homes] ?? comment = Home Directories ?? browseable = no ?? read only = no ?? valid users = %S ?? root preexec = /usr/local/sbin/mkhomedir.sh %U %H Rowland
Maybe Matching Threads
- How can i know the user home directory with wbinfo or smbclient.
- How can i know the user home directory with wbinfo or smbclient.
- How can i know the user home directory with wbinfo or smbclient.
- Dovecot on FC3 with Active Directory authentication
- should sub(perl=TRUE) also handle \E in replacement, to complement \U and \L?