Revised smb-wall (Was: [Samba] smbclient -M --> ERRmsgoff?)

2006-04-14 Thread Wilkinson Charlie E
I've gotten smb-wall to work with Samba v3.  If there's a better way,
please let me know.  If not, what's the chances this could be included
in a future release?

#!/usr/bin/perl
#
#@(#) smb-wall.pl Description:
#@(#) A perl script which allows you to announce whatever you choose to
#@(#) every PC client currently connected to a Samba Server...
#@(#) ...using "smbclient -M" message to winpopup service.
#@(#) Default usage is to message every connected PC.
#@(#) Alternate usage is to message every pc on the argument list.
#@(#)  Hacked up by Keith Farrar <[EMAIL PROTECTED]>
#
# Cleanup and corrections by
# Michal Jaegermann <[EMAIL PROTECTED]>
# Message to send can be now also fed (quietly) from stdin; a pipe will
do.

# Modified 20060414 to work with Samba v3 by
# Charlie Wilkinson <[EMAIL PROTECTED]>
# Added call to nmblookup to resolve IP addresses to NetBIOS names
#===
==

$smbstatus = "/usr/bin/smbstatus -S";
$smbshout = "/usr/bin/smbclient -M";
$nmblookup = "/usr/bin/nmblookup -A";

if (@ARGV) {
@clients = @ARGV;
undef @ARGV;
}
else {  # no clients specified explicitly
open(PCLIST, "$smbstatus |") || die "$smbstatus failed!.\n$!\n";
while() {
last if /^Locked files:/;
split(' ', $_, 6);
# do not accept this line if less then six fields
next unless $_[5];
# if you have A LOT of clients you may speed things up by
# checking pid - no need to look further if this pid was already
# seen;  left as an exercise :-)
$client = $_[2];
if( $client =~ /^\d+\./ ){  # Lookup NetBIOS names for IP's
open(NMBOUT, "$nmblookup $client |") || die "$nmblookup
failed!.\n$!\n";
while($line=) {
if( $line =~ /^\s*(\S+)\s<00> -\s*M/ ){
$client = $1;
last;
}
}
close(NMBOUT);
}
$client =~ tr/a-z/A-Z/; # to better catch/reject
dupes
next if $client =~ /^\d+\./;# toss failed lookup (PC
down?)
next if grep($_ eq $client, @clients);  # we want this name once
push(@clients, $client);
}
close(PCLIST);
}

# debugging...
#print "@clients\n";
#exit(0);

if (-t) {
print <<'EOT';

Enter message for Samba clients of this host
(terminated with single '.' or end of file):
EOT

while (<>) {
last if /^\.$/;
push(@message, $_);
}
}
else { # keep quiet and read message from stdin
@message = <>;
}

foreach(@clients) {
##print "To $_:\n";
if (open(SENDMSG,"|$smbshout $_")) {
print SENDMSG @message;
close(SENDMSG);
}
else {
warn "Cannot notify $_ with $smbshout:\n$!\n";
}
}

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


Re: [Samba] Samba 4.0 compilation problem

2006-04-14 Thread jasmine mary

Thank u Jelmer ..It started to compile once i updated with the new release of
GCC(3.4.2). But still it is giving errors. Please help me out of this.

./configure 

Summary:

Support for GTK+ frontends: no (install gtk,gconf)
Support for SSL in SWAT: no (install GNUTLS)
Support for threads in smbd (see --with-pthread): no (install PTHREAD)
Support for intelligent command line editing: no (install READLINE)
Support for changing process titles (see --with-setproctitle): no (install
SETPROCTITLE)
Support for using extended attributes: no (install XATTR)
Support for using libblkid: no (install BLKID)
Support for using pam: yes
Using external popt: yes
Developer mode: no
Automatic dependencies: yes
Using shared libraries internally (experimental): no (try --enable-dso)

Do i need to install all the thing specified in summary?

make pch all

