[Samba] Samba configuration question

2010-04-19 Thread Song, Young
 

Hi,

 

 

I have a top-level directory called /data existing on a Solaris server
that I'd like to make browsable and readonly by anybody at my company.

 

Let's say I have the following in my smb.conf.

 

What if I want to share /data's subdirectories (e.g., /data/01,
/data/02, /data/01/group1, /data/01/group2, etc.) writeable by only
authorized users per subdirectory? Could someone please give me some
examples?

 

 

[global]

   workgroup = Alpha

   netbios name = dataserver01

   security = share

 

[interface]

   path = /data

   available = yes

   browsable = yes

   public = yes

   writeable = yes

   guest ok = yes

   readonly = yes

 

 

Thanks in advance.

 

 

- Young

 

 

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


Re: [Samba] Samba configuration question

2010-04-19 Thread John Drescher
On Mon, Apr 19, 2010 at 2:19 PM, Song, Young young.s...@novellus.com wrote:


 Hi,





 I have a top-level directory called /data existing on a Solaris server
 that I'd like to make browsable and readonly by anybody at my company.



 Let's say I have the following in my smb.conf.



 What if I want to share /data's subdirectories (e.g., /data/01,
 /data/02, /data/01/group1, /data/01/group2, etc.) writeable by only
 authorized users per subdirectory? Could someone please give me some
 examples?


I would set the appropriate POSIX ACLs in your host filesystem.

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


[Samba] samba configuration

2010-03-07 Thread omar sarabia
How I use an option similar to revalidate. I need users to enter your USER
and password each time they open the shared folder.

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


[Samba] Samba configuration problem with Apple Leopard

2010-02-04 Thread Arzilla Flavio
Hi,

 

I have a problem with samba configuration. I have a server with Fedora
11, and few servers Windows 2003, Linux and Apple.

Samba works very well with Linux and Windows but not with Apple Leopard.

In my station I have another linux servers and that works very well with
Apple. I don't understand where is the problem with Fedora 11.

Best regards

Flavio

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


Re: [Samba] Samba configuration problem with Apple Leopard

2010-02-04 Thread Gaiseric Vandal

On 02/04/10 11:34, Arzilla Flavio wrote:

Hi,



I have a problem with samba configuration. I have a server with Fedora
11, and few servers Windows 2003, Linux and Apple.

Samba works very well with Linux and Windows but not with Apple Leopard.

In my station I have another linux servers and that works very well with
Apple. I don't understand where is the problem with Fedora 11.

Best regards

Flavio

   


What this the other linux distro/version?   What is the other samba 
version?  Did you check the firewall and selinux settings on the FC11 
machine?





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


[Samba] Samba Configuration

2009-11-17 Thread Ankit Sahai
Hello,
How to configure samba on debian m/c having kernel 2.6.22 as I want to share
a folder on my PC with other linux and windows machines on my network. Also
tell the packages need to be installed.


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


Re: [Samba] Samba Configuration

2009-11-17 Thread Eero Volotinen

Ankit Sahai wrote:

Hello,
How to configure samba on debian m/c having kernel 2.6.22 as I want to share
a folder on my PC with other linux and windows machines on my network. Also
tell the packages need to be installed.


man apt-cache - documentation for apt-get (how to search package names, 
try something like samba)


http://www.samba.org/samba/docs/man/Samba-Guide/ - documentation for 
basic configuration of samba.


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


Re: [Samba] Samba configuration error

2009-07-08 Thread David Christensen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Norberto Bensa wrote:
 On Tue, Jul 7, 2009 at 8:52 PM, David
 Christensendavid.christen...@viveli.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Norberto Bensa wrote:
 On Tue, Jul 7, 2009 at 8:27 PM, Norberto Bensanbe...@gmail.com wrote:
 On Tue, Jul 7, 2009 at 8:18 PM, David
 Christensendavid.christen...@viveli.com wrote:
 passdb backend = ldapsam:ldap://127.0.0.1
 That should be plain. I.e. no tls/ssl.
 I'm sorry. That could be TLS if the server supports it.
 I took a look at the /var/log/message log and see:
 
 with ldap ssl = off ???

Yes, as soon as I enable ldapsam as the password DB, even with ldap ssl
= off, smb keeps trying to do a StartTLS.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkpUsA8ACgkQ5B+8XEnAvqsCBACgjZBrPSL6isf4Z8oDzFj++u+r
OqwAn3toI2Wsd9t8DMbK4zWLkZtEyY/X
=jj/h
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba configuration error

2009-07-08 Thread Norberto Bensa
On Wed, Jul 8, 2009 at 11:41 AM, David
Christensendavid.christen...@viveli.com wrote:
 I took a look at the /var/log/message log and see:

 with ldap ssl = off ???

 Yes, as soon as I enable ldapsam as the password DB, even with ldap ssl
 = off, smb keeps trying to do a StartTLS.

I'm out of ideas and I don't use Fedora. Maybe you want to post your
config files.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba configuration error

2009-07-08 Thread Jonathon Doran

On Wed, Jul 8, 2009 at 11:41 AM, David
Christensendavid.christen...@viveli.com wrote:

I took a look at the /var/log/message log and see:


with ldap ssl = off ???


Yes, as soon as I enable ldapsam as the password DB, even with ldap ssl
= off, smb keeps trying to do a StartTLS.


Did you put ssl off in ldap.conf?
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba configuration error

2009-07-08 Thread David Christensen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jonathon Doran wrote:
 On Wed, Jul 8, 2009 at 11:41 AM, David
 Christensendavid.christen...@viveli.com wrote:
 I took a look at the /var/log/message log and see:
 with ldap ssl = off ???
 Yes, as soon as I enable ldapsam as the password DB, even with ldap ssl
 = off, smb keeps trying to do a StartTLS.
 
 Did you put ssl off in ldap.conf?

I finally got StartTLS turned off, not sure if I had an extra character
in the smb.conf file near ldap ssl, but rewriting the conf file fixed it.

Question, is there a minimum length requirement for the local SID, when
I run net getlocalsid it seems rather short.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkpU2YMACgkQ5B+8XEnAvqvyfACeMXV8T1bddPgsh9TcVBTgTnP5
NVMAn0qDCpeTe4YfI5AcDTrUTdWeDPnt
=oWsQ
-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] Samba configuration error

2009-07-07 Thread David Christensen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Does anyone know what this error means:

[r...@ldap2 samba]# net getlocalsid
[2009/07/07 17:04:00, 0] lib/smbldap.c:smb_ldap_start_tls(600)
Failed to issue the StartTLS instruction: Protocol error
[2009/07/07 17:04:01, 0] lib/smbldap.c:smb_ldap_start_tls(600)
Failed to issue the StartTLS instruction: Protocol error
[2009/07/07 17:04:02, 0] lib/smbldap.c:smb_ldap_start_tls(600)
Failed to issue the StartTLS instruction: Protocol error
[2009/07/07 17:04:03, 0] lib/smbldap_util.c:smbldap_search_domain_info(310)
smbldap_search_domain_info: Adding domain info for FDSAMBA failed with
NT_STATUS_UNSUCCESSFUL
SID for domain LDAP2 is: xyz.

I am trying to install samba on fedora 11 and got this error.  I didnt
get this error when I installed it on f9 or f10.

I also got this error when trying to do the net group map:

[r...@ldap2 MigrationTools-47]# net groupmap add rid=2512
ntgroup='Domain Admins'  unixgroup='Domain Admins'
[2009/07/07 17:16:22,  0] lib/smbldap.c:smb_ldap_start_tls(600)
  Failed to issue the StartTLS instruction: Protocol error
[2009/07/07 17:16:23,  0] lib/smbldap.c:smb_ldap_start_tls(600)
  Failed to issue the StartTLS instruction: Protocol error
[2009/07/07 17:16:24,  0] lib/smbldap.c:smb_ldap_start_tls(600)
  Failed to issue the StartTLS instruction: Protocol error
[2009/07/07 17:16:26,  0] lib/smbldap.c:smb_ldap_start_tls(600)
  Failed to issue the StartTLS instruction: Protocol error
[2009/07/07 17:16:27,  0] lib/smbldap.c:smb_ldap_start_tls(600)
  Failed to issue the StartTLS instruction: Protocol error
adding entry for group Domain Admins failed!


Thanks,

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkpTyi8ACgkQ5B+8XEnAvqthjQCfYpV99pndm0vKk+dVhFpdM6Bj
XSgAn0zs1k3WxmZ3UqrEJqbdE9+O1cVc
=y8G2
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba configuration error

2009-07-07 Thread Norberto Bensa
On Tue, Jul 7, 2009 at 7:20 PM, David
Christensendavid.christen...@viveli.com wrote:

 Does anyone know what this error means:

 [r...@ldap2 samba]# net getlocalsid
 [2009/07/07 17:04:00, 0] lib/smbldap.c:smb_ldap_start_tls(600)
 Failed to issue the StartTLS instruction: Protocol error


What version is your ldap server?

Does it support TLS?

What is your password backend?
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba configuration error

2009-07-07 Thread Jonathon Doran

Quoting Norberto Bensa nbe...@gmail.com:


On Tue, Jul 7, 2009 at 7:20 PM, David
Christensendavid.christen...@viveli.com wrote:


Does anyone know what this error means:

[r...@ldap2 samba]# net getlocalsid
[2009/07/07 17:04:00, 0] lib/smbldap.c:smb_ldap_start_tls(600)
Failed to issue the StartTLS instruction: Protocol error


I completely missed this message to the list.  It may still be on its  
way to me.  Not in my inbox, nor deleted mail.  Oh well, we all have  
bigger things to worry about.


I have to respond, since this TLS stuff gave me fits for a bit.   
Unfortunately I don't remember exactly what I did to make it go away,  
but I think it was adding ssl off to the ldap.conf

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


Re: [Samba] Samba configuration error

2009-07-07 Thread David Christensen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Norberto Bensa wrote:
 On Tue, Jul 7, 2009 at 7:20 PM, David
 Christensendavid.christen...@viveli.com wrote:
 
 Does anyone know what this error means:

 [r...@ldap2 samba]# net getlocalsid
 [2009/07/07 17:04:00, 0] lib/smbldap.c:smb_ldap_start_tls(600)
 Failed to issue the StartTLS instruction: Protocol error
 
 
 What version is your ldap server?
 
 Does it support TLS?
 
 What is your password backend?
I am using FDS, it does support TLS, but I never configured either to
use TLS as part of my testing.  I am using ldapsam.  I did the same
thing with my f9 FDS/Samba install and didn't run into this however one
thing is different,  when I originaly installed the f9 version I was
using smbpasswd and converted to ldapsam.  Does using ldapsam from the
gate require TLS?


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkpT0b8ACgkQ5B+8XEnAvqup/QCfQGg3q9KAaJyrTEvBwDlpDBoL
JH4AoIpn402rRLTtbktQwUcCRBKQbnME
=7ho+
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba configuration error

2009-07-07 Thread Norberto Bensa
On Tue, Jul 7, 2009 at 7:52 PM, David
Christensendavid.christen...@viveli.com wrote:
 I am using FDS, it does support TLS, but I never configured either to
 use TLS as part of my testing.  I am using ldapsam.

password backend = ldapsam:ldaps://something or just ldapsam ?


 Does using ldapsam from the
 gate require TLS?

I always use SSL for ldap.

you can configure samba ldap secure behavior with:

ldap ssl = yes | off | start tls
(default is start tls)
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba configuration error

2009-07-07 Thread David Christensen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Norberto Bensa wrote:
 On Tue, Jul 7, 2009 at 7:52 PM, David
 Christensendavid.christen...@viveli.com wrote:
 I am using FDS, it does support TLS, but I never configured either to
 use TLS as part of my testing.  I am using ldapsam.
 
 password backend = ldapsam:ldaps://something or just ldapsam ?
 
 
 Does using ldapsam from the
 gate require TLS?
 
 I always use SSL for ldap.
 
 you can configure samba ldap secure behavior with:
 
 ldap ssl = yes | off | start tls
 (default is start tls)

passdb backend = ldapsam:ldap://127.0.0.1

I intend to deploy with SSL just didn't want to use it during my initial
tests.  So by default with nothing specified in smb.conf TLS is on?  If
so something must have been broken in f9 because it was not explicitly
stated.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkpT18sACgkQ5B+8XEnAvqv+VgCfTPx1+jU70zlLh2Grbaa5DbjZ
EdkAnRfIaYo3iiPyJlWDjFgCV3L6rVy4
=rsNF
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba configuration error

2009-07-07 Thread Norberto Bensa
On Tue, Jul 7, 2009 at 8:18 PM, David
Christensendavid.christen...@viveli.com wrote:
 passdb backend = ldapsam:ldap://127.0.0.1

That should be plain. I.e. no tls/ssl.


 I intend to deploy with SSL just didn't want to use it during my initial
 tests.  So by default with nothing specified in smb.conf TLS is on?  If
 so something must have been broken in f9 because it was not explicitly
 stated.

Maybe the behavior of ldap ssl changed between f9/10 and 11.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba configuration error

2009-07-07 Thread Norberto Bensa
On Tue, Jul 7, 2009 at 8:27 PM, Norberto Bensanbe...@gmail.com wrote:
 On Tue, Jul 7, 2009 at 8:18 PM, David
 Christensendavid.christen...@viveli.com wrote:
 passdb backend = ldapsam:ldap://127.0.0.1

 That should be plain. I.e. no tls/ssl.

I'm sorry. That could be TLS if the server supports it.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba configuration error

2009-07-07 Thread David Christensen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Norberto Bensa wrote:
 On Tue, Jul 7, 2009 at 8:27 PM, Norberto Bensanbe...@gmail.com wrote:
 On Tue, Jul 7, 2009 at 8:18 PM, David
 Christensendavid.christen...@viveli.com wrote:
 passdb backend = ldapsam:ldap://127.0.0.1
 That should be plain. I.e. no tls/ssl.
 
 I'm sorry. That could be TLS if the server supports it.

I took a look at the /var/log/message log and see:

smbd continuing to use: lib/smbldap.c:smb_ldap_start_tls, which is
failing also
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkpT378ACgkQ5B+8XEnAvquwugCfXNNBgwGKWLFo0Nuwlux4un7X
BxoAnRuzyosQhroiJ0wd1pYsvx7n6srg
=Bul8
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba configuration error

2009-07-07 Thread Norberto Bensa
On Tue, Jul 7, 2009 at 8:52 PM, David
Christensendavid.christen...@viveli.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Norberto Bensa wrote:
 On Tue, Jul 7, 2009 at 8:27 PM, Norberto Bensanbe...@gmail.com wrote:
 On Tue, Jul 7, 2009 at 8:18 PM, David
 Christensendavid.christen...@viveli.com wrote:
 passdb backend = ldapsam:ldap://127.0.0.1
 That should be plain. I.e. no tls/ssl.

 I'm sorry. That could be TLS if the server supports it.

 I took a look at the /var/log/message log and see:

with ldap ssl = off ???
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Samba configuration issue

2009-06-26 Thread David Christensen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I configured samba to work with an FDS backend using a howto from the
Fedora Directory Server site.  The howto had me create a Administrator
user in LDAP with UID/GID of 0.  Now when anyone logs in as root and do
a whoami it comes back as Administrator.  If I delete the Administrator
user in LDAP samba will break, how do I get around this issue and still
provide samba the access level it needs?

Thanks.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkpE+ZUACgkQ5B+8XEnAvqvTrACdFsgyjYCn41fUze7PqxLqq19e
zbcAn2SfFNNg8iHIDZlXGzATSmdLFl7I
=47ZI
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba configuration issue

2009-06-26 Thread John Drescher
On Fri, Jun 26, 2009 at 12:38 PM, David
Christensendavid.christen...@viveli.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 I configured samba to work with an FDS backend using a howto from the
 Fedora Directory Server site.  The howto had me create a Administrator
 user in LDAP with UID/GID of 0.  Now when anyone logs in as root and do
 a whoami it comes back as Administrator.  If I delete the Administrator
 user in LDAP samba will break, how do I get around this issue and still
 provide samba the access level it needs?


put files first in your /etc/nsswitch.conf

passwd: files ldap
shadow: files ldap
group:  files ldap

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


Re: [Samba] Samba configuration issue

2009-06-26 Thread David Christensen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

John Drescher wrote:
 On Fri, Jun 26, 2009 at 12:38 PM, David
 Christensendavid.christen...@viveli.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 I configured samba to work with an FDS backend using a howto from the
 Fedora Directory Server site.  The howto had me create a Administrator
 user in LDAP with UID/GID of 0.  Now when anyone logs in as root and do
 a whoami it comes back as Administrator.  If I delete the Administrator
 user in LDAP samba will break, how do I get around this issue and still
 provide samba the access level it needs?

 
 put files first in your /etc/nsswitch.conf
 
 passwd: files ldap
 shadow: files ldap
 group:  files ldap
 
 John

Looks like that is the way my nsswitch.conf is already configured.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkpE/dEACgkQ5B+8XEnAvqvFSACfZL0/coLUrLl0XDcZIbqjzH8M
gbUAnjo7vzikF0/c5BA0BfWQMa22hKBt
=KrzM
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba configuration issue

2009-06-26 Thread David Christensen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

David Christensen wrote:
 John Drescher wrote:
 On Fri, Jun 26, 2009 at 12:38 PM, David
 Christensendavid.christen...@viveli.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 I configured samba to work with an FDS backend using a howto from the
 Fedora Directory Server site.  The howto had me create a Administrator
 user in LDAP with UID/GID of 0.  Now when anyone logs in as root and do
 a whoami it comes back as Administrator.  If I delete the Administrator
 user in LDAP samba will break, how do I get around this issue and still
 provide samba the access level it needs?

 put files first in your /etc/nsswitch.conf
 
 passwd: files ldap
 shadow: files ldap
 group:  files ldap
 
 John
 
 Looks like that is the way my nsswitch.conf is already configured.

 I am attempting to use the username map attribute in smb.conf to map
root=Administrator but its not working, the Administrator account is
still squashing root, do I need to delete the Administrator account from
ldap or modify it in some way?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkpFKPsACgkQ5B+8XEnAvqvamQCeKJVNFcwBEvsjS8HVayR31Y+D
6mUAn0gc3Bnsv2Xt5rZ3d8q2U2mJv+SX
=sZZ8
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba configuration issue

2009-06-26 Thread John Drescher
On Fri, Jun 26, 2009 at 4:00 PM, David
Christensendavid.christen...@viveli.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 David Christensen wrote:
 John Drescher wrote:
 On Fri, Jun 26, 2009 at 12:38 PM, David
 Christensendavid.christen...@viveli.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 I configured samba to work with an FDS backend using a howto from the
 Fedora Directory Server site.  The howto had me create a Administrator
 user in LDAP with UID/GID of 0.  Now when anyone logs in as root and do
 a whoami it comes back as Administrator.  If I delete the Administrator
 user in LDAP samba will break, how do I get around this issue and still
 provide samba the access level it needs?

 put files first in your /etc/nsswitch.conf

 passwd:     files ldap
 shadow:     files ldap
 group:      files ldap

 John

 Looks like that is the way my nsswitch.conf is already configured.

  I am attempting to use the username map attribute in smb.conf to map
 root=Administrator but its not working, the Administrator account is
 still squashing root, do I need to delete the Administrator account from
 ldap or modify it in some way?

I do not know. I have user Administrator in my ldap but whoami shows root.


does root show up first on this command?

getent passwd



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


Re: [Samba] Samba configuration issue

2009-06-26 Thread John Drescher
On Fri, Jun 26, 2009 at 4:31 PM, John Drescherdresche...@gmail.com wrote:
 On Fri, Jun 26, 2009 at 4:00 PM, David
 Christensendavid.christen...@viveli.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 David Christensen wrote:
 John Drescher wrote:
 On Fri, Jun 26, 2009 at 12:38 PM, David
 Christensendavid.christen...@viveli.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 I configured samba to work with an FDS backend using a howto from the
 Fedora Directory Server site.  The howto had me create a Administrator
 user in LDAP with UID/GID of 0.  Now when anyone logs in as root and do
 a whoami it comes back as Administrator.  If I delete the Administrator
 user in LDAP samba will break, how do I get around this issue and still
 provide samba the access level it needs?

 put files first in your /etc/nsswitch.conf

 passwd:     files ldap
 shadow:     files ldap
 group:      files ldap

 John

 Looks like that is the way my nsswitch.conf is already configured.

  I am attempting to use the username map attribute in smb.conf to map
 root=Administrator but its not working, the Administrator account is
 still squashing root, do I need to delete the Administrator account from
 ldap or modify it in some way?

 I do not know. I have user Administrator in my ldap but whoami shows root.


 does root show up first on this command?

 getent passwd


Actually I have:

sysserv0 ~ # getent passwd | grep x:0:
root:x:0:0:root:/root:/bin/bash
Administrator:x:0:512:Netbios Domain
Administrator:/home/Administrator:/bin/false
root:x:0:0:Administrative Account:/root:/bin/bash


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


Re: [Samba] Samba configuration issue

2009-06-26 Thread John H Terpstra - Samba Team
John Drescher wrote:
 On Fri, Jun 26, 2009 at 4:00 PM, David
 Christensendavid.christen...@viveli.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 David Christensen wrote:
 John Drescher wrote:
 On Fri, Jun 26, 2009 at 12:38 PM, David
 Christensendavid.christen...@viveli.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 I configured samba to work with an FDS backend using a howto from the
 Fedora Directory Server site.  The howto had me create a Administrator
 user in LDAP with UID/GID of 0.  Now when anyone logs in as root and do
 a whoami it comes back as Administrator.  If I delete the Administrator
 user in LDAP samba will break, how do I get around this issue and still
 provide samba the access level it needs?

 put files first in your /etc/nsswitch.conf
 passwd: files ldap
 shadow: files ldap
 group:  files ldap
 John
 Looks like that is the way my nsswitch.conf is already configured.
  I am attempting to use the username map attribute in smb.conf to map
 root=Administrator but its not working, the Administrator account is
 still squashing root, do I need to delete the Administrator account from
 ldap or modify it in some way?

 I do not know. I have user Administrator in my ldap but whoami shows root.

You possibly have a file /etc/samba/smbusers in which there is a mapping
as follows:

root = administrator

Tell me it's not true!

- John T.

 does root show up first on this command?
 
 getent passwd
 
 
 
 John
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba configuration issue

2009-06-26 Thread John Drescher
On Fri, Jun 26, 2009 at 4:42 PM, John H Terpstra - Samba
Teamj...@samba.org wrote:
 John Drescher wrote:
 On Fri, Jun 26, 2009 at 4:00 PM, David
 Christensendavid.christen...@viveli.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 David Christensen wrote:
 John Drescher wrote:
 On Fri, Jun 26, 2009 at 12:38 PM, David
 Christensendavid.christen...@viveli.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 I configured samba to work with an FDS backend using a howto from the
 Fedora Directory Server site.  The howto had me create a Administrator
 user in LDAP with UID/GID of 0.  Now when anyone logs in as root and do
 a whoami it comes back as Administrator.  If I delete the Administrator
 user in LDAP samba will break, how do I get around this issue and still
 provide samba the access level it needs?

 put files first in your /etc/nsswitch.conf
 passwd:     files ldap
 shadow:     files ldap
 group:      files ldap
 John
 Looks like that is the way my nsswitch.conf is already configured.
  I am attempting to use the username map attribute in smb.conf to map
 root=Administrator but its not working, the Administrator account is
 still squashing root, do I need to delete the Administrator account from
 ldap or modify it in some way?

 I do not know. I have user Administrator in my ldap but whoami shows root.

 You possibly have a file /etc/samba/smbusers in which there is a mapping
 as follows:

 root = administrator

 Tell me it's not true!


sysserv0 ~ # cat /etc/samba/smbusers
# Unix_name = SMB_name1 SMB_name2 ...
# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/files/config/smbusers,v
1.1 2007/09/07 21:07:40 dev-zero Exp $
root = administrator admin
nobody = guest pcguest smbguest

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


Re: [Samba] Samba configuration issue

2009-06-26 Thread John H Terpstra - Samba Team
John Drescher wrote:
 On Fri, Jun 26, 2009 at 4:42 PM, John H Terpstra - Samba
 Teamj...@samba.org wrote:
 John Drescher wrote:
 On Fri, Jun 26, 2009 at 4:00 PM, David
 Christensendavid.christen...@viveli.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 David Christensen wrote:
 John Drescher wrote:
 On Fri, Jun 26, 2009 at 12:38 PM, David
 Christensendavid.christen...@viveli.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 I configured samba to work with an FDS backend using a howto from the
 Fedora Directory Server site.  The howto had me create a Administrator
 user in LDAP with UID/GID of 0.  Now when anyone logs in as root and do
 a whoami it comes back as Administrator.  If I delete the Administrator
 user in LDAP samba will break, how do I get around this issue and still
 provide samba the access level it needs?

 put files first in your /etc/nsswitch.conf
 passwd: files ldap
 shadow: files ldap
 group:  files ldap
 John
 Looks like that is the way my nsswitch.conf is already configured.
  I am attempting to use the username map attribute in smb.conf to map
 root=Administrator but its not working, the Administrator account is
 still squashing root, do I need to delete the Administrator account from
 ldap or modify it in some way?

 I do not know. I have user Administrator in my ldap but whoami shows root.
 You possibly have a file /etc/samba/smbusers in which there is a mapping
 as follows:

 root = administrator

 Tell me it's not true!

 
 sysserv0 ~ # cat /etc/samba/smbusers
 # Unix_name = SMB_name1 SMB_name2 ...
 # $Header: /var/cvsroot/gentoo-x86/net-fs/samba/files/config/smbusers,v
 1.1 2007/09/07 21:07:40 dev-zero Exp $
 root = administrator admin
 nobody = guest pcguest smbguest
 
 John

Conclusion: Samba is doing exactly what it is being told to do.

Does this resolve the problem?

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


Re: [Samba] Samba configuration issue

2009-06-26 Thread John Drescher
On Fri, Jun 26, 2009 at 4:47 PM, John H Terpstra - Samba
Teamj...@samba.org wrote:
 John Drescher wrote:
 On Fri, Jun 26, 2009 at 4:42 PM, John H Terpstra - Samba
 Teamj...@samba.org wrote:
 John Drescher wrote:
 On Fri, Jun 26, 2009 at 4:00 PM, David
 Christensendavid.christen...@viveli.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 David Christensen wrote:
 John Drescher wrote:
 On Fri, Jun 26, 2009 at 12:38 PM, David
 Christensendavid.christen...@viveli.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 I configured samba to work with an FDS backend using a howto from the
 Fedora Directory Server site.  The howto had me create a Administrator
 user in LDAP with UID/GID of 0.  Now when anyone logs in as root and do
 a whoami it comes back as Administrator.  If I delete the Administrator
 user in LDAP samba will break, how do I get around this issue and still
 provide samba the access level it needs?

 put files first in your /etc/nsswitch.conf
 passwd:     files ldap
 shadow:     files ldap
 group:      files ldap
 John
 Looks like that is the way my nsswitch.conf is already configured.
  I am attempting to use the username map attribute in smb.conf to map
 root=Administrator but its not working, the Administrator account is
 still squashing root, do I need to delete the Administrator account from
 ldap or modify it in some way?

 I do not know. I have user Administrator in my ldap but whoami shows root.
 You possibly have a file /etc/samba/smbusers in which there is a mapping
 as follows:

 root = administrator

 Tell me it's not true!


 sysserv0 ~ # cat /etc/samba/smbusers
 # Unix_name = SMB_name1 SMB_name2 ...
 # $Header: /var/cvsroot/gentoo-x86/net-fs/samba/files/config/smbusers,v
 1.1 2007/09/07 21:07:40 dev-zero Exp $
 root = administrator admin
 nobody = guest pcguest smbguest

 John

 Conclusion: Samba is doing exactly what it is being told to do.

 Does this resolve the problem?


Oh. Sorry, I am not the OP. And there is no known problem here.

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


Re: [Samba] Samba configuration issue

2009-06-26 Thread David Christensen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

John Drescher wrote:
 On Fri, Jun 26, 2009 at 4:31 PM, John Drescherdresche...@gmail.com wrote:
 On Fri, Jun 26, 2009 at 4:00 PM, David
 Christensendavid.christen...@viveli.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 David Christensen wrote:
 John Drescher wrote:
 On Fri, Jun 26, 2009 at 12:38 PM, David
 Christensendavid.christen...@viveli.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 I configured samba to work with an FDS backend using a howto from the
 Fedora Directory Server site.  The howto had me create a Administrator
 user in LDAP with UID/GID of 0.  Now when anyone logs in as root and do
 a whoami it comes back as Administrator.  If I delete the Administrator
 user in LDAP samba will break, how do I get around this issue and still
 provide samba the access level it needs?

 put files first in your /etc/nsswitch.conf
 passwd: files ldap
 shadow: files ldap
 group:  files ldap
 John
 Looks like that is the way my nsswitch.conf is already configured.
  I am attempting to use the username map attribute in smb.conf to map
 root=Administrator but its not working, the Administrator account is
 still squashing root, do I need to delete the Administrator account from
 ldap or modify it in some way?

 I do not know. I have user Administrator in my ldap but whoami shows root.


 does root show up first on this command?

 getent passwd


 Actually I have:
 
 sysserv0 ~ # getent passwd | grep x:0:
 root:x:0:0:root:/root:/bin/bash
 Administrator:x:0:512:Netbios Domain
 Administrator:/home/Administrator:/bin/false
 root:x:0:0:Administrative Account:/root:/bin/bash
 
 
 John

Root does show up first, this is what I have

[r...@ldap2 ~]# getent passwd | grep :0:0
root:x:0:0:root:/root:/bin/bash
Administrator:*:0:0:Samba Admin:/root:/bin/bash

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkpFNY4ACgkQ5B+8XEnAvquc1QCdH4O1kKSup5/nQWDgt3uW9fzL
SPsAn3x/O/P/fAw3QVQZBo6x1z85B3eR
=O80R
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba configuration issue

2009-06-26 Thread David Christensen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

John H Terpstra - Samba Team wrote:
 John Drescher wrote:
 On Fri, Jun 26, 2009 at 4:00 PM, David
 Christensendavid.christen...@viveli.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 David Christensen wrote:
 John Drescher wrote:
 On Fri, Jun 26, 2009 at 12:38 PM, David
 Christensendavid.christen...@viveli.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 I configured samba to work with an FDS backend using a howto from the
 Fedora Directory Server site.  The howto had me create a Administrator
 user in LDAP with UID/GID of 0.  Now when anyone logs in as root and do
 a whoami it comes back as Administrator.  If I delete the Administrator
 user in LDAP samba will break, how do I get around this issue and still
 provide samba the access level it needs?

 put files first in your /etc/nsswitch.conf
 passwd: files ldap
 shadow: files ldap
 group:  files ldap
 John
 Looks like that is the way my nsswitch.conf is already configured.
  I am attempting to use the username map attribute in smb.conf to map
 root=Administrator but its not working, the Administrator account is
 still squashing root, do I need to delete the Administrator account from
 ldap or modify it in some way?

 I do not know. I have user Administrator in my ldap but whoami shows root.
 
 You possibly have a file /etc/samba/smbusers in which there is a mapping
 as follows:
 
 root = administrator
 
 Tell me it's not true!
 
 - John T.
 
 does root show up first on this command?

 getent passwd



 John
 I do have /etc/samba/smbusers in which there is a mapping
as follows:

root = administrator

However it was not specified in smb.conf until today, when I tried to
use it.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkpFNhgACgkQ5B+8XEnAvqueqgCdHj615xSZ4fV8/y4uhDaKhF76
5U4AnRdsM+nS+LALRcZu7yaXE4KA5MjN
=cNMn
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba configuration issue

