similar to: how to control what users can log into the box if using ad/pam-ssh/winbindd?

Displaying 20 results from an estimated 30000 matches similar to: "how to control what users can log into the box if using ad/pam-ssh/winbindd?"

2006 Feb 20
5
How to control who can log into the samba box
Hello, I have samba set up using winbind so that I can ssh into the box with my DOMAIN\mylogin. That's great...kind of. How do I control which users can login to the box? As it stands now, all users in DOMAIN can log in, which is not desireable. Do I need to map domain groups to unix groups? Do I need to map domain users to the box some how? Even if I do that, how do I then set it up
2006 Feb 03
0
Confused about what I am seeing with domain names - --getdcname fails for ad server
Should I expect to see when I run wbinfo --getdcname=domain it return a domain controller for an ad server? It does return a server name for domain_network, the non-ad server. David Shapiro Unix Team Lead 919-765-2011 >>> David Shapiro 2/3/2006 10:50:51 AM >>> I am trying to get a aix samba server to join an ads domain. I think I see what the DOMAIN_NETWORK is. wbinfo -D
2006 Aug 22
5
How to map a user to a specific uid?
I have aix with 3.0.21c samba with the following smb.conf: [global] workgroup = MYDOMAIN realm = MYDOMAIN.COM server string = User management Server security = ADS password server = ad.mydomain.com idmap backend = rid:MYDOMAIN=100000-200000 allow trusted domains = No log level = 0 log file = /usr/local/samba/var/log.%m
2006 Feb 15
0
winbind and pam and ssh that's pam enabled
Okay, winbind works and I can su - DOMAIN+user now. When I try to log in with ssh (pam enabled), however, I see in the log it accepts my password, but then the session closes. My pam.conf has; su auth sufficient /usr/lib/security/pam_winbind.so login auth sufficient /usr/lib/security/pam_winbind.so debug sshd auth sufficient
2006 Mar 02
3
FW: samba as a domain member
whoops, forgot to copy the list on it. sorry. Well, an update. I can log in to the console using any domain profiles, but, I can not access the exposed home directory through NetBeui (My Network Places/Network Neighborhood). Also, how should I configure /etc/pam.d/sshd to allow domain users to authenticate and logon through an ssh client (PuTTY?, OpenSSH?) -----Original Message----- From:
2006 Feb 01
0
Fwd: ADS and samba domain member: ads_connect: Cannot resolve network address for KDC in requested realm
I forgot the smb.conf file: [global] workgroup = MYDOMAIN netbios name = svcanimp socket options = TCP_NODELAY SO_RCVBUF=16384 SO_SNDBUF=16384 idmap uid = 10000-20000 idmap gid = 10000-20000 winbind enum users = yes winbind gid = 10000-20000 os level = 20 winbind enum groups = yes winbind separator = /
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
2006 Feb 03
8
Confused about what I am seeing with domain names
I could not get wbinfo -g/u to work and was seeing a bunch of errors related to to not being able to enumerate groups. I saw somebody use idmap backend = ad and added this since I have been struggling to get ad working (still not working). Now, when I run wbinfo -g/-u, I am getting groups and users, but the domain it shows is different than what I expected. My domain I was using for workgroup
2005 Sep 29
0
winbindd and PAM problem
Hi all, I am trying to make it possible to log into a Linux client authenticating against a running Samba PDC (24 Windows XP clients do so sccessfully) (SuSE Linux 9.1; Samba 3.0.9-2.6-SUSE) The client is running Gentoo Linux with Samba Samba 3.0.14a I configured everything like written in the Samba HowTo "23. Winbind: Use of Domain Accounts" When I login with
2015 Oct 20
0
Can't get 'root preexec' to run
Hai Rowland, The pam_mkhomedir worked ( by accident ) on for home dir on my print server. But i cant remember if that was a mounted /home or a local /home. Worth a try i think .. simple change and test. Thats why i suggested it.. ;-) Greetz, Louis > -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens Rowland Penny > Verzonden: dinsdag
2016 Oct 30
0
Auto Create Home - shadow_copy2 and root preexec
On Sun, 2016-10-30 at 14:10 +0100, Leander Schäfer via samba wrote: > Hi, > > I make use of shadow_copy2 and root preexec. The vfs root preexec is  > responsible to auto create home directories which initially don't > exist.  > The script behind it is well tested and works perfectly. > Unfortunaltely  > shadow_copy2 seems to be called before root preexec and fails due
2015 Oct 20
1
Can't get 'root preexec' to run
On 20/10/15 21:08, L.P.H. van Belle wrote: > Hai Rowland, > > The pam_mkhomedir worked ( by accident ) on for home dir on my print server. > But i cant remember if that was a mounted /home or a local /home. > Worth a try i think .. simple change and test. > Thats why i suggested it.. ;-) I know it will work on a normal login to a domain member with a static /home, but I have
2020 Apr 30
0
how to use root preexec on user share with %U not as root user
On 30/04/2020 00:25, Jelle de Jong via samba wrote: > Hello everybody, > > I am trying to get samba 4 to make a user dir without the use of ADUC > to set the homeDirectory, but with samba-tool user create only. > > I created a root preexec but the %U is filled with root and not the > username of the user. > > I need to user [users] and not the old [homes] because I got
2011 Aug 31
1
Auto creation of home directories on Samba-3.5.4(CentOS 6) using PAM authenticating via ADS
Hi, I have installed samba 3.5.4 on Centos 6 and have set it up to authenticate to a Windows 2008 Domain Controller. When I do a "su - some-domain-user", the home directory gets created. However, I want the home directory to be created when a user accesses the samba shares(no shell access). Following are the relevant configurations. What are the PAM changes I need to make? Help is much
2002 Feb 15
0
Files requested...
Here is dump from testparm and our smb.conf ... Please check it and tell what you think could be the problem... Thanx... Julio Rojas Universidad Ferm?n Toro jroas@uft.edu.ve ----- Original Message ----- From: "David Edward Shapiro" <David.Edward.Shapiro@btitele.com> To: "'Julio Rojas'" <jrojas@uft.edu.ve> Cc: <samba@samba.org> Sent: Friday, February
2003 Nov 21
1
Winbindd and SSH (just disconnects after login)
It looks like I've gotten the majority of things working in regards to Winbind. Users are being authenticated by the NT4 PDC when connecting to shares, but I can't seem to get things set up correctly to allow logging in via SSH(OpenSSH_3.6.1p2, SSH protocols 1.5/2.0, OpenSSL 0x0090702f). It appears as though I'm successfully authenticated by the PDC, but then the connection is
2012 Oct 23
0
Automatic creation of users home directories - problem with username case
Hello list, I have a problem with Samba and automatic creation of user home directories. There is a Win2008R2 AD and Samba are successfully joined to domain. Samba is running on CentOS 6.3 32-bit. Domain users can access Samba without problems. We decided to use home directories and mount them as network H: disk, so user can store it's data there. The problem is that WinXP users after
2015 Oct 22
0
Can't get 'root preexec' to run
On 22/10/15 10:12, Ole Traupe wrote: > Louis, I agree with you, with some exceptions: > > Am 22.10.2015 um 10:44 schrieb L.P.H. van Belle: >> Hai, i'll try to explain so here.. >> >> When you use ADUC console. This is what happens. >> >> ( for Profile tab in ADUC ) >> >> The ADUC user creates the user network dir, but only what you set the
2006 Feb 10
1
Fwd: WINBIND security methods does not load
Hmm, I am not sure why this worked, but I moved my WINBIND stanza in /usr/lib/security/methods.cfg up in the file prior to the PAM stanza, and save it. After this, I was able to load the module. Any ideas on why this worked? David David Shapiro Unix Team Lead 919-765-2011 >>> David Shapiro 2/10/2006 9:32:14 AM >>> I cannot load WINBIND for some reason anymore since some
2020 Apr 30
2
how to use root preexec on user share with %U not as root user
On 2020-04-30 10:12, Rowland penny via samba wrote: > On 30/04/2020 00:25, Jelle de Jong via samba wrote: >> Hello everybody, >> >> I am trying to get samba 4 to make a user dir without the use of ADUC >> to set the homeDirectory, but with samba-tool user create only. >> >> I created a root preexec but the %U is filled with root and not the >>