Zentyal Forum, Linux Small Business Server

Zentyal Server => Directory and Authentication => Topic started by: desperados on July 05, 2019, 03:09:00 pm

Title: home icon on dock
Post by: desperados on July 05, 2019, 03:09:00 pm
the shortcut on dock to home redirects to something like smb://mydomain.lan/user/something that doesnt exists and cant be mounted
how to remove and change to local home folder?
Title: Re: home icon on dock
Post by: doncamilo on July 05, 2019, 04:07:04 pm
 :)

It seems to me that you have some issue with your  roaming profile. If roaming profiles is enabled your personal data are stored in the Server, not in the client machine on  a local profile. This way these data are at disposal on any of the clients machines of the domain when you log in.

If this is your case, the problem isn't the re-direction but that your personal profile have being deleted on the Server.

Cheers!

Title: Re: home icon on dock
Post by: desperados on October 11, 2019, 11:59:06 am
we haven't roaming profiles
I think something was broken after zentyal update, regarding home directory
Title: Re: home icon on dock
Post by: doncamilo on October 14, 2019, 11:39:58 am
 :o

Run these commands:

Code: [Select]
sudo wbinfo -u
sudo  ls -Rl /home/
[code]

Each one of the domain users should have a folder called [b]/home/name-of-the-user[/b]. It's normal and it's easy to view who is a local user and who is a domain user. If you run this command:

[code]
net share -U your-user-name

You should view this:

Code: [Select]
Enter Your-Domain\your-user-name's password:
sysvol
IPC$
your-user-name

and running this:

Code: [Select]
smbclient //10.5.20.87/your-user-name -U your-user-name your-user-name-passwd -c ls

You should be able to view the files or folders that the user has in his folder. In my case:

Code: [Select]
smbclient //10.5.20.87/gandalf -U gandalf gandalf -c ls
WARNING: The "syslog" option is deprecated
  .                                       D        0  Mon Oct 14 11:30:48 2019
  ..                                      D        0  Fri Oct 11 10:20:59 2019
  .profile                            H      807  Fri Oct 11 10:20:32 2019
  file                                   N        0  Mon Oct 14 11:30:48 2019
  .bashrc                           H     3771  Fri Oct 11 10:20:32 2019
  .bash_logout                  H      220  Fri Oct 11 10:20:32 2019

19519312 blocks of size 1024. 14331988 blocks available
[code]

Tell me about your issue.

Cheers!
Title: Re: home icon on dock
Post by: desperados on March 10, 2021, 02:03:03 pm
in /home there are just a couple of folders, not for every user, and not for mac users that are those having this issue
in my home folder there is nothing except .profile .bashrc .bash_profile
in smb.conf there isn't [home] section, but there is a shares.conf with

Code: [Select]
[homes]
    comment = Home Directories
    path = /home/%S
    read only = no
    browseable = no
    create mask = 0611
    directory mask = 0711
    vfs objects = acl_xattr full_audit
    full_audit:success = connect opendir disconnect unlink mkdir rmdir open rename
    full_audit:failure = connect opendir disconnect unlink mkdir rmdir open rename

# No shares configured

I've to remove this code? in zentyal interface there are no shared folder configured