2009-06-26 Thread John H Terpstra - Samba Team
David Christensen wrote:
 John H Terpstra - Samba Team wrote:
 John Drescher wrote:
 On Fri, Jun 26, 2009 at 4:00 PM, David
 Christensendavid.christen...@viveli.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 David Christensen wrote:
 John Drescher wrote:
 On Fri, Jun 26, 2009 at 12:38 PM, David
 Christensendavid.christen...@viveli.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 I configured samba to work with an FDS backend using a howto from the
 Fedora Directory Server site.  The howto had me create a Administrator
 user in LDAP with UID/GID of 0.  Now when anyone logs in as root and do
 a whoami it comes back as Administrator.  If I delete the Administrator
 user in LDAP samba will break, how do I get around this issue and still
 provide samba the access level it needs?

 put files first in your /etc/nsswitch.conf
 passwd: files ldap
 shadow: files ldap
 group:  files ldap
 John
 Looks like that is the way my nsswitch.conf is already configured.
  I am attempting to use the username map attribute in smb.conf to map
 root=Administrator but its not working, the Administrator account is
 still squashing root, do I need to delete the Administrator account from
 ldap or modify it in some way?

 I do not know. I have user Administrator in my ldap but whoami shows root.
 You possibly have a file /etc/samba/smbusers in which there is a mapping
 as follows:
 
 root = administrator
 
 Tell me it's not true!
 
 - John T.
 
 does root show up first on this command?

 getent passwd



 John
  I do have /etc/samba/smbusers in which there is a mapping
 as follows:
 
 root = administrator
 
 However it was not specified in smb.conf until today, when I tried to
 use it.

OK, but what does testparm tell you about the default configuration for
your system?

testparm -sv | grep username

If the parameter username map is not mapped to /etc/samba/smbusers,
the issue is isolated to the mappings of the root and administrator
accounts and their respective uid/gid.

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


Re: [Samba] Samba configuration issue

2009-06-26 Thread David Christensen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

John H Terpstra - Samba Team wrote:
 David Christensen wrote:
 John H Terpstra - Samba Team wrote:
 John Drescher wrote:
 On Fri, Jun 26, 2009 at 4:00 PM, David
 Christensendavid.christen...@viveli.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 David Christensen wrote:
 John Drescher wrote:
 On Fri, Jun 26, 2009 at 12:38 PM, David
 Christensendavid.christen...@viveli.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 I configured samba to work with an FDS backend using a howto from the
 Fedora Directory Server site.  The howto had me create a Administrator
 user in LDAP with UID/GID of 0.  Now when anyone logs in as root and do
 a whoami it comes back as Administrator.  If I delete the Administrator
 user in LDAP samba will break, how do I get around this issue and still
 provide samba the access level it needs?

 put files first in your /etc/nsswitch.conf
 passwd: files ldap
 shadow: files ldap
 group:  files ldap
 John
 Looks like that is the way my nsswitch.conf is already configured.
  I am attempting to use the username map attribute in smb.conf to map
 root=Administrator but its not working, the Administrator account is
 still squashing root, do I need to delete the Administrator account from
 ldap or modify it in some way?

 I do not know. I have user Administrator in my ldap but whoami shows root.
 You possibly have a file /etc/samba/smbusers in which there is a mapping
 as follows:
 root = administrator
 Tell me it's not true!
 - John T.
 does root show up first on this command?

 getent passwd



 John
  I do have /etc/samba/smbusers in which there is a mapping
 as follows:

 root = administrator

 However it was not specified in smb.conf until today, when I tried to
 use it.
 
 OK, but what does testparm tell you about the default configuration for
 your system?
 
   testparm -sv | grep username
 
 If the parameter username map is not mapped to /etc/samba/smbusers,
 the issue is isolated to the mappings of the root and administrator
 accounts and their respective uid/gid.
 
 - John T.

username map is no longer mapped to /etc/samba/smbusers, I commented
it out so it looks like the issue is indeed isolated to the mappings of
the root and administrator accounts.

How do I permit the Administrator account the access level it needs
without squashing root on every box?

This is what I currently have:

[r...@ldap2 profiles]# getent passwd | grep :0:0
root:x:0:0:root:/root:/bin/bash
Administrator:x:0:0:Samba Admin:/root:/bin/bash
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkpFPbwACgkQ5B+8XEnAvquzcgCdGC8GWBpC1Masc6GTVPmT/i4F
A6kAoJVQhhFdogK7jIS8ukUiibbw9UsS
=Rpnw
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba configuration issue

2009-06-26 Thread David Christensen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

David Christensen wrote:
 John H Terpstra - Samba Team wrote:
 David Christensen wrote:
 John H Terpstra - Samba Team wrote:
 John Drescher wrote:
 On Fri, Jun 26, 2009 at 4:00 PM, David
 Christensendavid.christen...@viveli.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 David Christensen wrote:
 John Drescher wrote:
 On Fri, Jun 26, 2009 at 12:38 PM, David
 Christensendavid.christen...@viveli.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 I configured samba to work with an FDS backend using a howto from the
 Fedora Directory Server site.  The howto had me create a Administrator
 user in LDAP with UID/GID of 0.  Now when anyone logs in as root and 
 do
 a whoami it comes back as Administrator.  If I delete the 
 Administrator
 user in LDAP samba will break, how do I get around this issue and 
 still
 provide samba the access level it needs?

 put files first in your /etc/nsswitch.conf
 passwd: files ldap
 shadow: files ldap
 group:  files ldap
 John
 Looks like that is the way my nsswitch.conf is already configured.
  I am attempting to use the username map attribute in smb.conf to map
 root=Administrator but its not working, the Administrator account is
 still squashing root, do I need to delete the Administrator account from
 ldap or modify it in some way?

 I do not know. I have user Administrator in my ldap but whoami shows root.
 You possibly have a file /etc/samba/smbusers in which there is a mapping
 as follows:
 root = administrator
 Tell me it's not true!
 - John T.
 does root show up first on this command?

 getent passwd



 John
  I do have /etc/samba/smbusers in which there is a mapping
 as follows:

 root = administrator

 However it was not specified in smb.conf until today, when I tried to
 use it.
 OK, but what does testparm tell you about the default configuration for
 your system?
 
  testparm -sv | grep username
 
 If the parameter username map is not mapped to /etc/samba/smbusers,
 the issue is isolated to the mappings of the root and administrator
 accounts and their respective uid/gid.
 
 - John T.
 
 username map is no longer mapped to /etc/samba/smbusers, I commented
 it out so it looks like the issue is indeed isolated to the mappings of
 the root and administrator accounts.
 
 How do I permit the Administrator account the access level it needs
 without squashing root on every box?
 
 This is what I currently have:
 
 [r...@ldap2 profiles]# getent passwd | grep :0:0
 root:x:0:0:root:/root:/bin/bash
 Administrator:x:0:0:Samba Admin:/root:/bin/bash

Looks like I figured it out, I deleted the Administrator account in
LDAP, re-enabled the /etc/samba/smbusers file in smb.conf, and then
added root to the password backend.  I was able to login as
Administrator and the account no longer squashed root.  Is there is a
known issue with using the method I did?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkpFR7cACgkQ5B+8XEnAvqvF7wCgm9BIxVLY1/N9I814V62zYAvK
wwkAoJJQsp4SjOs3G1Y2zaAmlHiTC4h3
=GAkR
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba Configuration

2009-05-27 Thread Matt Burkhardt
On Mon, 2009-05-25 at 23:06 +0300, Liutauras Adomaitis wrote:

 On Mon, May 25, 2009 at 10:29 PM, Matt Burkhardt m...@imparisystems.com 
 wrote:
  Maybe I'm missing this - but I'm having problems setting up some file
  shares that are limited to certain groups.  I've done countless searches
  on setups and on the tree connnect failed error message, and just
  haven't found anything that solves my problem.
 
  I am able to create shares that are basically open to the public, but I
  know the security is all messed up.
 
  I have openLDAP set up, can log onto the Samba server, but when I try to
  set up the security, I just end up with
 
  smbclient //Ubuntu/Staff
  Enter mlb's password:
  Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.28a]
  tree connect failed: NT_STATUS_ACCESS_DENIED
 
 I think there is a number of possible answers or potential problems.
 your smb.conf, logs (level 10 it is not necessary probably, but 3
 atleast - I think) is needed.
 
 Liutauras


Ok - I set log level = 3 in /etc/samba/smb.conf and restarted the Samba
server, then tried to logon with smbclient //Ubuntu/Staff and then
stopped the server and here are smbd and nmbd only with the time stamp
from after the restart

-- 
Matt Burkhardt, M.Sci. Technology Management
m...@imparisystems.com
(301) 682-7901
502 Fairview Avenue
Frederick, MD  21701
http://www.imparisystems.com 

[2009/05/27 09:02:16, 0] nmbd/nmbd.c:main(721)
  Netbios nameserver version 3.0.28a started.
  Copyright Andrew Tridgell and the Samba Team 1992-2008
[2009/05/27 09:02:16, 3] nmbd/nmbd.c:reload_nmbd_services(298)
  services not loaded
[2009/05/27 09:02:16, 2] nmbd/nmbd.c:main(745)
  Becoming a daemon.
[2009/05/27 09:02:16, 2] lib/tallocmsg.c:register_msg_pool_usage(105)
  Registered MSG_REQ_POOL_USAGE
[2009/05/27 09:02:16, 2] lib/dmallocmsg.c:register_dmalloc_msgs(75)
  Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
[2009/05/27 09:02:16, 3] nmbd/nmbd.c:main(783)
  Opening sockets 137
[2009/05/27 09:02:16, 3] nmbd/nmbd.c:open_sockets(639)
  open_sockets: Broadcast sockets opened.
[2009/05/27 09:02:16, 2] lib/interface.c:add_interface(81)
  added interface ip=192.168.1.100 bcast=192.168.1.255 nmask=255.255.255.0
[2009/05/27 09:02:16, 2] nmbd/nmbd_subnetdb.c:make_subnet(144)
  making subnet name:192.168.1.100 Broadcast address:192.168.1.255 Subnet 
mask:255.255.255.0
[2009/05/27 09:02:16, 2] nmbd/nmbd_subnetdb.c:make_subnet(144)
  making subnet name:UNICAST_SUBNET Broadcast address:192.168.1.100 Subnet 
mask:192.168.1.100
[2009/05/27 09:02:16, 2] nmbd/nmbd_subnetdb.c:make_subnet(144)
  making subnet name:REMOTE_BROADCAST_SUBNET Broadcast address:0.0.0.0 Subnet 
mask:0.0.0.0
[2009/05/27 09:02:16, 2] nmbd/nmbd_subnetdb.c:make_subnet(144)
  making subnet name:WINS_SERVER_SUBNET Broadcast address:0.0.0.0 Subnet 
mask:0.0.0.0
[2009/05/27 09:02:16, 2] nmbd/nmbd_lmhosts.c:load_lmhosts_file(41)
  load_lmhosts_file: Can't open lmhosts file /etc/samba/lmhosts. Error was No 
such file or directory
[2009/05/27 09:02:16, 3] nmbd/nmbd.c:main(802)
  Loaded hosts file /etc/samba/lmhosts
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
  add_name_to_subnet: Added netbios name *00 with first IP 192.168.1.100 
ttl=0 nb_flags=60 to subnet WINS_SERVER_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
  add_name_to_subnet: Added netbios name *20 with first IP 192.168.1.100 
ttl=0 nb_flags=60 to subnet WINS_SERVER_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
  add_name_to_subnet: Added netbios name __SAMBA__20 with first IP 
192.168.1.100 ttl=0 nb_flags=60 to subnet WINS_SERVER_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
  add_name_to_subnet: Added netbios name __SAMBA__00 with first IP 
192.168.1.100 ttl=0 nb_flags=60 to subnet WINS_SERVER_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
  add_name_to_subnet: Added netbios name UBUNTU03 with first IP 192.168.1.100 
ttl=258536 nb_flags=66 to subnet WINS_SERVER_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
  add_name_to_subnet: Added netbios name WORKGROUP20 with first IP 
192.168.1.100 ttl=294187 nb_flags=66 to subnet WINS_SERVER_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
  add_name_to_subnet: Added netbios name UBUNTU20 with first IP 192.168.1.100 
ttl=258536 nb_flags=66 to subnet WINS_SERVER_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
  add_name_to_subnet: Added netbios name WORKGROUP1b with first IP 
192.168.1.100 ttl=258536 nb_flags=66 to subnet WINS_SERVER_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
  add_name_to_subnet: Added netbios name WORKGROUP1c with first IP 
192.168.1.100 ttl=258536 nb_flags=e6 to subnet WINS_SERVER_SUBNET
[2009/05/27 09:02:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(247)
  add_name_to_subnet: Added netbios name 

Re: [Samba] Samba Configuration

2009-05-27 Thread Liutauras Adomaitis
On Wed, May 27, 2009 at 4:09 PM, Matt Burkhardt m...@imparisystems.com wrote:
 On Mon, 2009-05-25 at 23:06 +0300, Liutauras Adomaitis wrote:

 On Mon, May 25, 2009 at 10:29 PM, Matt Burkhardt m...@imparisystems.com
 wrote:
 Maybe I'm missing this - but I'm having problems setting up some file
 shares that are limited to certain groups.  I've done countless searches
 on setups and on the tree connnect failed error message, and just
 haven't found anything that solves my problem.

 I am able to create shares that are basically open to the public, but I
 know the security is all messed up.

 I have openLDAP set up, can log onto the Samba server, but when I try to
 set up the security, I just end up with

 smbclient //Ubuntu/Staff
 Enter mlb's password:
 Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.28a]
 tree connect failed: NT_STATUS_ACCESS_DENIED

 I think there is a number of possible answers or potential problems.
 your smb.conf, logs (level 10 it is not necessary probably, but 3
 atleast - I think) is needed.

 Liutauras

 Ok - I set log level = 3 in /etc/samba/smb.conf and restarted the Samba
 server, then tried to logon with smbclient //Ubuntu/Staff and then stopped
 the server and here are smbd and nmbd only with the time stamp from after
 the restart

 --
 Matt Burkhardt, M.Sci. Technology Management
 m...@imparisystems.com
 (301) 682-7901
 502 Fairview Avenue
 Frederick, MD  21701
 http://www.imparisystems.com


I see you got log.smbd and log.nmbd files. There is nothing about
accessing [Staff] share, so I guess you have log file =
/var/log/samba/%m.log in your smb.conf file. Most probably there must
be more log files. Search for file called by your box IP address or
hostname.log file, or change log file = mylogfile.log, to log
everything to one file.

As for possible causes:
- you are trying to access share as user, which doesn't exists in
samba users database.
- you set up share, which doesn't allow your user to access this share.
- you share is pointing to wrong directory in your system, or you
don't have access rights to that directory. Check rights in full path.
(I'm not sure if error message is like the one you get, but it worth
to check)

I just reread your 1st post - what do you mean can log onto the Samba
server? If you can access public samba shares, then my guess is that
your LDAP backend is not setup correctly and you don't have any users
visible by samba.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Samba Configuration

2009-05-25 Thread Matt Burkhardt
Maybe I'm missing this - but I'm having problems setting up some file
shares that are limited to certain groups.  I've done countless searches
on setups and on the tree connnect failed error message, and just
haven't found anything that solves my problem.

I am able to create shares that are basically open to the public, but I
know the security is all messed up.

I have openLDAP set up, can log onto the Samba server, but when I try to
set up the security, I just end up with 

 smbclient //Ubuntu/Staff
 Enter mlb's password: 
 Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.28a]
 tree connect failed: NT_STATUS_ACCESS_DENIED

So I started working through the Samba checklist at 
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/diagnosis.html 


