Re: [Samba] smbclient gives strange results

2009-09-14 Thread Nikhil
On Fri, Sep 4, 2009 at 9:01 PM, eje4  wrote:

>
> Hello,
>
> I've been using Samba on a Sun server but we recently discontinued using
> the
> Sun and switched to using Samba on a RH linux server.  I can't get file
> sharing to work on the new server.  When I test the connection to the samba
> server (velar) by running smbclient //velar/homes -U eric I get an error
> message referring to NT_STATUS_BAD_NETWORK_NAME.  I can't find any reason
> for this error because all the names are correct, permissions are correct,
> etc.
>


My first guess would be whether the nmbd process is running on your host?
because that maintains the nameservice for samba process.

-- 
Nikhil

Want to win a laptop? : http://ezlaptop.com/?r=78878
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] New Files do not belong to the User who created them...

2009-09-14 Thread Axel Werner

Thanks Volker! I will test this.


Am 11.09.2009 14:33, Volker Lendecke schrieb:

You've set "inherit owner = yes". That might influence that
behaviour.

Volker
  



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


Re: [Samba] Problems with samba and domain controller

2009-09-14 Thread Carlos Gonzalo Cruz
Ok, and how can I get version 3.4 of samba for LINUX Enterprise Server 9
(i586)?? The latest version of samba in their repositories and for my
platform is samba-3.0.26a-0.9. 

With this version can it works?

Thanks.

Carlos

-Mensaje original-
De: John Drescher [mailto:dresche...@gmail.com] 
Enviado el: viernes, 11 de septiembre de 2009 20:24
Para: Carlos Gonzalo Cruz; samba
Asunto: Re: [Samba] Problems with samba and domain controller

> I have a problem with Samba and a Domain Controller. I have a server which
> it was running with samba and a Windows Server 2000 domain controller, and
> it's was worked correctly. Now the domain controller has been changed for
a
> Windows Server 2008 and now it doesn't work. I need your help to find the
> error. I think that the error is caused for the version of Samba but I'm
not
> sure.
>
> I'm working with SUSE LINUX Enterprise Server 9 (i586) and the version of
> Samba is samba-3.0.20b-3.11 and samba-winbind-3.0.20b-3.4.
>

I would upgrade. The current version of samba is 3.4. Your version is
over 4 years old.

John




--

La Información incluida en el presente correo electrónico es SECRETO
PROFESIONAL Y CONFIDENCIAL, siendo para el uso exclusivo del
destinatario arriba mencionado. Si usted lee este mensaje y no es el
destinatario señalado, el empleado o el agente responsable de entregar
el mensaje al destinatario, o ha recibido esta comunicación por error,
le informamos que esta totalmente prohibida cualquier divulgación,
distribución o reproducción de esta comunicación, y le rogamos que nos
lo notifique inmediatamente y nos devuelva el mensaje original a la
dirección arriba mencionada.

Gracias.

The information contained in this e-mail is LEGALLY PRIVILEDGED AND
CONFIDENTIAL and is intended only for the use of the addressee named
above. If the reader of this message is not the intended recipient or
the employee or agent responsible for delivering the message to the
intended recipient, or you have received this communication in error,
please be aware that any dissemination, distribution or duplication of
this communication is strictly prohibited, and please notify us
immediately and return the original message to us at the address above.

Thank you.


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

Re: [Samba] compiling samba-3.4.x on RHEL4

2009-09-14 Thread Werner Maes
does this this mean we have to wait for 3.4.2?
or is it necessary to open a bug report?

w.

> -Original Message-
> From: Eero Volotinen [mailto:eero.voloti...@iki.fi]
> Sent: donderdag 10 september 2009 18:03
> To: Werner Maes
> Cc: 'Ralf Hornik Mailings'; samba@lists.samba.org
> Subject: Re: [Samba] compiling samba-3.4.x on RHEL4
> 
> Werner Maes kirjoitti:
> > no I haven't yet.
> >
> > perhaps I will try that tomorrow.
> >
> > but I'm wondering if I'm the only one with this error?
> 
> No, looks like this problem comes also with my environment running
> Centos 5.3 32bit. (rhel 5 clone)
> 
> I think that is bug in make rpms system.
> 
> --
> Eero
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Windows 2008 terminal services with a samba PDC