Compiling heimdal/lib/vers/print_version.c with host compiler
In file included from heimdal_build/roken.h:7,
 from heimdal/lib/vers/print_version.c:38:
./heimdal/lib/roken/roken.h:556: error: conflicting types for 'gai_strerror'
/usr/include/netdb.h:307: error: previous declaration of 'gai_strerror' was
here
./heimdal/lib/roken/roken.h:556: error: conflicting types for 'gai_strerror'
/usr/include/netdb.h:307: error: previous declaration of 'gai_strerror' was
here
Compiling heimdal/lib/asn1/main.c with host compiler
In file included from heimdal_build/roken.h:7,
 from heimdal/lib/asn1/gen_locl.h:51,
 from heimdal/lib/asn1/main.c:34:
./heimdal/lib/roken/roken.h:556: error: conflicting types for 'gai_strerror'
/usr/include/netdb.h:307: error: previous declaration of 'gai_strerror' was
here
./heimdal/lib/roken/roken.h:556: error: conflicting types for 'gai_strerror'
/usr/include/netdb.h:307: error: previous declaration of 'gai_strerror' was
here
Building heimdal/lib/asn1/lex.l with lex
"lex.l":line 295: Error: Too many positions
Try using %p num
Generating dependencies for heimdal/lib/asn1/lex.c
gcc: heimdal/lib/asn1/lex.c: No such file or directory
gcc: no input files
rm -f include/includes.h.gch
Precompiling include/includes.h

make install

Compiling heimdal/lib/vers/print_version.c with host compiler
In file included from heimdal_build/roken.h:7,
 from heimdal/lib/vers/print_version.c:38:
./heimdal/lib/roken/roken.h:556: error: conflicting types for 'gai_strerror'
/usr/include/netdb.h:307: error: previous declaration of 'gai_strerror' was
here
./heimdal/lib/roken/roken.h:556: error: conflicting types for 'gai_strerror'
/usr/include/netdb.h:307: error: previous declaration of 'gai_strerror' was
here
Compiling heimdal/lib/asn1/main.c with host compiler
In file included from heimdal_build/roken.h:7,
 from heimdal/lib/asn1/gen_locl.h:51,
 from heimdal/lib/asn1/main.c:34:
./heimdal/lib/roken/roken.h:556: error: conflicting types for 'gai_strerror'
/usr/include/netdb.h:307: error: previous declaration of 'gai_strerror' was
here
./heimdal/lib/roken/roken.h:556: error: conflicting types for 'gai_strerror'
/usr/include/netdb.h:307: error: previous declaration of 'gai_strerror' was
here
Building heimdal/lib/asn1/lex.l with lex
"lex.l":line 295: Error: Too many positions
Try using %p num
Generating dependencies for heimdal/lib/asn1/lex.c
gcc: heimdal/lib/asn1/lex.c: No such file or directory
gcc: no input files
Samba will be installed into:
  basedir: /usr/local/samba
  bindir:  /usr/local/samba/bin
  sbindir: /usr/local/samba/sbin
  libdir:  /usr/local/samba/lib
  modulesdir:  /usr/local/samba/modules
  includedir:  /usr/local/samba/include
  vardir:  /usr/local/samba/var
  privatedir:  /usr/local/samba/private
  piddir:  /usr/local/samba/var/run
  lockdir: /usr/local/samba/var/locks
  logfilebase: /usr/local/samba/var
  setupdir:/usr/local/samba/share/setup
  jsdir:   /usr/local/samba/share/js
  swatdir: /usr/local/samba/share/swat
  mandir:  /usr/local/samba/man
  datadir: /usr/local/samba/share
  winbindd_socket_dir:  /usr/local/samba/var/run/winbind_pipe