Is there some place that walks through a file share setup.  I want to
create a share called Staff that's only accessible by members of that
group.  I need to know how to set that up across Linux (Ubuntu 8.04),
openLDAP and Samba and also how to do the setup for Wndows clients.  I
would also like an easy method to turn this over to the folks - it's
volunteer work for our local Boys and Girls Club.


Thanks again!




smbclient //Ubuntu/tmp
Enter mlb's password: 
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.28a]
smb: \ 

-- 
Matt Burkhardt, M.Sci. Technology Management
m...@imparisystems.com
(301) 682-7901
502 Fairview Avenue
Frederick, MD  21701
http://www.imparisystems.com 

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


Re: [Samba] Samba Configuration

2009-05-25 Thread Liutauras Adomaitis
On Mon, May 25, 2009 at 10:29 PM, Matt Burkhardt m...@imparisystems.com wrote:
 Maybe I'm missing this - but I'm having problems setting up some file
 shares that are limited to certain groups.  I've done countless searches
 on setups and on the tree connnect failed error message, and just
 haven't found anything that solves my problem.

 I am able to create shares that are basically open to the public, but I
 know the security is all messed up.

 I have openLDAP set up, can log onto the Samba server, but when I try to
 set up the security, I just end up with

 smbclient //Ubuntu/Staff
 Enter mlb's password:
 Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.28a]
 tree connect failed: NT_STATUS_ACCESS_DENIED

I think there is a number of possible answers or potential problems.
your smb.conf, logs (level 10 it is not necessary probably, but 3
atleast - I think) is needed.

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


[Samba] Samba configuration options when using with FUSE file system

2009-04-28 Thread Jim Casey
It seems that metadata operations involved in writing new files into the
same directory become increasingly expensive as the number of files
grows larger.  Determining whether a file exists in a directory (in our
case this will never be true since we are always writing new files)
seems like it should be a simple operation, but in fact seems to involve
a huge number of opendir-readdir-closedir calls.  I am using Samba to
share a FUSE filesystem for which these directory operations are very
expensive compared to file systems like ext3.

Are there configuration options in Samba that would help us out in this
case, perhaps by caching directory information or some such?

Thank you for any assistance you are able to provide.

James Casey


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


Re: [Samba] Samba Configuration

2009-03-18 Thread guido
Is hard for me to keep up with what you are doing for the hour here ...

But I can tell you this. If you are going to have a share with multiple
users accessing a directory the best thing you can do is to have a
domain-users like.

So...

For example:

[ADD]
path = /home/ADD
browseable = no
public = no
writable = yes
nt acl support = no
valid users = @add @addrw

(You should change the browseable to see the share from the clients)

ls -ld /home/ADD
drwxrwx---+ 10 root addrw 4096 Mar  6 12:31 /home/ADD/
bowman:/etc/samba# getfacl /home/ADD/
getfacl: Removing leading '/' from absolute path names
# file: home/ADD
# owner: root
# group: addrw
user::rwx
group::rwx
group:add:rwx
group:addrw:rwx
mask::rwx
other::---


Now if you like to manage permissions from the clients, you should start
thinking about using acls in the filesystem.

/dev/mapper/storage-home on /home type ext3 (rw,acl)

And you should change the nt acl support to yes.

I hope this helps.


 I think I'm making some progress.. I can now write to the directory.

 If I chown admin:domain admins admin I can then write to the directory
 on
 the XP side. I can see domain permissions, but cannot edit them.

 However in doing this, I can no longer access the directory as my user on
 the Linux side.

 I tried creating a new group called 'samba' and added my admin user, along
 with my XP user. I kept the owner as admin. Now I can access the folder on
 the Linux side, but not the XP. *frustration!*

 And thanks for the help.
 --
 View this message in context:
 http://www.nabble.com/Samba-Configuration-tp22566973p22572874.html
 Sent from the Samba - General mailing list archive at Nabble.com.

 --
 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] Samba Configuration

2009-03-18 Thread ElihuJ

Thanks Guido. I think I'm a little confused though :)

Here's what I added to my smb.conf:

[admin]
 path = /home/admin
 browseable = yes
 public = no
 writable =  yes
 nt acl support = no
 valid users = @admin

When I do ls -ld /home/admin I get:

drwx--x--x 8 admin wheel 4096 2009-03-18 00:49 /home/admin

And getfacl:

getfacl /home/admin
# file: home/admin
# owner: admin
# group: wheel
user::rwx
group::--x
other::---

So should I create a group, say addrw and add my admin user to it?

Thank you again, I appreciate your help.
-- 
View this message in context: 
http://www.nabble.com/Samba-Configuration-tp22566973p22585997.html
Sent from the Samba - General mailing list archive at Nabble.com.

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


Re: [Samba] Samba Configuration

2009-03-18 Thread guido

 Thanks Guido. I think I'm a little confused though :)

 Here's what I added to my smb.conf:

 [admin]
  path = /home/admin
  browseable = yes
  public = no
  writable =  yes
  nt acl support = no
  valid users = @admin

 When I do ls -ld /home/admin I get:

 drwx--x--x 8 admin wheel 4096 2009-03-18 00:49 /home/admin

 And getfacl:

 getfacl /home/admin
 # file: home/admin
 # owner: admin
 # group: wheel
 user::rwx
 group::--x
 other::---

 So should I create a group, say addrw and add my admin user to it?

 Thank you again, I appreciate your help.

I only give you an example of my groups. I have a group called addrw.
You should have a group in /home/admin (not wheel) and 770 (not 711).
Then, join the users that need to write in the share to this group.

Now in the linux filesystem they have the right to write in the share.

I hope this helps.

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


Re: [Samba] Samba Configuration

2009-03-18 Thread ElihuJ

Hey Guido, I just wanted to update you in that I got it working.

For /home/admin, I chowned admin:admins, and chmoded 770

After doing this I was able to write to the directory as admin, and also
write to it as admin on XP. Also other users are unable to see the
directory.

Just wanted to say thank you again for the help.
-- 
View this message in context: 
http://www.nabble.com/Samba-Configuration-tp22566973p22592802.html
Sent from the Samba - General mailing list archive at Nabble.com.

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


[Samba] Samba Configuration

2009-03-17 Thread ElihuJ

Hi all, for the life of me I cannot figure out this problem. I'm trying to
get Samba working with my AD environment. No matter what I try I cannot seem
to get it working. Mind you, I can authenticate to the server if I type
wbinfo -a username. I was also successful in joining it to AD. My problem is
when I try to access a share, say Home, I get a message asking for a
user/pass which it rejects. Here is my smb.conf:

[global]

workgroup = ADSSERVER
netbios name = ArchDesktop
server string = Samba Server
hosts allow = 192.168.2. 127.
log file = /var/log/samba/%m.log
max log size = 1000
security = ADS
encrypt passwords = yes
winbind enum users = yes
winbind enum groups = yes
winbind use default domain = yes
winbind nested groups = yes
winbind separator = +
idmap uid = 600-2
idmap gid = 600-2
template shell = /bin/bash
realm = ADSSERVER
preferred master = no
dns proxy = no

[Home]
comment = My Home Directory
path = /home/admin
read only = no
inherit acls = yes
inherit permissions = yes
create mask = 700
directory mask = 700
valid users = @ADSSERVER+Domain Users
admin users = @ADSSERVER+Domain Admins

[tmp]
comment = Temporary File Space
path = /tmp
read only = no
inherit acls = yes
inherit permissions = yes
create mask = 700
directory mask = 700
valid users = @ADSSERVER+Domain Users
admin users = @ADSSERVER+Domain Admins

If anyone can point me in the right direction it would be much appreciated.
Thanks.
-- 
View this message in context: 
http://www.nabble.com/Samba-Configuration-tp22566973p22566973.html
Sent from the Samba - General mailing list archive at Nabble.com.

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


Re: [Samba] Samba Configuration

2009-03-17 Thread guido
And you are on the host allow network?
Do you try removing the valid users?
The output of testparm?
The output of the log?


 Hi all, for the life of me I cannot figure out this problem. I'm trying to
 get Samba working with my AD environment. No matter what I try I cannot
 seem
 to get it working. Mind you, I can authenticate to the server if I type
 wbinfo -a username. I was also successful in joining it to AD. My problem
 is
 when I try to access a share, say Home, I get a message asking for a
 user/pass which it rejects. Here is my smb.conf:

 [global]

 workgroup = ADSSERVER
 netbios name = ArchDesktop
 server string = Samba Server
 hosts allow = 192.168.2. 127.
 log file = /var/log/samba/%m.log
 max log size = 1000
 security = ADS
 encrypt passwords = yes
 winbind enum users = yes
 winbind enum groups = yes
 winbind use default domain = yes
 winbind nested groups = yes
 winbind separator = +
 idmap uid = 600-2
 idmap gid = 600-2
 template shell = /bin/bash
 realm = ADSSERVER
 preferred master = no
 dns proxy = no

 [Home]
 comment = My Home Directory
 path = /home/admin
 read only = no
 inherit acls = yes
 inherit permissions = yes
 create mask = 700
 directory mask = 700
 valid users = @ADSSERVER+Domain Users
 admin users = @ADSSERVER+Domain Admins

 [tmp]
 comment = Temporary File Space
 path = /tmp
 read only = no
 inherit acls = yes
 inherit permissions = yes
 create mask = 700
 directory mask = 700
 valid users = @ADSSERVER+Domain Users
 admin users = @ADSSERVER+Domain Admins

 If anyone can point me in the right direction it would be much
 appreciated.
 Thanks.
 --
 View this message in context:
 http://www.nabble.com/Samba-Configuration-tp22566973p22566973.html
 Sent from the Samba - General mailing list archive at Nabble.com.

 --
 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] Samba Configuration

2009-03-17 Thread John H Terpstra - Samba Team
ElihuJ wrote:
 Hi all, for the life of me I cannot figure out this problem. I'm trying to
 get Samba working with my AD environment. No matter what I try I cannot seem
 to get it working. Mind you, I can authenticate to the server if I type
 wbinfo -a username. I was also successful in joining it to AD. My problem is
 when I try to access a share, say Home, I get a message asking for a
 user/pass which it rejects. Here is my smb.conf:
 
 [global]
 
 workgroup = ADSSERVER
 netbios name = ArchDesktop
 server string = Samba Server
 hosts allow = 192.168.2. 127.
 log file = /var/log/samba/%m.log
 max log size = 1000
 security = ADS
 encrypt passwords = yes
 winbind enum users = yes
 winbind enum groups = yes
 winbind use default domain = yes
 winbind nested groups = yes
 winbind separator = +
 idmap uid = 600-2
 idmap gid = 600-2
 template shell = /bin/bash
 realm = ADSSERVER
 preferred master = no
 dns proxy = no
 
 [Home]
 comment = My Home Directory
 path = /home/admin
 read only = no
 inherit acls = yes
 inherit permissions = yes
 create mask = 700
 directory mask = 700
 valid users = @ADSSERVER+Domain Users
 admin users = @ADSSERVER+Domain Admins
 
 [tmp]
 comment = Temporary File Space
 path = /tmp
 read only = no
 inherit acls = yes
 inherit permissions = yes
 create mask = 700
 directory mask = 700
 valid users = @ADSSERVER+Domain Users
 admin users = @ADSSERVER+Domain Admins
 
 If anyone can point me in the right direction it would be much appreciated.
 Thanks.

What is in your /etc/nsswitch.conf file?  Have you enabled winbind
resolution for passwd and group?

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


Re: [Samba] Samba Configuration

2009-03-17 Thread ElihuJ

Thanks for the replies guys. My nsswitch.conf has the following:

passwd: compat winbind
group:  compat winbind
shadow: compat winbind

And I am on the hosts allow network. If I remove the valid users, I can
still access the share; I just cannot write to it.

Output of testparm:

Load smb config files from /etc/samba/smb.conf
Processing section [admin]
Processing section [tmp]
Loaded services file OK.
'winbind separator = +' might cause problems with group membership.
Server role: ROLE_DOMAIN_MEMBER
Press enter to see a dump of your service definitions

And here are some of the things I've seen in the logs. Let me know if you
need to see any other logs.

==winbind.log==
[2009/03/17] 00:55:28 3] winbindd/winbindd_misc.c:winbindd_domain_info(654)
 [5888]: domain_info [ADSERVER]
[2009/03/17] 00:55:28 3] winbindd/winbindd_misc.c:winbindd_ping(733)
 [5888]: ping
[2009/03/17] 00:55:28 3] winbindd/winbindd_misc.c:winbindd_lookkupname(102)
 [5888]: lookupname ADSERVER+admin

Now I've tried some things since to see if I can get it working. Since AD
authentication is working, I logged in with my admin user and created a home
directory. Permissions for the directory are 755, with admin:domain admins
for ownership. I figured, well if I have the same user logged in on my Linux
machine that I have on my XP machine, I should be able to read/write right?
Well when I go to the admin share on my XP machine, I can see everything
fine. I can even see that domain permissions are being applied. However I am
still unable to write!

I really appreciate the help, thanks.
-- 
View this message in context: 
http://www.nabble.com/Samba-Configuration-tp22566973p22571562.html
Sent from the Samba - General mailing list archive at Nabble.com.

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


Re: [Samba] Samba Configuration

2009-03-17 Thread ElihuJ

Thanks for the replies guys. My nsswitch.conf has the following:

passwd: compat winbind
group:  compat winbind
shadow: compat winbind

And I am on the hosts allow network. If I remove the valid users, I can
still access the share; I just cannot write to it.

Output of testparm:

Load smb config files from /etc/samba/smb.conf
Processing section [admin]
Processing section [tmp]
Loaded services file OK.
'winbind separator = +' might cause problems with group membership.
Server role: ROLE_DOMAIN_MEMBER
Press enter to see a dump of your service definitions

And here are some of the things I've seen in the logs. Let me know if you
need to see any other logs.

==winbind.log==
[2009/03/17] 00:55:28 3] winbindd/winbindd_misc.c:winbindd_domain_info(654)
 [5888]: domain_info [ADSERVER]
[2009/03/17] 00:55:28 3] winbindd/winbindd_misc.c:winbindd_ping(733)
 [5888]: ping
[2009/03/17] 00:55:28 3] winbindd/winbindd_misc.c:winbindd_lookkupname(102)
 [5888]: lookupname ADSERVER+admin

Now I've tried some things since to see if I can get it working. Since AD
authentication is working, I logged in with my admin user and created a home
directory. Permissions for the directory are 755, with admin:domain admins
for ownership. I figured, well if I have the same user logged in on my Linux
machine that I have on my XP machine, I should be able to read/write right?
Well when I go to the admin share on my XP machine, I can see everything
fine. I can even see that domain permissions are being applied. However I am
still unable to write!

I really appreciate the help, thanks.
-- 
View this message in context: 
http://www.nabble.com/Samba-Configuration-tp22566973p22571567.html
Sent from the Samba - General mailing list archive at Nabble.com.

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


Re: [Samba] Samba Configuration

2009-03-17 Thread ElihuJ

Thanks for the replies guys. My nsswitch.conf has the following:

passwd: compat winbind
group:  compat winbind
shadow: compat winbind

And I am on the hosts allow network. If I remove the valid users, I can
still access the share; I just cannot write to it.

Output of testparm:

Load smb config files from /etc/samba/smb.conf
Processing section [admin]
Processing section [tmp]
Loaded services file OK.
'winbind separator = +' might cause problems with group membership.
Server role: ROLE_DOMAIN_MEMBER
Press enter to see a dump of your service definitions

And here are some of the things I've seen in the logs. Let me know if you
need to see any other logs.

==winbind.log==
[2009/03/17] 00:55:28 3] winbindd/winbindd_misc.c:winbindd_domain_info(654)
 [5888]: domain_info [ADSERVER]
[2009/03/17] 00:55:28 3] winbindd/winbindd_misc.c:winbindd_ping(733)
 [5888]: ping
[2009/03/17] 00:55:28 3] winbindd/winbindd_misc.c:winbindd_lookkupname(102)
 [5888]: lookupname ADSERVER+admin