2009-09-14 Thread Thomas Stegbauer
Am 11.09.2009 17:07, schrieb mailinglis...@stegbauer.info:
> Hi everybody,
>
> in reply to
> http://lists.samba.org/archive/samba/2009-September/150448.html
>
> i am running Samba 3.4.0 on Ubuntu 8.04 (from
> http://ppa.launchpad.net/pgquiles/ppa/ubuntu hardy main).
> The tdbsam is within the LDAP Server (created with gosa and Samba 3.0.28).
>
> I installed also two Windows 2008 Server's on the first i have also
> the activated License-Server. (I installed also on the second
> Terminalserver a Licenseserver, but didn't enable it, to get the
> License Manager)
>
> i added the machine to the samba controlled domain. and it complain's
> about missing the licenseserver on both computer's. cant say, if it
> worked before adding it to the domain.
>
> When setting within terminalserver configuration the named license
> server, it say's valid license server found. But even after a reboot,
> the tsconfig.msc complain's about missing license Server.
>
> I checked also the registry http://support.microsoft.com/?kbid=279561
> the server is listed correctly.
> I added also the domainname\nameoftse$ to remote Desktop User's.
>
> Does there already an idea?
>
> greetings
> thomas
>
Hello Thomas,

i have a suspicion.

1.) the license-Server is running in Workgroup-Mode (can be checked in
LicenseManager Properties of the Licenceserver)
2.) your LicenseServer and Terminalserver run both in Licensing perUser

can everybody - running a w2k8tse on a sambadomain - check if the
licenseserver doesn't get found if this properties are set?
Does there exist somebody running a w2k8 tse longer than 120days with
this settings?

greetings
thomas


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


Re: [Samba] smbclient -M

2009-09-14 Thread Lucio Crusca
Marcello Romani wrote:

> Hallo,
> I can confirm that if the Messenger service is not running on the
> target machine, then NT_STATUS_BAD_NETWORK_NAME error is returned by
> smbclient -M
> If the messenger service is running, echo "message" | smbclient -M
>  works instead.

Thank you very much, I'm quite surprised the messenger service is not 
running on the clients of that LAN, but I take it and check ASAP.

However the smbclient manpage is misleading, it says:
"If they are not running WinPopup the message will be lost, and no error 
message will occur".

So is this a documentation bug or a bug in smbclient code? 

Assuming a documentation bug, I think there's a bug in the code anyway, 
because NT_STATUS_BAD_NETWORK_NAME is not the most obvious error message 
smbclient could give in that case...

-- 
Virtual Bit di Lucio Crusca
http://www.virtual-bit.com


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


Re: [Samba] Windows 2008 terminal services with a samba PDC

2009-09-14 Thread Thomas Six

Hi Thomas Stegbauer,

The terminal is indeed  licensed in PerUser mode. But where can I find 
if he is running in Workgroupmode or domain mode?


Kind regards,

Thomas Six

Thomas Stegbauer schreef:

Am 11.09.2009 17:07, schrieb mailinglis...@stegbauer.info:
  

Hi everybody,

in reply to
http://lists.samba.org/archive/samba/2009-September/150448.html

i am running Samba 3.4.0 on Ubuntu 8.04 (from
http://ppa.launchpad.net/pgquiles/ppa/ubuntu hardy main).
The tdbsam is within the LDAP Server (created with gosa and Samba 3.0.28).

I installed also two Windows 2008 Server's on the first i have also
the activated License-Server. (I installed also on the second
Terminalserver a Licenseserver, but didn't enable it, to get the
License Manager)

i added the machine to the samba controlled domain. and it complain's
about missing the licenseserver on both computer's. cant say, if it
worked before adding it to the domain.

When setting within terminalserver configuration the named license
server, it say's valid license server found. But even after a reboot,
the tsconfig.msc complain's about missing license Server.

I checked also the registry http://support.microsoft.com/?kbid=279561
the server is listed correctly.
I added also the domainname\nameoftse$ to remote Desktop User's.

Does there already an idea?

greetings
thomas



Hello Thomas,

i have a suspicion.

1.) the license-Server is running in Workgroup-Mode (can be checked in
LicenseManager Properties of the Licenceserver)
2.) your LicenseServer and Terminalserver run both in Licensing perUser

can everybody - running a w2k8tse on a sambadomain - check if the
licenseserver doesn't get found if this properties are set?
Does there exist somebody running a w2k8 tse longer than 120days with
this settings?

