Search found 27 matches

by xq10907
2017/08/30 09:51:10
Forum: CentOS 7 - General Support
Topic: Cannot mount nfsv4 exports
Replies: 10
Views: 3039

Re: Cannot mount nfsv4 exports

figured it out,re-join domain by realm command for both client,server realm join --user=admin@QA.ARKIVIO.COM --user-principal=nfs/ark-centos-smb4.qa.arkivio.com@QA.ARKIVIO.COM QA.ARKIVIO.COM it will create relevant nfs/* credentials for client,server then mount nfsv4 exports with sec=krb5 option suc...
by xq10907
2017/08/29 06:57:10
Forum: CentOS 7 - General Support
Topic: Cannot mount nfsv4 exports
Replies: 10
Views: 3039

Re: Cannot mount nfsv4 exports

I didn't expect such large keytabs. You have to check why the nfs-secure-server.service fails.Read the service file via systemctl cat nfs-secure-server.service and check what is the dependency. Then edit the /etc/sysconfig/nfs and add "-vvv" to the last 2 entries (rpc...). By the way how old is thi...
by xq10907
2017/08/28 09:46:54
Forum: CentOS 7 - General Support
Topic: Cannot mount nfsv4 exports
Replies: 10
Views: 3039

Re: Cannot mount nfsv4 exports

Kerberos requires NTP and DNS to be properly configured. Also check the nfs-secure.service (client) and nfs-secure-server.service and nfs-server.service (server) to be working. Check the SELinux context and content of your keytabs: ls -lZ /etc/krb5.keytab && klist -kt /etc/krb5.keytab I didn't set ...
by xq10907
2017/08/28 09:05:32
Forum: CentOS 7 - General Support
Topic: Cannot mount nfsv4 exports
Replies: 10
Views: 3039

Re: Cannot mount nfsv4 exports

tunk wrote:I assume you have started nfsd?
yes since I could mount the export with sec=sys option
by xq10907
2017/08/25 03:29:03
Forum: CentOS 7 - General Support
Topic: Cannot mount nfsv4 exports
Replies: 10
Views: 3039

Cannot mount nfsv4 exports

Hi guys i tried to setup nfsv4 server and client on centos7.3,both server(ark-centos7-ker ),client(ark-centos-smb4) are joined to AD domain by realm command,AD domain users could log in to centos server run kinit could get kerberos tickets,but mount nfsv4 export from client failed see following [ark...
by xq10907
2017/08/22 01:51:46
Forum: CentOS 7 - General Support
Topic: Sudo is not woking on my centos7.3
Replies: 19
Views: 14144

Re: Sudo is not woking on my centos7.3

figured out,sudo only has ldap in name service setting, see following [root@ark-centos-smb4 /]# grep sudo /etc/nsswitch.conf sudoers: ldap since i have sssd configued so change to following to let sudo working for local users,domain users [root@ark-centos-smb4 ~]# grep sudo /etc/nsswitch.conf #sudoe...
by xq10907
2017/08/18 05:04:25
Forum: CentOS 7 - General Support
Topic: Sudo is not woking on my centos7.3
Replies: 19
Views: 14144

Re: Sudo is not woking on my centos7.3

collected contents of /var/log/messages, /var/log/secure during running sudo command as test user, the useful info seems limited... [root@ark-centos-smb4 ~]# su - test Last login: Thu Aug 17 20:37:56 PDT 2017 on pts/0 [test@ark-centos-smb4 ~]$ sudo ls [sudo] password for test: test is not in the sud...
by xq10907
2017/08/17 09:01:29
Forum: CentOS 7 - General Support
Topic: Sudo is not woking on my centos7.3
Replies: 19
Views: 14144

Re: Sudo is not woking on my centos7.3

ok let's focus on sudo,rescue seems complicated...
thanks
by xq10907
2017/08/17 08:29:27
Forum: CentOS 7 - General Support
Topic: Sudo is not woking on my centos7.3
Replies: 19
Views: 14144

Re: Sudo is not woking on my centos7.3

yes i believe that's what i always did,and /etc/sudoers has no error

Code: Select all

[root@ark-centos-smb4 ~]# visudo -c
/etc/sudoers: parsed OK
/etc/sudoers.d/arkgrp-users: parsed OK
another question how can i recover centos? it seems doesn't supply the option at boot
by xq10907
2017/08/17 07:23:43
Forum: CentOS 7 - General Support
Topic: Sudo is not woking on my centos7.3
Replies: 19
Views: 14144

Re: Sudo is not woking on my centos7.3

funny,root user is also refused by system

Code: Select all

[root@ark-centos-smb4 ~]# sudo ls /root
root is not allowed to run sudo on ark-centos-smb4.  This incident will be reported.