Now I've tried some things since to see if I can get it working. Since AD
authentication is working, I logged in with my admin user and created a home
directory. Permissions for the directory are 755, with admin:domain admins
for ownership. I figured, well if I have the same user logged in on my Linux
machine that I have on my XP machine, I should be able to read/write right?
Well when I go to the admin share on my XP machine, I can see everything
fine. I can even see that domain permissions are being applied. However I am
still unable to write!

I really appreciate the help, thanks.
-- 
View this message in context: 
http://www.nabble.com/Samba-Configuration-tp22566973p22571570.html
Sent from the Samba - General mailing list archive at Nabble.com.

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


Re: [Samba] Samba Configuration

2009-03-17 Thread ElihuJ

Thanks for the replies guys. My nsswitch.conf has the following:

passwd: compat winbind
group:  compat winbind
shadow: compat winbind

And I am on the hosts allow network. If I remove the valid users, I can
still access the share; I just cannot write to it.

Output of testparm:

Load smb config files from /etc/samba/smb.conf
Processing section [admin]
Processing section [tmp]
Loaded services file OK.
'winbind separator = +' might cause problems with group membership.
Server role: ROLE_DOMAIN_MEMBER
Press enter to see a dump of your service definitions

And here are some of the things I've seen in the logs. Let me know if you
need to see any other logs.

==winbind.log==
[2009/03/17] 00:55:28 3] winbindd/winbindd_misc.c:winbindd_domain_info(654)
 [5888]: domain_info [ADSERVER]
[2009/03/17] 00:55:28 3] winbindd/winbindd_misc.c:winbindd_ping(733)
 [5888]: ping
[2009/03/17] 00:55:28 3] winbindd/winbindd_misc.c:winbindd_lookkupname(102)
 [5888]: lookupname ADSERVER+admin

Now I've tried some things since to see if I can get it working. Since AD
authentication is working, I logged in with my admin user and created a home
directory. Permissions for the directory are 755, with admin:domain admins
for ownership. I figured, well if I have the same user logged in on my Linux
machine that I have on my XP machine, I should be able to read/write right?
Well when I go to the admin share on my XP machine, I can see everything
fine. I can even see that domain permissions are being applied. However I am
still unable to write!

I really appreciate the help, thanks.
-- 
View this message in context: 
http://www.nabble.com/Samba-Configuration-tp22566973p22571574.html
Sent from the Samba - General mailing list archive at Nabble.com.

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


Re: [Samba] Samba Configuration

2009-03-17 Thread ElihuJ

Thanks for the replies guys. My nsswitch.conf has the following:

passwd: compat winbind
group:  compat winbind
shadow: compat winbind

And I am on the hosts allow network. If I remove the valid users, I can
still access the share; I just cannot write to it.

Output of testparm:

Load smb config files from /etc/samba/smb.conf
Processing section [admin]
Processing section [tmp]
Loaded services file OK.
'winbind separator = +' might cause problems with group membership.
Server role: ROLE_DOMAIN_MEMBER
Press enter to see a dump of your service definitions

And here are some of the things I've seen in the logs. Let me know if you
need to see any other logs.

==winbind.log==
[2009/03/17] 00:55:28 3] winbindd/winbindd_misc.c:winbindd_domain_info(654)
 [5888]: domain_info [ADSERVER]
[2009/03/17] 00:55:28 3] winbindd/winbindd_misc.c:winbindd_ping(733)
 [5888]: ping
[2009/03/17] 00:55:28 3] winbindd/winbindd_misc.c:winbindd_lookkupname(102)
 [5888]: lookupname ADSERVER+admin

Now I've tried some things since to see if I can get it working. Since AD
authentication is working, I logged in with my admin user and created a home
directory. Permissions for the directory are 755, with admin:domain admins
for ownership. I figured, well if I have the same user logged in on my Linux
machine that I have on my XP machine, I should be able to read/write right?
Well when I go to the admin share on my XP machine, I can see everything
fine. I can even see that domain permissions are being applied. However I am
still unable to write!

I really appreciate the help, thanks.
-- 
View this message in context: 
http://www.nabble.com/Samba-Configuration-tp22566973p22571583.html
Sent from the Samba - General mailing list archive at Nabble.com.

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


Re: [Samba] Samba Configuration

2009-03-17 Thread guido
ls -ld /home/admin ?


 Thanks for the replies guys. My nsswitch.conf has the following:

 passwd: compat winbind
 group:  compat winbind
 shadow: compat winbind

 And I am on the hosts allow network. If I remove the valid users, I can
 still access the share; I just cannot write to it.

 Output of testparm:

 Load smb config files from /etc/samba/smb.conf
 Processing section [admin]
 Processing section [tmp]
 Loaded services file OK.
 'winbind separator = +' might cause problems with group membership.
 Server role: ROLE_DOMAIN_MEMBER
 Press enter to see a dump of your service definitions

 And here are some of the things I've seen in the logs. Let me know if you
 need to see any other logs.

 ==winbind.log==
 [2009/03/17] 00:55:28 3]
 winbindd/winbindd_misc.c:winbindd_domain_info(654)
  [5888]: domain_info [ADSERVER]
 [2009/03/17] 00:55:28 3] winbindd/winbindd_misc.c:winbindd_ping(733)
  [5888]: ping
 [2009/03/17] 00:55:28 3]
 winbindd/winbindd_misc.c:winbindd_lookkupname(102)
  [5888]: lookupname ADSERVER+admin

 Now I've tried some things since to see if I can get it working. Since AD
 authentication is working, I logged in with my admin user and created a
 home
 directory. Permissions for the directory are 755, with admin:domain admins
 for ownership. I figured, well if I have the same user logged in on my
 Linux
 machine that I have on my XP machine, I should be able to read/write
 right?
 Well when I go to the admin share on my XP machine, I can see everything
 fine. I can even see that domain permissions are being applied. However I
 am
 still unable to write!

 I really appreciate the help, thanks.
 --
 View this message in context:
 http://www.nabble.com/Samba-Configuration-tp22566973p22571583.html
 Sent from the Samba - General mailing list archive at Nabble.com.

 --
 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] Samba Configuration

2009-03-17 Thread ElihuJ

ls -ld /home/admin:

drwxr-xr-x 2 admin domain admins 4096 2009-03-17 21:40 admin

-- 
View this message in context: 
http://www.nabble.com/Samba-Configuration-tp22566973p22572372.html
Sent from the Samba - General mailing list archive at Nabble.com.

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


Re: [Samba] Samba Configuration

2009-03-17 Thread ElihuJ

I think I'm making some progress.. I can now write to the directory.

If I chown admin:domain admins admin I can then write to the directory on
the XP side. I can see domain permissions, but cannot edit them.

However in doing this, I can no longer access the directory as my user on
the Linux side. 

I tried creating a new group called 'samba' and added my admin user, along
with my XP user. I kept the owner as admin. Now I can access the folder on
the Linux side, but not the XP. *frustration!*

And thanks for the help.
-- 
View this message in context: 
http://www.nabble.com/Samba-Configuration-tp22566973p22572874.html
Sent from the Samba - General mailing list archive at Nabble.com.

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


[Samba] Samba configuration for win98, win2k and winxp clients

2008-12-15 Thread 7willows

Hi

I have to configure Samba 3.0.28 on Solaris 10 update 6 to allow win98, 
win2k and winxp clients access to shared storage in a small office. All 
the clients can see the server but they are unable to authenticate to 
gain access to the shares.  I have been asked to configure Samba so that 
the users authenticate using their Solaris username and password. This 
involves modifying the pam.conf to get samba to use the unix 
authentication, I have tried various combinattions.

Can anyone give me any pointer?

TIA


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


[Samba] Samba configuration for win98, win2k and winxp clients

2008-12-15 Thread Mark Condic

Dear TIA,

I also have tried to do this with Windows98  windowsXP.
see the thread [Samba] newbie question/authenticate from Nov. 30th.

I was looking for a simple way, so that students did not have to 
log-on to the computers.


Here is what I have found out so far, (and I would appreciate your 
follow up if you get this to work in windows98):


First,

I have only been very successful with Samba 3.2.6.
Windows98se does not have a /user: option, so this does not work with 
Win98se.  Help?
I have setup username/password accounts in Linux and also the same 
username/password using smbpasswd.
(can anyone tell me if webmin or swat can do this in one step, or do 
I need my own script to do this?)


If the users are log-in, with the same username and password, they 
can access the students directory without the need of my 
script.  If they are not log-into Windows XP, then I created a script 
(with help from others on the list,


[global]
workgroup = 
interfaces = 192.168.1.203/255.255.255.0
bind interfaces only = Yes
security = SHARE
map to guest = Bad User
log level = 2
smb ports = 139
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
printcap name = /etc/printcap
mangling method = hash
os level = 255
preferred master = Yes
case sensitive = No
mangled names = No

[students]
comment = Work area files
path = /students/%U
read only = No

[teacher]
comment = Master work area files
path = /students
valid users = teacher
read only = No

I then created three batch files,

netuser.bat
@echo off
set/p Username=Enter your Username:
rem disconnects s: incase a user forgot to logoff
net use s: /delete /y
rem the net use with a * password will prompt for a password
net use s: \\test203\students /USER:%Username% * /persistent:no
dir s:
rem the last pause will allow us to see any error messages incase of errors
Pause

This batch allows me the teacher to have access to all of the students work

teacher.bat
@echo off
set/p Username=Enter your Username:
rem disconnects s: incase a user forgot to logoff
net use s: /delete /y
rem the net use with a * password will prompt for a password
net use s: \\test203\teacher /USER:%Username% * /persistent:no
dir s:
rem the last pause will allow us to see any error messages incase of errors
Pause

netlogoff.bat
@echo off
rem disconnects s: incase a user forgot to logoff
net use s: /delete /y
dir s:
rem the last pause will allow us to see any error messages incase of errors
Pause

Now if there was a real easy way to get this to work with 
win98se.  Please let me know.

I have not tried this yet in the entire class.  Over break I will.

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


Re: [Samba] Samba Configuration on Linux

2006-12-18 Thread Dale Schroeder

Nehal,

Which version  of Samba are you using?  I ask this each time I see  
valid users =  because 3.0.23, 23a, and 23b had issues with this directive.


Dale

Sangoi, Nehal (GE Supply, consultant) wrote:

Hi All
 
I am trying configuring samba on my linux machine. Below is the smb.conf

file. After starting the samba services (smbd and nmbd), i am not able
to access the samba exported folder from my network.
 
[global]

workgroup = TEST1
hosts allow = 10.2. 127.
log file = /var/log/samba/%m.log
max log size = 500
security = USER 
encrypt passwords = yes

smb passwd file = /etc/samba/smbpasswd
username map = /etc/samba/smbusers
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
[UNIX]
   comment = UNIX Team's Data
   path = /unixdata
   valid users = abc
   public = no
   writable = yes
   create mask = 0760
 
 
Guide me thru the configuration as i think, i have missed out something,

which is not letting me access samba shared folder in my network.
 
 
Thanks

Nehal
  

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


RE: [Samba] Samba Configuration on Linux

2006-12-18 Thread Sangoi, Nehal \(GE Supply, consultant\)
Hi

I am using samba-3.0.23c-4.i386.rpm . 

-Original Message-
From: Dale Schroeder [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 18, 2006 2:13 PM
To: Sangoi, Nehal (GE Supply, consultant); samba@lists.samba.org
Subject: Re: [Samba] Samba Configuration on Linux

Nehal,

Which version  of Samba are you using?  I ask this each time I see  
valid users =  because 3.0.23, 23a, and 23b had issues with this
directive.

Dale

Sangoi, Nehal (GE Supply, consultant) wrote:
 Hi All
  
 I am trying configuring samba on my linux machine. Below is the 
 smb.conf file. After starting the samba services (smbd and nmbd), i am

 not able to access the samba exported folder from my network.
  
 [global]
 workgroup = TEST1
 hosts allow = 10.2. 127.
 log file = /var/log/samba/%m.log
 max log size = 500
 security = USER
 encrypt passwords = yes
 smb passwd file = /etc/samba/smbpasswd username map = 
 /etc/samba/smbusers socket options = TCP_NODELAY SO_RCVBUF=8192 
 SO_SNDBUF=8192 [UNIX]
comment = UNIX Team's Data
path = /unixdata
valid users = abc
public = no
writable = yes
create mask = 0760
  
  
 Guide me thru the configuration as i think, i have missed out 
 something, which is not letting me access samba shared folder in my
network.
  
  
 Thanks
 Nehal
   
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba Configuration on Linux

2006-12-18 Thread Dale Schroeder

Sangoi, Nehal (GE Supply, consultant) wrote:
 
I tested this way too . infact, just kept those settings which required for network connections .. but so far no luck :(


*From:* Dale Schroeder [mailto:[EMAIL PROTECTED]
*Sent:* Monday, December 18, 2006 3:26 PM
*To:* Sangoi, Nehal (GE Supply, consultant)
*Subject:* Re: [Samba] Samba Configuration on Linux

Nehal,

valid users should work in 3.0.23c, but for testing purposes, I 
would comment out valid users and username map, then restart 
samba.  If it now works, add them back one at a time to see which is 
causing your problem. Also, check that posix permissions/ownership are 
set correctly on the /unixdata directory.


Good luck,
Dale

Sangoi, Nehal (GE Supply, consultant) wrote:

Hi

I am using samba-3.0.23c-4.i386.rpm . 


-Original Message-
From: Dale Schroeder [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 18, 2006 2:13 PM

To: Sangoi, Nehal (GE Supply, consultant); samba@lists.samba.org
Subject: Re: [Samba] Samba Configuration on Linux

Nehal,

Which version  of Samba are you using?  I ask this each time I see  
valid users =  because 3.0.23, 23a, and 23b had issues with this

directive.

Dale

Sangoi, Nehal (GE Supply, consultant) wrote:
  

Hi All
 
I am trying configuring samba on my linux machine. Below is the 
smb.conf file. After starting the samba services (smbd and nmbd), i am



  

not able to access the samba exported folder from my network.
 
[global]

workgroup = TEST1
hosts allow = 10.2. 127.
log file = /var/log/samba/%m.log
max log size = 500
security = USER
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd username map = 
/etc/samba/smbusers socket options = TCP_NODELAY SO_RCVBUF=8192 
SO_SNDBUF=8192 [UNIX]

   comment = UNIX Team's Data
   path = /unixdata
   valid users = abc
   public = no
   writable = yes
   create mask = 0760
 
 
Guide me thru the configuration as i think, i have missed out 
something, which is not letting me access samba shared folder in my


network.
  
 
 
Thanks

Nehal
  




  



No virus found in this incoming message.
Checked by AVG.
Version: 7.5.433 / Virus Database: 268.15.23/591 - Release Date: 12/17/2006 
03:17 PM
  

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


[Samba] Samba Configuration on Linux

2006-12-15 Thread Sangoi, Nehal \(GE Supply, consultant\)
Hi All
 
I am trying configuring samba on my linux machine. Below is the smb.conf
file. After starting the samba services (smbd and nmbd), i am not able
to access the samba exported folder from my network.
 
[global]
workgroup = TEST1
hosts allow = 10.2. 127.
log file = /var/log/samba/%m.log
max log size = 500
security = USER 
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
username map = /etc/samba/smbusers
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
[UNIX]
   comment = UNIX Team's Data
   path = /unixdata
   valid users = abc
   public = no
   writable = yes
   create mask = 0760
 
 
Guide me thru the configuration as i think, i have missed out something,
which is not letting me access samba shared folder in my network.
 
 
Thanks
Nehal
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba Configuration on Linux

2006-12-15 Thread Felix Miata
On 2006/12/15 12:33 (GMT-0500) Sangoi, Nehal (GE Supply, consultant)
apparently typed:

 I am trying configuring samba on my linux machine. Below is the smb.conf

Did you remember to create users with useradd and with smbpasswd -a?
-- 
Let your conversation be always full of grace. Colossians 4:6 NIV

 Team OS/2 ** Reg. Linux User #211409

Felix Miata  ***  http://mrmazda.no-ip.com/
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Samba Configuration on Linux

2006-12-15 Thread Sangoi, Nehal \(GE Supply, consultant\)
 
Yes, I created respective samba user and samba password too.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Felix Miata
Sent: Friday, December 15, 2006 1:57 PM
To: samba@lists.samba.org
Subject: Re: [Samba] Samba Configuration on Linux

On 2006/12/15 12:33 (GMT-0500) Sangoi, Nehal (GE Supply, consultant)
apparently typed:

 I am trying configuring samba on my linux machine. Below is the 
 smb.conf

Did you remember to create users with useradd and with smbpasswd -a?
--
Let your conversation be always full of grace. Colossians 4:6 NIV

 Team OS/2 ** Reg. Linux User #211409

Felix Miata  ***  http://mrmazda.no-ip.com/
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba Configuration on Linux

2006-12-15 Thread Felix Miata
On 2006/12/15 12:33 (GMT-0500) Sangoi, Nehal (GE Supply, consultant)
apparently typed:

 I am trying configuring samba on my linux machine. Below is the smb.conf
 file. After starting the samba services (smbd and nmbd), i am not able
 to access the samba exported folder from my network.

 [global]
 workgroup = TEST1

Are all machines that wish to access this machine members of this same
workgroup?
-- 
Let your conversation be always full of grace. Colossians 4:6 NIV

 Team OS/2 ** Reg. Linux User #211409

Felix Miata  ***  http://mrmazda.no-ip.com/
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Samba Configuration on Linux

2006-12-15 Thread Sangoi, Nehal \(GE Supply, consultant\)
Yes, I have machines in same workgroup ...  

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Felix Miata
Sent: Friday, December 15, 2006 2:09 PM
To: samba@lists.samba.org
Subject: Re: [Samba] Samba Configuration on Linux

On 2006/12/15 12:33 (GMT-0500) Sangoi, Nehal (GE Supply, consultant)
apparently typed:

 I am trying configuring samba on my linux machine. Below is the 
 smb.conf file. After starting the samba services (smbd and nmbd), i am

 not able to access the samba exported folder from my network.

 [global]
 workgroup = TEST1

Are all machines that wish to access this machine members of this same
workgroup?
--
Let your conversation be always full of grace. Colossians 4:6 NIV

 Team OS/2 ** Reg. Linux User #211409

Felix Miata  ***  http://mrmazda.no-ip.com/
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[SAMBA] Samba Configuration Assistance Please

2006-03-12 Thread Gord Taylor
Hello All,
 
I wouldn't write with such a trivial sounding problem if I didn't have
to - Sorry. 
 
I have two machines on LAN 192.168.0.  One is a windows machine, one is
a Redhat 9 machine.  I have been trying to get samba set up for two
weeks now.  
 
I first installed RedHat 9 with GUI and then reimaged my windows box.
Everything worked like a charm and Samba was perfect.  Me being fussy, I
reimaged my linux box to not include the GUI.  I couldn't get access to
my Samba space anymore, although it would show up with my server string
in 'My Network Places'.  I struggled for a week and a half before
finally giving up, reimaging RedHat 9 to include the GUI so that I could
grab the smb.conf file and see what's going on.  Samba continues to not
work.
 
I can ping either box from the other.  The samba server no-longer shows
up in 'My Network Places'.  I have added users and ensured their
permissions were set.  I can still see the linux box through pings but
something is blocking samba.
 
Here's my smb.conf
 
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command
testparm
# to check that you have not made any basic syntactic errors.
#
#=== Global Settings
=
[global]
 
 
# server string is the equivalent of the NT Description field
server string = gord's samba server
 
# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the loopback interface. For more examples of the syntax see
# the smb.conf man page
hosts allow = 192.168.0. 192.168.2. 127.
 
# if you want to automatically load your printer list rather
# than setting them up individually then you'll need this
printcap name = /etc/printcap
load printers = yes
 
# It should not be necessary to spell out the print system type unless
# yours is non-standard. Currently supported print systems include:
# bsd, sysv, plp, lprng, aix, hpux, qnx, cups
printing = cups
 
# Uncomment this if you want a guest account, you must add this to
/etc/passwd
# otherwise the user nobody is used
;  guest account = pcguest
 
# this tells Samba to use a separate log file for each machine
# that connects
log file = /var/log/samba/%m.log
 
# Put a capping on the size of the log files (in Kb).
max log size = 0
 
# Security mode. Most people will want user level security. See
# security_level.txt for details.
 
# Use password server option only with security = server
# The argument list may include:
#   password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
# or to auto-locate the domain controller/s
#   password server = *
;   password server = NT-Server-Name
 
# Password Level allows matching of _n_ characters of the password for
# all combinations of upper and lower case.
;  password level = 8
;  username level = 8
 
# You may wish to use password encryption. Please read
# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
# Do not enable this option unless you have read those documents
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
 
# The following is needed to keep smbclient from spouting spurious
errors
# when Samba is built with support for SSL.
;   ssl CA certFile = /usr/share/ssl/certs/ca-bundle.crt
 
# The following are needed to allow password changing from Windows to
# update the Linux system password also.
# NOTE: Use these with 'encrypt passwords' and 'smb passwd file' above.
# NOTE2: You do NOT need these to allow workstations to change only
#the encrypted SMB passwords. They allow the Unix password
#to be kept in sync with the SMB password.
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
 
# You can use PAM's password change control flag for Samba. If
# enabled, then PAM will be used for password changes when requested
# by an SMB client instead of the program listed in passwd program.
# It should be possible to enable this without changing your passwd
# chat parameter for most setups.
 
pam password change = yes
 
# Unix users can map to different SMB User names
;  username map = /etc/samba/smbusers
 
# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with 

[Samba] SAMBA configuration nightmare (AIX) - idmaps do not work (core dump), ldap/nss_ldap and pam fail

2006-02-09 Thread David Shapiro
Well, I have tried really hard to get any of the idmaps to work--in
that, idmap_ads, idmap_rid, and I have tried to use idmap stroage in
ldap with padl (nss_ldap) too, but I have had no luck.  If I enable pam
in /usr/lib/security/methods.cfg or nss_ldap, I cannot log into the
system anymore.  If I enable pam in /etc/pam.conf and use in
/etc/security/users SYSTEM = WINBINd or WINBIND[UNAVAIL] AND COMPAT I
cannot log into the system anymore.  If I enable idmap_ads or idmap_rid
in smb.conf, winbindd core dumps.  I think, and I have not verified this
yet, that if I start up samba without idmap_ad or idmap_rid so that
winbindd starts and then add idmap_rid or idmap_ad once it has started,
winbindd does not core, but I cannot 100% tell if idmapping is
happening.  (After messing with all this, I was wondering why I even
need idmap, pam, or ldap capability anyway.)  Still, it bugs me that I
cannot get any of this to work.
 
Here are my notes:
 
I changed the separator to + from / and now when I use
users=DOMAIN+mylogin, I get access to a share finally. However, when I
run chown DOMAIN+mylogin testdir, testdir is not set to
DOMAIN+mylogin,
it is set to tempfn (temporary id is what the gecos/description says).

In aix land, what do I need to do to get it to use WINBIND to set the
diretory ownership now? My /usr/lib/security/methods.cfg has authonly
for WINBIND. I take it that is not enough? I saw something where they
wanted me to change SYSTEM=compat to 
 
 SYSTEM = WINBIND OR WINBIND[UNAVAIL] AND compat, but when I do
that,
nobody can log in to the system anymore. 
 
My smb.conf now looks like the following:
 
[global]
 
workgroup = DOMAIN
realm = DOMAIN.COM
server string = User management Server
security = ADS
password server = ad.domain.com
log level = 10
log file = /usr/local/samba/var/log.%m
max log size = 50
name resolve order = hosts wins lmhosts bcast
socket options = TCP_NODELAY SO_RCVBUF=16384 SO_SNDBUF=16384
preferred master = No
local master = No
dns proxy = No
wins server = svcmc02, svcmc03
idmap uid = 10-20
idmap gid = 10-20
winbind separator = +
winbind use default domain = Yes
winbind nested groups = Yes
aio read size = 1
aio write size = 1
 
[home]
 
path = /home/%D/%u
valid users = %S
read only = No
browseable = No
 
[samba]
 
path = /usr/local/samba
username = DOMAIN+mylogin
valid users = DOMAIN+mylogin
 

My /usr/lib/security/methods.cfg:
 
NIS:
 
program = /usr/lib/security/NIS
program_64 = /usr/lib/security/NIS_64
 
DCE:
 
program = /usr/lib/security/DCE
 
* PAM:
* program = /usr/lib/security/PAM
 
WINBIND:
 
program = /usr/lib/security/WINBIND
options = authonly
* options = auth=PAM,db=BUILTIN
 
* LDAP:
*   program = /usr/lib/security/NSS_LDAP
 
(haven't had luck with pam either. It will not let me log in if I use
it too)
 
PAM:
 
Added to pam.conf:
 
sshd auth required /usr/lib/security/pam_aix
OTHER auth required /usr/lib/security/pam_aix
 
# Account management
sshd account required /usr/lib/security/pam_aix
OTHER account required /usr/lib/security/pam_aix
 
# Password management
sshd password required /usr/lib/security/pam_aix
OTHER password required /usr/lib/security/pam_aix
 
# Session management
sshd session required /usr/lib/security/pam_aix
OTHER session required /usr/lib/security/pam_aix
 
OTHER auth required /usr/lib/security/pam_winbind.so debug
use_first_pass unknown_ok DOMAIN
OTHER account required /usr/lib/security/pam_winbind.so debug
use_first_pass unknown_ok DOMAIN
OTHER session required /usr/lib/security/pam_winbind.so debug
use_first_pass unknown_ok DOMAIN
OTHER password required /usr/lib/security/pam_winbind.so debug
use_first_pass unknown_ok DOMAIN
 

During build I had to add in Makefile's CFLAG line to get pam to
compile:
 
-DPAM_AUTHTOK_RECOVER_ERR=PAM_AUTHTOK_RECOVERY_ERR -DPAM_EXTERN=extern
or load with env CC=gcc as CFLAGs.
 

LDAP:
copied samba/source/example/LDAP/samba.schema to
/usr/local/openldap/etc/openldap/schema folder 
Added to /usr/local/openldap/etc/slapd.conf:
 
# Samba required schemas
include /usr/local/openldap/etc/openldap/cosine.schema
include /usr/local/openldap/etc/openldap/inetorgperson.schema
include /usr/local/openldap/etc/openldap/nis.schema
include /usr/local/openldap/etc/openldap/samba.schema
 
###
# BDB database definitions
###
databasebdb
suffix  dc=DOMAIN,dc=COM
rootdn  cn=Manager,dc=DOMAIN,dc=COM
# Cleartext passwords, especially for the rootdn, should
# be avoid.  See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw mypassword
# The database 

[Samba] Samba configuration on AIX 5.2

2005-02-15 Thread shaista.bano
Hi ,

 

 

I am trying to configure Samba with ADS integration on AIX 5.2.

 

I am able to join to windows Domain and able to fetch list of windows
domain users with the command

/usr/local/samba/bin/wbinfo -u and also the groups with
usr/local/samba/bin/wbinfo -u .

I have added the below line methods.cfg

 

WINBIND

program = /usr/lib/security/WINBIND

options = authonly

 

I am unable to login to the Aix server using credentials of Domain user.

 

This process does not give any significant error in  winbindd.log .

 

I am looking for the steps that need to be followed on the PAM / krb
side to be able to login to AIX

Server with the windows domain user credentials

 

Here are my smb.conf and krb5.

Any help on this would be great.

 

Smb.conf

 

[global]

 

workgroup = restore

server string = Samba Server

log file = /var/log/samba/%m.log

max log size = 50

security =  ADS

realm = restore.com

password server =  10.80.0.120

 

# Winbind config.###

winbind separator = #

idmap uid = 1-2

idmap gid = 1-2

winbind cache time = 15

winbind enum users = yes

winbind enum groups = yes

template homedir = /home/%D/%U

template shell = /bin/bash

winbind use default domain = yes

 

[homes]

comment = Home Directories

browseable = no

writeable = yes

create mask = 0640

 

krb5.conf

 

[libdefaults]

default_realm = RESTORE.COM

ticket_lifetime = 24000

dns_lookup_realm = true

dns_lookup_kdc = true

krb4_config = /usr/krb5-1.3.6/src/config-files/krb.conf

 

[realms]

RESTORE.COM  = {

admin_server = mailsrvr.restore.com

kdc = mailsrvr.restore.com

default_domain = RESTORE.COM

}

 

 

[kdc]

 profile = /usr/krb5-1.3.6/src/config-files/kdc.conf

 

[domain_realm]

.restore.com = RESTORE.COM

 restore.com = RESTORE.COM

 

[logging]

#   kdc = CONSOLE

 default = FILE:/var/log/krb5libs.log

 kdc = FILE:/var/log/krb5kdc.log

 admin_server = FILE:/var/log/kadmind.log

 

[appdefaults]

 pam = {

   debug = true

   ticket_lifetime = 36000

   renew_lifetime = 36000

   forwardable = true

   krb4_convert = false

 }

 

Regards,

Shaista 



DISCLAIMER:
This message contains privileged and confidential information and is intended 
only for the individual named.If you are not the intended recipient you should 
not disseminate,distribute,store,print, copy or deliver this message.Please 
notify the sender immediately by e-mail if you have received this e-mail by 
mistake and delete this e-mail from your system.E-mail transmission cannot be 
guaranteed to be secure or error-free as information could be 
intercepted,corrupted,lost,destroyed,arrive late or incomplete or contain 
viruses.The sender therefore does not accept liability for any errors or 
omissions in the contents of this message which arise as a result of e-mail 
transmission. If verification is required please request a hard-copy version.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Samba Configuration

2004-09-29 Thread Bruno Lessa Cardoso
Hi all,

I have installed a SAMBA SERVER (3.0.4) into my network using a
Windows NT 4.0 as a  PDC. I want Samba to catch the passwords from
this NT, and authenticate these users getting access to the shares.
How can I do this? Does anybody have a smb.conf file as an example? I
use Linux for a long time, but this is my first time with Samba,

Thanks for your help,

-- 
Bruno Lessa Cardoso
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Samba Configuration Options for small 2-3 person office?

2004-09-19 Thread W. D.
After 'make install', this appears:

l samba configuration options qk
x  x
x Please select desired options:   x
x lqqk x
x x [ ] syslog   With syslog support x x
x x [ ] ssl  With ssl supportx x
x x [ ] ldap With LDAP2 support  x x
x x [ ] nocups   Without CUPSx x
x x [ ] acl  With ACL supportx x
x x [ ] utmp With UTMP support   x x
x x [ ] msdfsWith MSDFS support  x x
x x [ ] quotaWith Quota support  x x
x x [ ] recycle  With Recycle Binx x
x x [ ] auditWith Audit  x x
x x [ ] winbind  With Winbindx x
x x [ ] wbauth   With Winbind Auth Challenge x x
x mqqj x
tqqu
x[  OK  ]   Cancel x
mqqj

Which should be checked?

Thanks for your help!!!

Start Here to Find It Fast!™ - http://www.US-Webmasters.com/best-start-page/
$8.77 Domain Names - http://domains.us-webmasters.com/

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


Re: [Samba] Samba Configuration Options for small 2-3 person office?

2004-09-19 Thread rruegner
Hi, i never seen this , cause i am installing from bins,
but you can do it all without nocups
cause using this parameters later depends only on your entries in the 
smb.conf, but it will be nice to have the choice.

Regards
W. D. schrieb:
After 'make install', this appears:
l samba configuration options qk
x  x
x Please select desired options:   x
x lqqk x
x x [ ] syslog   With syslog support x x
x x [ ] ssl  With ssl supportx x
x x [ ] ldap With LDAP2 support  x x
x x [ ] nocups   Without CUPSx x
x x [ ] acl  With ACL supportx x
x x [ ] utmp With UTMP support   x x
x x [ ] msdfsWith MSDFS support  x x
x x [ ] quotaWith Quota support  x x
x x [ ] recycle  With Recycle Binx x
x x [ ] auditWith Audit  x x
x x [ ] winbind  With Winbindx x
x x [ ] wbauth   With Winbind Auth Challenge x x
x mqqj x
tqqu
x[  OK  ]   Cancel x
mqqj
Which should be checked?
Thanks for your help!!!
Start Here to Find It Fast! - http://www.US-Webmasters.com/best-start-page/
$8.77 Domain Names - http://domains.us-webmasters.com/
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] SAMBA configuration on windows!

2004-09-13 Thread Kedarnadh, B (STSD)
Hi,

I have installed samba on unix tier production support machine, I would
like to know the process involved to configure on windows machine
interms of access unix file system on windows.

Scenerio:
Samba installed on ClearCase VIEWs(HP-UX 11.11) server and created a
VIEW called 'user_view_build1' on /home/user/user_view_build.vws, and I
would map this VIEW on windows machine and do the necessay build.

Please do let me know the configuration part on windows client area.

Thanks  regards,

Venkata Kedarnadh. B
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


AW: AW: [Samba] samba configuration multiple ethernet card

2004-03-02 Thread Boomer
Hi there,

Perhaps this will help. 
You are able to start different smbd with different smb.conf like
described in: 
http://de.samba.org/samba/docs/man/bugreport.html#id2979912

It could work if you star two different smbd instances one loading with
a smbd.conf for bind interfaces only = eth0 and one for the other with
different shares?

Just as an idea.

Regards
Hendrik

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von
Stefan G. Weichinger
Gesendet: Montag, 1. März 2004 22:10
An: [EMAIL PROTECTED]
Betreff: Re: AW: [Samba] samba configuration multiple ethernet card



Hello, Lapin(c),

Montag, 01. März 2004, 22:00 you wrote:

Lc to have some shares accessible only from one interface and not from 
Lc all of them ?

No.

Read about interfaces and bind interfaces only again.
There is no SOME shares-logic in there.
-- 
best regards,
Stefan G. Weichinger
mailto:[EMAIL PROTECTED]







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

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


AW: AW: [Samba] samba configuration multiple ethernet card

2004-03-02 Thread Hendrik Baecker
Sorry for the Nickname in my last posting.


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


[Samba] samba configuration multiple ethernet card

2004-03-01 Thread Stefan Bergner
Hi!

I want to size a samba-server.

the samba server will become 4 ethernet cards.
The samba-server serves his shares to only ONE subnet.

subnet : 192.168.0.x

so, i would configure Linux like that:

eth0 - 192.168.0.1
eth1 - 192.168.0.2
eth2 - 192.168.0.3
eth3 - 192.168.0.4

Is it possible to configure samba, to use for some
shares the first card, for other shares the second,
and so on ... 

Like this

[FOR_ALL] - Share - The Network-Traffic is running over eth0
[ADMINS] - Share  - The Network-Traffic is running over eth1
...

Is there a possibity? Maybe with Virtual Servers? 

Greeting and Thx

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


Re: [Samba] samba configuration multiple ethernet card

2004-03-01 Thread Lapin(c)
it should be possible using
include = /etc/samba/smb.conf.%I
and defining smb.conf.192.168.0.1 files as a specific configuration file

Stefan Bergner wrote:
Hi!

I want to size a samba-server.

the samba server will become 4 ethernet cards.
The samba-server serves his shares to only ONE subnet.
subnet : 192.168.0.x

so, i would configure Linux like that:

eth0 - 192.168.0.1
eth1 - 192.168.0.2
eth2 - 192.168.0.3
eth3 - 192.168.0.4
Is it possible to configure samba, to use for some
shares the first card, for other shares the second,
and so on ... 
Like this

[FOR_ALL] - Share - The Network-Traffic is running over eth0
[ADMINS] - Share  - The Network-Traffic is running over eth1
...
Is there a possibity? Maybe with Virtual Servers? 

Greeting and Thx

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


AW: [Samba] samba configuration multiple ethernet card

2004-03-01 Thread Stefan Bergner
Ok, and then? 

in file smb.conf.192.168.0.1

[global]
...
bind interfase only = yes
interfaces  = eth0
...

[FOR_ALL]
...

in file smb.conf.192.168.0.2

[global]
...
bind interfase only = yes
interfaces  = eth1
...

[ADMINS]
...

Does this configuration works?

Is this a good solution? i really don't know, so what's
the global thinking about this.



--
Information Systems Engineering GmbH
Bründeläckerstrasse 6
91207 Lauf an der Pegnitz

Tel:   +49-9123-9772-20
Mobil: +49-172-8254222
Fax:   +49-9123-9772-22
Email: [EMAIL PROTECTED]
WWW:   http://www.ise-informatik.de




 -Ursprüngliche Nachricht-
 Von: Lapin(c) [mailto:[EMAIL PROTECTED] 
 Gesendet: Montag, 1. März 2004 21:14
 An: Stefan Bergner
 Cc: [EMAIL PROTECTED]
 Betreff: Re: [Samba] samba configuration multiple ethernet card
 
 
 it should be possible using
 include = /etc/samba/smb.conf.%I
 
 and defining smb.conf.192.168.0.1 files as a specific 
 configuration file
 
 
 Stefan Bergner wrote:
  Hi!
  
  I want to size a samba-server.
  
  the samba server will become 4 ethernet cards.
  The samba-server serves his shares to only ONE subnet.
  
  subnet : 192.168.0.x
  
  so, i would configure Linux like that:
  
  eth0 - 192.168.0.1
  eth1 - 192.168.0.2
  eth2 - 192.168.0.3
  eth3 - 192.168.0.4
  
  Is it possible to configure samba, to use for some
  shares the first card, for other shares the second,
  and so on ... 
  
  Like this
  
  [FOR_ALL] - Share - The Network-Traffic is running over 
 eth0 [ADMINS] 
  - Share  - The Network-Traffic is running over eth1 ...
  
  Is there a possibity? Maybe with Virtual Servers?
  
  Greeting and Thx
  
  Stefan
 
 
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: AW: [Samba] samba configuration multiple ethernet card

2004-03-01 Thread Stefan G. Weichinger

Hello, Stefan,

Montag, 01. März 2004, 21:25 you wrote:

SB Ok, and then? 

SB in file smb.conf.192.168.0.1

SB [global]
SB ...
SB bind interfase only = yes
SB interfaces  = eth0
SB ...

SB [FOR_ALL]
SB ...

SB in file smb.conf.192.168.0.2

SB [global]
SB ...
SB bind interfase only = yes
SB interfaces  = eth1
SB ...

SB [ADMINS]
SB ...

SB Does this configuration works?

Not as you want it to.

Be aware that the parameter bind interfaces is a global one, which
means that it sets the interface for ALL shares you define.

Including other files does NOT change that.

If you want to use 4 NICs and their bandwidth, look for the topic
bonding NICs. Then bind your smb-traffic to the created
bond-interface (via bind interfaces) and enjoy the performance.

-- 
best regards,
Stefan G. Weichinger
mailto:[EMAIL PROTECTED]







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


Re: AW: [Samba] samba configuration multiple ethernet card

2004-03-01 Thread Lapin(c)
i've done it in the past for virtual names. it's more or less the 
following :

/etc/samba.smb.conf
[global]
...
global parameters
...
include = /etc/samba/smb.conf.%I
[for_all]
path = ...
/etc/samba/smb.conf.192.168.0.1
[admin]
path= ...
/etc/samba/smb.conf.192.168.0.2
[other]
path = ...
the problem now will be to force connection to one specific interface...

Stefan Bergner wrote:
Ok, and then? 

in file smb.conf.192.168.0.1

[global]
...
bind interfase only = yes
interfaces  = eth0
...
[FOR_ALL]
...
in file smb.conf.192.168.0.2

[global]
...
bind interfase only = yes
interfaces  = eth1
...
[ADMINS]
...
Does this configuration works?

Is this a good solution? i really don't know, so what's
the global thinking about this.


--
Information Systems Engineering GmbH
Bründeläckerstrasse 6
91207 Lauf an der Pegnitz
Tel:   +49-9123-9772-20
Mobil: +49-172-8254222
Fax:   +49-9123-9772-22
Email: [EMAIL PROTECTED]
WWW:   http://www.ise-informatik.de




-Ursprüngliche Nachricht-
Von: Lapin(c) [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 1. März 2004 21:14
An: Stefan Bergner
Cc: [EMAIL PROTECTED]
Betreff: Re: [Samba] samba configuration multiple ethernet card

it should be possible using
include = /etc/samba/smb.conf.%I
and defining smb.conf.192.168.0.1 files as a specific 
configuration file

Stefan Bergner wrote:

Hi!

I want to size a samba-server.

the samba server will become 4 ethernet cards.
The samba-server serves his shares to only ONE subnet.
subnet : 192.168.0.x

so, i would configure Linux like that:

eth0 - 192.168.0.1
eth1 - 192.168.0.2
eth2 - 192.168.0.3
eth3 - 192.168.0.4
Is it possible to configure samba, to use for some
shares the first card, for other shares the second,
and so on ... 
Like this

[FOR_ALL] - Share - The Network-Traffic is running over 
eth0 [ADMINS] 

- Share  - The Network-Traffic is running over eth1 ...

Is there a possibity? Maybe with Virtual Servers?

Greeting and Thx

Stefan


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


Re: AW: [Samba] samba configuration multiple ethernet card

2004-03-01 Thread Stefan G. Weichinger

Hello, Lapin(c),

Montag, 01. März 2004, 21:47 you wrote:

Lc i've done it in the past for virtual names. it's more or less the 
Lc following :

Lc /etc/samba.smb.conf
Lc [global]
Lc ...
Lc global parameters
Lc ...
Lc include = /etc/samba/smb.conf.%I

Lc [for_all]
Lc path = ...

Lc /etc/samba/smb.conf.192.168.0.1
Lc [admin]
Lc path= ...

Maybe I don't get it but what should that setup do?
Why not simply define your shares inside smb.conf?
Why one conf per share?

-- 
best regards,
Stefan G. Weichinger
mailto:[EMAIL PROTECTED]







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


Re: AW: [Samba] samba configuration multiple ethernet card

2004-03-01 Thread Lapin(c)
to have some shares accessible only from one interface and not from all 
of them ?

Stefan G. Weichinger wrote:
Hello, Lapin(c),

Montag, 01. März 2004, 21:47 you wrote:

Lc i've done it in the past for virtual names. it's more or less the 
Lc following :

Lc /etc/samba.smb.conf
Lc [global]
Lc  ...
Lc  global parameters
Lc  ...
Lc  include = /etc/samba/smb.conf.%I
Lc [for_all]
Lc  path = ...
Lc /etc/samba/smb.conf.192.168.0.1
Lc [admin]
Lc  path= ...
Maybe I don't get it but what should that setup do?
Why not simply define your shares inside smb.conf?
Why one conf per share?
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: AW: [Samba] samba configuration multiple ethernet card

2004-03-01 Thread Stefan G. Weichinger

Hello, Lapin(c),

Montag, 01. März 2004, 22:00 you wrote:

Lc to have some shares accessible only from one interface and not from all
Lc of them ?

No.

Read about interfaces and bind interfaces only again.
There is no SOME shares-logic in there.
-- 
best regards,
Stefan G. Weichinger
mailto:[EMAIL PROTECTED]







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


[Samba] samba configuration question

2004-01-15 Thread Helen Nulty
We have a central campus kerberos server.  We have a local
Active Directory domain which is a member of the main campus
forest.  We have 2 samba 3.0 servers currently configured:
security = domain
password server = SPHDC0 SPHDC1
where SPHDC0 is the primary domain controller, SPHDC1 is
backup domain controller and neither of which runs in native
mode.

We want everyone, for both domain and samba services, to
authenticate to the main campus kerberos server.  Say we get
over the hurdle of having our domain logins authenticated by
the main campus kerberos server.  Can we keep our existing
samba configuration and in a transitive manner effectively
authenticate to the main campus kerberos server as well for
our samba connections?

If not, how can we do this?

We will appreciate any insights anyone has to offer.  We're
willing to share what we learn.

Thank you,

Helen Nulty
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] Samba configuration

2003-11-03 Thread Distribution Lists

I'm trying to config a Linux box to integrate into a windows network using
pam_smb and samba.

Ive set it up so that using pam_smb I can get the user to log onto the
linux desktop with their NT id and password.

The only problem is once the user is logged on they need to be able to
access shared resources disk, printers etc... without the need to
reauthenticate to the domain, i.e. use a cache password. Is this possible ?

Thanks


-- 




-- 

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


Re: [Samba] Samba configuration

2003-11-03 Thread rruegner
do you mean a guest share or just no auth in anyway?
what version of smba do you use post your smb.conf study man files of
smb.conf
regards
- Original Message - 
From: Distribution Lists [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, November 03, 2003 9:41 PM
Subject: [Samba] Samba configuration



 I'm trying to config a Linux box to integrate into a windows network using
 pam_smb and samba.

 Ive set it up so that using pam_smb I can get the user to log onto the
 linux desktop with their NT id and password.

 The only problem is once the user is logged on they need to be able to
 access shared resources disk, printers etc... without the need to
 reauthenticate to the domain, i.e. use a cache password. Is this possible
?

 Thanks


 -- 




 -- 

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


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


[Samba] samba configuration

2003-06-30 Thread Didovich, Vitaly
Hello Samba team,

I am starting  to run samba on unix server for make shearing directories with windows 
site.
Regarding with your documentation on unix site samba running ok.

[EMAIL PROTECTED]:[/opt/samba/bin]# ./smbclient -U% -L buzzard
added interface ip=170.118.85.16 bcast=170.118.85.63 nmask=255.255.255.192
added interface ip=170.118.165.75 bcast=170.118.165.127 nmask=255.255.255.192
added interface ip=170.118.166.75 bcast=170.118.166.127 nmask=255.255.255.192
Domain=[IRI_CORP] OS=[Unix] Server=[Samba 2.2.3a]

Sharename  Type  Comment
-    ---
lsf_share  Disk  
IPC$   IPC   IPC Service (Samba 2.2.3a)
ADMIN$ Disk  IPC Service (Samba 2.2.3a)

Server   Comment
----
CHI0095285D  
TALLADEGASamba 2.2.3a

WorkgroupMaster
----
IRI_CORP CHI0095285D

 But unfortunately I can't find documentation how I can configure samba on Windows 
2000 site.
Please help me.

Advance thanks

Vitaly Didovich
Unix System Administrator
Information Resource Inc,
[EMAIL PROTECTED]
312-474-3717




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


Re: [Samba] samba configuration

2003-06-30 Thread Gémes Géza
Didovich, Vitaly írta:

Hello Samba team,

I am starting  to run samba on unix server for make shearing directories with windows 
site.
Regarding with your documentation on unix site samba running ok.
[EMAIL PROTECTED]:[/opt/samba/bin]# ./smbclient -U% -L buzzard
added interface ip=170.118.85.16 bcast=170.118.85.63 nmask=255.255.255.192
added interface ip=170.118.165.75 bcast=170.118.165.127 nmask=255.255.255.192
added interface ip=170.118.166.75 bcast=170.118.166.127 nmask=255.255.255.192
Domain=[IRI_CORP] OS=[Unix] Server=[Samba 2.2.3a]
   Sharename  Type  Comment
   -    ---
   lsf_share  Disk  
   IPC$   IPC   IPC Service (Samba 2.2.3a)
   ADMIN$ Disk  IPC Service (Samba 2.2.3a)

   Server   Comment
   ----
   CHI0095285D  
   TALLADEGASamba 2.2.3a

   WorkgroupMaster
   ----
   IRI_CORP CHI0095285D
But unfortunately I can't find documentation how I can configure samba on Windows 2000 
site.
Please help me.
Advance thanks

Vitaly Didovich
Unix System Administrator
Information Resource Inc,
[EMAIL PROTECTED]
312-474-3717


 

Could you explain please?! Are you thinking about configuring windoze 
clients, or are you thinking about some cygwin implementation of samba, 
or what?

Geza Gemes

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


Re: [Samba] samba configuration

2003-06-30 Thread Gémes Géza
Didovich, Vitaly írta:

Let me explain little bit more.

I have Unix machine which is Samba server and Windows_2000 machine which should be samba client.
On Unix site I don't have problem to install and configure samba. I've created directory on Unix site which should be share with Windows machine. According with Samba documentation windows machine has to be configured as well(http://us1.samba.org/samba/ftp/docs/htmldocs/using_samba/)
But on this website nothing saying about W2k. 

-Original Message-
From: Gémes Géza [mailto:[EMAIL PROTECTED]
Sent: Monday, June 30, 2003 3:22 PM
To: Didovich, Vitaly
Cc: [EMAIL PROTECTED]
Subject: Re: [Samba] samba configuration
Didovich, Vitaly írta:

 

Hello Samba team,

I am starting  to run samba on unix server for make shearing directories with windows 
site.
Regarding with your documentation on unix site samba running ok.
[EMAIL PROTECTED]:[/opt/samba/bin]# ./smbclient -U% -L buzzard
added interface ip=170.118.85.16 bcast=170.118.85.63 nmask=255.255.255.192
added interface ip=170.118.165.75 bcast=170.118.165.127 nmask=255.255.255.192
added interface ip=170.118.166.75 bcast=170.118.166.127 nmask=255.255.255.192
Domain=[IRI_CORP] OS=[Unix] Server=[Samba 2.2.3a]
  Sharename  Type  Comment
  -    ---
  lsf_share  Disk  
  IPC$   IPC   IPC Service (Samba 2.2.3a)
  ADMIN$ Disk  IPC Service (Samba 2.2.3a)

  Server   Comment
  ----
  CHI0095285D  
  TALLADEGASamba 2.2.3a

  WorkgroupMaster
  ----
  IRI_CORP CHI0095285D
But unfortunately I can't find documentation how I can configure samba on Windows 2000 
site.
Please help me.
Advance thanks

Vitaly Didovich
Unix System Administrator
Information Resource Inc,
[EMAIL PROTECTED]
312-474-3717




   

Could you explain please?! Are you thinking about configuring windoze 
clients, or are you thinking about some cygwin implementation of samba, 
or what?

Geza Gemes
 

You'll have to ensure they are in the same workgroup, and for the 
begining thats all. If you want, and if you configured samba for it you 
can later join them in a samba controled domain then you must change 
from workgroup to domain. Beware if you wants to add them automaticaly, 
you must ensure, that root is in smbpasswd (or equivalent, see ldapsam, 
tdbsam, etc)  and there aren't any shares in use on the client to be joined.

I wish you good luck for this!

Geza Gemes
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] samba configuration problem (LOGFILEBASE, configure, make,2.2.8a)

2003-06-16 Thread Brent Thompson
How do I get LOGFILEBASE configured into my smbd and nmbd to have the value
I wish instead of default?

I built samba 2.2.8a with:

./configure --with-logfilebase=/var/opt/samba

and I notice make output shows -DLOGFILEBASE=/var/opt/samba, but when
samba starts, I find log.nmbd and log.smbd under /usr/local/samba/var/ not
under /var/opt/samba/ as expected.

But, if I start smbd and/or nmbd with '-l/var/opt/samba' to set LOGFILEBASE
explicitly on commandline, then all logs show up under /var/opt/samba/, and
none under /usr/local/samba/var/, as desired.

So, somehow LOGFILEBASE is not being changed from default during make,
though it would seem I've done the right thing to make it change.

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


[Samba] Samba configuration question.

2003-06-12 Thread kiwi77
I have installed RH9 and Samba on two PCs.   One is working fine but other
(Bhas some problem with Samba.  Could somebody help ?   I am new to Linux and
(Bdon't know what is going on.
(B
(BHere is the symptom.I have three PCs on a same workgroup.A (win2k),
(BB(RH9) and C(RH9).   Samba service is installed on both B and C.   I shared
(B"home/share" directory on both B and C.
(B
(BFrom A(win2k), I can see all A(self),  B(RH9) and C(RH9) in a same workgroup
(Bwhen I select "Computer Near by Me".   I can open B(RH9) and browse the
(Bshared directory, but when I try to open C(RH9), I always get an error "\\C
(Bis not accessible.   The network path was not found."
(B
(BFrom B(RH9), I can see all A(win2k), B(self) and C(RH9) from "Network
(BServers".   I can browse A(win2k), but not C(RH9).When I execute a
(Bcommand "smbclient -U% -L localhost",   I see all three machines,  A, B, C
(Bin the Server list and usually C as Master.
(B
(BFrom C(RH9), I see all A(win2k), B(RH9) and C(self) and browse all machines.
(BHowever,
(Bwhen I execute a command "smbclient -U% -L localhost",   I see only "C" in
(Bthe server list and C as Master.   I don't see A, B in the Server list.
(B
(BI compared the /etc/samba/smb.conf files on B and C, but I didn't see any
(Bdifference.
(BAs far as I know, I configured both machines in the same way.
(Bsmbd and nmbd running on both B and C.
(BLogin name and password are the same on all three machines.
(BI can ping all machines from any machine without problem.
(B
(BOnly difference I noticed is that Samba on B is 2.2.7a and Samba on C is
(B2.2.7a-security-rollup-fix.
(BOn C, the smbd.log file at /var/log/sama has many errors(? )
(B"Failed to setup RT_SIGNAL_LEASE handler"
(BI don't know what this means.
(BBut I don't see this error in B's smbd.log file.
(B
(BCan somebody tell what is going on ?Any idea how to fix the problem with
(BC ?
(B
(BTIA
(B-- 
(BTo unsubscribe from this list go to the following URL and read the
(Binstructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] samba configuration

2002-12-12 Thread hector dairo diaz sierra

hello, i colombian 
help me to samba 
manual in spanish
configuration network windows nt
my version the linux is red hat 8.0

thanks  


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



[Samba] samba configuration problem

2002-11-27 Thread Sanjay Kumar
hi
i want to install samba server on solaris 2.8 . I have done fallowing
step
I have download samba file samba-2.2.0.tar.gz from website  save it
into the /opt/source/samba
Then I have  unzip  untar the source file
# gunzip samba*
# tar xvf samba*
# cd samba-2.2.0
After that Compile the source code
 # cd source
# ./configure
After that when I run a command
# make
it says
make: not found
pls help me what is that problem
pls let us know


with best regards
Sanjay chahar



begin:vcard 
n:chahar;Sanjay Kumar
x-mozilla-html:FALSE
org:Progression Infonet (P)Ltd;Customer Support Engg 
adr:;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Customer Support Engg 
note;quoted-printable:Progression Infonet (P) Ltd=0D=0A55,Independent Electronic Module,=0D=0ASector 18,Electronic City,Gurgaon-122015=0D=0A(Haryana) India=0D=0ATel 91-124-6455070=0D=0A
x-mozilla-cpt:192.168.0.3;-13104
fn:Sanjay Kumar chahar
end:vcard


--
Progression Infonet Private Limited, Gurgaon (Haryana), India



Re: [Samba] samba configuration problem

2002-11-27 Thread John H Terpstra
On Wed, 27 Nov 2002, Sanjay Kumar wrote:

 hi
 i want to install samba server on solaris 2.8 . I have done fallowing
 step
 I have download samba file samba-2.2.0.tar.gz from website  save it
 into the /opt/source/samba
 Then I have  unzip  untar the source file
 # gunzip samba*
 # tar xvf samba*
 # cd samba-2.2.0
 After that Compile the source code
  # cd source
 # ./configure
 After that when I run a command
 # make
 it says
 make: not found
 pls help me what is that problem
 pls let us know

Does your system have installed the Sun Pro-C compiler? If not then you
need to buy it _or_ download GCC from the internet, then install the
compiler.

Not all Unixes are born equal! :)

-John T.
-- 
John H Terpstra
Email: [EMAIL PROTECTED]

begin:vcard 
n:chahar;Sanjay Kumar
x-mozilla-html:FALSE
org:Progression Infonet (P)Ltd;Customer Support Engg 
adr:;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Customer Support Engg 
note;quoted-printable:Progression Infonet (P) Ltd=0D=0A55,Independent Electronic Module,=0D=0ASector 18,Electronic City,Gurgaon-122015=0D=0A(Haryana) India=0D=0ATel 91-124-6455070=0D=0A
x-mozilla-cpt:192.168.0.3;-13104
fn:Sanjay Kumar chahar
end:vcard


--
Progression Infonet Private Limited, Gurgaon (Haryana), India



[Samba] Samba Configuration and Remote Access

2002-11-25 Thread Dan De Cotiis
Let me preface by saying that I know I should take better security measures:
We have a test samba box which lies behind a linksys
router connected to a cable modem.  The router forwards TCP/UDP information
on all the necessary ports (137-139, 445) to the Samba server (There is no
VPN).  What we want to do is to allow remote windows clients, namely 98 and
XP to map samba shares as network drives on their local machines.  After
configuring the smb.conf file, 98 clients can see the SAMBA box without
problems.  If I type net view \\111.111.111 I get an enumeration of the
available shares.  I can then either use the graphical tool in windows
explorer, or use the net use command to map a drive.  However trying to
perform the net view \\111.111.111 command in XP leads to the generation
of a System error 53 has occured message.  The graphical drive mapping
tool in XP returns on error that says no network was found.  Why can 98
clients see the box and not XP clients?  Should I configure something
differently in my smb.conf file or is it an XP issue.  I have enabled
NetBios over TCP/IP and fooled with the lmhosts file in XP, neither seemed
to work.
  The smb.conf [global] section follows:
[global]

workgroup = WORKGROUP

server string = MyServer

guest account = nobody

log file = /var/log/samba/%m.log

max log size = 0

security = user

encrypt passwords = yes

smb passwd file = /etc/samba/smbpasswd

unix password sync = Yes

passwd program = /usr/bin/passwd %u

passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*

pam password change = yes

obey pam restrictions = yes

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

remote announce = 192.168.1.255

local master = yes

domain master = yes

preferred master = yes

wins support = yes

wins proxy = yes

dns proxy = yes

Thanks for any help,

Dan De Cotiis




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



Re: [Samba] Samba Configuration and Remote Access

2002-11-25 Thread Marian Mlcoch, Ing
I dont und.. 111.111.111 is name of your linux samba or what?


- Original Message -
From: Dan De Cotiis [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 26, 2002 4:14 AM
Subject: [Samba] Samba Configuration and Remote Access


 Let me preface by saying that I know I should take better security
measures:
 We have a test samba box which lies behind a
linksys
 router connected to a cable modem.  The router forwards TCP/UDP
information
 on all the necessary ports (137-139, 445) to the Samba server (There is no
 VPN).  What we want to do is to allow remote windows clients, namely 98
and
 XP to map samba shares as network drives on their local machines.  After
 configuring the smb.conf file, 98 clients can see the SAMBA box without
 problems.  If I type net view \\111.111.111 I get an enumeration of the
 available shares.  I can then either use the graphical tool in windows
 explorer, or use the net use command to map a drive.  However trying to
 perform the net view \\111.111.111 command in XP leads to the generation
 of a System error 53 has occured message.  The graphical drive mapping
 tool in XP returns on error that says no network was found.  Why can 98
 clients see the box and not XP clients?  Should I configure something
 differently in my smb.conf file or is it an XP issue.  I have enabled
 NetBios over TCP/IP and fooled with the lmhosts file in XP, neither seemed
 to work.
   The smb.conf [global] section follows:
 [global]

 workgroup = WORKGROUP

 server string = MyServer

 guest account = nobody

 log file = /var/log/samba/%m.log

 max log size = 0

 security = user

 encrypt passwords = yes

 smb passwd file = /etc/samba/smbpasswd

 unix password sync = Yes

 passwd program = /usr/bin/passwd %u

 passwd chat = *New*password* %n\n *Retype*new*password* %n\n
 *passwd:*all*authentication*tokens*updated*successfully*

 pam password change = yes

 obey pam restrictions = yes

 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

 remote announce = 192.168.1.255

 local master = yes

 domain master = yes

 preferred master = yes

 wins support = yes

 wins proxy = yes

 dns proxy = yes

 Thanks for any help,

 Dan De Cotiis




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

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



[Samba] Samba configuration errors

2002-11-13 Thread ramalingam . k . ramalingam
Hi,

We have downloaded the latest source code of samba ver 2.2.x,
1)when we try to configure it it is giving the following error :
===
$./configure
loading cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc -O  ) works... no
configure: error: installation or configuration problem: C compiler cannot create 
executables.
===
2)when i checked the config.log it is giving the following error :

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:812: checking for gcc
configure:925: checking whether the C compiler (gcc -O  ) works
configure:941: gcc -o conftest -Oconftest.c  15
/usr/local/sparc-sun-solaris2.6/bin/ld: cannot open values-Xa.o: No such file or 
directory
collect2: ld returned 1 exit status
configure: failed program was:

#line 936 configure
#include confdefs.h

main(){return(0);}
===

We are trying to install it in Solaris 2.6 using gcc compiler 2.95.3

Is there any compatible c compilers or any pre-requisites before configuring and 
building the source.

Can you please help to resolve this problem.

Thanks
Ramalingam RK



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



[Samba] SAMBA Configuration

2002-11-08 Thread Kenneth Illingsworth
I just built a server using the United Linux beta3 and activated SAMBA v2.2.6 . I left 
smb.conf mostly default, but did change the Netbios name and WINS server (since we 
have one running). However, I cannot ping the netbios name nor the ip address of the 
server from another workstation. Similarly, the server can ping itself. But, it cannot 
ping the workstation. They are on the same subnet. 

I thought that it was an interface issue since 'testparm | grep interface'  on the new 
server listed the loopback address. After changing the interface to 172.17.60.7/24 
(server ip using CIDR rules), the same anomaly occurred. 

If I let the system lease an ip address from our DHCP server, all pings work. Perhaps 
this is not a SAMBA configuration issue, but I thought I would try here first since 
SAMBA is what I am after. 

Regards,
Ken Illingsworth

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



[Samba] Samba Configuration Error

2002-11-01 Thread Suhartono Faizal
I got some error when I try to configure samba in   
my Redhat Linux 7.3   
I just downloaded the samba-latest.tar.gz from www.samba.org and as root  
extract it using #tar xfvz samba-latest.tar.gz into /usr/local  
After the samba-2.2.5 folder created, I go to  
/usr/local/samba-2.2.5/source and run #./configure but some erDear John,   
Sorry to disturb you. I got some error when I try to configure samba in  
my Redhat Linux 7.3  
I just downloaded the samba-latest.tar.gz from www.samba.org and as root 
extract it using #tar xfvz samba-latest.tar.gz into /usr/local 
After the samba-2.2.5 folder created, I go to 
/usr/local/samba-2.2.5/source and run #./configure but some errors 
appears as follow: 
creating cache ./config.cache 
checking for gcc... no 
checking for cc... no 
configure: error: no acceptable cc found in $PATH 
 
Could you pls explain to me how to make this right? 
 
Thanks and regards, 
 
Suhartono Faizalrors  
appears as follow:  
creating cache ./config.cache  
checking for gcc... no  
checking for cc... no  
configure: error: no acceptable cc found in $PATH  
  
Could you pls explain to me how to make this right?  
  
Thanks and regards,  
  
Suhartono Faizal   


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



[Samba] samba configuration

2002-11-01 Thread avijit



Dear Sir 
 Samba came with 
Linux 7.3. I installed and configured samba according to Linux 7.3 
customization
guide.Also I restarted smb.I have a 
small LAN in my home which is connected to router and DSL line.
Problem is that I can not communicate with windows 
XP from Linux or vice versa.

 If you can please 
advice me what should I do next. I will appreciate you help.

Thank You

Avijit


  1   2   >