greetings
thomas


  


--
Met vriendelijke groeten,

Thomas Six

Schaubroeck informatica
Tel 0032 9 389 0526


 DISCLAIMER 
http://www.schaubroeck.be/maildisclaimer.htm
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Windows 2008 terminal services with a samba PDC

2009-09-14 Thread Thomas Stegbauer
Hi Thomas Six,

start the Terminserver License Manager, rightclick the Licenseserver and
klick properties (hopefully correctly translated, have no english gui here)

Then there is Information menu, where it show's the path where the keys
are located and the mode. the mode can be: Workgroup, Domain, Forest.
But Domain and Forest are only there, when it is integrated into a AD.
http://technet.microsoft.com/de-de/library/cc772071%28WS.10%29.aspx


When the Terminalserver doesn't find a Licenseserver, it complains in
the lower right corner, when an Administrator is logged in:
http://technet.microsoft.com/de-de/library/cc732346%28WS.10%29.aspx
i dont have such an information.

greetings
thomas



Am 14.09.2009 13:32, schrieb Thomas Six:
> Hi Thomas Stegbauer,
> 
> The terminal is indeed  licensed in PerUser mode. But where can I find
> if he is running in Workgroupmode or domain mode?
> 
> Kind regards,
> 
> Thomas Six
> 
> Thomas Stegbauer schreef:
>> Am 11.09.2009 17:07, schrieb mailinglis...@stegbauer.info:
>>  
>>> Hi everybody,
>>>
>>> in reply to
>>> http://lists.samba.org/archive/samba/2009-September/150448.html
>>>
>>> i am running Samba 3.4.0 on Ubuntu 8.04 (from
>>> http://ppa.launchpad.net/pgquiles/ppa/ubuntu hardy main).
>>> The tdbsam is within the LDAP Server (created with gosa and Samba
>>> 3.0.28).
>>>
>>> I installed also two Windows 2008 Server's on the first i have also
>>> the activated License-Server. (I installed also on the second
>>> Terminalserver a Licenseserver, but didn't enable it, to get the
>>> License Manager)
>>>
>>> i added the machine to the samba controlled domain. and it complain's
>>> about missing the licenseserver on both computer's. cant say, if it
>>> worked before adding it to the domain.
>>>
>>> When setting within terminalserver configuration the named license
>>> server, it say's valid license server found. But even after a reboot,
>>> the tsconfig.msc complain's about missing license Server.
>>>
>>> I checked also the registry http://support.microsoft.com/?kbid=279561
>>> the server is listed correctly.
>>> I added also the domainname\nameoftse$ to remote Desktop User's.
>>>
>>> Does there already an idea?
>>>
>>> greetings
>>> thomas
>>>
>>> 
>> Hello Thomas,
>>
>> i have a suspicion.
>>
>> 1.) the license-Server is running in Workgroup-Mode (can be checked in
>> LicenseManager Properties of the Licenceserver)
>> 2.) your LicenseServer and Terminalserver run both in Licensing perUser
>>
>> can everybody - running a w2k8tse on a sambadomain - check if the
>> licenseserver doesn't get found if this properties are set?
>> Does there exist somebody running a w2k8 tse longer than 120days with
>> this settings?
>>
>> greetings
>> thomas
>>
>>
>>   
> 

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


Re: [Samba] Windows 2008 terminal services with a samba PDC

2009-09-14 Thread Thomas Six

Hi Thomas Stegbauer,

I've found it :) It's workgroup mode and no complains in the right corner.

regard,

Thomas

Thomas Stegbauer schreef:

Hi Thomas Six,

start the Terminserver License Manager, rightclick the Licenseserver and
klick properties (hopefully correctly translated, have no english gui here)

Then there is Information menu, where it show's the path where the keys
are located and the mode. the mode can be: Workgroup, Domain, Forest.
But Domain and Forest are only there, when it is integrated into a AD.
http://technet.microsoft.com/de-de/library/cc772071%28WS.10%29.aspx


When the Terminalserver doesn't find a Licenseserver, it complains in
the lower right corner, when an Administrator is logged in:
http://technet.microsoft.com/de-de/library/cc732346%28WS.10%29.aspx
i dont have such an information.

greetings
thomas



Am 14.09.2009 13:32, schrieb Thomas Six:
  

Hi Thomas Stegbauer,

The terminal is indeed  licensed in PerUser mode. But where can I find
if he is running in Workgroupmode or domain mode?

Kind regards,

Thomas Six

Thomas Stegbauer schreef:


Am 11.09.2009 17:07, schrieb mailinglis...@stegbauer.info:
 
  

Hi everybody,

in reply to
http://lists.samba.org/archive/samba/2009-September/150448.html

i am running Samba 3.4.0 on Ubuntu 8.04 (from
http://ppa.launchpad.net/pgquiles/ppa/ubuntu hardy main).
The tdbsam is within the LDAP Server (created with gosa and Samba
3.0.28).

I installed also two Windows 2008 Server's on the first i have also
the activated License-Server. (I installed also on the second
Terminalserver a Licenseserver, but didn't enable it, to get the
License Manager)

i added the machine to the samba controlled domain. and it complain's
about missing the licenseserver on both computer's. cant say, if it
worked before adding it to the domain.

When setting within terminalserver configuration the named license
server, it say's valid license server found. But even after a reboot,
the tsconfig.msc complain's about missing license Server.

I checked also the registry http://support.microsoft.com/?kbid=279561
the server is listed correctly.
I added also the domainname\nameoftse$ to remote Desktop User's.

Does there already an idea?

greetings
thomas




Hello Thomas,

i have a suspicion.

1.) the license-Server is running in Workgroup-Mode (can be checked in
LicenseManager Properties of the Licenceserver)
2.) your LicenseServer and Terminalserver run both in Licensing perUser

can everybody - running a w2k8tse on a sambadomain - check if the
licenseserver doesn't get found if this properties are set?
Does there exist somebody running a w2k8 tse longer than 120days with
this settings?

greetings
thomas


  
  


  


--
Met vriendelijke groeten,

Thomas Six

Schaubroeck informatica
Tel 0032 9 389 0526


 DISCLAIMER 
http://www.schaubroeck.be/maildisclaimer.htm
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Windows 2008 terminal services with a samba PDC

2009-09-14 Thread Thomas Stegbauer
Hi all,

does there exist a windows 2008 running on a samba domain with per-user
licensing and running longer than 120day's?

an other question. are you sure, there was no error in the tsconfig
before you added it the the samba-domain? cause i discovered it after
it. and i found also an german list, where somebody had troubles with
the licensing, but running in a workgroup.
http://www.mcseboard.de/windows-forum-ms-backoffice-31/probleme-lizenzserver-terminalserver-2-151286.html


greetings
thomas


Am 14.09.2009 14:12, schrieb Thomas Six:
> Hi Thomas Stegbauer,
> 
> I've found it :) It's workgroup mode and no complains in the right corner.
> 
> regard,
> 
> Thomas
> 
> Thomas Stegbauer schreef:
>> Hi Thomas Six,
>>
>> start the Terminserver License Manager, rightclick the Licenseserver and
>> klick properties (hopefully correctly translated, have no english gui
>> here)
>>
>> Then there is Information menu, where it show's the path where the keys
>> are located and the mode. the mode can be: Workgroup, Domain, Forest.
>> But Domain and Forest are only there, when it is integrated into a AD.
>> http://technet.microsoft.com/de-de/library/cc772071%28WS.10%29.aspx
>>
>>
>> When the Terminalserver doesn't find a Licenseserver, it complains in
>> the lower right corner, when an Administrator is logged in:
>> http://technet.microsoft.com/de-de/library/cc732346%28WS.10%29.aspx
>> i dont have such an information.
>>
>> greetings
>> thomas
>>
>>
>>
>> Am 14.09.2009 13:32, schrieb Thomas Six:
>>  
>>> Hi Thomas Stegbauer,
>>>
>>> The terminal is indeed  licensed in PerUser mode. But where can I find
>>> if he is running in Workgroupmode or domain mode?
>>>
>>> Kind regards,
>>>
>>> Thomas Six
>>>
>>> Thomas Stegbauer schreef:
>>>
 Am 11.09.2009 17:07, schrieb mailinglis...@stegbauer.info:
  
  
