Displaying 20 results from an estimated 10000 matches similar to: "homes share and winbind"
2019 Apr 08
0
home user
For got to mention.
Other option, add in smb.conf :
root preexec = mkdir -p /home/%U
[homes]
comment = Home Direcotries
path = /home/%U
root preexec = /var/lib/samba/scripts/mksambahomedirs.sh %U
mksambahomedirs.sh
---
#!/bin/env bash
if [ ! -d /home/$1 ]; then
mkdir /home/$1
chmod g+s /home/$1
chown $1:"domain admins" /home/$1
chmod 770
2003 Oct 27
0
home dirs
hi folks,
i have a problem with unified logons between my linux box and a nt 4.0
domain using winbind.
every user should have his own home-directory on the linux-box. if it
doesn't exist, it should be created automatically. i configured
/etc/pam.d/login as the following:
#%PAM-1.0
auth required /lib/security/pam_env.so
auth sufficient /lib/security/pam_winbind.so
auth
2019 Jun 14
2
AD home drive
Hi Rowland,
I've added the bit to the pam.d and rebooted the server but still no go
The following is from the log file for the machine (user is testhome2)
adding home's share [VM-WIN7-01$] for user 'LIN\VM-WIN7-01$' at '/home/%U/samba'
get_auth_event_server: Failed to find 'auth_event' registered on the message bus to send JSON authentication events to:
2017 Jun 13
0
Creating home folders on file server automatically
On Tue, 13 Jun 2017 10:33:43 +0200
Udo Willke via samba <samba at lists.samba.org> wrote:
> Hello Rowland,
>
> Am 12.06.2017 um 19:32 schrieb Rowland Penny via samba:
> > On Mon, 12 Jun 2017 10:04:56 -0700
> > Luke Barone via samba <samba at lists.samba.org> wrote:
> >
> >> Hi list,
> >>
> >> We have a script we are using to
2019 Apr 10
0
chown: changing ownership of 'test': Invalid argument
On Wed, 10 Apr 2019 10:25:25 +0200
Ian Coetzee <samba at iancoetzee.za.net> wrote:
> Hi Rowland,
>
> Please see my replies inline.
> >
> > Possibly, but it could just be down to you not having this line
> > in /etc/pam.d/common-session
> >
>
> > session required pam_mkhomedir.so skel=/etc/skel/ umask=0022
> >
>
> I normally
2002 Nov 18
1
Help with PAM Config
I've installed SAMBA, Winbind etc and everything is working great for users
to login with GDM using DOMAIN+username
Although this is working, now I can no longer login as a generic Linux user
(ex. root). The following is my GDM file from /etc/pam.d/gdm
I wonder if someone might have a suggestion as to what it's missing to allow
Linux users to login?
#%PAM-1.0
auth required
2019 Oct 10
1
how to automatically create the home directory
On 10/10/2019 12:26, Rowland penny via samba wrote:
> There are three ways, depending on how the user connects.
>
> You can manually create a home directory for each user.
>
> If the user actually logs into the unix domain member, you can lever PAM
> to create the home directory the first the user connects
>
> If the user only connects over Samba, then you need to create
2016 Oct 13
0
Unable to set up home share correctly
On Thu, 13 Oct 2016 17:56:50 +0200
Udo Willke via samba <samba at lists.samba.org> wrote:
> Hello Rowland,
>
> Am 13.10.2016 um 16:53 schrieb Rowland Penny via samba:
> > On Thu, 13 Oct 2016 16:22:47 +0200
> > Udo Willke via samba <samba at lists.samba.org> wrote:
> >
> >> Hello Rowland,
> >>
> >> I have removed the rfc2307-IDs
2019 Apr 10
2
chown: changing ownership of 'test': Invalid argument
Hi Rowland,
Please see my replies inline.
On Wed, 10 Apr 2019 at 09:58, Rowland Penny via samba <samba at lists.samba.org>
wrote:
> On Wed, 10 Apr 2019 09:04:06 +0200
> Ian Coetzee via samba <samba at lists.samba.org> wrote:
>
> > Hi All,
> >
> > I have a very weird issue on one of my servers. I think I might just
> > be missing something quite
2006 Jan 09
1
creating homedir
hello,
I'm configuring on a linux suse enterprise server 8 a samba server. I
have problem with the pam_mkhomedir.so module. i add this line :
session required pam_mkhomedir.so skel=/etc/skel/ umask=0022
in the other & login files, but when user connect, it don"t create the
homedir. does i made a mistake? What is the pam module file i have to
edit for an automatic creation?
2004 Jul 23
0
pam_mkhomedir.so do not mk_home_dir
hi
I am triing to make samba service authenticate trought Win2k domain.
It works quite well, but I want make "homes" for users (the server will
have an IMAP server and I need to make home for user on the first logon.
It does not work ... and what is worst, it does not make ANY notice in
any log
Yes I know "debug" should do it, but does not.
I can DO:
$ smbclient
2008 Feb 25
2
pam_mkhomedir.so not working.
Sambains, I gotta samba setup where I use pam_mkhomedir.so to create
home dir for first time users. Same configuration is working on many
hosts and if I create a home directory manually, I can login, but not
on fly. And also when I change the /home permission to 777, its
creating home directory for new users on fly.
When strace a su session, I getting the following error. My guess is
the module
2017 Nov 10
0
Member Server Configuration
A bit cleaner way to mk_homedir, I would try to avoid changing manualy settings in pam.
echo "Name: Create home directory during login
Default: yes
Priority: 900
Session-Type: Additional
Session:
required pam_mkhomedir.so umask=0022 skel=/etc/skel
" > /usr/share/pam-configs/mkhomedir
And run :
pam-auth-update
Greetz,
Louis
> -----Oorspronkelijk bericht-----
2011 Jul 14
0
authentication problems with pam_mkhomedir
Hi! I'm struggling with pam_mkhomedir. Accounts are stored in LDAP (CentOS
Directory Server AKA 389 Directory Server). I am not pre-creating user home
directories, and would like to use the pam_mkhomedir module to create the
directories on the fly, when a user is authenticated via pop3s. pam_mkhomedir is
working for interactive (e.g. SSH logins), but I don't want to require users to
2019 Jun 14
1
AD home drive
2 things.
Hai,
Change [homes] to [users] and create the folder /home/LIN AD-DC's dont like [homes]
Share /home/LIN as [users]
Now, in the AD DC smb.conf, the templates settings are used by default.
template homedir = /home/%D/%U
Which results in your case to : /home/LIN/testhome2
That should do it, but rethink this part of you setup.
You might need to change the pam part a bit, but
2005 Sep 30
0
pam_mkhomdir.so is creating machine folders when used withsamba
I have tried changing the valid users on the [homes] share to %D+%u,
instead of leaving the default, thinking it might be trying %S, which
might have been causing the machine name folders to be created,
that was not it,
I tried changing the location of the pam_mkhomedir.so session string.
I moved it to /etc/pam.d/samba,
I moved it to the last string in system-auth,
nothing has made a
2005 Oct 03
1
am I the only one that pam_mkhomedir+samba makes machine folders for?...was RE: pam_mkhomdir.so is creating machine folders when usedwithsamba
I see a ton of past archive mails for pam_mkhomedir.so,
but I don't see anyone else with my problem. Do others just not care
that a bunch of extra folders with the machine names are getting
created,
or is it not happening for anyone else,
and I have just done something wrong?
RHEL 3.04
samba 2.0.14a-1
Barry Smoke
Network Administrator
AR Division of Leg. Audit
-----Original
2003 Nov 18
0
Samba PDC trying rid null logins
> We are trying to have linux authenticate to linux server running samba
> 3.0. We have the XP Pro, 6.2 redhat, and 7.3 redhat machines. They all
> authenticate to the linux server but we are having problems with blank
> passwords or the user can type any password. We are using pam modules for
> the authentication on the client machines.
> I have included the config files for
2004 Jun 22
1
two problems with pam authentication
Hi,
my etc/pam.d/login file is given at the end.
i am using winbind and single sign on is working now. on the fly
directory creation also works.
when i check the /var/log/messages i have this error in there
1.Jun 23 05:40:46 niit158VM pam_winbind[1696]: user 'linwin/zubair'granted
acces
2.Jun 23 05:40:46 niit158VM pam_winbind[1696]: user 'linwin/zubair'
granted acces
2003 Nov 19
0
FW: Samba PDC trying rid null logins
> -----Original Message-----
> From: Reed, Tameika
> Sent: Monday, November 17, 2003 5:56 PM
> To: 'samba@lists.samba.org'
> Subject: Samba PDC trying rid null logins
>
>
>
>
> We are trying to have linux authenticate to linux server running samba
> 3.0. We have the XP Pro, 6.2 redhat, and 7.3 redhat machines. They all
> authenticate to the