Re: [Samba] getent group by name fails

2013-10-12 Thread steve
On Fri, 2013-10-11 at 14:06 -0400, Lee Allen wrote: Steve thank you for pointing that out. I made those changes and it does not effect the results. 'getent group UID' works 'getent group groupname' does not work, for the same group On Fri, Oct 11, 2013 at 12:25 PM, steve

Re: [Samba] getent group by name fails

2013-10-12 Thread Volker Lendecke
On Fri, Oct 11, 2013 at 10:16:48AM -0400, Lee Allen wrote: Samba 3.6.17 joined to Samba 4.2.0 AD domain, using winbind 'wbinfo -g' and 'getent group' successfully list all groups. 'getent group 10006' returns: domain users:x:10006: 'getent group domain users' fails with return code 2

Re: [Samba] getent group by name fails

2013-10-11 Thread steve
On Fri, 2013-10-11 at 10:16 -0400, Lee Allen wrote: Samba 3.6.17 joined to Samba 4.2.0 AD domain, using winbind 'wbinfo -g' and 'getent group' successfully list all groups. 'getent group 10006' returns: domain users:x:10006: 'getent group domain users' fails with return code 2 partial

Re: [Samba] getent group by name fails

2013-10-11 Thread Lee Allen
Steve thank you for pointing that out. I made those changes and it does not effect the results. 'getent group UID' works 'getent group groupname' does not work, for the same group On Fri, Oct 11, 2013 at 12:25 PM, steve st...@steve-ss.com wrote: Quite a bit missing here. Try: idmap config

Re: [Samba] getent group by name fails

2013-10-11 Thread Rowland Penny
On 11/10/13 19:06, Lee Allen wrote: Steve thank you for pointing that out. I made those changes and it does not effect the results. 'getent group UID' works 'getent group groupname' does not work, for the same group On Fri, Oct 11, 2013 at 12:25 PM, steve st...@steve-ss.com wrote: Quite a

Re: [Samba] getent group by name fails

2013-10-11 Thread Lee Allen
Those don't work for me: getent group domain users getent group Domain Users getent group Domain\ Users all fail, returning 2 I will look into sssd On Fri, Oct 11, 2013 at 2:36 PM, Rowland Penny rowlandpe...@googlemail.comwrote: On 11/10/13 19:06, Lee Allen wrote: Steve thank you for

Re: [Samba] getent group and net ads user info differs

2013-04-05 Thread L . P . H . van Belle
Hai, maybe im wrong, but.. net ads user info lisanyurimicolta Domain Users TerminalServer politicas3 SIIF Comercial Comercial... getent group comercial Capital C ? so 2 different groups is what your talking about. Greetz, Louis -Oorspronkelijk bericht- Van:

Re: [Samba] getent group and net ads user info differs

2013-04-04 Thread Cristian Saavedra
Hello Kevin The group is on the samba AD and i don't have nis installed on this server, the nsswitch.conf is this. passwd: files winbind shadow: files winbind group: files winbind My OS is Centos 6.3 El 4/04/2013, a las 10:42, Shaw, Kevin kevin.s...@xerox.com escribió:

Re: [Samba] getent group and net ads user info differs

2013-04-04 Thread Cristian Saavedra
Fixed! [root@dominio Policies]# samba-tool dbcheck Checking 1394 objects ERROR: orphaned backlink attribute 'memberOf' in CN=lisanyurimicolta,CN=Users,DC=forsa,DC=com,DC=co for link member in CN=SIIF,CN=Users,DC=forsa,DC=com,DC=co Not removing orphaned backlink member ERROR: orphaned backlink

Re: [Samba] getent group return only local users

2013-02-21 Thread Hervé Hénoch
Yes I did. It was a idmap problem ... The command works withe the following lines in smb.conf : idmap *:backend = tdb idmap *:range = 70001-8 idmap config SC:backend = ad idmap config SC:schema_mode = rfc2307 idmap config SC:range = 500-4 winbind nss info =

Re: [Samba] getent group return only local users

2013-02-20 Thread Ricky Nance
Did you make the appropriate symlinks for winbind.so ? I use Ubuntu and mine look like the following: root@server:/lib/x86_64-linux-gnu# ls -alh | grep winbind lrwxrwxrwx 1 root root40 Nov 23 14:45 libnss_winbind.so - /usr/local/samba/lib/libnss_winbind.so.2 lrwxrwxrwx 1 root root40 Nov

Re: [Samba] getent passwd doesn`t work with samba 4

2013-01-30 Thread commiethebeastie
[global] dos charset = CP866 workgroup = ANON realm = anon.srv netbios name = SAMBA interfaces = eth1 server role = active directory domain controller map to guest = Never guest account = nobody guest ok = No server

Re: [Samba] getent group not working

2012-08-08 Thread Rowland Penny
On 08/08/12 11:59, steve wrote: Hi Ubuntu 12.04 LTS client with 3.6.3 joined to the Samba4 AD domain. smb.conf winbind enum users = Yes winbind enum groups = Yes idmap config *:backend=tdb idmap config *:range=1-1 idmap config ALTEA:backend=ad idmap config ALTEA:range=2-4000

Re: [Samba] getent group not working

2012-08-08 Thread Rowland Penny
On 08/08/12 12:38, Rowland Penny wrote: On 08/08/12 11:59, steve wrote: Hi Ubuntu 12.04 LTS client with 3.6.3 joined to the Samba4 AD domain. smb.conf winbind enum users = Yes winbind enum groups = Yes idmap config *:backend=tdb idmap config *:range=1-1 idmap config ALTEA:backend=ad

Re: [Samba] getent group not working

2012-08-08 Thread Jonathan Buzzard
On 08/08/12 13:36, Rowland Penny wrote: [SNIP] More info, with 'winbind use default domain = yes' in smb.conf on the client, 'getent group linuxusers' returns the info. Remove 'winbind use default domain = yes' from smb.conf and restart nmbd,smbd winbind, 'getent group linuxusers' now

Re: [Samba] getent group not working

2012-08-08 Thread Rowland Penny
On 08/08/12 14:45, Jonathan Buzzard wrote: On 08/08/12 13:36, Rowland Penny wrote: [SNIP] More info, with 'winbind use default domain = yes' in smb.conf on the client, 'getent group linuxusers' returns the info. Remove 'winbind use default domain = yes' from smb.conf and restart nmbd,smbd

Re: [Samba] getent group not working

2012-08-08 Thread steve
On 08/08/12 16:13, Rowland Penny wrote: On 08/08/12 14:45, Jonathan Buzzard wrote: On 08/08/12 13:36, Rowland Penny wrote: [SNIP] Remove it and do a 'getent group HOME\\linuxusers' and see if that works. Should explain why you need the user default domain in there. JAB. ok, I removed

Re: [Samba] getent group not working

2012-08-08 Thread Jonathan Buzzard
On 08/08/12 15:13, Rowland Penny wrote: On 08/08/12 14:45, Jonathan Buzzard wrote: On 08/08/12 13:36, Rowland Penny wrote: [SNIP] More info, with 'winbind use default domain = yes' in smb.conf on the client, 'getent group linuxusers' returns the info. Remove 'winbind use default domain =

Re: [Samba] getent group not working

2012-08-08 Thread Rowland Penny
On 08/08/12 16:58, Jonathan Buzzard wrote: On 08/08/12 15:13, Rowland Penny wrote: On 08/08/12 14:45, Jonathan Buzzard wrote: On 08/08/12 13:36, Rowland Penny wrote: [SNIP] More info, with 'winbind use default domain = yes' in smb.conf on the client, 'getent group linuxusers' returns the

Re: [Samba] getent group not working

2012-08-08 Thread steve
On 08/08/2012 05:58 PM, Jonathan Buzzard wrote: On 08/08/12 15:13, Rowland Penny wrote: On 08/08/12 14:45, Jonathan Buzzard wrote: On 08/08/12 13:36, Rowland Penny wrote: [SNIP] More info, with 'winbind use default domain = yes' in smb.conf on the client, 'getent group linuxusers' returns

Re: [Samba] getent passwd fails inside freebsd jail using samba 3.4.14

2011-12-02 Thread Kamil Choudhury
I know this thread is long dead, but for anyone who was wondering, the issue was a faulty compile of the net/samba34 port. Turning the log level to 3 in smb.conf, showed the following: Error loading module '/usr/local/lib/samba34/idmap/ad.so': Cannot open /usr/local/lib/samba34/idmap/ad.so

Re: [Samba] getent passwd not returning users/groups

2011-11-19 Thread Jorell
I had this same problem on Ubuntu 10.04; did you run pam-auth-update? Do these files exist?: /lib/libnss_winbind.so /lib/libnss_winbind.so.2 /lib/security/pam_winbind.so /usr/share/pam-configs/winbind /usr/share/pam-configs/krb5 On 11/8/2011 7:56 AM, James Chase wrote: Yes, definitely On

Re: [Samba] getent passwd not returning users/groups

2011-11-19 Thread Jorell
A few more thoughts... for your smb.conf shouldn't it be: workgroup = SHAMOFFICE realm = SHAMOFFICE.LOCAL or: workgroup = SHAMBHALA-OFFICE realm = SHAMBHALA-OFFICE.LOCAL or maybe: workgroup = SHAMOFFICE realm = SHAMOFFICE.SHAMBHALA-OFFICE.LOCAL For my setup I found having my domain being

Re: [Samba] getent passwd not returning users/groups

2011-11-08 Thread Eddy Sturg
Does nsswitch.conf have winbind listed? On Mon, Nov 7, 2011 at 11:09 AM, James Chase ja...@chasecomputers.netwrote: I tried a second install of CentOS with X, thinking perhaps the GUI setup might do something that I was missing in terms of getting samba connected to active directory. However

Re: [Samba] getent passwd not returning users/groups

2011-11-08 Thread James Chase
Yes, definitely On 11/8/2011 10:55 AM, Eddy Sturg wrote: Does nsswitch.conf have winbind listed? On Mon, Nov 7, 2011 at 11:09 AM, James Chase ja...@chasecomputers.net mailto:ja...@chasecomputers.net wrote: I tried a second install of CentOS with X, thinking perhaps the GUI setup

Re: [Samba] getent passwd not returning users/groups

2011-11-07 Thread James Chase
I tried a second install of CentOS with X, thinking perhaps the GUI setup might do something that I was missing in terms of getting samba connected to active directory. However I still can't get this to work (now wbinfo doesn't seem to work either) in CentOS. I also tried Fedora 14. Then I

Re: [Samba] getent passwd not returning users/groups

2011-11-01 Thread Mark Rutherford
Shot in the dark.. is nscd running? I have been bitten by that a few times. On 11/1/2011 5:04 PM, James Chase wrote: I'm trying to get my CentOS 5.6 machine setup as a Active Directory Domain Member with Windows 2008 level domain and samba 3.5. I haven't tried this before. I can successfully

Re: [Samba] getent passwd fails inside freebsd jail using samba 3.4.14

2011-09-22 Thread Quinn Fissler
Doing what you're doing is using the wrong machine name when making the query. I presume that ABPSVC-UNIX2 is your server and your client is in the jail on that machine. You'd need a separate configuration instead of a copy from the server so that the jail appears to be a separate client. I've

Re: [Samba] getent passwd fails inside freebsd jail using samba 3.4.14

2011-09-22 Thread Kamil Choudhury
I presume that ABPSVC-UNIX2 is your server and your client is in the jail on that machine. Actually, abpsvc-unix2 is the client at 192.168.0.16; it's hosted on a server called called serenity , which is at 192.168.0.1. If it matters, serenity is running a samba client successfully. Both are

Re: [Samba] getent group not listing domain groups / wbinfo -r not working

2011-09-21 Thread Ľubomír Brindza
Update. Ugly hacks abound, be warned. As far as I can tell, nsswitch.conf is also configured properly, since `getent passwd` dumps local users, waits about .2 seconds, and dumps domain users: sasa.sokolova:*:10283:10001:Sasa Sokolova:/home/LIONSK/sasa.sokolova:/bin/false

Re: [Samba] getent group fails - fixed

2011-06-24 Thread Dale Schroeder
On 06/24/2011 2:56 AM, Dermot wrote: On 24 June 2011 05:48, Christian PERRIERbubu...@debian.org wrote: Quoting Dermot (paik...@googlemail.com): Perhaps I am not understanding you correctly because that runs counter my experience. The settings in my /etc/ldap/ldap.conf were correct whereas

Re: [Samba] getent passwd does not list trusted users

2011-06-06 Thread timothy mcdaniel
I have been looking at http://samba.2283325.n4.nabble.com/Trusted-domain-users-unwantedly-mapping-onto-local-domain-users-td3005928.html and I think that if you add this in your nsswitch.conf like it says in the website above: if you already have the passwd: files ldap and group: files ldap in

Re: [Samba] getent passwd does not list trusted users

2011-06-06 Thread Gaiseric Vandal
I do have the entries in /etc/nswitch.conf The getent passwd won't list the winbind users although I can get details on a specific user with the getent passwd SOMEDOMAIN\\someuser common I looked in the /var/samba/locks directory - I have a winbindd_cache.tdb file that is current. I

Re: [Samba] getent passwd does not list trusted users

2011-06-06 Thread Gaiseric Vandal
who didn't have idmappings, but getent passwd still doesn't work. Original Message Subject:Re: [Samba] getent passwd does not list trusted users Date: Mon, 06 Jun 2011 15:16:28 -0400 From: Gaiseric Vandal gaiseric.van...@gmail.com Reply-To: gaiseric.van

Re: [Samba] getent passwd does not list trusted users

2011-06-06 Thread Frank Mori Hess
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday, June 06, 2011, Gaiseric Vandal wrote: I do have the entries in /etc/nswitch.conf The getent passwd won't list the winbind users although I can get details on a specific user with the getent passwd SOMEDOMAIN\\someuser common Isn't

Re: [Samba] getent passwd does not list trusted users

2011-06-06 Thread Gaiseric Vandal
my smb.conf includes winbind use default domain = Yes winbind enum users = Yes winbind enum groups = Yes I did notice that some idmap entries are being created in the gencache.tdb file (specifically for LDAP groups that DON'T have a Samba SID) -I am guessing

Re: [Samba] getent passwd strange behavior

2011-04-15 Thread Noé Puyal
[mailto:npu...@valls.cat] Gesendet: Montag, 11. April 2011 10:41 An: Zabel, Daniel Betreff: Re: [Samba] getent passwd strange behavior Hi Daniel First of all, one question, cvadmin is a domain user or local user? If cvadmin is a local user you should raise the 100 to a number after

Re: [Samba] getent passwd strange behavior

2011-04-13 Thread Puyal Tolosa , Noé
, 3, effective(0, 0), real(0, 0)] winbindd/idmap.c:684(idmap_new_mapping) default domain not writable Cheers, Daniel Von: Noé Puyal [mailto:npu...@valls.cat] Gesendet: Montag, 11. April 2011 10:41 An: Zabel, Daniel Betreff: Re: [Samba] getent passwd strange

Re: [Samba] getent passwd strange behavior

2011-04-12 Thread Zabel, Daniel
Can anybody give me a hint where get_dc_list fetches the entries. Because - [2011/04/11 12:24:13.560317, 3, effective(0, 0), real(0, 0)] libsmb/namequery.c:1880(get_dc_list) get_dc_list: preferred server list: , * - seems to be wrong. Cheers, Daniel -- To

Re: [Samba] getent passwd strange behavior

2011-04-11 Thread Zabel, Daniel
) default domain not writable Cheers, Daniel Von: Noé Puyal [mailto:npu...@valls.cat] Gesendet: Montag, 11. April 2011 10:41 An: Zabel, Daniel Betreff: Re: [Samba] getent passwd strange behavior Hi Daniel First of all, one question, cvadmin is a domain user or local user? If cvadmin

Re: [Samba] getent group fails on member server after upgrade to 3.5.5

2010-10-21 Thread Dale Schroeder
Neil, Winbind 3.5.5 is not working properly in Squeeze either. Using idmap backend rid with ads security, It will work for a while, but eventually becomes unresponsive. I tried to report this yesterday, but I assume the zipped log file I attached caused it to be rejected. I tried 3.5.6 on

Re: [Samba] getent and a lot of users

2010-08-16 Thread Michal Dobroczynski
Hello, On 16 August 2010 14:38, raveenpl ravee...@gmail.com wrote: Hi, In my environment I have windows ads domain with 180k users. I use Samba 3.5.4 and I noticed that not always all users are returned when I use getent command (sometimes it is half of whole list, sometimes this list is

Re: [Samba] getent acting unreliable with idmap_ad

2010-08-07 Thread Robert Grasso
Hello Nico, I am unsure I will be able to help you further with this topic, I am not a Samba nor AD master ... I already list my servers in password server =, altough I do have the impression that Samba may have problems with my 2008R2 servers. I'll try playing with the settings. I

Re: [Samba] getent acting unreliable with idmap_ad

2010-08-03 Thread Robert Grasso
I just filled it up properly, but did not mention Kerberos in any way in smb.conf Doh, that's what I have too. Any chance you could send me a copy of your smb.conf? well, no problem, I am sure it is not a great piece of smb.conf, actually : here it is : it is the one for my desktop

Re: [Samba] getent acting unreliable with idmap_ad

2010-08-02 Thread Nico De Ranter
Hi Robert, thanks for your reply. On Fri, 2010-07-30 at 17:45 +0200, Robert Grasso wrote: Hello, I personally solved my stability issues when, rather than letting Samba find automatically the AD servers, I stated them clearly : - I stated clearly my password server = in smb.conf I

Re: [Samba] getent acting unreliable with idmap_ad

2010-08-02 Thread Nico De Ranter
Hi Robert, On Mon, 2010-08-02 at 11:32 +0200, Robert Grasso wrote: Hello Nico, I am unsure I will be able to help you further with this topic, I am not a Samba nor AD master ... Thanks for trying anyway. Very much appreciated :-) I already list my servers in password server =,

Re: [Samba] getent acting unreliable with idmap_ad

2010-07-30 Thread Robert Grasso
Hello, I personally solved my stability issues when, rather than letting Samba find automatically the AD servers, I stated them clearly : - I stated clearly my password server = in smb.conf - I stated clearly my /etc/krb5.conf I am running on CentOS 5.5, samba 3.0.33. Apart from that : I

Re: [Samba] getent behavior since 3.5.x

2010-06-28 Thread Andrew Masterson
-Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of Steve Chupack Sent: Saturday, June 26, 2010 6:18 PM To: samba@lists.samba.org Subject: Re: [Samba] getent behavior since 3.5.x I can confirm that I've always had to manually replace

Re: [Samba] getent behavior since 3.5.x

2010-06-26 Thread Gaiseric Vandal
Are you use the nss_winbind or winbind_nss files compiled? They may be in a separate directory or explicitly require make nsswitch command. -Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of David Boyd Sent: Friday, June 25,

Re: [Samba] getent behavior since 3.5.x

2010-06-26 Thread Steve Chupack
I can confirm that I've always had to manually replace the system's libnss_windbind files with those in [samba source]/nssswitch. On Sat, 26 Jun 2010 16:39:42 -0400 Gaiseric Vandal gaiseric.van...@gmail.com wrote: Are you use the nss_winbind or winbind_nss files compiled? They may be in a

Re: [Samba] Getent passwd and getent group fail / Samba 3.5.2

2010-05-06 Thread Oliver Weinmann
I have investigated further and compared the behaviour of samba 3.3 and samba 3.5 on 2 identical SLES9 VM's. Samba 3.3 is working as expected with our Win2k3 SFU Domain and idmap_ad module. Samba 3.5 is not. I noticed that there are a few kerberos params that have changed in 3.5 but I just can't

Re: [Samba] Getent passwd and getent group fail / Samba 3.5.2

2010-05-05 Thread Oliver Weinmann
Im really totally lost about this problem. I tried a lot of things in smb.conf but it just doesn't work. I mean it is working fine on 3.3.2 so I don't think this is a problem in AD. It must be something that has changed in the config of 3.5.2 -Original Message- From:

Re: [Samba] Getent passwd and getent group fail / Samba 3.5.2

2010-05-04 Thread Mike Leone
On 5/4/2010 4:20 AM, Oliver Weinmann had this to say: Hi all, I just stepped over a problem where I can't add a local user to an AD group. Running getent passwd and getent group doesn't display the AD users. Wbinfo -g and -u work fine. Here is my smb.conf: snip In the log I get this error

Re: [Samba] getent passwd problem

2009-12-23 Thread Wasim Bashir
Hi, I have replicated this on a test box, if you do a net cache flush, then restart samba and winbind, run getent passwd (only displays local users) then net cache list (will display all cache of remote users) The only way i know to fix this is to rename idmap config name and restart

Re: [Samba] getent passwd problem

2009-12-23 Thread Moray Henderson
Wasim Bashir wrote: I am having a weird issue with samba where once a week approximately at the same time users will lose connectivity, if i run wbinfo -u all users are displayed wbinfo -g all groups are displayed However running getent passwd only shows local-users, no remote users are

Re: [Samba] getent doesnt't list group - resolved

2009-11-20 Thread Massimo
Thank you very much, it's one week which I was trying to resolve this problem :-) Perhaps use 'winbind' instead of 'windind' :-) Bye Massimo -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba

Re: [Samba] getent doesnt't list group - resolved

2009-11-20 Thread Massimo
Perhaps use 'winbind' instead of 'windind' :-) Thank you very much, it's one week which I was trying to resolve this problem :-) Bye Massimo -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba

Re: [Samba] getent doesnt't list group

2009-11-19 Thread Adam Nielsen
my nssswitch.conf passwd: compat winbind group: compat windind Perhaps use 'winbind' instead of 'windind' :-) Cheers, Adam. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba

Re: [Samba] getent group fails

2009-06-18 Thread Stefan Dengscherz
Hello Kevin, make sure you don't have winbind enum users = yes winbind enum groups = yes turned off in your configuration; it's however set to yes as default. Regards, -sd 2009/6/17 Kevin Blackwell akblack...@gmail.com: Hi, Well, I'll try to start at what I think the root of my problems

Re: [Samba] getent group shows AD groups; getent passwd only shows local users

2009-01-23 Thread Tomasz Chmielewski
Brian Gregorcy schrieb: In log.winbindd I can see errors like: [2009/01/22 10:44:55, 3] libads/ldap.c:ads_do_paged_search_args(696) ads_do_paged_search_args: ldap_search_with_timeout((objectCategory=user)) - Operations error [2009/01/22 10:44:55, 3]

Re: [Samba] getent group shows AD groups; getent passwd only shows local users

2009-01-23 Thread Brian Gregorcy
check that your clock on the linux box matches the clock on the DC. Just being curios: what time difference is acceptable? I.e. up to 5 seconds, 5 minutes? That being said, the clocks are in sync. I think the default is 5 minutes. We have seen odd problems like this when our Linux

Re: [Samba] getent group shows AD groups; getent passwd only shows local users

2009-01-22 Thread Brian Gregorcy
Tomasz Chmielewski wrote: I had winbind configured so that it could fetch users from AD. Everything was working properly, but something happened in the past couple of days (no change in the Samba config) I'm not able to diagnose. getent group enumerates groups, getent passwd doesn't.

Re: [Samba] 'getent passwd' shows duplicate user accounts

2008-08-11 Thread André Welter
Hi, David Collins schrieb: Hello, I am setting up an LDAP Samba server, and have migrated all the local posix account info into it as well as creating the smb account info. I have now set up this server to use LDAP for authentication (rather than /etc/passwd, etc.) like so ... sudo

Re: [Samba] 'getent passwd' shows duplicate user accounts

2008-08-11 Thread David Collins
Thanks for the advice, Andre. Yes, the lines do say 'files ldap'. I will leave it as is. On Mon, 2008-08-11 at 08:52 +0200, André Welter wrote: Hi, David Collins schrieb: Hello, I am setting up an LDAP Samba server, and have migrated all the local posix account info into it as well

Re: [Samba] Getent troubles.

2008-07-14 Thread Jeremy Allison
On Mon, Jul 14, 2008 at 12:20:01PM -0500, [EMAIL PROTECTED] wrote: I've joined a box to my windows 2003 ad domain. I can use wbinfo u/g with no problems. I can also run getent passwd and it returns local and domain accounts. However, when I run getent group it hangs. Not sure why. I

Re: [Samba] getent not listing ADS users ctdb samba

2008-06-03 Thread devel
Did you copy the libnss_winbind.so to /lib and make a libnss_winbind.so.2 link out of it ? Hi, I am setting up ctdb samba, and have hit a brick wall trying to solve the following issue. 1.getent does not retrieve the list of domain users or groups (wbinfo works fine) I'm not

RE: [Samba] getent not listing ADS users ctdb samba

2008-06-03 Thread Evan Koutsandreou
this seems to have been created during the rpm install, see below [EMAIL PROTECTED] samba]# rpm -ql samba-winbind-32bit-3.0.25-ctdb.16 /lib/libnss_winbind.so /lib/libnss_winbind.so.2 /lib/libnss_wins.so /lib/libnss_wins.so.2 /lib/security/pam_winbind.so [EMAIL PROTECTED] samba]# ls -lasp

Re: [Samba] getent not listing ADS users ctdb samba

2008-06-03 Thread John Hodrien
On Tue, 3 Jun 2008, Evan Koutsandreou wrote: 1. getent does not retrieve the list of domain users or groups (wbinfo works fine) Do you mean getent passwd, or getent passwd foo? If you mean the former, then you need: winbind enum groups = yes winbind enum users = yes jh -- Woman was

RE: [Samba] getent not listing ADS users ctdb samba

2008-06-03 Thread Evan Koutsandreou
That's worked, thanks a million!! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Hodrien Sent: Tuesday, 3 June 2008 8:11 PM Cc: samba@lists.samba.org Subject: Re: [Samba] getent not listing ADS users ctdb samba On Tue, 3 Jun 2008, Evan

Re: [Samba] getent passwd not adding users

2007-12-07 Thread Max León
You need to add idmap uid with the same range as the gid, well at least that is what I've always have done. Jamie Gordon wrote: I'm running Samba version Version 3.0.25b-1.el5_1.2 on RH Enterprise Linux 5. I've configured the SMB server to get users from a Windows 2003 Server Active Directory

RE: [Samba] getent passwd not adding users

2007-12-07 Thread Jamie Gordon
PROTECTED] You can't make what you can't measure, 'cause you don't know when you've got it made. -Original Message- From: Nathan VanHoudnos [mailto:[EMAIL PROTECTED] Sent: Friday, December 07, 2007 12:32 PM To: Jamie Gordon Cc: samba Subject: Re: [Samba] getent passwd not adding users wbinfo -u

Re: [Samba] getent passwd not adding users

2007-12-07 Thread Nathan VanHoudnos
wbinfo -u and wbinfo-g work well, returning a list of users and groups. However, when I issue 'getent passwd' my winbind log (/var/log/samba/winbindd.log) shows a long list of the following and no users are added to the passwd db; Perhaps I misunderstand you, but getent is a query tool,

RE: [Samba] getent passwd not adding users

2007-12-07 Thread Nathan VanHoudnos
(forgot to copy list) Thanks Nathan. Perhaps I misspoke. My understanding is that if winbind is configured correctly, if I issue 'getent passwd' then I should see local and domain users listed. I only see local users and my windbindd log has the aforementioned errors. Yes, that's true. I

RE: [Samba] getent passwd not listing domain users, nsswitch.conf is configured

2007-10-21 Thread Necos Secon
This is one that took me a while to figure out. By default, the newer versions of samba tell winbind not to enumerate users or groups, because this could cause a performance drop for large (1+ users I believe) networks. The way to fix this is to set these two options in smb.conf: winbind

Re: [Samba] getent passwd not listing domain users, nsswitch.conf is configured

2007-10-18 Thread Frank Van Damme
On 10/17/07, Peter Baumgartner [EMAIL PROTECTED] wrote: Using Samba 3.0.25c on OpenSolaris nv72. wbinfo -u lists domain users as expected. getent passwd only lists local users. nsswitch.conf has the following lines: passwd: files winbind group: files winbind My smb.conf

Re: [Samba] getent returns HEX number instead of username

2007-02-28 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stephen Carville wrote: Not for all users but for some. I'm using samba 3.0.20 running on Fedora Core 3. Security = ADS, winbind works and getent passwd returns local unix accounts plus the domain accounts as expected. It also returns a lot

Re: [Samba] getent passwd

2006-11-10 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daniel Quigley-Skillin wrote: Three users out of about 50 get no result using the getent passwd command. The accounts are in good standing and can access all other network services. The accounts are similar to other accounts which are

RE: [Samba] getent passwd

2006-11-10 Thread Daniel Quigley-Skillin
Due to access requirements, yes. -Original Message- From: Gerald (Jerry) Carter [EMAIL PROTECTED] To: Daniel Quigley-Skillin [EMAIL PROTECTED] Cc: samba@lists.samba.org Sent: 11/10/06 2:24 PM Subject: Re: [Samba] getent passwd -- To unsubscribe from this list go to the following URL

Re: [Samba] getent passwd

2006-11-10 Thread Daniel Quigley-Skillin
] To: Daniel Quigley-Skillin [EMAIL PROTECTED] Cc: samba@lists.samba.org Sent: 11/10/06 2:24 PM Subject: Re: [Samba] getent passwd -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba

RE: [Samba] getent not working (again)

2006-04-21 Thread Gautier, B \(Bob\)
'getent passwd' imposes an overall timeout of 30 seconds on the reply from winbindd. Maybe that's biting you? See Bugzillas 3660, 3024. Bob G -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Horchler, Joerg Sent: 21 April 2006 11:06 To:

Re: [Samba] Getent Not Working

2006-02-06 Thread Dennis B. Hopp
Jon Parkins wrote: I hope I'm submitting this to the right place Hello All, I've been pouring over the groups for a couple of days now, and found a few problems and setups similiar to mine, but I'm not having much luck trying to resolve the issue. My setup currently is a RHFC4 Box running

Re: [Samba] Getent Not Working

2006-02-06 Thread Adam Nielsen
*** glibc detected *** smbd: free(): invalid pointer: 0x00f4cdb0 *** I've seen this error before when I compiled a program on one PC, then copied it across to another PC without recompiling it to save time. The problem was that each PC had a different version of a certain library on it, so the

RE: [Samba] Getent not returning complete results.

2006-01-12 Thread Geoffrey Scott
Sarkar, Anirban wrote: I have some Redhat(ES 3) Linux servers authenticating agains Active Directory. One of the servers is not returning the complete list of users and groups for commands : getent passwd getent group But when I do wbinfo -u, I do get all the users. This is baffling me.

RE: [Samba] getent and wbinfo not returning expected results?

2005-09-16 Thread Doug Sampson
Some commands work but not the way i would expect them to, such as wbinfo -u. This command comes back with a list of users from the AD but the domain name is not prepended as i would expect with the domain separator value between the domain name and the username. wbinfo -g is

RE: [Samba] getent and wbinfo not returning expected results?

2005-09-16 Thread Doug Sampson
I did and this did address the wbinfo -u OR -g output but the getent passwd OR group, is still only listing the local users and groups sigh According to the Samba docs, it's either the NSS switch or the PAM modules or both that appear to be preventing the enumeration of users/groups. I have on

Re: [Samba] getent and wbinfo not returning expected results?

2005-09-16 Thread John H Terpstra
On Friday 16 September 2005 12:14, Doug Sampson wrote: I did and this did address the wbinfo -u OR -g output but the getent passwd OR group, is still only listing the local users and groups sigh According to the Samba docs, it's either the NSS switch or the PAM modules or both that appear

Re: [Samba] getent and wbinfo not returning expected results?

2005-09-16 Thread Mike Partyka
On Sep 16, 2005, at 2:11 PM, John H Terpstra wrote: On Friday 16 September 2005 12:14, Doug Sampson wrote: I did and this did address the wbinfo -u OR -g output but the getent passwd OR group, is still only listing the local users and groups sigh According to the Samba docs, it's either

Re: [Samba] getent and wbinfo not returning expected results?

2005-09-16 Thread John H Terpstra
On Friday 16 September 2005 13:35, Mike Partyka wrote: On Sep 16, 2005, at 2:11 PM, John H Terpstra wrote: On Friday 16 September 2005 12:14, Doug Sampson wrote: I did and this did address the wbinfo -u OR -g output but the getent passwd OR group, is still only listing the local users and

Re: [Samba] getent and wbinfo not returning expected results?

2005-09-16 Thread Mike Partyka
On Sep 16, 2005, at 2:57 PM, John H Terpstra wrote: Did you rename the libnss_winbind.so.2 file to nss_winbind.so.1? No, i did not see that step in any of the documentation i have used. For months I asked for review and feedback from Samba mailing list users. All feedback that I

Re: [Samba] getent and wbinfo not returning expected results?

2005-09-16 Thread John H Terpstra
On Friday 16 September 2005 14:40, Mike Partyka wrote: On Sep 16, 2005, at 2:57 PM, John H Terpstra wrote: Did you rename the libnss_winbind.so.2 file to nss_winbind.so.1? No, i did not see that step in any of the documentation i have used. For months I asked for review and feedback

RE: [Samba] getent and wbinfo not returning expected results?

2005-09-16 Thread Doug Sampson
If 'wbinfo -u' returns the domain user list, but 'getent passwd' does not, this means that NSS is not working. It has nothing to do with PAM. I'm using FreeBSD and their NSS libraries are different from Linux's and I'm wondering if that is the cause. FreeBSD uses nss_winbind.so.1

Re: [Samba] getent winbindd on FreeBSD 5.4

2005-09-16 Thread John H Terpstra
On Thursday 15 September 2005 17:44, Doug Sampson wrote: ... # /etc/nsswitch.conf passwd: compat winbind group: compat winbind hosts: files winbind wins dns Change to: hosts: fils dns wins networks: files shells: files ... # smb.conf [global] workgroup = DSP server

RE: [Samba] getent and wbinfo not returning expected results?

2005-09-16 Thread Doug Sampson
If 'wbinfo -u' returns the domain user list, but 'getent passwd' does not, this means that NSS is not working. It has nothing to do with PAM. Taking a cue from above, I edited nsswitch.conf to reflect your recommended nsswitch.conf settings as follows: passwd: files winbind group:

Re: [Samba] getent passwd and wbinfo -u returns machine names too

2004-12-01 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tom wrote: | I've just got a quick question about my winbind | implementation. I'm running 3.0.9 on fedora core 2, using my | AD for authentication via winbind. | | When I run 'getent passwd' or 'wbinfo -u' I get the computer | names from AD as well

Re: [Samba] getent passwd wbinfo -u not working

2004-06-09 Thread Christoph Scheeder
Hi, remeber, after compiling and installing samba you have to copy the files nsswitch/libnss_winbind.so and nsswitch/libnss_wins.so to /lib/ and ln -sf /lib/libnss_winbind.so /lib/libnss_winbind.so.2 ln -sf /lib/libnss_wins.so /lib/libnss_wins.so.2 then copy nsswitch/pam_winbind.so to

RE: [Samba] getent ??

2004-05-23 Thread Roberto Mason
Sorry for asking this question again, I'm hoping someone can answer it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Roberto Mason Sent: Saturday, May 22, 2004 5:16 PM To: Samba-List Subject: [Samba] getent ?? I've installed Fedora Core 2 from

Re: [Samba] getent does not get remote users

2004-03-03 Thread Arno Hahma
On 3. Mar, 2004, at 11:52, Stefan Günther wrote: Also, home directories for the NT4 -users are not created and no logs whatsoever are left behind by the As far as I know, the home directories for NT-Users aren't created automatically. But they should - perhaps winbind isn't working for you

RE: [Samba] getent does not get remote users

2004-03-03 Thread Shannon Johnson
I'm not sure where you've gotten some of your configuration, but it doesn't look right to me... I am, however, only comparing it to my setup, which does work. I'll make notes on what differences I see, although I wouldn't consider myself an expert on samba, winbind, or pam. First, I never changed

Re: [Samba] getent passwd problem (please it's quite URGENT)

2004-01-23 Thread Andrew Bartlett
On Fri, 2004-01-23 at 23:52, [EMAIL PROTECTED] wrote: Hi, My ultimate goal is to use this samba installation as a member server without having to maintain NT user accounts on the samba box. /home/subbu not created... It is not winbind's role to create home directories. Either

RE: [Samba] getent passwd doesn't list domain users

2003-12-17 Thread Ganguly, Sapan
Did you remember to edit /etc/nsswitch.conf, I always forget that. passwd: files winbind shadow: files group: files winbind -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 17 December 2003 16:29 To: [EMAIL PROTECTED] Subject: [Samba] getent passwd

  1   2   >