search for: ypcat

Displaying 20 results from an estimated 45 matches for "ypcat".

2008 Aug 11
4
Need to restart ypserv to update the nis maps
Hi I use NIS om my network (CentOS4.6). When an update on a map occurs (home directory changed in /etc/passwd for instance), I run make -C /var/yp/ and check the result on a client. On the client I use "ypcat passwd" and find indeed that the update has propagated (the clients run ypbind service). On the client I have configured /etc/nsswitch.conf with : passwd: files nis shadow: files nis group: files nis The problem is however that on the client, if I try to use the new data, it s...
2006 Apr 18
3
Does NIS/yp work for authentication
If a host is running NIS (passwd file ends in +::0:0:::) authentication, will dovecot be able to authenticate with auth_userdb = passwd directly and automagically or do you have to do a ypcat passwd > pwfile periodically to generate a passwd file that dovecot can use? ? Thanks! -- ==== Stewart Dean, Unix System Admin, Henderson Computer Resources Center of Bard College, Annandale-on-Hudson, New York 12504 sdean at bard.edu voice: 845-758-7475, fax: 845-758-7035
2011 Sep 30
1
CentOS 6 and NIS not working
...Binding NIS service: ? [OK] But when I try to use any of the yp services, like ypwhich #ypwhich ypwhich: Can't communicate with ypbind This is usually blamed on ypbind not running, but ypbind is confirmed to be running #ps -ef | grep ypbind root 3033 1 0 15:11 ? 00:00:00 /usr/sbin/ypbind ypcat also does not work #ypcat netgroup No such map net group. Reason: Can't bind to the server which serves this domain I have double checked that the server is running #rpcinfo -u myServer ypserv program 100004 version 1 ready and waiting program 100004 version 2 ready and waiting The domain n...
2003 Jun 20
3
su: no directory
...d /home lrwxr-xr-x 1 root wheel 9 Jun 20 22:46 /home -> /usr/home $ ls -ld /usr drwxr-xr-x 19 root wheel 512 Jun 20 19:04 /usr $ ls -ld /usr/home drwxr-xr-x 11 root wheel 512 Jun 17 11:54 /usr/home $ ls -l /usr/home/admin total 11 drwxrwx--- 17 admin core 1024 Jun 20 17:56 admin $ ypcat passwd | grep admin admin:<snip>:<snip>:<snip>:Administrator:/home/admin:/bin/sh $ ls -l /bin/sh -r-xr-xr-x 1 root wheel 740848 Jun 5 03:54 /bin/sh $ mount /dev/ad0s2a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad0s2e on /tmp (ufs, local, soft-updates) /dev/ad0s2f on...
2015 Feb 27
2
yum causing RPC timed out?
On Fri, Feb 27, 2015 at 12:38:06PM -1000, Dave Burns wrote: > What makes you think NIS is involved? > Is Errno 12 a clue? I tried searching for (do_ypcall: clnt_call: rpc: timed "do_ypcall" is a NIS error message. (Previous NIS was called "yellow pages"; the "yp" in do_ypcall is a reference to that). Maybe you have "hosts: files nis" in
2000 Jun 19
0
Problem with yppasswd ans openssh on Irix
Hi, I compiled openssh 2.1.1p1 on Irix 6.2 with MIPS 7.2.1.2m compiler. All works fine except the yppasswd command from Irix (it's no NIS-problem, same with rlogin works): Logged in with 'ssh machine -l user1' # who user1 ttyq0 Jun 19 15:17 (xxxxx.iwr.uni-heidelberg.de) # ypcat passwd |grep user1 user1:xxxxxxxxxxxxx:1535:1500:User1:/usr/people/user1:/bin/tcsh # ypcat passwd |grep user2 user2:xxxxxxxxxxxxx:2108:2100:User2:/usr/people/user2:/bin/tcsh # yppasswd Changing NIS password for user2 on nis_server.iwr.uni-heidelberg.de. Permission denied User2 changes with differe...
2005 Nov 02
0
winbind gives differnt results depending on "winbind trusted domains only"
...nly". I.e. Option 1 (NOT CORRECT!) ======================= winbind trusted domains only = yes # /usr/local/samba/bin/wbinfo -u | head -2 aabal01 aabed01 # /usr/local/samba/bin/wbinfo -u | wc 5411 5411 42854 # getent passwd | wc 4105 22082 356529 -- "which is ypcat passwd + /etc/passwd" Option 2 (CORRECT!) =================== winbind trusted domains only = no # /usr/local/samba/bin/wbinfo -u | head -2 DCSNT\aabal01 DCSNT\aabed01 # /usr/local/samba/bin/wbinfo -u | wc 5411 5411 42854 # getent passwd | wc 9516 39948 807415 -- &qu...
2006 Oct 03
1
Fatch user's from LDAP
Hi all, Anybody help in fatching users from LDAP. like wbinfo -u from ads/domain in windows. ypcat passwd from NIS. Help!!!!!! Thank with regards, Kuldeep Kumar --
2012 Mar 09
1
samba PDC/NIS client
...recognize the user unless either the username was in the /etc/passwd file, or I changed /etc/nsswitch.conf from passwd compat TO: passwd files nis However, if I make the latter change, the user cannot log into any Windows machines that are controlled by my PDC. To allow logins, all I have to do is ypcat passwd | grep <username> >> /etc/passwd After this, the user can log in. Is there any configuration of samba that will allow it to properly recognize user data from the NIS map and not require the user to be listed in the /etc/passwd file? Simon
2004 Sep 28
1
winbind problems
Hi! I've set up a Samba server (running winbind) as a Win domain member server. Users authenticated from win domain and mapped to NIS uids and gids. Everything was working well, but the next morning winbind stopped to respond. I reset it, so now I get wbinfo, ypbind (ypcat) results ok as before, but users suddenly cannot authenticate any more. My <client>.log files are empty, winbindd files say that server is not responding. [2004/09/28 14:00:10, 0] rpc_client/cli_pipe.c:rpc_api_pipe(435) cli_pipe: return critical error. Error was Call timed out: server di...
2002 Apr 10
6
[Bug 212] Add netgroup support to ssh-keyscan
http://bugzilla.mindrot.org/show_bug.cgi?id=212 ------- Additional Comments From Michael.Gerdts at alcatel.com 2002-04-11 00:33 ------- This patch also changes the behavior of ssh-keyscan when a hostname does not resolve. I have changed the condition from fatal() to error() so that the scan does not quit when it runs across a bad hostname. ------- You are receiving this mail because:
2003 Jun 03
0
Samba and Winbind
...ver. I assume, because I can't get my Winbind to work, I can't properly share my files, since I can't access neither the Samba Users or groups. On the Domain server, I've created a group called storage, and added the user Roberto to that group. When I go to the file server, if I do ypcat group, I see the group I created (I updated the YP database) If I do ypcat passwd, I see the users I created on the main server. On this same file server I share a directory called storage. Here's an extract of my smb.conf file: [storage] path = /storage valid users = @storage write list = @st...
2010 Apr 27
1
NFS automount failure
...s from NIS. THIS particular server is also used for login so it is NIS bound as well (other servers are NOT). ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NIS Server Side... (content shortened) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ $ ypcat -k auto.master | sort | grep auto.mdkm1 /storage/mdkm1 auto.mdkm1 --timeout=600 $ ypcat -k auto.mdkm1 | sort 1 137.110.179.254:/mdkm1/1 . . . 10 137.110.179:254:/mdkm1/10 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NFS Server Side... (content shortened) ~~~~~~~~~~~...
2004 Mar 25
1
domain admins and Samba 3.0.2
...n Admins (S-1-5-21-1375496003-1846269575-2512961765-512) -> domadmin Backup Operators (S-1-5-32-551) -> -1 Domain Guests (S-1-5-21-1375496003-1846269575-2512961765-514) -> -1 Users (S-1-5-32-545) -> -1 net getlocalsid SID for domain PARETO is: S-1-5-21-1375496003-1846269575-2512961765 ypcat group |grep domadmin domadmin:*:60:janet,myles,alec user janet is in group 60 On the PC (Win 2K) it says : You are logged in as NEWBIOSS\janet, which is not a member of the Administrators group But when I check under 'Local Users and Groups' Administrator properties, it includes NEWBIO...
2013 May 13
0
"nis homedir" doesn't work
nis works well: #ypcat -k auto.home user1 server1:/path/& autofs works well: #cd /home/user1 (no problem) compliled with "configure --with-automount": #smbd -b| grep -i automount * WITH_AUTOMOUNT WITH_AUTOMOUNT * Why doesn't samba read ypcat auto.home? see below for...
2007 Jul 05
1
SAMBA ADS to NIS mapping
...from the NIS. As an example, what I am expecting is that I need to have an smbpasswd file that includes all of the users from my NIS. I have done that via instructions taken from http://www.redhat.com/docs/manuals/linux/RHL-8.0-Manual/custom-guide/s1-samb a-configuring.html that instruct to do: ypcat passwd | mksmbpasswd.sh > /etc/samba/smbpasswd I have set username map = /etc/samba/smbusers and have added a few specific users (for testing) to the mapping there with unixname = windowsname for the users I am testing on. The Red Hat server has been joined to the Windows domain, kerberos...
2005 Jul 08
4
newbie questions
...e .unix (one big honking flat file). Q1: Is this what is described in the Dovecot docs mail-storages.txt file as .mbox? 2) Authentication: The DC docs don't mention using NIS/yp for authentication, that I can find. Q2: Does DC support NIS/yp authentication? I guess I could periodically do a ypcat passwd to a file and point DC at it... 3) on IBM's AIX Unix... Q3: Is there anyone out there running DC on AIX? 5.x or 4.3.3? JFS or JFS2? 4) Inbox location/format: = I will want to move from our legacy .mbox format to, I suppose, the DC default of Maildir++. = I will want to do this in...
2009 Apr 24
5
ACLs set in Windows not honored
...up: root user::rwx group::r-x other::r-x As an domain administrator (admbky), I wish to create a directory called 'test' and set an acl allowing user 'testbky' rwx access to the 'test' directory. Here's the relevant info for 'testbky': [root@sambatest shares]# ypcat passwd | grep testbky testbky:SOMESTRING:XXXX:XXXX:Test User:/home/testbky:/bin/bash [root@sambatest shares]# ypcat group | grep testbky g1019:x:20077:testbky testbky:x:XXXX: g2015:x:20104:testbky domainusers:*:20011:testbky [root@sambatest shares]# groups testbky testbky : testbky g1019 g2015 do...
2014 Sep 04
2
Newer clients and security=domain
...it easier to provide help. Otherwise we have to guess a lot. ;-) Absolutely, and thanks for answering! Here's some details. Two Samba servers (latest CentOS 6) Server1 is domain controller and also NIS server Server2 is domain member and NIS member for passwd ids are shares via NIS and 'ypcat passwd' works fine. The servers are in two different locations that are connected via openvpn. I attach nsswitch.conf, it is the default for CentOS6 smb.conf for Server1: --------------------- [global] workgroup = mydomain bind interfaces only = yes interfaces = br0 172.16.0.14/255.255.252.0...
2005 Dec 24
2
3.0.20 usermap script execution
...luded-popt OS: Solaris 8 #!/bin/bash if [ $1 ] then echo "$1" >> /tmp/mhm4in #line needed for debugging #cut off the na0x\ part of input na0xlogin=`echo "$1" | cut -d '\' -f2` #search for a different unix login unixlogin=`ypcat users.map | grep "\$na0xlogin$" | cut -d ' ' -f1` if [[ $? = 0 && $unixlogin != "" ]] then #if unixlogin is in the users.map then return it echo "$unixlogin" echo "$unixlogin" &g...