Could not chdir to home directory /home/DOMAIN/ad_user: No such file or directory
Here you try to login through ssh with “ad_user”, right? If you make the same login not through ssh, home directory is created?
Maybe it’s a permission problem. If when you login directly from the Linux machine (not through ssh) home directory is not created try with:
Code:
#chmod u+rw /home/$SUPER_USER/.ICEauthority
Where “/$SUPER_USER” is the sudoer user used to join Linux machine to the domain
Is there a mapping between local groups and AD groups which has to be made or how is this handled?
Try with “#wbinfo –u” and “#wbinfo –g”. These command have to list all domain users and groups (from a joined Linux machine of course)
Use “#getent” for fetch user account entries from administrative database (/etc/passwd and /etc/group)
This command (where “user” it’s a domain user)
Code:
#getent passwd user
Makes an output like this more or less
Code:
#user:x:1000:1000:User,,,:/home/user:/bin/bash
You can see:
• login name (user)
• x (encrypted password and stored in /etc/shadow)
• User ID or UID : 1000
• Group ID or GID: 1000
• Then additional informations are listed (as phone, full name, etc..)
• Home directory
• Command shell absolute path
You can do the same for groups with:
Hope that this could help you. If you solved let us know.
Regards
Bookmarks