RE: [Samba] How can I remove these log entries 'Failed to create Users' and 'Failed to create Admini

2007-12-27 Thread Pelle Svensson

No I don't think I need winbind. As I understand it's for maintaining users and 
passwords from 
one administrative point. I can live without that.

Is it only to find where the winbind daemon is started and disable that or?

/Pelle


> Date: Thu, 27 Dec 2007 14:08:41 -0600
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Re: [Samba] How can I remove these log entries 'Failed to create 
> Users' and 'Failed to create Administrators'
> 
> Pelle,
> 
> I believe that error message derives from winbind.  Do you need winbind for 
> your setup?
> If you are able to do away with winbind, you also will not need the two idmap 
> parameters in your conf file.
> 
> Dale
> 
> Pelle Svensson wrote:
> 
> Hi,
> 
> I have a very small setup, one XP/clinet and one Vista/client and a 
> Ubuntu/samba server.
> 
> I like to cleanup my log.smbd but I can't figure out how!
> 
> I have everything up and running and I can access the share's from the XP 
> client.
> 
> I googled around and it seems that I should bind some Windows group/user 
> against Unix group/users
> with something like 'net groupmap add rid=2512 ntgroup='Domain Admins'  
> unixgroup='Domain Admins''
> Do I relay need all this stuff? It seems like it's overkill, can shut down 
> somthing and get rid of the
> error.
> 
> /Pelle
> 
> log.smbd
> 
> 
> 2007/12/27 19:46:49, 0] smbd/server.c:main(944)
>   smbd version 3.0.26a started.
>   Copyright Andrew Tridgell and the Samba Team 1992-2007
> [2007/12/27 19:46:49, 0] printing/pcap.c:pcap_cache_reload(159)
>   Unable to open printcap file /etc/printcap for read!
> [2007/12/27 19:46:49, 0] printing/pcap.c:pcap_cache_reload(159)
>   Unable to open printcap file /etc/printcap for read!
> [2007/12/27 19:46:51, 0] auth/auth_util.c:create_builtin_administrators(792)
>   create_builtin_administrators: Failed to create Administrators
> [2007/12/27 19:46:51, 0] auth/auth_util.c:create_builtin_users(758)
>   create_builtin_users: Failed to create Users
> [2007/12/27 19:46:51, 0] auth/auth_util.c:create_builtin_administrators(792)
>   create_builtin_administrators: Failed to create Administrators
> [2007/12/27 19:46:51, 0] auth/auth_util.c:create_builtin_users(758)
>   create_builtin_users: Failed to create Users
> 
> smb.conf
> 
> 
> [global]
>socket options = IPTOS_LOWDELAY TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
>workgroup = WORKGROUP
>server string = Samba %v %h
>dns proxy = yes
>name resolve order = lmhosts host
>interfaces = eth0 127.0.0.1/8
>disable netbios = no
>invalid users = root
>guest ok = no
>browseable = No
>bind interfaces only = true
> 
>log file = /var/log/samba/log.%m
>max log size = 1000
>syslog = 0
>panic action = /usr/share/samba/panic-action %d
> 
>security = user
>encrypt passwords = true
>passdb backend = tdbsam:/etc/samba/private/passdb.tdb
>obey pam restrictions = yes
>passwd program = /usr/bin/passwd %u
>passwd chat = *Enter\snew\sUNIX\spassword:* %n\n 
> *Retype\snew\sUNIX\spassword:* %n\n *passwd:*password\supdated\ssuccessfully* 
> .
> 
>idmap uid = 1-2
>idmap gid = 1-2
> 
> include = /etc/samba/include/smb.conf.per-machine.%m
> 
> [Test]
>comment = Test disk 1GB
>browseable = Yes
>writable = yes
>locking = no
>path = /srv/disk-003
>create mask = 0777
>directory mask = 0777
> 
> [homes]
>comment = %u's Home Directory
>browseable = No
>writable = yes
>create mask = 0700
>directory mask = 0777
> 
> _
> Trött på krångliga mejladresser? Skaffa en live.se-adress här!
>  http://get.live.com/mail/options--
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba

_
Ladda ner hela Windows Live gratis och upptäck fördelarna!
http://get.live.com/ --
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] How can I remove these log entries 'Failed to create Users' and 'Failed to create Administrators'

2007-12-27 Thread Pelle Svensson

Hi,

I have a very small setup, one XP/clinet and one Vista/client and a 
Ubuntu/samba server.

I like to cleanup my log.smbd but I can't figure out how!

I have everything up and running and I can access the share's from the XP 
client.

I googled around and it seems that I should bind some Windows group/user 
against Unix group/users
with something like 'net groupmap add rid=2512 ntgroup='Domain Admins'  
unixgroup='Domain Admins''
Do I relay need all this stuff? It seems like it's overkill, can shut down 
somthing and get rid of the
error.

/Pelle

log.smbd


2007/12/27 19:46:49, 0] smbd/server.c:main(944)
  smbd version 3.0.26a started.
  Copyright Andrew Tridgell and the Samba Team 1992-2007
[2007/12/27 19:46:49, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/12/27 19:46:49, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/12/27 19:46:51, 0] auth/auth_util.c:create_builtin_administrators(792)
  create_builtin_administrators: Failed to create Administrators
[2007/12/27 19:46:51, 0] auth/auth_util.c:create_builtin_users(758)
  create_builtin_users: Failed to create Users
[2007/12/27 19:46:51, 0] auth/auth_util.c:create_builtin_administrators(792)
  create_builtin_administrators: Failed to create Administrators
[2007/12/27 19:46:51, 0] auth/auth_util.c:create_builtin_users(758)
  create_builtin_users: Failed to create Users

smb.conf


[global]
   socket options = IPTOS_LOWDELAY TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   workgroup = WORKGROUP
   server string = Samba %v %h
   dns proxy = yes
   name resolve order = lmhosts host 
   interfaces = eth0 127.0.0.1/8 
   disable netbios = no
   invalid users = root
   guest ok = no
   browseable = No
   bind interfaces only = true

   log file = /var/log/samba/log.%m
   max log size = 1000
   syslog = 0
   panic action = /usr/share/samba/panic-action %d

   security = user
   encrypt passwords = true
   passdb backend = tdbsam:/etc/samba/private/passdb.tdb 
   obey pam restrictions = yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\sUNIX\spassword:* %n\n 
*Retype\snew\sUNIX\spassword:* %n\n *passwd:*password\supdated\ssuccessfully* .

   idmap uid = 1-2
   idmap gid = 1-2

include = /etc/samba/include/smb.conf.per-machine.%m

[Test]
   comment = Test disk 1GB
   browseable = Yes
   writable = yes
   locking = no
   path = /srv/disk-003
   create mask = 0777
   directory mask = 0777

[homes]
   comment = %u's Home Directory
   browseable = No
   writable = yes
   create mask = 0700
   directory mask = 0777

_
Trött på krångliga mejladresser? Skaffa en live.se-adress här!
 http://get.live.com/mail/options--
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


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


RE: [Samba] Simple File I/O benchmark tool for NT clients

2007-12-25 Thread Pelle Svensson




> 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--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Simple File I/O benchmark tool for NT clients

2007-12-25 Thread Pelle Svensson


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