> Hi everybody,
>
> in reply to
> http://lists.samba.org/archive/samba/2009-September/150448.html
>
> i am running Samba 3.4.0 on Ubuntu 8.04 (from
> http://ppa.launchpad.net/pgquiles/ppa/ubuntu hardy main).
> The tdbsam is within the LDAP Server (created with gosa and Samba
> 3.0.28).
>
> I installed also two Windows 2008 Server's on the first i have also
> the activated License-Server. (I installed also on the second
> Terminalserver a Licenseserver, but didn't enable it, to get the
> License Manager)
>
> i added the machine to the samba controlled domain. and it complain's
> about missing the licenseserver on both computer's. cant say, if it
> worked before adding it to the domain.
>
> When setting within terminalserver configuration the named license
> server, it say's valid license server found. But even after a reboot,
> the tsconfig.msc complain's about missing license Server.
>
> I checked also the registry http://support.microsoft.com/?kbid=279561
> the server is listed correctly.
> I added also the domainname\nameoftse$ to remote Desktop User's.
>
> Does there already an idea?
>
> greetings
> thomas
>
> 
 Hello Thomas,

 i have a suspicion.

 1.) the license-Server is running in Workgroup-Mode (can be checked in
 LicenseManager Properties of the Licenceserver)
 2.) your LicenseServer and Terminalserver run both in Licensing perUser

 can everybody - running a w2k8tse on a sambadomain - check if the
 licenseserver doesn't get found if this properties are set?
 Does there exist somebody running a w2k8 tse longer than 120days with
 this settings?

 greetings
 thomas


 
>>
>>   
> 

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


Re: [Samba] Windows 2008 terminal services with a samba PDC

2009-09-14 Thread Thomas Six

Hi,

When I put my terminal server in a workgroup again, the  licenseserver 
is found. So It has something to do with the samba domain.


regards,

Thomas

Thomas Stegbauer schreef:

Hi all,

does there exist a windows 2008 running on a samba domain with per-user
licensing and running longer than 120day's?

an other question. are you sure, there was no error in the tsconfig
before you added it the the samba-domain? cause i discovered it after
it. and i found also an german list, where somebody had troubles with
the licensing, but running in a workgroup.
http://www.mcseboard.de/windows-forum-ms-backoffice-31/probleme-lizenzserver-terminalserver-2-151286.html


greetings
thomas


Am 14.09.2009 14:12, schrieb Thomas Six:
  

Hi Thomas Stegbauer,

I've found it :) It's workgroup mode and no complains in the right corner.

regard,

Thomas

Thomas Stegbauer schreef:


Hi Thomas Six,

start the Terminserver License Manager, rightclick the Licenseserver and
klick properties (hopefully correctly translated, have no english gui
here)

Then there is Information menu, where it show's the path where the keys
are located and the mode. the mode can be: Workgroup, Domain, Forest.
But Domain and Forest are only there, when it is integrated into a AD.
http://technet.microsoft.com/de-de/library/cc772071%28WS.10%29.aspx


When the Terminalserver doesn't find a Licenseserver, it complains in
the lower right corner, when an Administrator is logged in:
http://technet.microsoft.com/de-de/library/cc732346%28WS.10%29.aspx
i dont have such an information.

greetings
thomas



Am 14.09.2009 13:32, schrieb Thomas Six:
 
  

Hi Thomas Stegbauer,

The terminal is indeed  licensed in PerUser mode. But where can I find
if he is running in Workgroupmode or domain mode?

Kind regards,

Thomas Six

Thomas Stegbauer schreef:
   


Am 11.09.2009 17:07, schrieb mailinglis...@stegbauer.info:
 
 
  

Hi everybody,

in reply to
http://lists.samba.org/archive/samba/2009-September/150448.html

i am running Samba 3.4.0 on Ubuntu 8.04 (from
http://ppa.launchpad.net/pgquiles/ppa/ubuntu hardy main).
The tdbsam is within the LDAP Server (created with gosa and Samba
3.0.28).

I installed also two Windows 2008 Server's on the first i have also
the activated License-Server. (I installed also on the second
Terminalserver a Licenseserver, but didn't enable it, to get the
License Manager)

i added the machine to the samba controlled domain. and it complain's
about missing the licenseserver on both computer's. cant say, if it
worked before adding it to the domain.

When setting within terminalserver configuration the named license
server, it say's valid license server found. But even after a reboot,
the tsconfig.msc complain's about missing license Server.

I checked also the registry http://support.microsoft.com/?kbid=279561
the server is listed correctly.
I added also the domainname\nameoftse$ to remote Desktop User's.

Does there already an idea?

greetings
thomas




Hello Thomas,

i have a suspicion.

1.) the license-Server is running in Workgroup-Mode (can be checked in
LicenseManager Properties of the Licenceserver)
2.) your LicenseServer and Terminalserver run both in Licensing perUser