Compiling auth/gensec/schannel.c
Compiling auth/gensec/schannel_sign.c
Pre-Linking MODULE gensec_schannel
Compiling lib/ldb/modules/skel.c
Pre-Linking MODULE ldb_skel
Compiling librpc/gen_ndr/ndr_echo.c
Pre-Linking SUBSYSTEM NDR_ECHO
Compiling rpc_server/samr/dcesrv_samr.c
Compiling rpc_server/samr/samr_password.c
Pre-Linking MODULE dcerpc_samr
Compiling wrepl_server/wrepl_server.c
Compiling wrepl_server/wrepl_in_connection.c
Compiling wrepl_server/wrepl_in_call.c
Compiling wrepl_server/wrepl_apply_records.c
Compiling wrepl_server/wrepl_periodic.c
Compiling wrepl_server/wrepl_scavenging.c
Compiling wrepl_server/wrepl_out_pull.c
Compiling wrepl_server/wrepl_out_push.c
Compiling wrepl_server/wrepl_out_helpers.c
Pre-Linking SUBSYSTEM WREPL_SRV
Compiling lib/events/events.c
Compiling lib/events/events_standard.c
Pre-Linking SUBSYSTEM LIBEVENTS
Compiling heimdal/lib/des/aes.c
Compiling heimdal/

Re: [Samba] helping out with documentation?

2006-04-14 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Veronica Hill wrote:
> What would be the best way to help out with Documentation 
> - like changing some of the bits in Samba by example or
> adding pointers to other chapters where John Terpstra has
> missed a step that another chapter covers?
> 
> I can't find any info on the website that shows me how to 
< write in the docbook xml format - I haven't done that
< before, so I need some pointers.  Where can I find some?

I don't have any good docbook/XML pointers so its normally
just follow the convention of what's already there.
If you send me diffs, I'll try to review them and get them
in tree.I can also send you a build script for the docs
but I've never been able to get a working environment
on anything but debian testing.






cheers, jerry
=
I live in a Reply-to-All world.   ---
Samba--- http://www.samba.org
Centeris ---  http://www.centeris.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEQAVPIR7qMdg1EfYRApn3AKDOxIC14XTpA0TTiaj/RSSDtYIymACeIL0R
f5Yey8zn4HyIqoUspqXpzHQ=
=b0p4
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] hardware to use with samba?????

2006-04-14 Thread Gary Dale
ECC memory is useful for preventing memory errors. It doesn't matter how 
long it takes to get the wrong answer.  :)  I recommend it for anything 
critical.


The memory access speed is minuscule compared with the disk I/O speed 
and network speed. The type of memory is not important. The amount of 
memory usually plays a bigger role on servers.


How much caching helps depends on usage patterns. If your users are 
accessing the same files frequently, it can really boost performance. If 
they don't, you won't see a great performance increase.


The processor you've chosen has a lot of power for simple file serving. 
I gather from the questions, you're not doing this for a large 
organization, so you're unlikely to need more performance.


You should do some performance monitoring on the server to find out if 
you need to change anything. Put it up in the live environment and see 
how much CPU is being used, what percentage of cache hits you're 
getting, etc., and upgrade it accordingly.



Mazen Ghalayini wrote:


thanks a lot gary. do u know if ECC memory or registered memory helps? also how 
much does caching provide performance increase, and i will be using two gigabit 
ethernets using link aggregation, right now i am thinking of getting one AMD 
Dual-Core Opteron 275 Italy 1GHz HT Socket 940 but the motherboard allows two 
of that. shall i go for two of them or just one?

 


- Original Message -
From: "Gary Dale" <[EMAIL PROTECTED]>
To: samba@lists.samba.org
Subject: Re: [Samba] hardware to use with samba?
Date: Fri, 14 Apr 2006 14:08:16 -0400


Mazen Ghalayini wrote:

   

if you are to build a samba file server what hardware would you 
pick? does samba benifit from dual core, or dual processors or 
even quad? also does it benifit from memory? and how does it 
benifit from memory? more ram is better for samba? any ideas here?


regards,
Mazen



 


Like any file server, you'd want the fastest drives available, which
means SCSI, put into a RAID array. Beyond that, more memory allows for
more caching. Processor speed is not a huge concern unless you're
running gigabit Ethernet, in which case you may need a fast processor
just to be able to pump the data into the pipe.


-- 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] smbclient -M --> ERRmsgoff?

2006-04-14 Thread Wilkinson Charlie E
Ok, well Jeremy...  Apologies are in order.  Turns out I screwed up.
I'm sorry.  I got my args mixed up and I was using -I specifying my own
server hostname.  So it seems I was talking to myself.  DOH!!  It was
your request for an ethereal trace that resulted in that discovery.
"Why aren't there any packets?"

The good news -- If I just use -M and the netbios name, I can get popups
on my XP workstation.  However, if I use -M and an IP address, I get
"session request failed."

Problem is, I don't have the netbios name for all the clients I'm trying
to connect to.  

Backing up a little  I'm trying to get an smb-wall script to work.
Again.  I had written one myself years ago that I'm trying to get
working again, and there's also the smb-wall.pl script that ships with
Samba.  They both use smbstatus/smbclient and function about the same.
Or rather, they break about the same.  Apparently an older form of
smbstatus listed both the netbios name and IP address of connected
clients.  Now I instead have a single column with a mix of netbios names
and IP addresses.  Neither my script nor apparently the Samba
smb-wall.pl script have been updated to deal with this.  It appears I
really need the netbios name to feed to smbclient, and possibly both the
netbios name and IP address for non-local clients, right?

So now I'm frantically RTFMing on how I might be able to do WINS
lookups, get the desired format from smbstatus, or otherwise get the
netbios name, or convince smbclient it doesn't need the name.  Any
further pointers that might help me along would be greatly appreciated.

-cw-

-Original Message-
From: Jeremy Allison [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 14, 2006 1:13 PM
To: Wilkinson Charlie E
Cc: samba@lists.samba.org
Subject: Re: [Samba] smbclient -M --> ERRmsgoff?

On Fri, Apr 14, 2006 at 12:08:26PM -0400, Wilkinson Charlie E wrote:
> Hi,
> I've been a Samba user/admin for about a decade with relative success,
> but now I'm stumped.  I'm hoping someone might be a solution to this,
or
> at least a solid answer.
>  
> If it helps, here's the response portion of the debug output:

Nope, we need a full debug level 10 from smbclient and an ethereal
trace would help.

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


Re: [Samba] Samba Member Server Authentication

2006-04-14 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Henrik Zagerholm wrote:
> 
> 14 apr 2006 kl. 15:18 skrev Gerald (Jerry) Carter:
> 
> Henrik Zagerholm wrote:
> 
 Is it possible for a Samba ADS Member Server to
 handle the Windows Client Logons if the WAN connection
 between the Win 200x PDC is broken?
> 
> Nope.  You need an AD DC implementation for that.
> 
>> And this is not currently supported in Samba 3 but will 
> eventually be supported in Samba 4 if I've understood
> the docs correctly, right? =)

yes.  Eventually there will be a production release of
Samba that supports AD domain control.  It's a matter of time,





cheers, jerry
=
I live in a Reply-to-All world.   ---
Samba--- http://www.samba.org
Centeris ---  http://www.centeris.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEP+uGIR7qMdg1EfYRAsJyAKCy9brn+w7b3HW6J3ySfkAn+6S8nwCfbArr
28hr4ZgSABdbwejfcyqo3jY=
=ZTD7
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba Member Server Authentication

2006-04-14 Thread Henrik Zagerholm


14 apr 2006 kl. 15:18 skrev Gerald (Jerry) Carter:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Henrik Zagerholm wrote:


Is it possible for a Samba ADS Member Server to
handle the Windows Client Logons if the WAN connection
between the Win 200x PDC is broken?


Nope.  You need an AD DC implementation for that.

And this is not currently supported in Samba 3 but will eventually be  
supported in Samba 4 if I've understood the docs correctly, right? =)








cheers, jerry
=
I live in a Reply-to-All world.   ---
Samba--- http://www.samba.org
Centeris ---  http://www.centeris.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEP6EcIR7qMdg1EfYRAtsNAKCRwwqpshMW7hWd9vLQEuezTdGwCwCgterJ
YvDA0Cywo6K38nL+CAhSxAo=
=8fia
-END PGP SIGNATURE-


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


Re: [Samba] hardware to use with samba?????

2006-04-14 Thread Gary Dale

Mazen Ghalayini wrote:


if you are to build a samba file server what hardware would you pick? does 
samba benifit from dual core, or dual processors or even quad? also does it 
benifit from memory? and how does it benifit from memory? more ram is better 
for samba? any ideas here?

regards,
Mazen

 


Like any file server, you'd want the fastest drives available, which
means SCSI, put into a RAID array. Beyond that, more memory allows for
more caching. Processor speed is not a huge concern unless you're
running gigabit Ethernet, in which case you may need a fast processor
just to be able to pump the data into the pipe.


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


[Samba] hardware to use with samba?????

2006-04-14 Thread Mazen Ghalayini
if you are to build a samba file server what hardware would you pick? does 
samba benifit from dual core, or dual processors or even quad? also does it 
benifit from memory? and how does it benifit from memory? more ram is better 
for samba? any ideas here?

regards,
Mazen

-- 
___
Check out the latest SMS services @ http://www.linuxmail.org
This allows you to send and receive SMS through your mailbox.

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


Re: [Samba] smbclient -M --> ERRmsgoff?

2006-04-14 Thread Jeremy Allison
On Fri, Apr 14, 2006 at 12:08:26PM -0400, Wilkinson Charlie E wrote:
> Hi,
> I've been a Samba user/admin for about a decade with relative success,
> but now I'm stumped.  I'm hoping someone might be a solution to this, or
> at least a solid answer.
>  
> If it helps, here's the response portion of the debug output:

Nope, we need a full debug level 10 from smbclient and an ethereal
trace would help.

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


[Samba] smbclient -M --> ERRmsgoff?

2006-04-14 Thread Wilkinson Charlie E
Hi,
I've been a Samba user/admin for about a decade with relative success,
but now I'm stumped.  I'm hoping someone might be a solution to this, or
at least a solid answer.
 
I'm looking to send out winpopup messages to our XP clients when one of
our Samba fileshare servers needs to be rebooted.
 
So I'm trying to sending the messages from a Linux/Samba server, which
is not a member of a domain.  Clients are pre-SP2 XP Pro boxes, and are
domain (actually, active directory) members.  Using NET SEND from one XP
client to another, I can send winpopup messages all day long and drive
everyone nuts..  Using "smbclient -M  -I ",
I get the ERRmsgoff error.
 
Since I know the messenger service is running and this appears not to be
a firewall problem, what am I left with?  Server not member of domain?
Is that the prime suspect?  Couldn't find any clues about that anywhere.
(Well... ok, I didn't check the source code yet)
 
If it's some kind of authentication-based problem, I see that there's a
-U option to provide a username in -M mode, but no apparent option to
provide a password.  We have used such tricks in the past to print to an
XP domain client's shared printer.  Is there a similar way to
authenticate for sending winpopups?  Am I even barking up the right
tree?
 
If it helps, here's the response portion of the debug output:
 
...
Sent session request
got smb length of 0
size=0
smb_com=0x0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=0
smb_pid=0
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=0
write_socket(3,62)
write_socket(3,62) wrote 62
got smb length of 35
size=35
smb_com=0xd5
smb_rcls=2
smb_reh=0
smb_err=82
smb_flg=136
smb_flg2=32769
smb_tid=65535
smb_pid=6188
smb_uid=0
smb_mid=2
smt_wct=0
smb_bcc=0
lang_tdb_init: /usr/lib/samba/en_US.UTF-8.msg: No such file or directory
message start: ERRSRV - ERRmsgoff (Not receiving messages.)

Is there enough info there to determine a specific cause?  Any clues
greatly appreciated!!
 
Thanks,
Charlie
--
Charlie Wilkinson
SysAdmin, Programmer, etc...
Interactive Customer Contact Environment (ICCE)
Formerly: Telephone Routing & Interactive Systems (TRIS)
Phone: 202-283-3241   Phax: 202-283-5106
[EMAIL PROTECTED]  

Modest people are #1!


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


[Samba] IAbwesenheit : samba Digest, Vol 40, Issue 15

2006-04-14 Thread wolfgang . rinau


Ich werde ab  14.04.2006 nicht im Büro sein. Ich kehre zurück am
24.04.2006.

Ich werde Ihre Nachricht nach meiner Rückkehr beantworten.
Ab 9.1.2006 wird mein Arbeitsplatz in MUC, HVU, Pavillion UR - EG,
Zi. 111 sein.

Ursprüngliches Thema: samba Digest, Vol 40, Issue 15--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] error message: Can't contact the NETLOGON pipe

2006-04-14 Thread John Little
Hi all,

I have two samba 3.0.21c + openldap domains setup and the appropriate
trusts between them are functioning.

Whenever a user logs in to the domain that the machine is not a member
of the logon script fails.  The only hint I've been able to find are
the following messages:

Apr 14 08:00:41 hrhmachdc1 winbindd[3923]: [2006/04/14 08:00:41, 1]
nsswitch/winbindd_misc.c:winbindd_dual_getdcname(199)
Apr 14 08:00:41 hrhmachdc1 winbindd[3923]:   Can't contact the NETLOGON
pipe
Apr 14 08:00:41 hrhmachdc1 winbindd[3977]: [2006/04/14 08:00:41, 1]
rpc_client/cli_pipe.c:cli_pipe_validate_current_pdu(625)
Apr 14 08:00:41 hrhmachdc1 winbindd[3977]:  
cli_pipe_validate_current_pdu: RPC fault code NT code 0x1c010002
received from remote machine ARUBA pipe \lsarpc fnum 0x775c!

I have my nsswitch.conf file configued to look at files ldap winbind.

Can someone steer me in the right direction of what I'm missing or
misconfigured?

Thanks,

John

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Win2K cannot retrieve print driver, XP is okay

2006-04-14 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Adam Nielsen wrote:
> Hi all,
> 
> I'm having trouble persuading Windows 2000 to find the print driver on
> a CUPS/Samba 3.0.20 server.  The whole system has been working
> perfectly with Windows XP clients for the last couple of months, but we
> have a few Windows 2000 PCs/servers that need to have the printers
> installed, and when double-clicking on a shared printer the Win2K
> machines are saying that the print server doesn't have the correct
> driver installed.
> 
> I'm using the Adobe PS driver and I can't for the life of me work out
> why it's working for XP but not Win2K - does anyone have any ideas?

No diea. Sorry.  But I generally have better luck using actual
Windows drivers.




cheers, jerry
=
I live in a Reply-to-All world.   ---
Samba--- http://www.samba.org
Centeris ---  http://www.centeris.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEP6MlIR7qMdg1EfYRAlIEAJ0dVUy5EeEKsV/X871umV8FDNHd6wCg6C6O
XK5bpz6RMfYJXlKvgltzunc=
=bTOS
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] uploading client printer drivers broken ?

2006-04-14 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chris Anders wrote:
> Hi guys,
> 
> I am at a loss with this feature of samba in that it is soo hit or miss
> if the client drivers will upload or not depending on samba version used.
> 
> Can someone confirm that this feature does indeed work in the latest
> samba release?

It's never hit and miss according to my tests.  There have been any
regressions in this code that I'm aware of in a really long time
(couple of years).

> To confirm that its not a permission on the filesystem it self if i
> chmod 000 the path of the print$ when i try and upload the driver it
> wont even attempt to upload, windows will simply state that the
> operation is not possible.

chmod 000 removes all permissions.  Are you sure this is what you did?
If so, you probably meant to do chmod 777.






cheers, jerry
=
I live in a Reply-to-All world.   ---
Samba--- http://www.samba.org
Centeris ---  http://www.centeris.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEP6IHIR7qMdg1EfYRAlvvAJ9Xpl3p6WZPNFuP1+JKPWZBQuXCwACaAuCV
FiN0IuMEFj+4YlmnJJT+HC0=
=liAa
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] HW suggestion for a new office

2006-04-14 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Simone wrote:
> Hi list,
> I am setting up a samba server (CentOS4) in new office of 30 employees,
> just file sharing not heavy traffic. We have an old Compaq 1850r PIII
> 600 512Mb Ram that I could use and I was wondering if the hardware would
> be enough (guess so).
> Thanks, any suggestion is really appreciated

Should be just fine.





cheers, jerry
=
I live in a Reply-to-All world.   ---
Samba--- http://www.samba.org
Centeris ---  http://www.centeris.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEP6GTIR7qMdg1EfYRAgfiAKDDRPuPDYBAU0rgO/RtTFZrqiP0pgCfbBUp
Pmm4LGAZzB1r8OmYHJaav0o=
=wT1n
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] UID/GID Issues with Samba in ADS mode with Winbind

2006-04-14 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dracula wrote:
> Hello
> 
> I am  seeing an issue where Winbind is not keeping 
> it's UID/GIDmappings.  For how long does the mapping
> stay in effect?  Is this mapping effected by reboots or
> server restarts?  Will an AD user get the same UID/GID
> every time?  Is there a way we can ensure that the UID/GIDs
> stick between login/logouts, etc. 

The tdb mapping is designed to be persistent.  Sounds like
you have other problems going on.




cheers, jerry
=
I live in a Reply-to-All world.   ---
Samba--- http://www.samba.org
Centeris ---  http://www.centeris.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEP6FZIR7qMdg1EfYRAphqAKCKR4XGPIyrKwVG0NVWWg1dNTh4IQCg3gu8
turbwJhLTW5FuxNp8YaEFwI=
=XrQk
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba Member Server Authentication

2006-04-14 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Henrik Zagerholm wrote:

> Is it possible for a Samba ADS Member Server to 
> handle the Windows Client Logons if the WAN connection
> between the Win 200x PDC is broken?

Nope.  You need an AD DC implementation for that.






cheers, jerry
=
I live in a Reply-to-All world.   ---
Samba--- http://www.samba.org
Centeris ---  http://www.centeris.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEP6EcIR7qMdg1EfYRAtsNAKCRwwqpshMW7hWd9vLQEuezTdGwCwCgterJ
YvDA0Cywo6K38nL+CAhSxAo=
=8fia
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] HW suggestion for a new office

2006-04-14 Thread Simone

Hi list,
I am setting up a samba server (CentOS4) in new office of 30 employees, 
just file sharing not heavy traffic. We have an old Compaq 1850r PIII 
600 512Mb Ram that I could use and I was wondering if the hardware would 
be enough (guess so).

Thanks, any suggestion is really appreciated

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


[Samba] UID/GID Issues with Samba in ADS mode with Winbind

2006-04-14 Thread Dracula
Hello

I am  seeing an issue where Winbind is not keeping it's UID/GID
mappings.  For how long does the mapping stay in effect?  Is this
mapping effected by reboots or server restarts?  Will an AD user get the
same UID/GID every time?  Is there a way we can ensure that the UID/GIDs
stick between login/logouts, etc. 

Thanks

Regards,

Komal  

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


[Samba] Samba Member Server Authentication

2006-04-14 Thread Henrik Zagerholm

Hi list,

Scenario:

1. HQ has a Win 2003 PDC

2. Branch Office has a Samba ADS Member Server

Is it possible for a Samba ADS Member Server to handle the Windows  
Client Logons if the WAN connection between the Win 200x PDC is broken?


After reading this I got a good understanding on ADS members
http://us1.samba.org/samba/docs/man/Samba-Guide/unixclients.html#adssdm

But I also would need LDAP replication if I want the server to handle  
logons in case of WAN failures right?


Thanks for your help.
Henrik




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