Re: [Samba] Listing Domain Local Groups from a Samba Member (NT4 PDC)

2010-07-06 Thread Mark Sheard
Hi Gary,


Sorry for the late response just looking through my spams folder and my
eye caught this one, phew... I since then have tweaked my yahoo mail settings 
and all Samba contents is going to a specified Samba folder...


Anyhow Back to your question:

I installed ubuntu 10.04 and if i remember i did the 
Apt-get install samba which brought this version down...

r...@wfmmon-gbl:~# smbd -version
r...@wfmmon-gbl:~# smbd
r...@wfmmon-gbl:~# smbd --version
Version 3.0.28a
r...@wfmmon-gbl:~#

mmm i did change my /etc/apt/sources.list to a local server here in Hungary, 
because of my impatience... But i have set it back to default and currently 
waiting for apt-get update to finish..

Seems we might be onto something here. :o)

I will let you know , and Thanks for your response!

Regards

M.

--- On Thu, 1/7/10, Guy Rouillier guyr-...@burntmail.com wrote:

 From: Guy Rouillier guyr-...@burntmail.com
 Subject: Re: [Samba] Listing Domain Local Groups from a Samba Member (NT4 PDC)
 To: samba@lists.samba.org
 Date: Thursday, 1 July, 2010, 0:11
 On 6/30/2010 2:30 AM, Mark Sheard
 wrote:
  I have Ubuntu version 10.04
  Samba ver  3.0.28a-1ubuntu4.12
 
 I just did a fresh install of 10.04 x86 32-bit, and smbd
 reports version 3.4.7.  How did you end up with
 3.0.28?  Try smbd -version and see what that
 reports.
 
 -- Guy Rouillier
 -- To unsubscribe from this list go to the following URL
 and read the
 instructions:  https://lists.samba.org/mailman/options/samba
 


  
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Long delays when launching programs for the first time in my Windows 7 Profile (Samba 3.4.3 as PDC)

2010-07-01 Thread Mark Sheard
here is my 5 pence, of a POSSIBLE cause...

if you have a large network Winbind enumuration can take a loong time,
that is if it is used in this instance...

R.

Mark



--- On Wed, 30/6/10, John Drescher dresche...@gmail.com wrote:

 From: John Drescher dresche...@gmail.com
 Subject: Re: [Samba] Long delays when launching programs for the first time 
 in my Windows 7 Profile (Samba 3.4.3 as PDC)
 To: Tom H. Lautenbacher mailingli...@lautenbacher.biz
 Cc: samba@lists.samba.org
 Date: Wednesday, 30 June, 2010, 23:32
  But I think that the group of
 users using the following combination:
  Samba 3.4.3  Windows 7-64bit  Samba as a
 PDC  roaming profiles  using
  this mailing list  being able to report the
 problem
  is very limited until today..
 
 
 I am using roaming profiles with windows 7 64 and samba PDC
 / BDCs. I
 am not using 3.4.3 however. Currently we are running 3.5.4.
 I did have
 3.4.6 for a few weeks just after the upgrade from 3.0.37 to
 support
 windows 7. I do not have the 40 minute initial logins.
 However it does
 take me 5 minutes to login and logout on a 100% gigabit
 network every
 single time not just the first time. At some point I will
 look into
 folder redirection on top of the trimming of the profiles
 that I have
 begun..
 
 John
 -- 
 To unsubscribe from this list go to the following URL and
 read the
 instructions:  https://lists.samba.org/mailman/options/samba
 


  
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Listing Domain Local Groups from a Samba Member (NT4 PDC)

2010-06-30 Thread Mark Sheard
Good Morning to all,
Sorry if this is spam to some of you, not sure if this 
is more technical or not...

Considering i have been fighting for a week now on this trying all
possible checks and configs out there on the net, i thought i better 
come to the experts. ;o)
My last resort is to upgrade to latest samba ver which might help but i
think the bug was not fixed in this version not sure.. :o\
I have Ubuntu version 10.04
Samba ver  3.0.28a-1ubuntu4.12

Here is the Bug/problem:
I am unable to list Domain Local Groups but Domain Global Groups
are fine in winbind. I would like to know winbind is working with 
Local Groups first before configuring apache to authenticate to a local 
group and the rest...

I have configured a Samba Member server (Nagios) to talk to a NT Domain PDC.

Here is my Samba cfg.

r...@wfmmon-gbl:/downloads# testparm -s
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
'winbind separator = +' might cause problems with group membership.
Server role: ROLE_DOMAIN_MEMBER
[global]
workgroup = NAMEOFDOMAIN
server string = %h server (Samba, Ubuntu)
security = DOMAIN
map to guest = Bad User
obey pam restrictions = Yes
password server = PDCSVR BDCSVR2 BDCSVR3_CF BDCSVR4 BDCSVR5_cf
passdb backend = tdbsam
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n 
*Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
name resolve order = lmhosts host wins bcast
unix extensions = No
printcap name = cups
disable spoolss = Yes
preferred master = No
local master = No
domain master = No
wins server = 192.168.0.0.1 #( not the real ip)
usershare allow guests = Yes
usershare max shares = 10
panic action = /usr/share/samba/panic-action %d
idmap uid = 1000-20
idmap gid = 1000-20
template shell = /bin/bash
winbind separator = +
winbind cache time = 3600
winbind enum users = Yes
winbind enum groups = Yes
winbind use default domain = Yes
invalid users = root
wide links = No
r...@wfmmon-gbl:/downloads#


Domain Local group   NAGMONGBL
Domain Global group  Domain Users

Example:

I am able to do 

r...@wfmmon-gbl:/downloads# wbinfo --group-info=Domain Users
domain users:x:10004
r...@wfmmon-gbl:/downloads#

But NOT

r...@wfmmon-gbl:/downloads# wbinfo --group-info=NAGMONGBL
Could not get info for group NAGMONGBL
r...@wfmmon-gbl:/downloads#

Checking error logs reveals 

r...@wfmmon-gbl:/downloads# tail -25 /var/log/samba/log.winbindd
[2010/06/30 07:15:55, 1] nsswitch/winbindd_group.c:fill_grent_mem(365)
  could not lookup membership for group sid SIDNUMBER in domain NAMEOFDOMAIN 
(error: NT_STATUS_NO_SUCH_GROUP)

I am able to resolve the sid to name 

r...@wfmmon-gbl:/downloads# wbinfo --sid-to-name=SIDNUMBER
NAMEOFDOMAIN+nagmongbl 4


Additional stuff i tried with group mapping i get
the same error as above with (wbinfo --group-info=NAGMONGBL):
nagmongbl is our local group..
BUILTIN+users is also a local group but works :o\
r...@wfmmon-gbl:/downloads# net groupmap list
nagmongbl (S-1-5-21-1420701450-S-I-D-Number) - nagmonglb
Administrators (S-1-5-32-544) - BUILTIN+administrators
Users (S-1-5-32-545) - BUILTIN+users
r...@wfmmon-gbl:/downloads# getent group nagmonglb
nagmonglb:x:10770:
r...@wfmmon-gbl:/downloads# getent group nagmongbl
r...@wfmmon-gbl:/downloads#
r...@wfmmon-gbl:/downloads# getent group BUILTIN+users
BUILTIN+users:x:10001:administrator,iusr_svr_cf,svr$,svr3$,iwam_svvr_cf,iusr_srv_cf,iwam_svr342_cf,wfmmon-gbl$
r...@wfmmon-gbl:/downloads#


If it comes down to Samba version :
Considering Samba upgrades what would be the best approach? 
to remove or install over the top of existing installation?

Thanks in advance for any input, help, direction that can
be provided here.

Regards

Mark



  
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba