Re: [Samba] Samba 3.0.9 Available for Download

2004-11-19 Thread Filipi Vianna
After I upgrade to samba-3.0.9, the workstations stoped to
log at the domain. All of them was telling that there were a mal functioning 
device installed. So I checked the logs and got the following stuff

[2004/11/19 23:13:51, 1] rpc_server/srv_netlog_nt.c:_net_sam_logon(766)
  _net_sam_logon: user DEM\filipi has user sid 
S-1-5-21-4106639886-1430112138-3030331933-3136
   but group sid S-1-5-21-568478557-3381719882-370605216-1411.
  The conflicting domain portions are not supported for NETLOGON calls
...
[2004/11/19 23:20:53, 0] rpc_server/srv_pipe.c:api_pipe_netsec_process(1397)
  failed to decode PDU
[2004/11/19 23:20:53, 0] rpc_server/srv_pipe_hnd.c:process_request_pdu(605)
  process_request_pdu: failed to do schannel processing.
[2004/11/19 23:22:05, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(786)
  api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO.


I didn't understant what is wrong with the SIDs... 
I have the domain groups mapped to the unix groups and the group of the user
I am using to test is mapped as follows:
staff (S-1-5-21-568478557-3381719882-370605216-1411) - staff

And the user SID is S-1-5-21-4106639886-1430112138-3030331933-3136
But what is wrong? I downgraded again to 3.0.5 and everything is fine...
All stations are loging at the domain again...

Regards,
-- 
Filipi Vianna
Laboratório de Mecânica Computacional (DEMM)
Faculdade de Engenharia - PUC-RS
3320-3500 ramal: 4053
On 2004-11-19 21:58:15 -0200 Jeremy Allison [EMAIL PROTECTED] wrote:

 On Fri, Nov 19, 2004 at 11:41:57PM +0100, Thomas Bork wrote:
 Gerald (Jerry) Carter schrieb:
 
 This is the latest stable release of Samba. This is the version
 that production Samba servers should be running for all
 current bug-fixes.  There have been several important issues
 fixes since the 3.0.8 release.
 
 the same old story:
 
 Same old reply :-). You can't patch configure, it's a generated
 file. You need to send a patch for configure.in.
 
 Thanks,
 
   Jeremy.


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


Re: [Samba] 3.0.8 and looong logout time

2004-11-10 Thread Filipi Vianna
I was experiencing the same problem with 3.0.7 and I read some
mail in this list that saids that with 3.0.5 the logout was
normal.

I was thinking in upgrade to 3.0.8, so when I read your message,
I decided to downgraded to 3.0.5... And everything is fine now.

There was only one problem, the inetd was hanging and stoping my
samba, so I changed to use the samba deamons outside the inetd...
And all the users are happy now...

Regards,
-- 
Filipi Vianna
Laboratório de Mecânica Computacional (DEMM)
Faculdade de Engenharia - PUC-RS
3320-3500 ramal: 4053
On 2004-11-09 20:19:32 -0200 Misty Stanley-Jones [EMAIL PROTECTED] wrote:

 I've got two WinXP SP2 users.  Roaming profiles.  One of them takes about 25 
 seconds to log out unless she has made pretty drastic changes to her profile 
 (My Documents, etc).  My second user takes upwards of 3 minutes to log out, 
 even if he has just logged in, not opened a thing or made changes, and then 
 logged back out.  Below is part of a strace as I don't know what I'm looking 
 for.  Any ideas in debugging this?  I do have ACLs enabled but this was 
 happening before I enabled them too.
 
 My understanding was that the network profile just gets checked against the 
 local one, and any changes are written to the server upon logout.  It almost 
 looks like, for him, it is writing his entire profile back to the network 
 every time he logs out.  It certainly feels like it!
 
 geteuid32() = 1011
 write(30,   change_to_user: Skipping user ..., 54) = 54
 time(NULL)  = 1100038555
 geteuid32() = 1011
 write(30, [2004/11/09 17:15:55, 3] smbd/tr..., 70) = 70
 geteuid32() = 1011
 write(30,   call_trans2qfilepathinfo: TRAN..., 62) = 62
 fstat64(27, {st_mode=S_IFREG|0600, st_size=793069, ...}) = 0
 time(NULL)  = 1100038555
 geteuid32() = 1011
 write(30, [2004/11/09 17:15:55, 3] smbd/tr..., 70) = 70
 geteuid32() = 1011
 write(30,   call_trans2qfilepathinfo dwayn..., 139) = 139
 time(NULL)  = 1100038555
 geteuid32() = 1011
 write(30, [2004/11/09 17:15:55, 8] smbd/do..., 54) = 54
 geteuid32() = 1011
 write(30,   dos_mode: dwayne/WinXP/My Docu..., 78) = 78
 time(NULL)  = 1100038555
 geteuid32() = 1011
 write(30, [2004/11/09 17:15:55, 8] smbd/do..., 64) = 64
 geteuid32() = 1011
 write(30,   dos_mode_from_sbuf returning \n, 32) = 32
 time(NULL)  = 1100038555
 geteuid32() = 1011
 write(30, [2004/11/09 17:15:55, 8] smbd/do..., 54) = 54
 geteuid32() = 1011
 write(30,   dos_mode returning \n, 22) = 22
 time(NULL)  = 1100038555
 geteuid32() = 1011
 write(30, [2004/11/09 17:15:55, 10] smbd/t..., 71) = 71
 geteuid32() = 1011
 write(30,   call_trans2qfilepathinfo: SMB_..., 58) = 58
 time(NULL)  = 1100038555
 geteuid32() = 1011
 write(30, [2004/11/09 17:15:55, 9] smbd/tr..., 64) = 64
 geteuid32() = 1011
 write(30,   t2_rep: params_sent_thistime =..., 84) = 84
 time(NULL)  = 1100038555
 geteuid32() = 1011
 write(30, [2004/11/09 17:15:55, 9] smbd/tr..., 64) = 64
 geteuid32() = 1011
 write(30,   t2_rep: params_to_send = 2, da..., 78) = 78
 time(NULL)  = 1100038555
 geteuid32() = 1011
 write(30, [2004/11/09 17:15:55, 6] lib/uti..., 59) = 59
 geteuid32() = 1011
 write(30,   write_socket(22,88)\n, 22) = 22
 send(22, \0\0\0T\377SMB2\0\0\0\0\210A\310\0\0\0\0\0\0\0\0\0\0\0..., 88, 0) 
 = 88
 time(NULL)  = 1100038555
 geteuid32() = 1011
 write(30, [2004/11/09 17:15:55, 6] lib/uti..., 59) = 59
 geteuid32() = 1011
 write(30,   write_socket(22,88) wrote 88\n, 31) = 31
 time(NULL)  = 1100038555
 select(25, [22 23 24], NULL, NULL, {60, 0}) = 1 (in [22], left {60, 0})
 read(22, \0\0\0), 4)  = 4
 time(NULL)  = 1100038555
 geteuid32() = 1011
 write(30, [2004/11/09 17:15:55, 10] lib/ut..., 80) = 80
 geteuid32() = 1011
 write(30,   got smb length of 41\n, 23) = 23
 read(22, \377SMB\4\0\0\0\0\30\7\310\0\0\0\0\0\0\0\0\0\0\0\0\3\0..., 41) = 41
 time(NULL)  = 1100038555
 geteuid32() = 1011
 write(30, [2004/11/09 17:15:55, 6] smbd/pr..., 58) = 58
 geteuid32() = 1011

Re: [Samba] Samba Printer Accounting

2004-09-16 Thread Filipi Vianna
Ryan Verner wrote:
Howdy,
I'm looking for a piece of software I can use for accounting printers shared 
on a Linux box via Samba, to Win98/2K/XP machines on a domain.  In other 
words, I want to be able to give user a print quota (say, $3.00), then charge 
them 10c per page they print from a Windows client to a printer shared from a 
Linux box running Samba.  If they're out of quota, it doesn't print (and 
doesn't tie up the print queue for everybody else).

I can't find any workable solutions.  I tried PrintBill, but it's rather 
buggy, it tends to jam up queues randomly,  and requires a Postscript driver 
and as a result there's all sorts of ways to bypass it.

I'm more than happy with a commercial solution.  I just want something that 
works :-)

Thanks,
Ryan
--
Qbalt Project (http://www.qbalt.com/)
This software does just what you want.
http://www.ib.unicamp.br/ibquota/
Unfortunately all the docs are in portuguese (the fish can help
to handle this - http://babelfish.altavista.com)
But the software is realy god. You can manage quotas from an
web frontend. It requires apache, php, mysql and of course
samba and cups.
I hope it helps.
Regards,
--
Filipi Vianna
Laboratório de Mecânica Computacional (DEMM)
Faculdade de Engenharia - PUC-RS
telefone: (51) 3320-3500 ramal: 4053
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] 3.0.6 string overflow by 1

2004-08-20 Thread Filipi Vianna
Adam Tauno WIlliams wrote:
I updated one of my file servers to 3.0.6, and while file serving is
improved (no M$-Office file already open messages), every time I access
a printer my logs flood with messages like to those below.  It seems I
can set printer properites, etc...  but when I print the jobs seem to go
to never-never land (still researching where the jobs go).
Try the logs your printing deamon generates...
/var/spool/lpd/lp/log (...for lpd)
--
Filipi Vianna
Laboratório de Mecânica Computacional (DEMM)
Faculdade de Engenharia - PUC-RS
telefone: (51) 3320-3500 ramal: 4053
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] smbpasswd in samba 3.0

2004-08-18 Thread Filipi Vianna
Jacky Kim wrote:
In samba 2.2.8, smbpasswd can change a user's smb password
without prompt:
# smbpasswd username newpswd
How to do it in samba 3.0? I do want to change user's password
without prompt!
I use samba 3.0.5 and smbpasswd works the same way as in 2.28
for changing passwords without prompt.
Regards,
--
Filipi Vianna
Laboratrio de Mecnica Computacional (DEMM)
Faculdade de Engenharia - PUC-RS
telefone: (51) 3320-3500 ramal: 4053
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] smbpasswd password via stdin?

2004-08-18 Thread Filipi Vianna
Raymond wrote:
Is there a method to pass a password to smbpasswd from stdin? Currently it 
appears only the user or machine name can be passed.

Would like to automate the process via shell script.
NAME
   smbpasswd - change a user's SMB password
SYNOPSIS
   smbpasswd [-a] [-x] [-d] [-e] [-D debuglevel] [-n] [-r remote 
machine] [-R name resolve order] [-m] [-U username[%password]] [-h] [-s]
 [-w pass] [-i] [-L] [username]

The smbpasswd suports the password as an argument.
In my shell script to automate the user creation process, I do something
like this:
  echo Adding and enabling samba user $user
  #
  smbpasswd -a -s $user $password
  smbpasswd -e $user
Hope that helps,
Regards,
--
Filipi Vianna
Laboratório de Mecânica Computacional (DEMM)
Faculdade de Engenharia - PUC-RS
telefone: (51) 3320-3500 ramal: 4053
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Windows XP SP2 (Official) and Samba 3

2004-08-10 Thread Filipi Vianna
Bert Rapp wrote:
I've looked through the archives and the only information I can find regarding
Windows XP SP2 is RC2.  Has anyone out there had ANY experience with XP SP2
Official and a Samba 3 domain?
Yes!
All my workstations are WinXP SP2, and I'm runnig samba 3.0.5 as PDC and
everything is fine.
I had just disabled the NT sign on seal at the registry on each XP
workstation. With the following reg script:
http://www.em.pucrs.br/~filipi/WinXP_SignOrSeal.reg
Regards,
--
Filipi Vianna
Laboratório de Mecânica Computacional (DEMM)
Faculdade de Engenharia - PUC-RS
telefone: (51) 3320-3500 ramal: 4053
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Windows XP SP2 (Official) and Samba 3

2004-08-10 Thread Filipi Vianna
Paul Gienger wrote:

I had just disabled the NT sign on seal at the registry on each XP
workstation. With the following reg script:
http://www.em.pucrs.br/~filipi/WinXP_SignOrSeal.reg
This should not have been necessary with samba 3.
I was thinking the same...
But I had tried without it and I could not add the machine
to the domain.

--
Filipi Vianna
Laboratório de Mecânica Computacional (DEMM)
Faculdade de Engenharia - PUC-RS
telefone: (51) 3320-3500 ramal: 4053
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba