Re: [Samba] Can I limit my browsing of share between clients?

2007-12-26 Thread Andreas Baitis
You could also do a per Domain/Workgroup include of shares that only 
Machines in that Domain/Workgroup see, includes can cascade as deep as 
you like, so you could include a group file in only some of the Domain 
files.


#/etc/samba/smb.conf
include = /etc/samba/include/smb.conf.per-domain.%D

then define the shares in 
/etc/samba/include/smb.conf.per-domain.domainname you would have one for 
each domain




This can also be done per user or per group

#/etc/samba/smb.conf
include = /etc/samba/include/smb.conf.per-user.%U

#/etc/samba/smb.conf
include = /etc/samba/include/smb.conf.per-group.%G

See: http://us1.samba.org/samba/docs/man/manpages-3/smb.conf.5.html


Necos Secon wrote:


Well, as part of SMB, I believe the broadcasting of shares is limited to the 
local workgroup. However, what you could do is, make the share not browseable, 
use hosts allow, and add the share as a network drive in the logon scripts. 
This is what I do at my job (without the hosts allow).

  

From: [EMAIL PROTECTED]
To: samba@lists.samba.org
Date: Thu, 27 Dec 2007 00:33:39 +0100
Subject: [Samba] Can I limit my browsing of share between clients?


Hi,

I have a share like this:

[Accounts]
comments = Accounting Dep common files
browseable = yes
writable = yes
locking = no
path = /mnt/accounts
guest ok = no
hide ureadable = yes
create mask = 0777
directory mask = 0777
host allowed = 192.168.0.20 192.168.0.25 192.168.0.27 192.168.0.28

I wan't 'Accounts' to only be visable on the client's WORKGROUP listed in 'host 
allowed'.
As it is now all clients can see Accounts but only the listed IP's can use it.
If I set 'browseable=no' then nobody can see it.

Is it possible or is it of the nature of M$.

/Pelle




_
Spara, redigera och organisera dina foton enkelt med Photo Gallery!
http://get.live.com/photogallery/overview--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba



_
Share life as it happens with the new Windows Live.
http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_122007-- 
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] Can I limit my browsing of share between clients?

2007-12-26 Thread Necos Secon


Well, as part of SMB, I believe the broadcasting of shares is limited to the 
local workgroup. However, what you could do is, make the share not browseable, 
use hosts allow, and add the share as a network drive in the logon scripts. 
This is what I do at my job (without the hosts allow).

> From: [EMAIL PROTECTED]
> To: samba@lists.samba.org
> Date: Thu, 27 Dec 2007 00:33:39 +0100
> Subject: [Samba] Can I limit my browsing of share between clients?
>
>
> Hi,
>
> I have a share like this:
>
> [Accounts]
> comments = Accounting Dep common files
> browseable = yes
> writable = yes
> locking = no
> path = /mnt/accounts
> guest ok = no
> hide ureadable = yes
> create mask = 0777
> directory mask = 0777
> host allowed = 192.168.0.20 192.168.0.25 192.168.0.27 192.168.0.28
>
> I wan't 'Accounts' to only be visable on the client's WORKGROUP listed in 
> 'host allowed'.
> As it is now all clients can see Accounts but only the listed IP's can use it.
> If I set 'browseable=no' then nobody can see it.
>
> Is it possible or is it of the nature of M$.
>
> /Pelle
>
>
>
>
> _
> Spara, redigera och organisera dina foton enkelt med Photo Gallery!
> http://get.live.com/photogallery/overview--
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/listinfo/samba

_
Share life as it happens with the new Windows Live.
http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_122007--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Can I limit my browsing of share between clients?

2007-12-26 Thread Pelle Svensson

Hi,

I have a share like this:

[Accounts]
  comments = Accounting Dep common files
  browseable = yes 
  writable = yes
  locking = no
  path = /mnt/accounts
  guest ok = no
  hide ureadable = yes
  create mask = 0777
  directory mask = 0777
  host allowed = 192.168.0.20 192.168.0.25 192.168.0.27 192.168.0.28

I wan't 'Accounts' to only be visable on the client's WORKGROUP listed in 'host 
allowed'.
As it is now all clients can see Accounts but only the listed IP's can use it.
If I set 'browseable=no' then nobody can see it. 

Is it possible or is it of the nature of M$.

/Pelle




_
Spara, redigera och organisera dina foton enkelt med Photo Gallery!
http://get.live.com/photogallery/overview--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Samba 3.0.28 uploading printer driver fails with error couldn't find service ::{2227a280-3aea-1069-a2de-08002b30309d}

