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

[Samba] getent group by name fails

2013-10-11 Thread Lee Allen
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 log.winbind after above command: [2013/10/11

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

[Samba] getent passwd works but all wbinfo commands fail

2013-07-08 Thread Moby
I am seeing a bizarre problem on one of my machines. The machine is running Samba 3.6.16 and is a member server in a Windows Active Directory domain. getent passwd works just fine and returns all users, including users from the AD domain. However, all wbinfo commands (such as wbinfo -t or

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

2013-04-05 Thread L . P . H . van Belle
...@asualcance.com [mailto:samba-boun...@lists.samba.org] Namens Cristian Saavedra Verzonden: donderdag 4 april 2013 16:45 Aan: samba@lists.samba.org Onderwerp: [Samba] getent group and net ads user info differs Hello I have a samba 4.0.3 pdc and a samba 3.5.10 as a fileserver and i am having

[Samba] getent group and net ads user info differs

2013-04-04 Thread Cristian Saavedra
Hello I have a samba 4.0.3 pdc and a samba 3.5.10 as a fileserver and i am having an issue that i like to share with you. I have a share son the samba 3 setup like this [Comercial] browsable = Yes comment = Comercial path = /shares2/Comercial valid users =

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

2013-04-04 Thread Cristian Saavedra
in Solaris. HTH, -Kevin -Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of Cristian Saavedra Sent: Thursday, April 04, 2013 7:45 AM To: samba@lists.samba.org Subject: [Samba] getent group and net ads user info differs

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

2013-04-04 Thread Cristian Saavedra
, -Kevin -Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of Cristian Saavedra Sent: Thursday, April 04, 2013 7:45 AM To: samba@lists.samba.org Subject: [Samba] getent group and net ads user info differs Hello I have a samba

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 =

[Samba] getent group return only local users

2013-02-20 Thread Hervé Hénoch
Hello I use S4 file server with nsswitch.conf (ad server is another Linux with S4) : passwd: compat winbind group: compat winbind I wonder how it can be possible that : * getent passwd is ok * but getent group returns only local users (wbinfo -g is ok and gives

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

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

2013-01-30 Thread commiethebeastie
samba -V /Version 4.0.0 / wbinfo -u /bla1 bla2 bla3/ nsstest /Testing user ANON\bla1 getpwent: ANON\bla1:*:378:100 getpwuid: ANON\bla1:*:378:100 getpwnam: ANON\bla1:*:378:100 initgroups: 100, 380 Testing user ANON\bla2 getpwent: ANON\bla2:*:379:100 getpwuid:

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

[Samba] getent group not working

2012-08-08 Thread steve
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 getent passwd and wbinfo -u returns

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

[Samba] getent/wbinfo and gecos field weird behaviour

2012-01-07 Thread TarodBOFH
Hello there, I'm having a weird behaviour with getent (and by extension winbind using wbinfo) when querying for specific user info. I'm running Samba 3.5.4 in Centos 5.7 (3.5.4-0.83.el5_7.2) with default options, and securty = ads Everything works fine, but now I'm working on some autoemails

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

[Samba] getent passwd not returning users/groups

2011-11-01 Thread James Chase
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 join the domain and return users using 'wbinfo -u' and groups with 'wbinfo -g' but when I try 'getent passwd' I only

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

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

2011-09-22 Thread Kamil Choudhury
I've been messing around with running samba 3.4.14 inside a freebsd jail over the last couple of days, and am running into an odd problem where wbinfo -u and wbinfo -g succeed, but getent passwd fails (insofar that it shows only local users, but none of the domain users). Here's my smb.conf:

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

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

2011-09-20 Thread Ľubomír Brindza
I know, I know, this again :) The company I work for would like to use squid for proxy authentication purposes using NTLM, using a Windows 2008 R2 server as a DC. I've managed to setup samba/winbind to use ads and successfully joined the domain. Configured nsswitch.conf to lookup winbind

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

[Samba] getent group fails

2011-06-22 Thread Dermot
Hi, I've been debugging this for a day now and I am on the edge of my understanding and could use some help. I have a smbd 3.5.6 running as a PDC (smb.conf below) with an openldap backend. If I run `getent passwd` I get all the users (local and Domain) and computer accounts that I've imported

[Samba] getent passwd does not list trusted users

2011-06-06 Thread Gaiseric Vandal
I am running Samba 3.5.5 on Solaris 10. This is the latest Sun/Oracle provided build. I have an ldap backend for everything (unix+samba accounts, idmapping for domain trusts.) The Samba server is a PDC for a domain we can call SAMBA.Each samba account is tied to a unix account. I have

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

2011-06-06 Thread timothy mcdaniel
-- From: Gaiseric Vandal gaiseric.van...@gmail.com To: Samba samba@lists.samba.org Date: Mon, 06 Jun 2011 12:04:14 -0400 Subject: [Samba] getent passwd does not list trusted users I am running Samba 3.5.5 on Solaris 10. This is the latest Sun/Oracle provided build. I have an ldap backend

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

2011-06-06 Thread Gaiseric Vandal
winbind -- Forwarded message -- From: Gaiseric Vandalgaiseric.van...@gmail.com To: Sambasamba@lists.samba.org Date: Mon, 06 Jun 2011 12:04:14 -0400 Subject: [Samba] getent passwd does not list trusted users I am running Samba 3.5.5 on Solaris 10. This is the latest Sun/Oracle

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

[Samba] getent group Issues, no groups available

2011-04-12 Thread Sascha Kasch
Dear list users, currently i am despairing of winbind or nss and hopefully someone sees what i have overlooked. [problem is getent group does not work nor does chgrp domgroup work. chown domuser works] i have a samba pdc 3.5.6 on squeeze with ldap managed accounts. the pdc is working as

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

[Samba] getent passwd strange behavior

2011-04-11 Thread Zabel, Daniel
Hi, I have a problem with the combo of CentOS 5.5, the latest Samba Packages from Sernet and our Active Directory. Samba Packages installed: samba3-cifsmount-3.5.8-43.el5 samba3-client-3.5.8-43.el5 samba3-3.5.8-43.el5 samba3-utils-3.5.8-43.el5 samba3-winbind-32bit-3.5.8-43.el5

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

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

2010-10-21 Thread Neil Price
I have a member server joined to a samba 3 domain. It was working fine with 3.4.8 but after an upgrade to 3.5.5 (debian lenny with backports) getent group no longer works. getent passwd works fine, wbinfo -u and wbinfo -g work fine I upgraded some other servers which are DC's and those work

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

[Samba] getent passwd lists local users twice

2010-10-07 Thread Robert Steinmetz
I am using winbind on a member server and the DC is using the tdbsam Getent passwd lists local users twice once as expected and once with the MACHINE\user How can I make it stop? -- To unsubscribe from this list go to the following URL and read the instructions:

[Samba] getent and a lot of users

2010-08-16 Thread raveenpl
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 empty). Anybody has similar problem? -- View this message in context:

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 =,

[Samba] getent acting unreliable with idmap_ad

2010-07-30 Thread Nico De Ranter
I'm trying to get my linux boxes to authenticate to AD using winbind. I need to get my uid's from AD so I'm using idmap_ad. I got to the point where 'getent passwd' shows me the list of unix users from AD with all correct details, however when I do 'getent passwd username' for any username from

Re: [Samba] getent acting unreliable with idmap_ad

2010-07-30 Thread Robert Grasso
Envoyé : 30 juillet 2010 13:44 À : samba@lists.samba.org Objet : [Samba] getent acting unreliable with idmap_ad I'm trying to get my linux boxes to authenticate to AD using winbind. I need to get my uid's from AD so I'm using idmap_ad. I got to the point where 'getent passwd' shows me

[Samba] getent doesn't list my users when using idmap_adex

2010-07-28 Thread Nico De Ranter
Hi, I'm trying to integrate an existing linux environment with a Windows AD environment. All my users are already in AD with valid rfc2307 attributes defined so I need a way to authenticate my users using username, uid, gid, shell and homedirectory from AD. I've been using Kerberos+LDAPs

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

[Samba] getent behavior since 3.5.x

2010-06-26 Thread David Boyd
Since upgrading to samba 3.5.x (x=2,3,4) from samba 3.4.8 and samba-3.3.12 on FreeBSD versions 6.4, 7.3 and 8.0, getent has failed to return samba group or user entries displaying only the local unix group and password data. wbinfo -u and wbinfo -g seem to work just fine. No smb.conf changes

Re: [Samba] getent behavior since 3.5.x

2010-06-26 Thread Gaiseric Vandal
, 2010 12:44 PM To: sa...@samba.org Subject: [Samba] getent behavior since 3.5.x Since upgrading to samba 3.5.x (x=2,3,4) from samba 3.4.8 and samba-3.3.12 on FreeBSD versions 6.4, 7.3 and 8.0, getent has failed to return samba group or user entries displaying only the local unix group and password data

Re: [Samba] getent behavior since 3.5.x

2010-06-26 Thread Steve Chupack
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, 2010 12:44 PM To: sa...@samba.org Subject: [Samba] getent behavior since 3.5

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
...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of Oliver Weinmann Sent: Dienstag, 4. Mai 2010 10:21 To: samba@lists.samba.org Subject: [Samba] Getent passwd and getent group fail / Samba 3.5.2 Hi all, I just stepped over a problem where I can't add a local user to an AD group. Running

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

2010-05-04 Thread Oliver Weinmann
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: [global] netbios name = sles11test1 realm = SOMEDOMAIN.NET

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

[Samba] getent passwd problem

2009-12-22 Thread Wasim Bashir
Hi, 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 shown.. To fix the

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

[Samba] getent doesnt't list group

2009-11-19 Thread Massimo
Hi to all, I have installed Samba+winbind+kerberos on a Ubuntu OS, configured authentication to our ads domain as member I can list user and group using wbinfo, if I use getent I have the ADS user but not the ads group (only local group). The problem is that samba does not recognize group in the

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

[Samba] getent group fails

2009-06-17 Thread Kevin Blackwell
Hi, Well, I'll try to start at what I think the root of my problems are. When I do a getent group, I only get a list of the BUILTIN groups. BUILTIN+administrators BUILTIN+users But if I do a wbinfo -g, all the AD groups show up. This alone is not the overall problem, but it is creating a

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

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

2009-01-22 Thread Tomasz Chmielewski
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. wbinfo -g returns groups, whereas

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.

[Samba] getent passwd/getent passwd username inconsistencies

2009-01-18 Thread Nick
I've came across what appears to be a bug, but I wanted to get some feedback on the list before reporting it to make sure I'm not doing something stupid. I'm using 3.2.7. I see that when I do getent passwd, I get an entry like this: testuser:*:1000:20:Test User:/home/poo/testuser:/bin/bash But

[Samba] 'getent passwd' shows duplicate user accounts

2008-08-11 Thread David Collins
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 apt-get --yes install ldap-auth-client

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

[Samba] Getent troubles.

2008-07-14 Thread Adam . Staub
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 have to restart windbind after this, also. Anybody have any ideas or

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

[Samba] getent not listing ADS users ctdb samba

2008-06-03 Thread Evan Koutsandreou
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 sure what I'm missing but I've almost spent the whole day trying to resolve this one and

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
libnss_wins.so 0 lrwxrwxrwx 1 root root 14 Jun 3 18:36 libnss_wins.so.2 - libnss_wins.so -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Evan Koutsandreou Sent: Tuesday, 3 June 2008 7:09 PM To: samba@lists.samba.org Subject: [Samba] getent not listing ADS

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

[Samba] getent on Solaris 10

2008-02-26 Thread Adamiec, Larry
How do I get getent to work? Do I need getent working to allow my Windows users to connect to the UNIX machine without re-entering a password? I am running Samba 3.0.28 on a Solaris 10 SPARC machine. Samba is configured with security = DOMAIN. I compiled the Samba binaries from source and

[Samba] getent passwd not adding users

2007-12-07 Thread Jamie Gordon
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 tree. I was able to join the machine to the domain with no problem. Here's the smb.conf Quote: [global] idmap gid = 6-9

  1   2   3   >