can everybody - running a w2k8tse on a sambadomain - check if the
licenseserver doesn't get found if this properties are set?
Does there exist somebody running a w2k8 tse longer than 120days with
this settings?

greetings
thomas



  
  
  


  


--
Met vriendelijke groeten,

Thomas Six

Schaubroeck informatica
Tel 0032 9 389 0526


 DISCLAIMER 
http://www.schaubroeck.be/maildisclaimer.htm
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] compiling samba-3.4.x on RHEL4

2009-09-14 Thread Werner Maes
thank you !

werner

> -Original Message-
> From: ee...@welho.com [mailto:ee...@welho.com]
> Sent: maandag 14 september 2009 14:32
> To: Werner Maes
> Cc: 'Eero Volotinen'; 'Ralf Hornik Mailings'
> Subject: RE: [Samba] compiling samba-3.4.x on RHEL4
> 
> I just opened bug about this:
> 
> https://bugzilla.samba.org/show_bug.cgi?id=6721
> 
> Please add, if any comments or ideas.
> 
> thanks
> --
> Eero,
> RHCE
> 
> 

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


Re: [Samba] pam_winbind seems unable to return full list of trusted relationship domain members

2009-09-14 Thread Lazarus Long
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Lazarus Long wrote:
> Our scenario:
> - Our domain (ABRANTINA) is a Windows 2003R2 AD (RFC2307 enabled)
> - Trusted domain (REDE-LC) is a Windows 2003R2 AD
> - cafs01tst is a Debian "stable" based SAMBA 3.2.5 file server
> 
> Our goal:
> - Serve home and shares for users of both domains ABRANTINA and REDE-LC
> 
> Our implementation:
> (following guidelines from "Samba-3 by Example", and misc info gathered
> from the net)
> - Configured MIT Kerberos with info for both domains
> - Configured PAM to use pam_winbind
> - Configured NSS to use nss_winbind
> - Configured SAMBA to use the ADS security mechanism
> - Joined cafs01tst to ABRANTINA domain
> 
> Our problems:
> - Users from REDE-LC domain are unable to access cafs01tst, being asked
>   for a username/password pair (ABRANTINA users access without problem)
> - "getent passwd" only lists five REDE-LC users (always the same five),
>   while "wbinfo -u" lists all
> - SSH logging on to the system from REDE-LC users fails with
>   "pam_sm_authenticate returning 10" (ABRANTINA users access without
>   problem)

Can anybody be so kind to try to help us out here? Although the SAMBA
documentation states that this works we have been unable to get it right.

Thank you very much,

- --
Lazarus Long


+--+
| PGP or GnuPG Key:|
| http://wwwkeys.eu.pgp.net:11371/pks/lookup?search=0x5C1DC205 |
+--+

Please do not send me attachments in proprietary formats
without request (i.e. Word, PowerPoint or Excel documents),
see 

Por favor não me envie anexos em formatos proprietários sem que
os tenha pedido (p.e. documentos em Word, PowerPoint ou Excel),
veja 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkquQDIACgkQCXRGvVwdwgUHuACfWW7GnnqcOda1CrMEhp2DVDaH
eX0AoMTbopqYjJjc+yqBa9bHPDPZwcZK
=Lpp5
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

[Samba] smbcontrol winbindd online and kinit

2009-09-14 Thread Vincent
Hi list,

Can winbind automatically renew kerberos tickets when network come back
online ?
On my distribution (OpenSUSE 11.1), NetworkManager scripts correctly call
"smbcontrol winbindd online"
but when I look in the logs (/var/log/samba/log.wb-DOMAIN) :

kinit failed for 'r...@inetpsa.com' with: Client not found in Kerberos
database.

It sounds like winbind try to renew tickets of root and not tickets of users
logged with a AD account.
Bug ? Or winbind is not currently able to find this users ?

My samba version : 3.2.7

Thanks for your help :-)

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


[Samba] Fwd: Problems with samba and domain controller

2009-09-14 Thread John Drescher
On Mon, Sep 14, 2009 at 5:01 AM, Carlos Gonzalo Cruz
 wrote:
> Ok, and how can I get version 3.4 of samba for LINUX Enterprise Server 9
> (i586)?? The latest version of samba in their repositories and for my
> platform is samba-3.0.26a-0.9.
>
> With this version can it works?
>

That is suse right?

http://ftp.sernet.de/pub/samba/experimental/sles/9/i386/

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


[Samba] Help With Permissions

2009-09-14 Thread Carlos Williams
I am running Samba on my Linux file server and have a question with
permissions. My current directory for the share is:

drwsrwsr-x   7 root dev  4096 Aug 31 13:33 builds

As you can see from above the /builds directory is owned by root & dev
but also have r-x permissions for others. My question is how to I
force samba to keep the owner root and group dev for all files placed
inside my share? I want to force the parent UID & GID and keep 775
permissions on everything. Is this possible to force in my smb.conf?

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


[Samba] Share home with samba 4

2009-09-14 Thread raragao

Hi, 

How to share homes directories with samba 4.

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


[Samba] Samba PDC + OpenLDAP, Jaunty: Can't join domain

2009-09-14 Thread Christopher Swingley
Greetings!

I'm trying to get an OpenLDAP (2.4.15-1ubuntu3), Samba PDC
(2:3.3.2-1ubuntu3.1) running under Ubuntu Jaunty.  I've followed the
instructions on the Ubuntu server guide
(https://help.ubuntu.com/9.04/serverguide/C/samba-ldap.html) as closely
as possible (twice. . .), and spent some time with Chapter 5 of the
Samba3 By Example book, trying to use it to get things working.  But I
can't seem to join a computer to the domain, and I've run out of ideas.
I'd like some help trying to identify where I've gone wrong and how to
get the server to allow desktops to join.

There are three user accounts in the LDAP database, 'nobody', 'root' and
'cswingley':

# ldapsearch -xLLL -b 'ou=People,dc=abrinc,dc=com' uid uidNumber
dn: ou=People,dc=abrinc,dc=com

dn: uid=root,ou=People,dc=abrinc,dc=com
uid: root
uidNumber: 0

dn: uid=nobody,ou=People,dc=abrinc,dc=com
uid: nobody
uidNumber: 65534

dn: uid=cswingley,ou=People,dc=abrinc,dc=com
uid: cswingley
uidNumber: 522

Both 'root' and 'cswingley' are able to connect to the server with
smbclient using their account passwords set up in LDAP.  Both accounts
are also in the "Domain Admins" group:

# getent group | grep "Domain Admins"
Domain Admins:*:512:root,cswingley

'cswingley' has the SeMachineAccountPrivilege right, as does the "Domain
Admins" group:

# net rpc rights list accounts -U root%PASSWD
TESTDOM\cswingley
SeMachineAccountPrivilege

TESTDOM\Domain Admins
SeMachineAccountPrivilege
SeRemoteShutdownPrivilege
SePrintOperatorPrivilege
SeAddUsersPrivilege
SeDiskOperatorPrivilege

Here are a few of the /etc/samba/smb.conf settings that seem relevant:

passdb backend = ldapsam:ldap://127.0.0.1
ldap admin dn = cn=admin,dc=test,dc=com
add machine script = sudo /usr/sbin/smbldap-useradd -t 0 -w "%u"
domain logons = yes
wins support = yes
log level = 3 passdb:10 auth:10

When I try to join a Windows XP SP3 computer to the domain as 'root' (or
'TESTDOM\root'), I get 'Logon failure: unknown user or bad password'.
When I try to join using my account (cswingley), I get 'Access is
denied'.  Adding the computer to LDAP manually using 
'smbldap-useradd -w' doesn't make a difference.

I'm not seeing anything in the logs that look like login failures or
some other obvious mistake errors, so I don't know where to go next or
what else to try.  I feel like I'm missing something very simple,
because everything goes exactly as expected when I follow along in the
guides.  But at the end of the day, it doesn't work.  Help and advice
greatly appreciated.

Thanks!

Chris
-- 
Christopher S. Swingley
http://swingleydev.com/


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


Re: [Samba] Fwd: Problems with samba and domain controller

2009-09-14 Thread Christian
Hi John, Carlos

John Drescher schrieb:
> On Mon, Sep 14, 2009 at 5:01 AM, Carlos Gonzalo Cruz
>  wrote:
>   
>
> That is suse right?
>
> http://ftp.sernet.de/pub/samba/experimental/sles/9/i386/
>   
No, better use:

http://download.opensuse.org/repositories/network:/samba:/STABLE/SLES_9/

Chris

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


Re: [Samba] Help With Permissions

2009-09-14 Thread Christian
Hi Carlos

Carlos Williams schrieb:
> I am running Samba on my Linux file server and have a question with
> permissions. My current directory for the share is:
>
> drwsrwsr-x   7 root dev  4096 Aug 31 13:33 builds
>
> As you can see from above the /builds directory is owned by root & dev
> but also have r-x permissions for others. My question is how to I
> force samba to keep the owner root and group dev for all files placed
> inside my share? I want to force the parent UID & GID and keep 775
> permissions on everything. Is this possible to force in my smb.conf?
>
> Thanks for any help!
>   
create mask = 0644
directory mask = 0755

force user = root
force group = dev

Chris

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


[Samba] Samba server masquerading as another...

2009-09-14 Thread Ray Van Dolson
We're doing a test deployment of a Samba 3.0.33 server (RHEL 5.4) which
is slated to replace two existing file servers -- one running Windows
2003 (known as qalab_server) and another running Samba (known as
qalinux).

We've brought the new server up and are trying to test client access to
it to both DNS names by overriding the hosts files on certain clients.

>From a Linux client, overriding the IP in DNS for qalinux and
qalab_server works fine.. our Linux client can connect and access
shares via both names just fine.

>From a Windows XP client, while the qalinux name works fine, the
qalab_server name pops up and authentication prompt and the following
appears in the smbd.log file on the new server:

 [2009/09/14 17:35:14, 1] smbd/sesssetup.c:reply_spnego_kerberos(316)
  Failed to verify incoming ticket with error NT_STATUS_LOGON_FAILURE!
 
Do XP clients do some additional checking to see if there's another
server out there with the same name?  We've modifed both the hosts and
lmhosts file on the XP client and also tried setting up the "netbios
aliases" config option on the new server to no avail.

At one point I noticed an error in nmbd.log file:

[2009/09/14 17:11:50, 0] nmbd/nmbd_nameregister.c:register_name_response(130)
  register_name_response: server at IP 10.49.4.92 rejected our name 
registration of QALAB_SERVER<20> IP 10.49.104.69 with error code 6.

Indicating that we probably lost some sort of election to the "real"
Win 2k3 server... however, the Fedora client via smbclient still
happily connects without complaints with the QALAB_SERVER name...

Any ideas here?

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


[Samba] doc & examples bug regarding 'xattr' special switch need

2009-09-14 Thread Linda Walsh
This may already be fixed, but various places talk about the need
for a 'user_xattr' switch on mounts to use extended attributes.

I've never known 'xfs' to have such a switch -- if they are enabled
in the kernel, they just work -- I tried it.

I also tried adding the switch and verified it is not an accepted
switch for XFS.   Is the documentation referring to some newer
filesystem that has incompatible options (regarding external 
attributes)?   

I'm running a stock SuSE kernel and they are enabled by default (and
fully available to non-root users).  

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


[Samba] How to get Default builtins added?

2009-09-14 Thread Linda Walsh
I recently decided to upgrade to the tdbsam: backend, but I'm
missing the built-security principles.

Do I need to go back to the smbpasswd backend, and add them in
the file *first* before converting?

I had them there at one point, but I think I think I deleted 
them because they weren't working.  Cygwin's mkgroup command couldn't
seem to pull in the groups from my samba server). But, by default, 
files I create through the 'gui' get created with group '513' (Domain
User).

Any scripts to add the default principles to a newly
converted TDBSAM?

Thanks for any help...been hitting the Samba-3 howto book and
the pdf updates and man pages to no avail, and my fingers are 
falling off (sigh).

linda

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


Re: [Samba] How to get Default builtins added?

2009-09-14 Thread Linda Walsh
FYI -- I tried adding then with pdbedit but it said they don't exist
in /etc/passwd -- but they 'do'...just with not the same exact names.

I was going to use the 'map' command to map the names from the tdbsam
to the unix side, but I have to get them into the tdb sam first.

Also, I really wasn't clear about how I am to add the principles -- 
I know the form of the sids, but isn't a large part of it to be
filled in by the samba-server when I add the user?


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