Displaying 20 results from an estimated 40000 matches similar to: "Authenticating samba users from LDAP"
2005 Apr 07
1
Seeking documentation for SAMBA3+LDAP but NOT PDC
Hi there,
I would like to build a _simple_ server for sharing files, using Samba3.
I use FreeBSD5, the machine works well with ldap, nss_switch, pam_ldap.
Users can login (ssh) using the ldap account : perfect.
Now i want them to access some file/shares using SMB with Samba3, using
their LDAP account.
BUT : **I don't want to turn this simple server into a PDC machine**
This would be
2004 Jul 07
0
chmod fails if user is in guid but is not uid
Dear samba users,
I'am new to samba and I fail to solve the following problem:
To have access to a share I mount it:
mount -t smbfs -o
username=john,password=***,uid=501,gid=601,fmask=0777,dmask=0777
//myserver/myshare /domain/myserver/myshare
If id of user bob is 501, the following commands succeeds:
su bob
chmod 777 /domain/myserver/myshare/myfile
But altough bill is member of group
2015 Oct 09
0
kerberos nfs4's principals and root access
Hai,
I had it the other way around. Only root acces.
I have scripted my setup and tested on debian.
Look here
https://secure.bazuin.nl/scripts/these_are_experimental_scripts/
setup-nfsv4-kerberos.sh
If you get the file, setup-nfsv4-kerberos.sh and compair it to your setup.
If you can read the bash script maybe you see something you missed.
When i write as "root" its root and
2015 Oct 09
1
kerberos nfs4's principals and root access
Thanks you very much Louis !
I have tried your setup and I can't mount the share neither from the
server itself or the client.
On /var/log/syslog I have :
rpc.gssd : ERROR : no credentials found for connecting to server myserver
This is because the machine principal is not present in the keytab :
$ klist -k
1 nfs/myclient.samdom.com at SAMDOM.COM
1 nfs/myclient.samdom.com at SAMDOM.COM
1
2015 Oct 09
0
kerberos nfs4's principals and root access
Ok, now its clear to me.
We need to set UMICH_SCHEMA in idmap.conf
Read : http://linux.die.net/man/5/idmapd.conf
Working on it now.
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens L.P.H. van Belle
> Verzonden: vrijdag 9 oktober 2015 13:34
> Aan: samba at lists.samba.org
> Onderwerp: Re: [Samba] kerberos
2015 Oct 09
5
kerberos nfs4's principals and root access
Hello samba team !
I have some NFS4 exports managed by a Samba's Kerberos realm. All the
standard user accesses work fine.
I try now to setup an NFS4 root access to administer the share from
another server (the two host are DC, one PDC and one SDC). But I have
trouble understanding the kerberos/principals layer.
------------
Actually I do
-------------
-> on the server I create an nfs
2016 Aug 01
0
kerberos nfs4's principals and root access
Hi,
Sorry for this necrobump.... But I'm still can't use my local root
user to browse content of my NFSv4/Krb5 share...... (others permission
are checked when root use this share)
So a lot of questions appeared during my tests :
- Must i have same idmap.conf on both client and server ?
- Why rpc.idmapd only use 'nsswitch' method even if 'static' is
2016 Aug 02
0
kerberos nfs4's principals and root access
Hai,
Here you go..
But all my settings are scripted.
https://github.com/thctlo/samba4
found here.
Read the script : samba-with-nfsv4.sh
Start it like ./ samba-with-nfsv4.sh (client or server)
Its tested and works on debian jessie.
I contains the nfs server settings and client settings.
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at
2013 Mar 15
0
Samba ignoring group permissions (list files permission) for Windows 7 clients
Hi all,
After updating a RHEL6 server I'm having trouble with Samba ignoring
group permissions on directories. If I mount it under Linux as CIFS,
everything works as expected. But trying to mount it with a Windows 7
client gives me problems.
My shares are mode drwxr-x--- (750) with owner 'root.domain users'. If I
try to mount it under Windows 7, I get "Windows cannot access...
2015 Oct 09
3
kerberos nfs4's principals and root access
Hai Baptiste,
I re-checked my setup and your totaly correct.
I can not enter the nfsV4 mounted directory as root.
What i've added in idmap.conf
Is this :
Domain = your_DNS_domain.tld
[Translation]
Method = nsswitch
And i found this link.
http://serverfault.com/questions/526762/root-access-to-kerberized-nfsv4-host-on-ubuntu
im testing this now.
Greetz,
Louis
>
2003 Dec 16
1
user name with a dot not working
Hello,
I'm having problems with user names containing a dot. For example
"j.smith".
In our network we have Win2K PDC and a Samba server. smb.conf contains
this:
[global]
security = domain
password server = MYSERVER
username map = /etc/samba/smbusers
[myshare]
valid users = j.smith
write list = j.smith
etc...
/etc/samba/smbusers file contains this:
jsmith = j.smith
And Linux box
2003 Aug 26
0
files between w2k domains...
Hi,
I have a Mandrake 8.2 server with samba 2.2.5 installed.
My server has ftp and the files some users upload I move them to another
structure, this structure is shared via Samba with other users. I am in a
W2k Domain.(We are in the process to migrate to linux).
So, I have some users that move the files uploaded to their servers.
A few days ago, a user reported me he couldn?t see the files in
1999 Jun 16
0
Samba 2.0.4b & NT 4.0 SP5 gives Remote Procedure Call Error 1728
Hello,
I'm running NT 4.0 (ws & server) with SP5. Everything was running fine
with samba 2.0.0, but after building and installing 2.0.4b (freebsd 2.2.8)
trying to browse the server shares results in a
"A remote procedure call (RPC) protocol error occured."
net view \\myserver
also produces the same error message:
"System error 1728 has occurred.
A remote procedure
2017 Aug 29
0
Shares not accessible when using FQDN
On Tue, 29 Aug 2017 11:16:12 +0200 (CEST)
Gaetan SLONGO via samba <samba at lists.samba.org> wrote:
>
>
> Hi,
>
>
> I'm facing to an issue where I cannot find solution.
>
>
> Here is the test case :
>
>
>
>
> * Samba 4.7, multi-server setup (multiple DC)
> * Windows 7 and Windows 10 client (not domain member)
> *
2006 Jul 24
1
Permissions issue in OpenBSD
I jumped right in and followed the "Quick Configuration" guide after
installing dovecot (dovecot-1.0.beta3.tgz) on my OpenBSD 3.9 box. I had
previously been using akpop3d (which worked, but was flaky). I am
getting the following errors in /var/log/maillog:
Jul 23 22:40:29 kingcull dovecot: pop3(jm):
open(/var/mail/.temp.myserver.mymail.com.19038.10090e2f3cc51a4b) failed:
Permission
2017 Aug 29
0
Shares not accessible when using FQDN
Hai,
Without (smb.conf) config, no, sorry, no ideas..
And educated guess, you have errors in you DNS resolving.
Whats the OS running?
Cat /etc/hosts
Cat /etc/resolv.conf
Cat /etc/smb.conf
On the windows pc. open dosbos,
ipconfig /all
Things like that, suprisly, really help us out in helping you. ;-)
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: samba
2016 Aug 02
2
FW: kerberos nfs4's principals and root access
** I truncate my initial mail below for size reason **
I've tried your tips but nothing better.... AD users can still accessing
share (ouf !!), but local users not more.
I can't find where it blocks....
Thanks for your help Louis,
Greetz,
Bruno
Le 02/08/2016 à 15:33, L.P.H. van Belle a écrit :
>
> You keep 2 ranges.
>
> One for the “local (linux) users”
>
>
2015 Oct 09
5
kerberos nfs4's principals and root access
Hai Batiste,
Ok, thanks for these, i'll test that also.
And the "why" is a bit more explained here.
http://www.citi.umich.edu/projects/nfsv4/crossrealm/libnfsidmap_config.html
and per example,
http://www.citi.umich.edu/projects/nfsv4/crossrealm/ldap_server_setup.html
First my work here, but this is a good one which i also need to adjust in my scripts, so thank you for asking
2017 Aug 29
0
Shares not accessible when using FQDN
Hi,
Time is OK
I found some more informations: it seems the problem appears when I use an alias (DNS and netbios alias). So it is working for principal names (moe, in this case). Maybe it si not related but the setup is still in 2003 mode?
CLUSTER is and alias of MOE (in the config and also in DNS servers => CNAME (resolution is OK)). And accessing to the shares using \\cluster is not
2003 Apr 02
1
smbclient 2.2.8 gives NT_STATUS_LOGON_FAILURE
Hi out there,
I'm facing a problem which drives me nearly nuts...
On Solaris 2.6 today I upgraded SAMBA from 2.0.7
to the fresh 2.2.8 from Sunfreeware. Everything
works fine - besides the smbclient.
I used to use smbclient by some PERL-scripts
to transfer huge crowds of files from SUN to some
Windblows-boxes. With 2.0.7 everything worked
fine for 18 months...
As long as I connect to