|
|
Thank you Michael, I want to replace my Windows fileserver with Linux
and I also use it as authentication server for domain users (Windows)
Best Regards,
Tom
here is my /etc/nsswitch.conf file:::
#hosts: db files nisplus nis dns
hosts: files dns
# Example - obey only what nisplus tells us...
#services: nisplus [NOTFOUND=return] files
#networks: nisplus [NOTFOUND=return] files
#protocols: nisplus [NOTFOUND=return] files
#rpc: nisplus [NOTFOUND=return] files
#ethers: nisplus [NOTFOUND=return] files
#netmasks: nisplus [NOTFOUND=return] files
bootparams: nisplus [NOTFOUND=return] files
ethers: files
netmasks: files
networks: files
protocols: files ldap
rpc: files
services: files ldap
netgroup: files ldap
publickey: nisplus
automount: files ldap
aliases: files nisplus
Michael Heydon wrote:
>
>> Can any one help me why my server always automatically changed from
>> [root@abc] to [administrator@abc]?
>> I found out that when I repeat this command ,it will change back to
>> [root@abc]
>>
>> [administrator@abc] authconfig-tui
>>
> If it is anything like my system, root is a local user (defined in
> /etc/passwd) while administrator is defined in ldap with the same UID.
> It sounds like your system is using LDAP to resolve the username
> before passwd.
>
> What does your /etc/nsswitch.conf look like?
>
> I suspect that the Redhat/Centos support people might be more
> knowledgeable about this stuff, as far as I can see your problem has
> nothing to do with samba.
>
> *Michael Heydon - IT Administrator *
> michaelh@xxxxxxxxxxxxx <mailto:michaelh@xxxxxxxxxxxxx>
>
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
|
|