2007-12-26 Thread Vickie L. Kidder
While trying to upload printer drivers from Windows XP to Samba 3.0.28 in 
AIX, upload fails and this error is in log file.
I have tried and get the same error on 3.0.25b and 3.0.27.

couldn't find service ::{2227a280-3aea-1069-a2de-08002b30309d}


Any help would be greatly appreciated.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Single Sign On, authentication, and Windows XP Home

2007-12-26 Thread Dennis McLeod
First you need to figure out how to get XP home to join a domain. A quick
Google search suggests that there may be a way, but I don't know what it is.
Then, look at chapter 2 of "Samba by Example" (
http://us1.samba.org/samba/docs/man/Samba-Guide/small.html or download the
PDF - http://www.samba.org/samba/docs/Samba3-ByExample.pdf )
That is basically what you are asking for.
Dennis






-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Matt Lozier
Sent: Wednesday, December 26, 2007 9:01 AM
To: 'Rune Tønnesen'
Cc: samba@lists.samba.org
Subject: RE: [Samba] Single Sign On, authentication, and Windows XP Home

Hi Rune,

I just want to provide a means to allow all users who use the machines on
the LAN to be able to login to *any* machine and have access to their Samba
share.  

As it is now, there is only local authentication for each machine on the LAN
(no Windows Domain here, only a workgroup) -- so if a user wants to be able
to use a computer other than what they normally use, an account needs to be
created for that user on the new machine, and then they will be able to
access their Samba share.  I want to allow any user to login to any machine,
and be able to access their Samba share.

Any suggestions?

Thanks,

---
Matt 

-Original Message-
From: Rune Tønnesen [mailto:[EMAIL PROTECTED]
Sent: Friday, December 21, 2007 4:16 PM
To: Matt Lozier
Cc: samba@lists.samba.org
Subject: Re: [Samba] Single Sign On, authentication, and Windows XP Home

Matt Lozier skrev:
> Hello,
>
>  
>
> I have a small (medium?) sized network of about 30 XP machines.  About 
> 2/3 of these machines are running Home Ed. while the other 1/3 are 
> running Professional Ed.
>
>  
>
> I currently have two samba shares, and I'm using 'user' security.
>
>  
>
> I want to implement single sign on, some way, somehow.  I've considered:
NIS
> and LDAP, but I can't get the NIS pGina plugin to work with my NIS 
> server, and LDAP seems like a beast to setup, though I'm willing to go 
> for it if
it
> means that I'll be able to get SSO working.  
>
>  
>
> Does any one have any suggestions / recommendations?
>
>  
>
> Thanks,
>
>  
>
> Matt
>
>  
>
>   
What applications do you want sso for?

You might be interested in Mandriva directory server
http://mds.mandriva.org/wiki/Documentation

--
Rune Tønnesen
Bedste Hilsner/Best Regards



-- 
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] Single Sign On, authentication, and Windows XP Home

2007-12-26 Thread Matt Lozier
Hi Rune,

I just want to provide a means to allow all users who use the machines on
the LAN to be able to login to *any* machine and have access to their Samba
share.  

As it is now, there is only local authentication for each machine on the LAN
(no Windows Domain here, only a workgroup) -- so if a user wants to be able
to use a computer other than what they normally use, an account needs to be
created for that user on the new machine, and then they will be able to
access their Samba share.  I want to allow any user to login to any machine,
and be able to access their Samba share.

Any suggestions?

Thanks,

---
Matt 

-Original Message-
From: Rune Tønnesen [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 21, 2007 4:16 PM
To: Matt Lozier
Cc: samba@lists.samba.org
Subject: Re: [Samba] Single Sign On, authentication, and Windows XP Home

Matt Lozier skrev:
> Hello,
>
>  
>
> I have a small (medium?) sized network of about 30 XP machines.  About 2/3
> of these machines are running Home Ed. while the other 1/3 are running
> Professional Ed.  
>
>  
>
> I currently have two samba shares, and I'm using 'user' security.
>
>  
>
> I want to implement single sign on, some way, somehow.  I've considered:
NIS
> and LDAP, but I can't get the NIS pGina plugin to work with my NIS server,
> and LDAP seems like a beast to setup, though I'm willing to go for it if
it
> means that I'll be able to get SSO working.  
>
>  
>
> Does any one have any suggestions / recommendations?
>
>  
>
> Thanks,
>
>  
>
> Matt
>
>  
>
>   
What applications do you want sso for?

You might be interested in Mandriva directory server
http://mds.mandriva.org/wiki/Documentation

-- 
Rune Tønnesen
Bedste Hilsner/Best Regards



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


Re: [Samba] mount.cifs and Posix acls

2007-12-26 Thread Mark Adams
There have been many posts such as yours with no answers forthcoming,  
I guess mount.cifs Is not working correctly yet.


Mark.


On 21 Dec 2007, at 15:32, Stefan Rijnhart <[EMAIL PROTECTED] 
> wrote:



Hi,

we have started to use acls in our setup, assigning user specific  
permissions to directories, such as


user:stefanr:rwx
default:user:stefanr:rwx

The acls work fine on shares mounted on a Windows NT workstation, as  
well as in Nautilus on an Ubuntu workstation, using the "Connect to  
server" option.


However, the acls are not yet honoured when we mount the shares on  
our Ubuntu workstations using mount.cifs.


We modified the kernel configuration, and are now running with  
CONFIG_CIFS_XATTR=y and CONFIG_CIFS_POSIX=y. As a result, we can  
inspect the acls on the Linux client using getfacl, but when we try  
to enter a directory which we are supposedly allowed to, we get  
"Permission denied".


The samba suite on Ubuntu is configured using --with-acl-support.

Did we miss anything?

Running a Debian server with Samba version 3.0.24-6etch4, and an  
Ubuntu Feisty client with a modified kernel version 2.6.20.3-ubuntu1  
and smbfs version 3.0.24-2ubuntu1.2.


Regards,
Stefan.



--
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] Simple File I/O benchmark tool for NT clients

2007-12-26 Thread Pelle Svensson



Just what I was looking for!!!

/Thanks

> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: RE: [Samba] Simple File I/O benchmark tool for NT clients
> Date: Tue, 25 Dec 2007 21:44:34 -0800
> 
> Well, you could try installing SiSoft Sandra, which comes with utilities to 
> help measure performance.
> 
>> From: [EMAIL PROTECTED]
>> To: [EMAIL PROTECTED]; samba@lists.samba.org
>> Subject: RE: [Samba] Simple File I/O benchmark tool for NT clients
>> Date: Wed, 26 Dec 2007 01:21:09 +0100
>>
>>
>>
>>
>> 
>>> From: [EMAIL PROTECTED]
>>> To: [EMAIL PROTECTED]; samba@lists.samba.org
>>> Subject: RE: [Samba] Simple File I/O benchmark tool for NT clients
>>> Date: Tue, 25 Dec 2007 15:17:01 -0800
>>>
>>> Have you tried looking in to file monitoring utilities in Linux? There are 
>>> plenty of them around.
>>>
 From: [EMAIL PROTECTED]
 To: samba@lists.samba.org
 Date: Tue, 25 Dec 2007 23:10:31 +0100
 Subject: [Samba] Simple File I/O benchmark tool for NT clients



 Hi,

 I need a simple tool for benchmarking my NT client against my Ubuntu Samba 
 server.
 I get 20MB/s during a file copy but I think my limit is the client's hard 
 disk.

 Dose anyone know a simple exe tool which simulate file I/O agains the 
 Samba server.
 I like to avoid using my lokal disk during the test.

 Have looked around but can't find a simpe tool which dose the job without 
 the
 need of installing cygwin, .NET, ect.
 just a pure simple exe


 /Thanks
 Pelle
 _
 Spara, redigera och organisera dina foton enkelt med Photo Gallery!
 http://get.live.com/photogallery/overview--
 To unsubscribe from this list go to the following URL and read the
 instructions: https://lists.samba.org/mailman/listinfo/samba
>>>
>>> 
>>> Share life as it happens with the new Windows Live. Share now!
>>
>> No, thing is, I only need it for the Windows NT client as a binary.
>> I don't want to compile, or install a bunch of stuff.
>> Only need the simplest tool I can find for simulation of Read/Write 
>> performance
>> in MB/s
>>
>> /Pelle
>>
>> _
>> Spara, redigera och organisera dina foton enkelt med Photo Gallery!
>> http://get.live.com/photogallery/overview
> 
> 
> Share life as it happens with the new Windows Live. Share now!

_
Mörkt och kallt? Kanske Barcelona?
http://search.live.com/results.aspx?q=Barcelona+reseguide&form=QBRE--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba