Re: [Samba] getting 3.5.8 to compile with cups on redhat 5.3 or 6

2011-05-10 Thread Shane T. Drinkwater
Frederic,
Sorry for the delay. Yum is telling me that 
For Redhat 5.3
Samba -->3.0.33-3.15.el5_4.1
Cups --> 1.3.7-11.el5_4.6
For Redhat 6.0
Samba -->3.5.4-68.el6_0.2
Cups --> 1.4.2-35.el6_0.1
    Shane
-Original Message-
From: fsos...@gmail.com [mailto:fsos...@gmail.com] 
Sent: Thursday, May 05, 2011 10:28 AM
To: Shane T. Drinkwater; samba@lists.samba.org
Subject: Re: [Samba] getting 3.5.8 to compile with cups on redhat 5.3 or 6

Shane,

Do you know samba3x (samba 3.5.4) package is available in RHEL 5 and 6
wich is compiled with CUPS?

regards,


Frederic

On 5 May 2011 17:06, Shane T. Drinkwater  wrote:
> Hello,
> I am trying to get samba-3.5.8 to compile with cups on a Red Hat 5.3 or 6.0. 
> When I use the following configure command I see
> ./configure --with-winbind --with-pam --with-aio-support --enable-cups
> checking for cups-config... /usr/sbin/cups-config
> checking cups/cups.h usability... no
> checking cups/cups.h presence... no
> checking for cups/cups.h... no
> checking cups/language.h usability... no
> checking cups/language.h presence... no
> checking for cups/language.h... no
> configure: WARNING: cups-config around but cups-devel not installed
> Compiles ok but no cups support.
>
> So I checked first I checked /usr/sbin/cups-config and it did have a symbolic 
> link to /usr/local/cups/bin/cups-config. I then noticed that the configure 
> script could not find the cups header files. So I symbolic linked 
> /usr/include/cups to /usr/local/cups/include/cups. Now I get
> checking for cups-config... /usr/sbin/cups-config
> checking cups/cups.h usability... yes
> checking cups/cups.h presence... yes
> checking for cups/cups.h... yes
> checking cups/language.h usability... yes
> checking cups/language.h presence... yes
> checking for cups/language.h... yes
> checking for httpConnect in -lcups... no
> configure: WARNING: your cups library doesn't link with -lcups alone, it 
> might be underlinked.
> checking for httpConnectEncrypt in -lcups... no
> and on compile
> Compiling smbd/server.c
> Linking bin/smbd
> /usr/bin/ld: cannot find -lcups
> collect2: ld returned 1 exit status
> make: *** [bin/smbd] Error 1
>
> I have tried with cups-1.3.11,1.4.2 and 1.4.6
> I compile cups with -->./configure --prefix=/usr/local/cups --disable-ssl
> If I compile samba 3.4.x without linking in the /usr/include/cups samba 
> compiles and works with cups!
> What can I do to get a compiled version of 3.5.8 with cups ???
>                                                                               
>            Thank you
>                                                                               
>            Shane
>
>
>
>
>
>
>
>
> NOTICE: This email may contain legally privileged information. The information
> is for the use of only the intended recipient(s) even if addressed
> incorrectly. If you are not the intended recipient, please notify the sender
> that you have received it in error and then delete it along with any
> attachments. Thank you.
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


NOTICE: This email may contain legally privileged information. The information
is for the use of only the intended recipient(s) even if addressed
incorrectly. If you are not the intended recipient, please notify the sender
that you have received it in error and then delete it along with any
attachments. Thank you.

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


[Samba] getting 3.5.8 to compile with cups on redhat 5.3 or 6

2011-05-05 Thread Shane T. Drinkwater
Hello,
I am trying to get samba-3.5.8 to compile with cups on a Red Hat 5.3 or 6.0. 
When I use the following configure command I see
./configure --with-winbind --with-pam --with-aio-support --enable-cups
checking for cups-config... /usr/sbin/cups-config
checking cups/cups.h usability... no
checking cups/cups.h presence... no
checking for cups/cups.h... no
checking cups/language.h usability... no
checking cups/language.h presence... no
checking for cups/language.h... no
configure: WARNING: cups-config around but cups-devel not installed
Compiles ok but no cups support.

So I checked first I checked /usr/sbin/cups-config and it did have a symbolic 
link to /usr/local/cups/bin/cups-config. I then noticed that the configure 
script could not find the cups header files. So I symbolic linked 
/usr/include/cups to /usr/local/cups/include/cups. Now I get
checking for cups-config... /usr/sbin/cups-config
checking cups/cups.h usability... yes
checking cups/cups.h presence... yes
checking for cups/cups.h... yes
checking cups/language.h usability... yes
checking cups/language.h presence... yes
checking for cups/language.h... yes
checking for httpConnect in -lcups... no
configure: WARNING: your cups library doesn't link with -lcups alone, it might 
be underlinked.
checking for httpConnectEncrypt in -lcups... no
and on compile
Compiling smbd/server.c
Linking bin/smbd
/usr/bin/ld: cannot find -lcups
collect2: ld returned 1 exit status
make: *** [bin/smbd] Error 1

I have tried with cups-1.3.11,1.4.2 and 1.4.6
I compile cups with -->./configure --prefix=/usr/local/cups --disable-ssl
If I compile samba 3.4.x without linking in the /usr/include/cups samba 
compiles and works with cups!
What can I do to get a compiled version of 3.5.8 with cups ???

  Thank you

      Shane








NOTICE: This email may contain legally privileged information. The information
is for the use of only the intended recipient(s) even if addressed
incorrectly. If you are not the intended recipient, please notify the sender
that you have received it in error and then delete it along with any
attachments. Thank you.


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


[Samba] [HELP] Samba with myob trouble

2011-04-05 Thread Shane
Take Off

[hfs_acc]
 oplocks = no
locking = no
level2 oplocks = no





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


Re: [Samba] Diagnosing Performance Issues

2010-10-04 Thread Shane Arnold
 Unfortunately an strace of the smbd process provides me with nothing 
useful as I am not a samba developer. However I'll happily provide the 
strace output for anyone interested :)


On 04/10/2010 2:05 PM, Volker Lendecke wrote:

On Mon, Oct 04, 2010 at 01:21:39PM +0800, Shane Arnold wrote:

First off my apologies if this is the wrong place to be asking.

I seem to have a problem where the smbd process is using a massive
amount of CPU for network transfers. It averages about 70-90% usage
on both cores of a dual-core machine when transferring between disks
(or over the network) using samba/cifs shares.

Along with this I also notice the transfers going from a steady
30-40mb/sec to anywhere from 1-4MB/sec. It seems to resolve itself
then re-occur multiple times during a transfer. I have tried
tweaking buffer settings and the like with no success.

iostat shows corresponding transfer rates that match what Windows is
reporting for transfer speeds.

Any ideas where I can start looking? I've done a fair bit of
looking, but I'm not quite ready to say it's a hardware problem just
yet.

strace'ing the smbd might be a start...

Volker

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


[Samba] Diagnosing Performance Issues

2010-10-04 Thread Shane Arnold

 Hi All,

First off my apologies if this is the wrong place to be asking.

I seem to have a problem where the smbd process is using a massive 
amount of CPU for network transfers. It averages about 70-90% usage on 
both cores of a dual-core machine when transferring between disks (or 
over the network) using samba/cifs shares.


Along with this I also notice the transfers going from a steady 
30-40mb/sec to anywhere from 1-4MB/sec. It seems to resolve itself then 
re-occur multiple times during a transfer. I have tried tweaking buffer 
settings and the like with no success.


iostat shows corresponding transfer rates that match what Windows is 
reporting for transfer speeds.


Any ideas where I can start looking? I've done a fair bit of looking, 
but I'm not quite ready to say it's a hardware problem just yet.


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


[Samba] Add Samba Events To Windows Event Viewer

2010-10-01 Thread Shane McGovern
I'm using samba to control remote services on a domain (using net rpc). 
It works great. However, I'd like to be able to write an event when I 
need to restart a service or I poll a counter. Can I do this from a 
Linux box to a Windows server via Samba? If so, how?


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


[Samba] data corruption in samba 3.4.3 ?

2009-12-31 Thread Shane T. Drinkwater
Hello,
I am using Citrix XenServer for my VM environment. I found that If I am using 
samba 3.4.3 and dump a vm from a Citrix xen node the resulting image is not 
importable(ie corrupt) into xenCenter. If I am using samba-3.3.9 and perform 
the same operation everything works great.  To dump the vm's from Xen I mount a 
samba share from the domU OS.   I use the following xen commands to dump the vm

mount -t cifs //172.27.1.100/xenBackups /mnt -o 
username=sdrinkwater,pass=somepass,dom=ad.pa-ucl.com
xe vm-snapshot vm=guest_name new-name-label=backup_vm
xe template-param-set is-a-template=false uuid=snapshotUUID
xe vm-export vm=snapshotUUID filename=exportfilename.xva
xe vm-uninstall uuid=snapshotUUID  force=true
umount /mnt

Has anyone else experienced this ?? My info is as follows

XenServer mount.cifs version --> mount.cifs version: 1.10
My two test samba servers where build from source with the following config
./configure --with-winbind --with-pam --with-aio-support

My smb.conf from the 3.3.9 server
[global]
  netbios name = medusa
  netbios aliases = insuranceSrv wellnessSrv accountingSrv backupSrv lisSrv 
personnelSrv hercules copathImagesSrv
  security = ADS
  realm = AD.PA-UCL.COM
  enable privileges = yes
  large readwrite = yes
  encrypt passwords = yes
  workgroup = ad-pa-ucl
  server string = central file server
  domain master = no
  local master = no
  map to guest = bad user
  name resolve order = wins bcast host
  preferred master = no
  log file = /var/log/samba/%m.log
  socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
  wins server = 172.27.1.28
#===Winbindd Stuff ==
password server = *
winbind uid = 1-2
winbind gid = 1-2
winbind separator = +
template shell = /bin/bash
template homedir = /home/%D/%U
winbind cache time = 60
winbind enum users = yes
winbind enum groups = yes
winbind use default domain = yes
allow trusted domains = Yes

[netBackups]
  path = /home/samba/netBackups
  writable = yes
  create mask = 0777
  directory mask = 0777
  valid users = "AD-PA-UCL+Administrator","AD-PA-UCL+sdrinkwater"
  write list =  "AD-PA-UCL+Administrator","AD-PA-UCL+sdrinkwater"


My smb.conf from the 3.4.3 server
#=== Global Settings =
  netbios name = virtualtest
  workgroup = ad-pa-ucl
  security = ADS
  realm = AD.PA-UCL.COM
  enable privileges = yes
  encrypt passwords = yes
  local master = no
  preferred master = no
  map to guest = bad user
  log file = /var/log/samba/%m.log
  large readwrite = yes
  socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192

# Winbind stuff =
  winbind separator = +
  winbind enum users = yes
  winbind enum groups = yes
  winbind use default domain = Yes
  idmap uid = 1-2
  idmap gid = 1-2
  template shell = /bin/bash
  template homedir = /home/%D/%U

[xenBackups]
path = /home/samba/backups/xenbackups
writable = yes
create mask = 0777
directory mask = 0777
valid users = "AD-PA-UCL+Administrator","AD-PA-UCL+sdrinkwater"
write list =  "AD-PA-UCL+Administrator","AD-PA-UCL+sdrinkwater"






NOTICE: This email may contain legally privileged information. The information
is for the use of only the intended recipient(s) even if addressed
incorrectly. If you are not the intended recipient, please notify the sender
that you have received it in error and then delete it along with any
attachments. Thank you.


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


[Samba] unable to join a NT4 Domain since 3.0.28a

2008-06-05 Thread Shane T. Drinkwater
Hello,
My name is Shane Drinkwater. If I use Samba 3.0.29/3.0.30 I cannot  join to my 
NT4 Domain. When running the net command to join I get the following error.
[EMAIL PROTECTED] bin]# ./net rpc join -Scsqdomainbackup -UAdministrator
Password:
[2008/06/05 16:40:35, 0] utils/net_rpc_join.c:net_rpc_join_newstyle(371)
  Error in domain join verification (credential setup failed): 
NT_STATUS_ACCESS_DENIED

Unable to join domain CSQ.

If I down grade my install to Samba 3.0.28a I am able to join. Has there been 
any new fixes since 3.0.28a that would have broken the net rpc join command??. 
My smb.conf is as follows
[global]
  netbios name = testbk
  security = domain
  large readwrite = yes
  encrypt passwords = yes
  workgroup = CSQ
  printing  = cups
  printcap name = cups
  load printers = yes
  domain master = no
  local master = no
  map to guest = bad user
  name resolve order = wins bcast host
  preferred master = no
  log file = /var/log/samba/%m.log
  socket options = TCP_NODELAY SO_SNDBUF=16384 SO_RCVBUF=16384
  wins server = 172.27.1.17
#===Winbindd Stuff ==
password server = *
winbind uid = 1-2
winbind gid = 1-2
winbind separator = +
template shell = /bin/bash
template homedir = /home/%D/%U
winbind cache time = 60
winbind enum users = yes
winbind enum groups = yes
winbind use default domain = yes

[printers]
  comment = All Printers
  path = /var/spool/samba
  public = yes
  guest ok = yes
  writable = yes
  printable = yes
Thank you for your time.
Shane

No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.524 / Virus Database: 269.24.6/1485 - Release Date: 6/5/2008 10:07 
AM




NOTICE: This email may contain legally privileged information. The information
is for the use of only the intended recipient(s) even if addressed
incorrectly. If you are not the intended recipient, please notify the sender
that you have received it in error and then delete it along with any
attachments. Thank you.


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


[Samba] Problems with slow printing

2007-09-06 Thread Shane T. Drinkwater
Hello,
My name is Shane Drinkwater. I have had a problem since samba-3.0.25 with 
printing being very, very slow. It takes about 15- 30 seconds for the print 
dialog box to appear. After selecting OK the print happens in a reasonable 
time.  File serving performance seems to be similar to previous revs of samba. 
I did read the "Problems with slow printing (and name resolving?)" thread. I do 
not have any printers that have been discontinued, plus new workstations are 
seeing the same slowness in printing. Has anyone else seen this or have a hint 
as to what is happening??
I am running on Red Hat Enterprise 5 with samba-3.0.25b/Cups 1.2.4

My smb.conf
[global]
  netbios name = medusa
  netbios aliases = insuranceSrv wellnessSrv accountingSrv backupSrv lisSrv 
personnelSrv hercules
  security = domain
  large readwrite = yes
  encrypt passwords = yes
  workgroup = CSQ
  server string = central file server
  printing  = cups
  printcap name = cups
  load printers = yes
  domain master = no
  local master = no
  map to guest = bad user
  name resolve order = wins bcast host
  preferred master = no
  log file = /var/log/samba/%m.log
  socket options = TCP_NODELAY SO_SNDBUF=16384 SO_RCVBUF=16384
  wins server = 172.27.1.17
#===Winbindd Stuff ==
#===Winbindd Stuff ==
password server = *
winbind uid = 1-2
winbind gid = 1-2
winbind separator = +
template shell = /bin/bash
template homedir = /home/%D/%U
winbind cache time = 60
winbind enum users = yes
winbind enum groups = yes
winbind use default domain = yes

[printers]
  comment = All Printers
  path = /var/spool/samba
  public = yes
  guest ok = yes
  writable = yes
  printable = yes

[print$]
  comment = Printer Driver Download Area
  path = /home/samba/printerdrivers
  guest ok = yes
  browseable = yes
  read only = yes
  write list = @CSQ+shane,@CSQ+Administrator,@CSQ+Programmers
[NT-apps]
   path = /home/samba/ntapps
   create mode = 777
   directory mode = 777
   writable = yes
   public = yes

[public]
  path = /home/samba/public
  writable = yes
  public = yes
  create mask = 0777
  directory mask = 0777

[cedi]
   path = /home/samba/cedi/cedi
   dos filetime resolution = yes
#   oplocks = false
#   level2 oplocks = false
   valid users = @CSQ+Programmers,@"CSQ+Domain Admins",@"CSQ+Domain Users"
   write list = @CSQ+Programmers,@"CSQ+Domain Admins",@"CSQ+Domain Users"
   create mode = 777
   directory mode = 777

[cediarc]
   path = /home/samba/cedi/cediarc
#   oplocks = false
#   level2 oplocks = false
   valid users = @CSQ+Programmers,@"CSQ+Domain Admins",@"CSQ+Domain Users"
   write list = @CSQ+Programmers,@"CSQ+Domain Admins",@"CSQ+Domain Users"
   create mode = 777
   directory mode = 777

Thank you for your time
    
Shane



NOTICE: This email may contain legally privileged information. The information
is for the use of only the intended recipient(s) even if addressed
incorrectly. If you are not the intended recipient, please notify the sender
that you have received it in error and then delete it along with any
attachments. Thank you.


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


[Samba] Request for Samba Consultant in NYC

2007-09-04 Thread Shane Witbeck
We have an ongoing intermittent Samba issue that we need help with. This 
list seems like the best place to ask for recommendations for a consultant 
willing to physically come into a NYC office and troubleshoot the issue. 

Thanks,
Shane


---

This e-mail may contain confidential and/or privileged information. If you 
are not the intended recipient (or have received this e-mail in error) 
please notify the sender immediately and destroy this e-mail. Any 
unauthorized copying, disclosure or distribution of the material in this 
e-mail is strictly forbidden.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] old print jobs go away!!

2007-05-11 Thread Shane Drinkwater
Jerry,
Thank you for your prompt re. lpq has the following output
[EMAIL PROTECTED] printing]# lpq -P mercylab
mercylab is ready
no entries
[EMAIL PROTECTED] printing]

Shane

-Original Message-
From: Gerald (Jerry) Carter [mailto:[EMAIL PROTECTED]
Sent: Friday, May 11, 2007 11:46 AM
To: Shane Drinkwater
Cc: 'samba@lists.samba.org'
Subject: Re: [Samba] old print jobs go away!!


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Shane Drinkwater wrote:
> Hello,
> My name is Shane Drinkwater. I am having some problems with samba and
> printing. It seems that old print jobs will not leave the printer status
> screen on my 2000/xp clients. It looks to me that the tdb for the
offending
> printer is not being purged when a print job completes. 

I cannot reproduce this although a few people report it from
time to time.  What does lpq show for the printer?






cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGRJ3aIR7qMdg1EfYRAq59AJ9q+zCaLPaAE+G9ACm1psyC8sCBvACePSmL
qM4eopxtC44/BvP78U3B5xY=
=3szF
-END PGP SIGNATURE-


NOTICE: This email may contain legally privileged information. The information
is for the use of only the intended recipient(s) even if addressed
incorrectly. If you are not the intended recipient, please notify the sender
that you have received it in error and then delete it along with any
attachments. Thank you.

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


[Samba] old print jobs go away!!

2007-05-11 Thread Shane Drinkwater
Hello,
My name is Shane Drinkwater. I am having some problems with samba and
printing. It seems that old print jobs will not leave the printer status
screen on my 2000/xp clients. It looks to me that the tdb for the offending
printer is not being purged when a print job completes. 
info 
Fedora Core 5 X86
Samba 3.0.24
smb.conf
[global]
#== remote Annouce Settings
==
#remote announce = 172.27.1.7
#remote browse sync = 172.27.1.7
#=== Local Master Settings===
domain master = no
local master = no
preferred master = no
#os level = 10
#===
log file = /var/log/samba/%m.log
load printers = yes
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
wins server = 172.27.1.17
encrypt passwords = yes
dns proxy = no
netbios name = athena
server string = Samba Server
#   unix password sync = Yes
workgroup = CSQ
security = domain
max log size = 0
pam password change = yes
large readwrite = yes
veto files = /*.eml/*.nws/riched20.dll/
#==Printer Stuff 
printing = cups
printcap = cups
#===Winbindd Stuff ==
password server = *
winbind uid = 1-2
winbind gid = 1-2
winbind separator = +
template shell = /bin/bash
template homedir = /home/%D/%U
winbind cache time = 60
winbind enum users = yes
winbind enum groups = yes
winbind use default domain = yes

[print$]
path = /home/samba/printdrivers
guest ok = yes
guest only = yes
browseable = yes
read only = yes
write list = @CSQ+"Programmers",@CSQ+"Domain Admins",@CSQ+"Domain
Users",@CSQ+"PA Doctors"

[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = yes
   guest ok = yes
   writable = yes
   printable = yes
   public = yes

ls of  /usr/local/samba/var/locks/printing
 1 drwxr-xr-x 2 root root 512 Apr  9 14:52 .
   1 drwxr-xr-x 5 root root 832 May 11 10:41 ..
  96 -rw--- 1 root root   98304 May  2  2006 csqlis.tdb
  40 -rw--- 1 root root   40960 May  9  2006 drslagelhp.tdb
  24 -rw--- 1 root root   24576 Apr 28  2006 joyceinkjet.tdb
  24 -rw--- 1 root root   24576 Apr 28  2006 mayolexmark.tdb
  40 -rw--- 1 root root   40960 May  4 11:36 mercybb.tdb
  24 -rw--- 1 root root   24576 Apr 28  2006 mercybloodbank.tdb
3203 -rw--- 1 root root 3276800 May 10 12:14 mercylab.tdb
  72 -rw--- 1 root root   73728 Jul  5  2006 MercyPA.tdb
  24 -rw--- 1 root root   24576 Apr 28  2006 mercyreq.tdb
  24 -rw--- 1 root root   24576 Apr  9 14:52 m_req.tdb
 136 -rw--- 1 root root  139264 Feb 28 15:52 pabill.tdb
 152 -rw--- 1 root root  155648 May 11  2006 pathallinone.tdb
  24 -rw--- 1 root root   24576 Apr 28  2006 printers.tdb
  24 -rw--- 1 root root   24576 Feb  1 16:33 ventanacolorlaser.tdb

As you can guess the mercylab printer is the one I am having problems with.
Other printers on the system seem not to be effected.
Any Ideas besides delete and recreate

    Shane


NOTICE: This email may contain legally privileged information. The information
is for the use of only the intended recipient(s) even if addressed
incorrectly. If you are not the intended recipient, please notify the sender
that you have received it in error and then delete it along with any
attachments. Thank you.

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


[Samba] Samba on Solaris filing

2007-04-18 Thread Shane Henry
G'day all,

I've been getting some strange things happening with my samba setup. At
the moment we've got a SAMBA/LDAP setup to provide single sign/roaming
profiles for our Windows machines. We've got 1 PDC & 3 BDC's all running
Solaris 10 on Sun-Fire-V440's.

The problem is that the system seems to run fine for about a day or two
(users login/logout, etc), but then for no apparent reason users can't
log in.

If I run 'smbclient -L RAVEN' on the PDC, I get the following error:
session request to RAVEN failed (Call timed out: server did not respond
after 2 milliseconds)
session request to *SMBSERVER failed (Call timed out: server did not
respond after 2 milliseconds)

Having run the same command the night before, it all worked fine.

I can restart the SAMBA daemons (and the LDAP daemons), but nothing
seems to fix it. The only fix that seems to work is to reboot the
server. Once the system is rebooted, it all seems to work fine for a day
or two, then it just stops working again.

I've looked through the logs and can't seem to find anything that
indicates the problem. I've also searched the net for answers, but as of
yet, I've found no answer but to reboot the servers.

At the moment we're running samba 3.0.23b on Solaris 10.

Any suggestions about where to go from here would be greatly
appreciated.

Thanks in advance,
Shane


smb.conf:
# Global parameters
[global]
workgroup = SCADA
netbios name = RAVEN
server string = Samba Server %v
interfaces = 159.73.160.13/255.255.255.0
159.73.161.13/255.255.255.0 lo0
bind interfaces only = Yes
hosts allow = 159.73.160.0/255.255.255.0
159.73.161.0/255.255.255.0 127.0.0.1
passdb backend = ldapsam:ldap://127.0.0.1/
enable privileges = Yes
username map = /etc/samba/smbusers
security = user
log level = 3
log file = /var/log/samba/samba.log
max log size = 0
encrypt passwords = Yes
unix password sync = Yes
# smbldap-passwdNT is a hacked script to make it work for us
passwd program = /usr/local/sbin/smbldap-passwdNT "%u"
passwd chat = "Changing UNIX and samba passwords for*\nNew
password*" %n\n "*Retype new password*" %n\n "*Password*changed*"
passwd chat timeout = 10
passwd chat debug = No
smb ports = 139
name resolve order = wins bcast hosts
time server = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
preserve case = yes
short preserve case = yes
case sensitive = no

add user script = /usr/local/sbin/smbldap-useradd -m "%u"
delete user script = /usr/local/sbin/smbldap-userdel "%u"
add group script = /usr/local/sbin/smbldap-groupadd "%g" 
delete group script = /usr/local/sbin/smbldap-groupdel "%g"
add user to group script = /usr/local/sbin/smbldap-groupmod -m
"%u" "%g"
delete user from group script = /usr/local/sbin/smbldap-groupmod
-x "%u" "%g"
set primary group script = /usr/local/sbin/smbldap-usermod -g
"%g" "%u"
add machine script = /usr/local/sbin/smbldap-useradd -w "%u"

logon script = logon.bat
logon path = \\%L\profiles\%U
logon drive = H:
logon home = \\%L\%U

domain logons = Yes
domain master = Yes
wins support = yes
preferred master = Yes
os level = 99

ldap suffix = dc=scada,dc=ie,dc=com,dc=au
ldap machine suffix = ou=People
ldap user suffix = ou=People
ldap group suffix = ou=Group
ldap idmap suffix = ou=Idmap
ldap admin dn = cn=Manager,dc=scada,dc=ie,dc=com,dc=au
map acl inherit = Yes
ldap ssl = no
ldap passwd sync = Yes

idmap backend = ldap:ldap://127.0.0.1
idmap uid = 15000-2
idmap gid = 15000-2


[netlogon]
comment = Network Logon Service
path = /export/home/samba/netlogon/
guest ok = Yes
locking = No

[profiles]
comment = Profile Share
path = /export/home/samba/profiles/
read only = No
profile acls = Yes

[doc]
path = /export/home/samba/doc/
read only = yes
create mask = 0750
guest ok = no
write list = @ie

[homes]
comment = Home Directories
valid users = %U
read only = no
create mask = 0644
directory mask = 0775
browseable = No



**
Please consider our environment before printing this email.

NOTICE - This communication contains information which is confidential and the 
copyright of Integral Energy Australia or a third party.

If you are not the

[Samba] Problems with samba on RHEL4 (was ok on RHEL3)

2006-10-24 Thread Shane Presley

Hello,

We have a RedHat3 server, with some NFS mounts to Solaris9 servers.
That works nicely.  We also run samba on top of that, for Windows
access to the NFS shares.  Works fine.

However, on a RedHat4 system, using the exact same mount, we
experience odd behavior.  I can access the shares through samba,
see all the files, but when I double click on a file to open it, I get a
long long hang.  Eventually (2-5 minutes later) the file will open.

My mount looks like

mount -t nfs  -o soft,intr,rsize=1024,wsize=1024,nosuid,udp
mysolariserver:/opt/path /misc/path

SMB.CONF:
[my_docs]
comment = My Docs
path = /my_docs
create mask = 
directory mask = 
force create mode = 0775
force directory mode = 0775
browseable = no
guest ok = no
read only = no
locking = no
blocking locks = no
oplocks = no
level2 oplocks = no
posix locking = no
strict locking = no

Same results using autofs vs command line mount.  I have tried playing with
the rsize/wsize, seems to have no effect.  Also, I have tried removing
the udp option, same result.

RedHat3 system that works...
samba-3.0.9-1.3E.10
autofs-4.1.3-186
nfs-utils-1.0.6-44EL

RedHat4 system that hangs...
samba-3.0.10-1.4E.9
autofs-4.1.3-187
nfs-utils-lib-1.0.6-3
nfs-utils-1.0.6-70.EL4


Looking at a snoop of the traffic between the servers shows that the
RedHat4 system seems to get hung up in a loop with about two minutes
of this:

myredhat4server -> mysolaris9server  PORTMAP C GETPORT
prog=100021 (NLM) vers=4 proto=UDP
   mysolaris9server -> myredhat4server PORTMAP R GETPORT port=0
myredhat4server -> cs8  PORTMAP C GETPORT prog=100021 (NLM)
vers=4 proto=UDP
   mysolaris9server -> myredhat4server PORTMAP R GETPORT port=0

Where as on the RedHat3 snoop, I never see any of that PORTMAP traffic?

Any idea where I should look?

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


[Samba] Unable to upload printer drivers to 3.0.21 Samba

2005-12-23 Thread Shane Drinkwater
Hello,
I am attemping to upload printer drivers onto a new samba server running
3.0.21. Client computers that I have tried to upload the drivers from are
Windows XP SP2, Windows 2000 SP4. The upload process works just like it is
documented
1.) double click on printer and answer NO to 
2.) Click on new driver button under advanced
3.) Find Driver and click OK then Finish
4.) watch as windows copies the driver files over to $print ( on the server
I do see files being saved)
5.) Windows prompts me with
a.) Windows XP-->"The Driver that you are trying to install is not
compatible with Windows XP, Please contact the manufacturer for an update
version.
b.) Windows 2000 -->"The print driver you selected is ether no
compatible with your current version of Windows, or it may not be available.
Select a compatible driver from the list, or contact you administrator for
help.
6.) After clicking the all mighty OK, windows cleans up the driver from
$print. leaving a empty $print.

I know that the driver works from windows it is the HP 4000 PCL driver. So I
know the message is not true. What can be done to fix this ??? My config is
as follows
my $print 
[EMAIL PROTECTED] printdrivers]# ls -lsa
total 0
0 drwxrwxrwx  9 root root 200 Dec 22 16:33 .
0 drwxr-xr-x  6 root root 152 Dec 22 14:15 ..
0 drwxrwxrwx  2 root root  48 Dec 22 16:33 W32ALPHA
0 drwxrwxrwx  2 root root  48 Dec 22 16:33 W32MIPS
0 drwxrwxrwx  2 root root  48 Dec 22 16:33 W32PPC
0 drwxrwxrwx  4 root root 112 Dec 23 08:57 W32X86
0 drwxrwxrwx  2 root root  48 Dec 22 16:33 WIN40
[EMAIL PROTECTED] printdrivers]#

#=== Local Master Settings===
domain master = no
local master = no
preferred master = no
#os level = 10
#===
log file = /var/log/samba/%m.log
load printers = yes
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
wins server = 172.27.1.17
encrypt passwords = yes
dns proxy = no
netbios name = newmedusa
server string = Samba Server
workgroup = CSQ
security = domain
max log size = 0
large readwrite = yes
veto files = /*.eml/*.nws/riched20.dll/
#==Printer Stuff 
printer admin = @CSQ+"Programmers",@CSQ+"Domain Admins",@CSQ+"Domain
Users",@CSQ+"PA Doctors"
note: If I comment out the above line the new printer driver
button on windows is disabled.
printing = cups
printcap = cups
#===Winbindd Stuff ==
#===Winbindd Stuff ==
password server = *
winbind uid = 1-2
winbind gid = 1-2
winbind separator = +
template shell = /bin/bash
template homedir = /home/%D/%U
winbind cache time = 60
winbind enum users = yes
winbind enum groups = yes
winbind use default domain = yes

[print$]
path = /home/samba/printdrivers
guest ok = yes
guest only = yes
browseable = yes
read only = yes
write list = @CSQ+"Programmers",@CSQ+"Domain Admins",@CSQ+"Domain
Users",@CSQ+"PA Doctors"

[printers]
comment = All Printers
path = /var/spool/samba
browseable = yes
guest ok = yes
writable = yes
printable = yes

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


[Samba] A few questions

2005-05-09 Thread Shane McBride
1. There is no Domain Users group on my Samba 3.0.6 server. Does this 
group need to be manually created?

2. In my smbpasswd file:
# Unix_name = SMB_name1 SMB_name
root = Administrator
nobody = guest pcguest smbguest
I can not join a domain using administrator. I must use root. What did I 
do wrong?

3. Since there is no Domain Users group. I have been adding each user to 
the admin group on the local PC. When they are added the security 
identifier is also shown. How come?
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] nmbd --> panic:internal error

2005-03-22 Thread Shane Drinkwater
Hello,
I am getting this error on a remote linux box running Fedora Core 3.
basically just the nmbd process dies leaving the smbds running
 Netbios nameserver version 3.0.11 started.
  Copyright Andrew Tridgell and the Samba Team 1994-2004
[2005/03/17 13:25:15, 0] lib/fault.c:fault_report(36)
  ===
[2005/03/17 13:25:15, 0] lib/fault.c:fault_report(37)
  INTERNAL ERROR: Signal 11 in pid 25106 (3.0.11)
  Please read the appendix Bugs of the Samba HOWTO collection
[2005/03/17 13:25:15, 0] lib/fault.c:fault_report(39)
  ===
[2005/03/17 13:25:15, 0] lib/util.c:smb_panic2(1495)
  PANIC: internal error
[2005/03/17 13:25:15, 0] lib/util.c:smb_panic2(1503)
  BACKTRACE: 10 stack frames:
   #0 /usr/local/samba/sbin/nmbd(smb_panic2+0x194) [0x80c2642]
   #1 /usr/local/samba/sbin/nmbd(smb_panic+0x10) [0x80c24ac]
   #2 /usr/local/samba/sbin/nmbd [0x80b0f5e]
   #3 /usr/local/samba/sbin/nmbd [0x80b0fb3]
   #4 /lib/tls/libc.so.6 [0xbe2a48]
   #5 /usr/local/samba/sbin/nmbd(announce_remote+0x162) [0x807285f]
   #6 /usr/local/samba/sbin/nmbd [0x806105c]
   #7 /usr/local/samba/sbin/nmbd(main+0x695) [0x8061909]
   #8 /lib/tls/libc.so.6(__libc_start_main+0xe3) [0xbcfe33]
   #9 /usr/local/samba/sbin/nmbd [0x805ff8d]

my smb.conf is 
[global]
#=== Local Master Settings===
domain master = no
local master = yes
preferred master = no
os level = 65
#===
printing = cups
printcap = cups
null passwords = yes
encrypt passwords = yes
wins server = 172.27.1.17
remote announce = 172.27.1.7
max log size = 0
interfaces = eth1 lo
bind interfaces only = yes
large readwrite = yes
map to guest = bad user
veto files = /*.eml/*.nws/riched20.dll/
security = user
dns proxy = no
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8576
lpq cache time = 30
lpq command = lpq -P %p
password server = *
printer admin = @CSQ+"Programmers",@CSQ+"Domain Admins",@CSQ+"Domain
Users",@CSQ+"PA Doctors"
#Domain Stuff
===
winbind cache time = 60
winbind separator = +
winbind gid = 1-2
winbind uid = 1-2
winbind enum users = yes
winbind enum groups = yes
template homedir = /home/winnt/%D/%U
template shell = /bin/bash
#===
workgroup = CSQ
server string = Samba Server for Steves House
netbios name = newperseus
log file = /var/log/samba/%m.log
load printers = yes
write cache size = 128000
[printers]
   comment = All Printers
   path = /var/spool/samba
   public = yes
   guest ok = yes
   writable = yes
   printable = yes

[public]
path = /home/samba/public
writable = yes
public = yes
create mode = 777

[nt-apps]
path = /home/samba/nt-apps
writable = yes
public = yes
create mode = 777

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


[Samba] Samba and Netatalk Problem

2005-02-15 Thread Grieve, Shane
I have a large number of Mac clients currently severed by windows NT 4
servers I am looking to replace the with samba / netatalk the problem I have
is there are a large number of files that contain forward slashes e.g. âa
pages 2/18â Windows NT translates the / to a  2ï â  2 with a dot but keeps
the rest of the file name readable samba mangles the whole  file name to
something like _6HZXL~E  I have tried using vfs_cap, vfs_hex vfs_netatalk
and different codepages including cp932  but still not luck. If you look on
the linux server fedora core 3 the / is replaced with :2f but the rest of
the file name is readable. I understand that a / slash is not valid but is
there a way to keep the rest of the file name readable. 

 

Thanks in advance

 

-Shane

 

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


[Samba] performance?

2005-02-10 Thread Shane Hebert
I've looked on the 'net and found some references to poor performance but I 
haven't seen a solution.

My environment:
Linux: SuSE 9.2 Pro AMD64
Windows: Windows XP Pro (32-bit) on an Athlon64
Networking: everything connected with GoC.
From the Linux box, I want to basically back up some stuff from the Windows 
box.  To do so, I use the following:
smbclient //winbox/share "" -N -Tc backup.tar
This reports the data transfer rate at around 65kb/s
If I use ftp from the Windows box to the Linux box, I can ftp files at 
around 15MB/s (near hard drive write speed on the Windows box).

Even when I manually copy files using:
smbclient //winbox/share "" -N
and then get bigfile.zip
I still get the slow speeds.  I did see some things on the 'net about using 
smbmount and turn the TTL up to 10 seconds or so.  I tried this and simply 
used tar to copy from the mount to a tar file on the local Linux box and the 
transfer rates are still below 100kb/s

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


[Samba] cups newbe

2004-11-19 Thread Shane Drinkwater
Hello,
This is my first samba server that I used cups for the printing sub system.
After getting everything setup and running I am getting a "Access denied,
unable to connect" error on the printer window, but I can still print test
pages???..

my smb.conf
[global]
#=== Local Master Settings===
domain master = no
local master = yes
preferred master = yes
os level = 65
#===
printing = cups
printcap = cups
null passwords = yes
encrypt passwords = yes
wins server = 172.27.1.17
remote announce = 172.27.1.7
max log size = 0
interfaces = eth1 lo
bind interfaces only = yes
large readwrite = yes
map to guest = bad user
veto files = /*.eml/*.nws/riched20.dll/
security = user
dns proxy = no
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8576
lpq cache time = 30
password server = *
printer admin = @CSQ+"Programmers",@CSQ+"Domain Admins",@CSQ+"Domain
Users",@CSQ+"PA Doctors"
#Domain Stuff
===
winbind cache time = 60
winbind separator = +
winbind gid = 1-2
winbind uid = 1-2
winbind enum users = yes
winbind enum groups = yes
template homedir = /home/winnt/%D/%U
template shell = /bin/bash
#===
workgroup = CSQ
server string = Samba Server for DV
netbios name = dvrouter
log file = /var/log/samba/%m.log
load printers = yes
write cache size = 128000


[printers]
   comment = All Printers
   path = /var/spool/samba
   public = yes
   guest ok = yes
   writable = yes
   printable = yes

[public]
path = /home/samba/public
writable = yes
public = yes

[nt-apps]
path = /home/samba/nt-apps
writable = yes
public = yes
create mode = 777
I compiled cups and samba from sources the commands I used are:
./configure --prefix=/usr/local/cups
configure --with-winbind --with-pam --with-smbmount --enable-cups

using the ldd `which smbd` The smbd daemon is compiled correctly with the
correct cups lib.

    Any Ideas
Shane Drinkwater

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


[Samba] Compile issues on Fedora Core 3

2004-11-11 Thread Shane Drinkwater
Hello,
I am having problems compileing samba-3.0.8 on fedora core 3 64 bit. The
error message I am getting is:
Compiling dynconfig.c
/tmp/ccY0PMTp.s: Assembler messages:
/tmp/ccY0PMTp.s:44: Error: suffix or operands invalid for `mov'
/tmp/ccY0PMTp.s:97: Error: suffix or operands invalid for `mov'
make: *** [dynconfig.o] Error 1

My config cmd was
./configure --with-winbind --with-pam --with-smbmount --enable-cups

My CPU is a 
processor   : 0
vendor_id   : AuthenticAMD
cpu family  : 15
model   : 5
model name  : AMD Opteron(tm) Processor 244
stepping: 10
cpu MHz : 1792.724
cache size  : 1024 KB
fpu : yes
fpu_exception   : yes
cpuid level : 1
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowe
xt 3dnow
bogomips: 3522.56
TLB size: 1088 4K pages
clflush size: 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp

The same thing broke on samba-3.0.7 with Fedora C2 Test 3... Any Idea on
what is wrong
    Shane
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Samba Compile Error on 3.0.7 and 3.0.8 Pre 1 on X64 Fedora Core 3 Test 2

2004-10-05 Thread Shane Drinkwater
Hello,
I am trying to compile samba 3.0.7 or samba 3.0.8 pre 1 on a AMD Opteron(tm)
Processor 244 running Fedora Test 2 Core 3. 
The message I am getting is:
[EMAIL PROTECTED] source]# make
Using FLAGS =  -O  -Iinclude -I/usr/src/samba-3.0.7/source/include
-I/usr/src/samba-3.0.7/source/ubiqx -I/usr/src/samba-3.0.7/source/smbwrapper
  -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
-I/usr/src/samba-3.0.7/source
  LIBS = -lcrypt -lnsl -ldl
  LDSHFLAGS = -shared -Wl,-Bsymbolic  -L/usr/lib64
  LDFLAGS = -L/usr/lib64
Generating smbd/build_options.c
Building include/proto.h
creating /usr/src/samba-3.0.7/source/include/proto.h
Building include/wrepld_proto.h
creating /usr/src/samba-3.0.7/source/include/wrepld_proto.h
Building include/build_env.h
creating /usr/src/samba-3.0.7/source/nsswitch/winbindd_proto.h
creating /usr/src/samba-3.0.7/source/web/swat_proto.h
creating /usr/src/samba-3.0.7/source/client/client_proto.h
creating /usr/src/samba-3.0.7/source/utils/net_proto.h
Compiling dynconfig.c
/tmp/cccsbyQh.s: Assembler messages:
/tmp/cccsbyQh.s:44: Error: suffix or operands invalid for `mov'
/tmp/cccsbyQh.s:97: Error: suffix or operands invalid for `mov'
make: *** [dynconfig.o] Error 1

output for samba 3.0.8 pre 1
[EMAIL PROTECTED] source]# make
Using FLAGS =  -O  -Iinclude -I/usr/src/samba-3.0.8pre1/source/include
-I/usr/src/samba-3.0.8pre1/source/ubiqx -I/usr/src/samba-3.0.8pre1/sourc
e/smbwrapper  -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
-I/usr/src/samba-3.0.8pre1/source
  LIBS = -lcrypt -lnsl -ldl
  LDSHFLAGS = -shared -Wl,-Bsymbolic  -L/usr/lib64
  LDFLAGS = -L/usr/lib64
Generating smbd/build_options.c
Building include/proto.h
creating /usr/src/samba-3.0.8pre1/source/include/proto.h
Building include/wrepld_proto.h
creating /usr/src/samba-3.0.8pre1/source/include/wrepld_proto.h
Building include/build_env.h
creating /usr/src/samba-3.0.8pre1/source/nsswitch/winbindd_proto.h
creating /usr/src/samba-3.0.8pre1/source/web/swat_proto.h
creating /usr/src/samba-3.0.8pre1/source/client/client_proto.h
creating /usr/src/samba-3.0.8pre1/source/utils/net_proto.h
creating /usr/src/samba-3.0.8pre1/source/utils/ntlm_auth_proto.h
Compiling dynconfig.c
/tmp/ccosVX6b.s: Assembler messages:
/tmp/ccosVX6b.s:44: Error: suffix or operands invalid for `mov'
/tmp/ccosVX6b.s:97: Error: suffix or operands invalid for `mov'
make: *** [dynconfig.o] Error 1



my gcc level is :
gcc (GCC) 3.4.1 20040831 (Red Hat 3.4.1-10)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

my configure command is
./configure 


Any Ideas 

Shane Drinkwater

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


Re: [Samba] and XP home

2004-09-23 Thread Shane
Hi, I need advice.  I have a bunch of XP PC's, as well as Win98 on a 
network with a samba share.  The 98 machines, and some of the XP's can 
see the share(Suse8.2), but not other XP's ?.  Any pointers would be 
gratefully received.  No smb passwords used.  samba share is completely 
open...using "map to guest" on bad password

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


RE: [Samba] Desktop.ini showing up

2004-09-15 Thread Shane McBride
Dan,

The file isn't in the Startup folder, it just sits there on the Desktop.
There doesn't seem to be a problem with simply deleting the file, but I do
not know if it really is doing something.

Shane

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Dan Slatford
Sent: Wednesday, September 15, 2004 10:41 AM
To: [EMAIL PROTECTED]
Subject: Re: [Samba] Desktop.ini showing up


On Wed, 2004-09-15 at 15:31, Shane McBride wrote:
> First of all I am new to Samba. I successfully deployed Samba 3.0.6 as a
PDC
> w/roaming profiles.
>
> All the workstations have a desktop.ini file that shows up on the desktop
> after joining the domain. The contents of the ini differ from workstation
to
> workstation.

I've found the same thing, the desktop.ini file is in the startup folder
in the programs menu, so opens up into notepad when you log in for the
first time. Is this the same for you?

Deleting the file from start button > programs > startup 'solved' it,
but I never figured out why it appeared there to begin with.

--
Dan

--
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] Desktop.ini showing up

2004-09-15 Thread Shane McBride
First of all I am new to Samba. I successfully deployed Samba 3.0.6 as a PDC
w/roaming profiles.

All the workstations have a desktop.ini file that shows up on the desktop
after joining the domain. The contents of the ini differ from workstation to
workstation.

>From my understanding this file is a supposed to be a hidden file, but it is
not.

Any ideas?

I apologize if I have not included enough system info, such as the smb.conf.

Shane

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


RE: [Samba] Re: Problem upgrading to 3.0.4 and ArcServe

2004-05-22 Thread Shane Drinkwater
Jerry,
No Dice. The ArcServ System Still reports a Authentication Error. This there
a mode I can 
put the winbindd and smbd deamons into to give more diagnostic info??

Shane

-Original Message-
From: Gerald (Jerry) Carter [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 20, 2004 4:47 PM
To: Shane Drinkwater
Cc: '[EMAIL PROTECTED]'
Subject: Re: [Samba] Re: Problem upgrading to 3.0.4 and ArcServe


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Shane Drinkwater wrote:
| Jerry,
| I downloaded the SP from Microsoft.com( Offline
| network install ) I am on
| SP4 on Windows?? Would ArcServ implement its own
| Security???

I'm not convinced your problem is related to bug 1315
but it could be.  Let me know what the outcome is and
we'll move on from there.




cheers, jerry

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

iD8DBQFArSdWIR7qMdg1EfYRAjm0AKCIMcB0fAd7ertt2AGSkSbaYIFobACghFE0
B2wn9ihCeOIZ+VEHpkOsFWo=
=VTnT
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Re: Problem upgrading to 3.0.4 and ArcServe

2004-05-20 Thread Shane Drinkwater
Jerry,
I downloaded the SP from Microsoft.com( Offline network install ) I am on
SP4 on Windows?? Would ArcServ implement its own
Security???
Shane

-Original Message-
From: Gerald (Jerry) Carter [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 20, 2004 4:01 PM
To: Shane Drinkwater
Cc: [EMAIL PROTECTED]
Subject: Re: [Samba] Re: Problem upgrading to 3.0.4 and ArcServe


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Shane Drinkwater wrote:
| Jerry,
| I am having the problem and I am in Iowa. So I
| don't think it is a location specific problem. My
| Arc Serv Box is a Windows 2000 Server box w/sp 4.
| One special note is that my Arc Serv Box is also a
| backup Domain controller for my Domain. Other than
| that I have a pretty run of the mill network. I am in
| the progress of testing  the
| patch(https://bugzilla.samba.org/show_bug.cgi?id=1315)
| with my test server. I should know if it works
| bye tonight

Strange then.  I had originally thought that all service
packs for Windows 2k enabled strong encryption (unlike the
us and export versions we used to have for NT4).  Maybe
I'm wrong.

What service pack is you windows 200 DC and where did
you get the SP archive from ?





cheers, jerry
- --
Hewlett-Packard- http://www.hp.com
SAMBA Team -- http://www.samba.org
GnuPG Key   http://www.plainjoe.org/gpg_public.asc
"...a hundred billion castaways looking for a home." --- Sting
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFArRynIR7qMdg1EfYRArjwAKDhCsozLSuNtQe0GJwKyUOEHbCSjwCg7sUt
MzqI8mmMunuWLlsePoqEGpU=
=2DVF
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Re: Problem upgrading to 3.0.4 and ArcServe

2004-05-20 Thread Shane Drinkwater
Jerry,
I am having the problem and I am in Iowa. So I don't think it is
a location specific problem. My Arc Serv Box is a Windows 2000 Server
box w/sp 4. One special note is that my Arc Serv Box is also a 
backup Domain controller for my Domain. Other than that I have a 
pretty run of the mill network. I am in the progress of testing 
the patch(https://bugzilla.samba.org/show_bug.cgi?id=1315) with my test
server.
I should know if it works bye tonight

    Shane

-Original Message-
From: Gerald (Jerry) Carter [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 20, 2004 10:12 AM
To: Andreas
Cc: [EMAIL PROTECTED]
Subject: Re: [Samba] Re: Problem upgrading to 3.0.4 and ArcServe


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Andreas wrote:

| On a related note, I'm surprised at the amount of people
| being hit by this bug, since, to my understanting, it
| only affects windows installations without strong cryptography
| support, which means old service packs or none.

I've looked into this some more and it could just be a
different in the way that non-us windows servers operate.
We only ask for AUTH_PIPE_SEAL in winbuindd' schannel code.
All of my servers include the nonce for sealing in the
verfier returned from the server as well.  But apparently
non-us servcers don't.

The only way I could reproduce this was to use a unpatched
2k DC.  But everyone of the people who reported this bug
(that I can remember) where outside the US.

Go figure




cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFArMq/IR7qMdg1EfYRAoKkAKD0gd+5CnNMeED/1/YtxLUkxgI0vACghEFw
aH3gViDVWhpp6r/0lfYP+lE=
=qSFL
-END PGP SIGNATURE-
-- 
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] Re: Problem upgrading to 3.0.4 and ArcServe

2004-05-19 Thread Shane Drinkwater



Hello,
I have the same problem. Since Version 3.0.3 of Samba. ArcServ Doesn't
login. I have tried to reference other
valid Domain user buy using CSQ\Administrator, CSQ\shane and the proper
passwords in the ArcServ Backup Screen(Please see attached pic). I am
running Fedora Core 1 on my Test Server with Samba 3.0.4. 
My ArcServ version is a 9.0. Running on Windows 2000 Server SP4
 my Smb.conf is -->
#=== Global Settings
=
[global]
#=Domain Control options===
local master = no
domain master = no
preferred master = no
#
large readwrite = yes
hosts allow = 127.0.0.1 172.27.0.0/16
#lpq command = /usr/bin/lpq -P%p
#lpq cache time = 60
veto files = /*.eml/*.nws/riched20.dll/
dns proxy = no
netbios name = testbackup
write cache size = 128000
writeable = yes
workgroup = CSQ
os level = 0
#printcap name = /etc/printcap
security = domain
log file = /var/log/samba/%m.log
#smb passwd file = /etc/samba/smbpasswd
#load printers = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8576
wins server = 172.27.1.17
null passwords = yes
interfaces = 172.27.1.21/24
#map to guest = bad user
encrypt passwords = yes
public = yes
#admin users = CSQ+Administrator
#printing = lprng
#printer admin = @CSQ+Administrator,@CSQ+"Programmers",@CSQ+"Domain
Admins",@CSQ+"Domain Users",@CSQ+"PA Doctors"
server string = Samba Server
password server = *
guest only = yes
#==Domain Controller==
winbind cache time = 60
winbind separator = +
winbind uid = 1-2
winbind gid = 1-2
winbind enum users = yes
winbind enum groups = yes
template homedir = /home/%D/%U
template shell = /bin/bash
#===
[public]
   comment = Public Stuff
   path = /home/samba/public
   public = yes
   writeable = yes
   create mode = 755

Please note that the share I am testing with has public = yes. ArcServ will
still not mount the dir.
Jerry I also tried the patches and Samba-3.0.4. Still no connection. What
has Change from 3.0.2a to 3.0.3 and 3.0.4??
Further more what can I do to fix the problem...
Thank you for your time.
    Shane


-Original Message-
From: Jonathan Johnson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 11, 2004 11:40 AM
To: Dan Shadix
Cc: [EMAIL PROTECTED]
Subject: Re: [Samba] Re: Problem upgrading to 3.0.4 and ArcServe


On Tue, 11 May 2004, Dan Shadix wrote:

> On Monday 10 May 2004 08:00 pm, Guillermo Borgobello wrote:
> > > Since I had upgraded from Samba 3.0.0 to 3.0.4
> > > I have problems with ArcServe to connect to the
> > > share.
> > > Arcserve is running on a NT 4.0 box, everytime
> > > I try to connect to the samba share it says me
> > > "authenticacion failed". When I browse the share
> > > from windows explorer I have not problems.
> >
> > Sorry, the ArcServe says me "access denied"
> >
> > Guillermo
> 
> Are you logged in as the ArcServe user when you test it manually?
> 

To clarify: ArcServe may be running under different credentials than
the user you are logged in as on the NT 4.0 box.

It's common for backup software to run or have services running under
alternate credentials; this allows non-administrators to perform backup
and restore operations.

Make sure that the username ArcServe is using has permissions on your
Samba box. To find out what this is, you can go to your Services
control panel applet, and look at the startup properties for the
ArcServe services, or if an event in your task scheduler starts
ArcServe, check the credentials there.

That reminds me of another thing: I've found that on Windows NT 4.0,
when changing automatically from daylight to standard time or vice
versa, it is often necessary to re-enter the passwords for each event
in the task scheduler. A very strange bug, but a bug nonetheless.

--Jonathan Johnson
Sutinen Consulting, Inc.

-- 
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 3.0.3 Upgrade Issue....Authentification with ArcServ

2004-05-06 Thread Shane Drinkwater
Hello,
I have a couple of Samba Box that have shares backup by ArcServ Ver 9 and
latest service packs. Since I have upgraded to Samba 3.0.3 ArcServ will not
backup the shares. I have setup a test case using public = yes on a share
and still no backup.If I downgrade to Samba 3.0.2a everything works. My
smb.conf on the test box is as follows:
[global]
#=Domain Control options===
local master = no
domain master = no
preferred master = no
#
large readwrite = yes
hosts allow = 127.0.0.1 172.27.1.0/24 172.27.10.0/24 172.27.20.0/24
172.27.40.0/24 172.27.120.0/24
#lpq command = /usr/bin/lpq -P%p
#lpq cache time = 60
veto files = /*.eml/*.nws/riched20.dll/
dns proxy = no
netbios name = testbackup
write cache size = 128000
writeable = yes
#print command = /usr/bin/lpr -P%p %s
workgroup = CSQ
os level = 0
#printcap name = /etc/printcap
security = domain
log file = /var/log/samba/%m.log
#smb passwd file = /etc/samba/smbpasswd
#load printers = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8576
wins server = 172.27.1.17
null passwords = yes
interfaces = 172.27.1.21/24
#map to guest = bad user
encrypt passwords = yes
public = yes
#printing = lprng
#printer admin = @CSQ+Administrator,@CSQ+"Programmers",@CSQ+"Domain
Admins",@CSQ+"Domain Users",@CSQ+"PA Doctors"
server string = Samba Server
password server = *
guest only = yes
#==Domain Controller==
winbind cache time = 60
winbind separator = +
winbind uid = 1-2
winbind gid = 1-2
winbind enum users = yes
winbind enum groups = yes
template homedir = /home/%D/%U
template shell = /bin/bash
#===
# Share Definitions
==
# A publicly accessible directory, but read only, except for people in
# the "staff" group
[public]
   comment = Public Stuff
   path = /home/samba/public
   public = yes
   writeable = yes
   create mode = 755

If I surf to the test box using network Explorer on the ArcServ I can go
into the share. I have also tried switching the arc Serv programs from Local
to a domain account still no go.. Any Ideas Please!!!
Thank you for your Time
Shane
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Remote Samba Servers Timming Out....

2004-04-13 Thread Shane Drinkwater
Hello,
I am have a strange problem with remote samba servers and I am hopping some
one can give me a insite into what is happening. First is the Setup I have 2
remote sites connected to a central site by 2 T1 Lines. The two remote sites
each have a IBM X305 Running RedHat 9 and Samba 3.0.2a per/Site. Each box
per site has been configured to be the local master(cross Subnet
Browsing).All Sites use  a class C Subnet. So 
Remote Site A --> 172.27.20.0/24 x305 RH9, Samba 3.0.2a
Remote Site B --> 172.27.10.0/24 x305 RH9, Samba 3.0.2a
Central Site --> 172.27.1.0/24 Has 1 Windows 2000 Server Box Running Wins(
172.27.1.17), 2 Domain Controllers win NT 4.0
( 1 Primary, 1 Backup) all servers are connected to the wins box for name
resolution.

Below is a example of the remote sites config.
#=== Global Settings
=
[global]
#== remote Annouce Settings
==
remote announce = 172.27.1.7
remote browse sync = 172.27.1.7
#=== Local Master Settings===
domain master = no
local master = yes
preferred master = yes
os level = 65
#===
log file = /var/log/samba/%m.log
load printers = yes
smb passwd file = /etc/samba/smbpasswd
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
obey pam restrictions = yes
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
wins server = 172.27.1.17
encrypt passwords = yes
passwd program = /usr/bin/passwd %u
dns proxy = no
netbios name = athena
server string = Samba Server
printing = lprng
#   unix password sync = Yes
workgroup = CSQ
printcap name = /etc/printcap
security = domain
max log size = 0
pam password change = yes
large readwrite = yes
veto files = /*.eml/*.nws/riched20.dll/
write cache size = 128000

#==Printer Stuff 
printer admin = @CSQ+"Programmers",@CSQ+"Domain Admins",@CSQ+"Domain
Users",@CSQ+"PA Doctors"
lprm command = /usr/bin/lprm -P%p %j
queueresume command = /usr/sbin/lpc -P%p start
lpq command = /usr/bin/lpq -P%p
lppause command = /usr/sbin/lpc -P%p stop
print command = /usr/bin/lpr -r -P%p %s
lpresume command = /usr/sbin/lpc -P%p start
#===Winbindd Stuff ==
password server = *
winbind uid = 1-2
winbind gid = 1-2
winbind separator = +
template shell = /bin/bash
template homedir = /home/%D/%U
winbind cache time = 60
winbind enum users = yes
winbind enum groups = yes

After starting the servers everything seems to work for about 1 week. That
is Cross subnet Routing is working. I can double click on server and see
shares, printers, etc. But after that 1 week things stop working I can't
double click on the two remote servers. If I try to mount a resource from
the central site I get the following windows 2000 workstation error:

"System error 53 has occurred.
The network path was not found."
on a Windows 2000 Box. 

I also took a samba box on my central site and used smbclient -L athena
smbclient -L athena
Password:
Anonymous login successful
Domain=[CSQ] OS=[Unix] Server=[Samba 3.0.2a]

Sharename  Type  Comment
-    ---
print$ Disk
public Disk
IPC$   IPC   IPC Service (Samba Server)
ADMIN$ IPC   IPC Service (Samba Server)
mercylab   Printer   Mercys main office printer
mercypaPrinter   mercy pas laser printer
cytolaser  Printer   cytos laser printer
mercybloodban  Printer   Mercys BloodBank 1200LaserJet
drslagelhp Printer   dr slagels office hp
Anonymous login successful
Domain=[CSQ] OS=[Unix] Server=[Samba 3.0.2a]
Server   Comment
----
STEVESG40
SWALLACE
TEDMONDS
TESTBACKUP   Samba Server
TRAINING2151
TRAINING2152
TRAINING2154
TRAININGROOM4
TTIMMERMAN
TVANGELDER
UNITIME  Samba Server
WEBINQ   WebInq Intranet Server
WINDOWSXPTEST

WorkgroupMaster
----
CSQ  ATHENA

So I know that the Box is alive and well. Why can't it comminicate with
windows clients at a differant location ??


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


[Samba] Windows 2k SP4 Printing causes smbd to dump

2004-03-03 Thread Shane Drinkwater
I just upgraded to Samba 3.0.2a last week. about mid week I started seeing
problems like this in printing to one printer only.
Any Ideas what could be wrong??  The Client was Windows 2k sp 4 the server
is LINUX 7.3, samba-3.0.2a, lpr
Shane
[2004/02/29 08:35:45, 0] lib/fault.c:fault_report(36)
  ===
[2004/02/29 08:35:45, 0] lib/fault.c:fault_report(37)
  INTERNAL ERROR: Signal 11 in pid 18547 (3.0.2a)
  Please read the appendix Bugs of the Samba HOWTO collection
[2004/02/29 08:35:45, 0] lib/fault.c:fault_report(39)
  ===
[2004/02/29 08:35:45, 0] lib/util.c:smb_panic(1400)
  PANIC: internal error
[2004/02/29 08:35:45, 0] lib/util.c:smb_panic(1407)
  BACKTRACE: 22 stack frames:
   #0 smbd(smb_panic+0x14e) [0x819055e]
   #1 smbd [0x81805c7]
   #2 smbd [0x42029188]
   #3 smbd(print_queue_status+0x146) [0x81aa706]
   #4 smbd(_spoolss_enumjobs+0xef) [0x810c56f]
   #5 smbd [0x80fdc5c]
   #6 smbd(api_rpcTNP+0x213) [0x812a333]
   #7 smbd(api_pipe_request+0xcf) [0x812a08f]
   #8 smbd [0x8124468]
   #9 smbd [0x812464f]
   #10 smbd [0x81248ec]
   #11 smbd [0x8124ac9]
   #12 smbd(write_to_pipe+0xe4) [0x8124a44]
   #13 smbd [0x8088011]
   #14 smbd(reply_trans+0x995) [0x8088c95]
   #15 smbd [0x80bc6e9]
   #16 smbd [0x80bc78e]
   #17 smbd(process_smb+0x1a7) [0x80bca97]
   #18 smbd(smbd_process+0x151) [0x80bd481]
   #19 smbd(main+0x6c3) [0x81ed5d3]
   #20 smbd(__libc_start_main+0x95) [0x42017589]
   #21 smbd(chroot+0x39) [0x8076ab1]
[2004/02/29 08:35:58, 0] passdb/pdb_smbpasswd.c:getsmbfilepwent(376)
  getsmbfilepwent: malformed password entry (no :)
[2004/02/29 08:47:58, 0] passdb/pdb_smbpasswd.c:getsmbfilepwent(376)
  getsmbfilepwent: malformed password entry (no :)

and 
[2004/02/29 09:33:29, 0] lib/fault.c:fault_report(36)
  ===
[2004/02/29 09:33:29, 0] lib/fault.c:fault_report(37)
  INTERNAL ERROR: Signal 11 in pid 1919 (3.0.2a)
  Please read the appendix Bugs of the Samba HOWTO collection
[2004/02/29 09:33:29, 0] lib/fault.c:fault_report(39)
  ===
[2004/02/29 09:33:29, 0] lib/util.c:smb_panic(1400)
  PANIC: internal error
[2004/02/29 09:33:29, 0] lib/util.c:smb_panic(1407)
  BACKTRACE: 22 stack frames:
   #0 smbd(smb_panic+0x14e) [0x819055e]
   #1 smbd [0x81805c7]
   #2 smbd [0x42029188]
   #3 smbd(print_queue_status+0x146) [0x81aa706]
   #4 smbd(_spoolss_enumjobs+0xef) [0x810c56f]
   #5 smbd [0x80fdc5c]
   #6 smbd(api_rpcTNP+0x213) [0x812a333]
   #7 smbd(api_pipe_request+0xcf) [0x812a08f]
   #8 smbd [0x8124468]
   #9 smbd [0x812464f]
   #10 smbd [0x81248ec]
   #11 smbd [0x8124ac9]
   #12 smbd(write_to_pipe+0xe4) [0x8124a44]
   #13 smbd [0x8088011]
   #14 smbd(reply_trans+0x995) [0x8088c95]
   #15 smbd [0x80bc6e9]
   #16 smbd [0x80bc78e]
   #17 smbd(process_smb+0x1a7) [0x80bca97]
   #18 smbd(smbd_process+0x151) [0x80bd481]
   #19 smbd(main+0x6c3) [0x81ed5d3]
   #20 smbd(__libc_start_main+0x95) [0x42017589]
   #21 smbd(chroot+0x39) [0x8076ab1]
[2004/02/29 09:36:01, 0] lib/fault.c:fault_report(36)
  ===
[2004/02/29 09:36:01, 0] lib/fault.c:fault_report(37)
  INTERNAL ERROR: Signal 11 in pid 1934 (3.0.2a)
  Please read the appendix Bugs of the Samba HOWTO collection
[2004/02/29 09:36:01, 0] lib/fault.c:fault_report(39)
  ===
[2004/02/29 09:36:01, 0] lib/util.c:smb_panic(1400)
  PANIC: internal error
[2004/02/29 09:36:01, 0] lib/util.c:smb_panic(1407)
  BACKTRACE: 22 stack frames:
   #0 smbd(smb_panic+0x14e) [0x819055e]
   #1 smbd [0x81805c7]
   #2 smbd [0x42029188]
   #3 smbd(print_queue_status+0x146) [0x81aa706]
   #4 smbd(_spoolss_enumjobs+0xef) [0x810c56f]
   #5 smbd [0x80fdc5c]
   #6 smbd(api_rpcTNP+0x213) [0x812a333]
   #7 smbd(api_pipe_request+0xcf) [0x812a08f]
   #8 smbd [0x8124468]
   #9 smbd [0x812464f]
   #10 smbd [0x81248ec]
   #11 smbd [0x8124ac9]
   #12 smbd(write_to_pipe+0xe4) [0x8124a44]
   #13 smbd [0x8088011]
   #14 smbd(reply_trans+0x995) [0x8088c95]
   #15 smbd [0x80bc6e9]
   #16 smbd [0x80bc78e]
   #17 smbd(process_smb+0x1a7) [0x80bca97]
   #18 smbd(smbd_process+0x151) [0x80bd481]
   #19 smbd(main+0x6c3) [0x81ed5d3]
   #20 smbd(__libc_start_main+0x95) [0x42017589]
   #21 smbd(chroot+0x39) [0x8076ab1]


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


[Samba] local master not pushing all hosts to remote master browser

2004-01-06 Thread Shane Drinkwater
Hello,
I am trying to get subnet browsing working. when I setup one of the remote
LINUX/Samba boxes to be the local master. The log.nmbd
reads for a 2.2.8 server
[2004/01/06 13:38:22, 0] nmbd/nmbd.c:main(664)
  Netbios nameserver version 3.0.1 started.
  Copyright Andrew Tridgell and the Samba Team 1994-2003
[2004/01/06 13:38:45, 0]
nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
  *
 
  Samba name server HERMES is now a local master browser for workgroup CSQ
on subnet 172.27.4.30
 
  *
 
Shouldn't that read if I have a 255.255.255.0 Subnet mask???
Samba name server HERMES is now a local master browser for workgroup CSQ on
subnet 172.27.4.0/24
 
The resone I am asking is that Hermes shows up on the browse lists but other
computers on the 172.27.4.0/24 samba subnet 
do not get into the master browser list. All Windows Boxes, LINUX/Samba
boxes goto 1 WINS Server...
 
Thank you for
your Time
    Shane
Drinkwater

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


RE: [Samba] pam_winbind problems

2004-01-06 Thread Shane Drinkwater
I modified the login file in pam.d and I still get the following error
Jan  6 13:18:32 testbackup pam_winbind[23918]: write to socket failed!
Jan  6 13:18:32 testbackup pam_winbind[23918]: internal module error (retval
= 3, user = `CSQ+shane'
Jan  6 13:18:32 testbackup login(pam_unix)[23918]: check pass; user unknown
Jan  6 13:18:32 testbackup login(pam_unix)[23918]: authentication failure;
logname= uid=0 euid=0 tty=pts/1 ruser= rhost=172.27.1.223
It seems broke on every Linux Box I put Samba 3.0.1 for RH 9,8... 

Any Ideas???
    Shane


-Original Message-
From: Shane Drinkwater [mailto:[EMAIL PROTECTED]
Sent: Monday, January 05, 2004 11:22 AM
To: [EMAIL PROTECTED]
Subject: [Samba] pam_winbind problems


Hello,
I am have some interesting problems with the pam_winbind portion of samba
3.1. wbinfo -u and getent passwd
works but when I login I get the following messages in /var/log/messages.
Jan  5 11:09:36 hermes pam_winbind[9014]: write to socket failed!
Jan  5 11:09:36 hermes pam_winbind[9014]: internal module error (retval = 3,
user = `CSQ+shane'
Jan  5 11:09:36 hermes PAM_pwdb[9014]: check pass; user unknown
Jan  5 11:09:37 hermes login[9014]: FAILED LOGIN 1 FROM 172.27.1.223 FOR
CSQ+shane, User not known to the underlying authentication
module.
my login in /etc/pam.d is
auth   required pam_securetty.so
#auth   requiredpam_stack.so service=system-auth
auth   required pam_nologin.so
auth   sufficient   pam_winbind.so
auth   required pam_pwdb.so use_first_pass shadow nullok
#accountrequiredpam_stack.so service=system-auth
account   sufficientpam_winbind.so
#password   requiredpam_stack.so service=system-auth
password   required pam_pwdb.so use_first_pass shadow nullok
#password   required pam_winbind.so
sessionrequired pam_stack.so service=system-auth
sessionoptional pam_console.so
 
I have also installed samba on two other LINUX boxes with the same error. Is
this a bug or am I doing something wrong??
Thank You for your Time!
    Shane Drinkwater
-- 
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] pam_winbind problems

2004-01-05 Thread Shane Drinkwater
Hello,
I am have some interesting problems with the pam_winbind portion of samba
3.1. wbinfo -u and getent passwd
works but when I login I get the following messages in /var/log/messages.
Jan  5 11:09:36 hermes pam_winbind[9014]: write to socket failed!
Jan  5 11:09:36 hermes pam_winbind[9014]: internal module error (retval = 3,
user = `CSQ+shane'
Jan  5 11:09:36 hermes PAM_pwdb[9014]: check pass; user unknown
Jan  5 11:09:37 hermes login[9014]: FAILED LOGIN 1 FROM 172.27.1.223 FOR
CSQ+shane, User not known to the underlying authentication
module.
my login in /etc/pam.d is
auth   required pam_securetty.so
#auth   requiredpam_stack.so service=system-auth
auth   required pam_nologin.so
auth   sufficient   pam_winbind.so
auth   required pam_pwdb.so use_first_pass shadow nullok
#accountrequiredpam_stack.so service=system-auth
account   sufficientpam_winbind.so
#password   requiredpam_stack.so service=system-auth
password   required pam_pwdb.so use_first_pass shadow nullok
#password   required pam_winbind.so
sessionrequired pam_stack.so service=system-auth
sessionoptional pam_console.so
 
I have also installed samba on two other LINUX boxes with the same error. Is
this a bug or am I doing something wrong??
Thank You for your Time!
    Shane Drinkwater
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] INTERNAL ERROR: Signal 11 with samba -->3.0.0beta1

2003-07-01 Thread Shane Drinkwater
Hello,
I have just upgraded one of my test LINUX boxes to samba 3.0.0 Beta 1.When I
double click on the Samba Server to see a list of services I get the
following errors 
[2003/07/01 15:39:26, 0] lib/fault.c:fault_report(36)
  ===
[2003/07/01 15:39:26, 0] lib/fault.c:fault_report(37)
  INTERNAL ERROR: Signal 11 in pid 11872 (3.0.0beta1)
  Please read the appendix Bugs of the Samba HOWTO collection
[2003/07/01 15:39:26, 0] lib/fault.c:fault_report(39)
  ===
[2003/07/01 15:39:26, 0] lib/util.c:smb_panic(1462)
  PANIC: internal error
[2003/07/01 15:39:26, 0] lib/util.c:smb_panic(1469)
  BACKTRACE: 22 stack frames:
   #0 smbd(smb_panic+0xfc) [0x817c00c]
   #1 smbd [0x816d9c3]
   #2 /lib/tls/libc.so.6 [0x42027568]
   #3 /lib/tls/libc.so.6(getgrouplist+0xef) [0x420a960f]
   #4 smbd [0x81a9452]
   #5 smbd(make_server_info_info3+0x49c) [0x81aa084]
   #6 smbd [0x81a60b5]
   #7 smbd [0x81a31a4]
   #8 smbd [0x81aae28]
   #9 smbd [0x80d8ca8]
   #10 smbd(ntlmssp_server_update+0xe3) [0x80d8fa7]
   #11 smbd(auth_ntlmssp_update+0x25) [0x81aaff9]
   #12 smbd [0x809b48e]
   #13 smbd [0x809b65b]
   #14 smbd(reply_sesssetup_and_X+0x9d4) [0x809c13c]
   #15 smbd [0x80b353d]
   #16 smbd [0x80b369d]
   #17 smbd(process_smb+0x76) [0x80b3862]
   #18 smbd(smbd_process+0x198) [0x80b432c]
   #19 smbd(main+0x429) [0x81d16d9]
   #20 /lib/tls/libc.so.6(__libc_start_main+0xe4) [0x42015504]
   #21 smbd(chroot+0x31) [0x80735f1]
[2003/07/01 15:39:26, 0] lib/fault.c:fault_report(36)
  ===
[2003/07/01 15:39:26, 0] lib/fault.c:fault_report(37)
  INTERNAL ERROR: Signal 11 in pid 11873 (3.0.0beta1)
  Please read the appendix Bugs of the Samba HOWTO collection
[2003/07/01 15:39:26, 0] lib/fault.c:fault_report(39)
   #0 smbd(smb_panic+0xfc) [0x817c00c]
   #1 smbd [0x816d9c3]
   #2 /lib/tls/libc.so.6 [0x42027568]
   #3 /lib/tls/libc.so.6(getgrouplist+0xef) [0x420a960f]
   #4 smbd [0x81a9452]
   #5 smbd(make_server_info_info3+0x49c) [0x81aa084]
   #6 smbd [0x81a60b5]
   #7 smbd [0x81a31a4]
   #8 smbd [0x81aae28]
   #9 smbd [0x80d8ca8]
   #10 smbd(ntlmssp_server_update+0xe3) [0x80d8fa7]
   #11 smbd(auth_ntlmssp_update+0x25) [0x81aaff9]
   #12 smbd [0x809b48e]
   #13 smbd [0x809b65b]
   #14 smbd(reply_sesssetup_and_X+0x9d4) [0x809c13c]
   #15 smbd [0x80b353d]
   #16 smbd [0x80b369d]
   #17 smbd(process_smb+0x76) [0x80b3862]
   #18 smbd(smbd_process+0x198) [0x80b432c]
   #19 smbd(main+0x429) [0x81d16d9]
   #20 /lib/tls/libc.so.6(__libc_start_main+0xe4) [0x42015504]
   #21 smbd(chroot+0x31) [0x80735f1]
 
my smb.conf on the testbox
[global]
log file = /var/log/samba/%m.log
#   smb passwd file = /etc/samba/smbpasswd
load printers = yes
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
obey pam restrictions = yes
wins server = 172.27.1.17
null passwords = yes
map to guest = Bad Password
encrypt passwords = yes
#   passwd program = /usr/bin/passwd %u
dns proxy = no
netbios name = testbackup
server string = Samba Server
printing = cups
workgroup = CSQ
os level = 20
printcap name = /etc/printcap
security = domain
preferred master = no
max log size = 0
pam password change = yes
veto files = /*.eml/*.nws/riched20.dll/
large readwrite = yes
password server = mercury
printer admin = @CSQ+"Programmers",@CSQ+"Domain Admins",@CSQ+"Domain
Users",@CSQ+"PA Doctors"
winbind separator = +
winbind cache time = 50
winbind uid = 1-2
template homedir = /home/%D/%U
show add printer wizard = yes
use client driver = no
 
The Connection Computer is a Windows 2k system. To get the error I just
double click on the computer in my network browser... Any Ideas what is
happening
Shane Drinkwater
Network Admin

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


Re: [Samba] Thanks Samba Community!!!

2003-02-28 Thread Shane Kennedy
Any ideas anyone on the problem with RH8 ?.

Austin Mann wrote:

You folks are the greatest.
Rolled out my first Samba "member server" today.
Read the stuff from SWAT, and it worked the first time on RH7.3, after it
failed on RH8
You folks are the best, we're struggling to stay afloat and M$ squeezes us
for more.
(RH is pushing me to Debian by the day!!!)
There will be a lot more Samba in the farm soon.

My deepest grattitude.

Respectully,

Austin Mann

 



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


Re: [Samba] Multiple client access same file

2003-02-21 Thread Shane Kennedy
I have tried this post before, under a different Subject line.

I am trying to share CD images, or rather, I AM sharing CD images, but 
run into trouble when many clients access the same mounted image.  Can 
anyone make any suggestions on the best smb.conf options to use in this 
case.

 Some shares need to be mapped by windows.  Some work with network path.

TIA
Shane

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


Re: [Samba] CD sharing via iso9660, mounted, and samba

2003-02-19 Thread Shane Kennedy
I just turned off op-locks on the shares which I was having problems with.
I have diplicated the particular program, so that only 4 w/s's are 
accessing each of 2 copies.
smb.conf attached.  4 w/s's running WShark2, 4 using 2a. these are 
softlinks to /mnt/iso/WShark2, and 2a, which are the mounts of 2 
identical images.
These have to be mapped drives from the windows point-of-view, hence the 
individual shares, and the soft links.  Would the soft links have any 
relevance ?.   I did (from /mnt) ln -s iso/WShark2.

TIA
Shane

Joel Hammer wrote:

You say turning off oplocks doesn't change anything, but all your
error messages are oplock errors. What errors do you get with oplocks
turned off?

Joel
On Wed, Feb 19, 2003 at 07:59:48PM +, Shane Kennedy wrote:
 

I have installed a small Limux box in my local primary school, in order 
to sahre CD iso images.
The system works fine, untill several w/s's concurrently access the same 
program , whereupon, we get spurious crashes.  I have tried disableing 
op-locks, which seemed to help, but only slightly.
Any suggestions gratefully received.

   



 



[global]
workgroup = bsns
guest account = nobody
keep alive = 30
preserve case = yes
short preserve case = yes
case sensitive = no
#oplocks = yes
hosts allow = 179.208.0. 179.208.0.254
map to guest = bad password
log file = /var/log/smb.log

[cdrom]
comment = cdrom
directory = /mnt/cdrom
guest account = user
guest ok = yes
browseable = yes
read only = yes

[guest]
comment = SAMBA SHARE
directory = /mnt/iso
guest account = user
guest ok = yes
browseable = yes
read only = yes

[BAS]
comment = BAS
directory = /mnt/BAS
guest account = user
guest ok = yes
browseable = yes
read only = yes

[C_Enc]
comment = C_Enc
directory = /mnt/C_Enc
guest account = user
guest ok = yes
browseable = yes
read only = yes

[CRF]
comment = CRF
directory = /mnt/CRF
guest account = user
guest ok = yes
browseable = yes
read only = yes

[DataSweet]
comment = DataSweet
directory = /mnt/DataSweet
guest account = user
guest ok = yes
browseable = yes
read only = yes

[Dissap_1]
comment = Dissap_1
directory = /mnt/Dissap_1
guest account = user
guest ok = yes
browseable = yes
read only = yes

[Dissap_2]
comment = Dissap_2
directory = /mnt/Dissap_2
guest account = user
guest ok = yes
browseable = yes
read only = yes

[E_Atlas1]
comment = E_Atlas1
directory = /mnt/E_Atlas1
guest account = user
guest ok = yes
browseable = yes
read only = yes

[E_Atlasi]
comment = E_Atlasi
directory = /mnt/E_Atlasi
guest account = user
guest ok = yes
browseable = yes
read only = yes

[E_Quest]
comment = E_Quest
directory = /mnt/E_Quest
guest account = user
guest ok = yes
browseable = yes
read only = yes

[EasyBook]
comment = E_Atlasi
directory = /mnt/E_Atlasi
guest account = user
guest ok = yes
browseable = yes
read only = yes

[Egyptians]
comment = Egyptians
directory = /mnt/Egyptians
guest account = user
guest ok = yes
browseable = yes
read only = yes

[Encarta]
comment = Encarta
directory = /mnt/Encarta
guest account = user
guest ok = yes
browseable = yes
read only = yes

[Greeks]
comment = Greeks
directory = /mnt/Greeks
guest account = user
guest ok = yes
browseable = yes
read only = yes

[MAHB]
comment = MAHB
directory = /mnt/MAHB
guest account = user
guest ok = yes
browseable = yes
read only = yes

[M_Maths]
comment = M_Maths
directory = /mnt/M_Maths
guest account = user
guest ok = yes
browseable = yes
read only = yes

[MTS]
comment = MTS
directory = /mnt/MTS
guest account = user
guest ok = yes
browseable = yes
read only = yes

[NShark]
comment = NShark
directory = /mnt/NShark
guest account = user
guest ok = yes
oplocks = no
browseable = yes
read only = yes

[NSharka]
comment = NSharka
directory = /mnt/NSharka
guest account = user
guest ok = yes
oplocks = no
browseable = yes
read only = yes

[S_ClipArt]
comment = S_ClipSArt
directory = /mnt/S_ClipArt
guest account = user
guest ok = yes
browseable = yes
read only = yes

[Vikings]
comment = Vikings
directory = /mnt/Vikings
guest account = user
guest ok = yes
browseable = yes
read only = yes

[WITW]
comment = WITW
directory = /mnt/WITW
guest account = user
guest ok = yes
browseable = yes
read only = yes

[WShark2]
comment = WShark2
directory = /mnt/WShark2
guest account = user
guest ok = yes
oplocks = no
browseable = yes
read only = yes

[WShark2a]
comment = WShark2a
directory = /mnt/WShark2a
guest account = user
guest ok = yes
oplocks = no
browseable = yes
read only = yes

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



[Samba] CD sharing via iso9660, mounted, and samba

2003-02-19 Thread Shane Kennedy
I have installed a small Limux box in my local primary school, in order 
to sahre CD iso images.
The system works fine, untill several w/s's concurrently access the same 
program , whereupon, we get spurious crashes.  I have tried disableing 
op-locks, which seemed to help, but only slightly.
Any suggestions gratefully received.

Shane

 oplock_break: no break received from client within 30 seconds.
 oplock_break failed for file pc/ka.exe (dev = 70e, inode = 45428, 
file_id = 5).
[2003/02/19 10:45:20, 0] smbd/oplock.c:oplock_break(868)
 oplock_break: client failure in oplock break in file pc/ka.exe
[2003/02/19 10:48:55, 0] smbd/oplock.c:oplock_break(796)
 oplock_break: receive_smb timed out after 30 seconds.
 oplock_break failed for file pc/ka.exe (dev = 70e, inode = 45428, 
file_id = 1).
[2003/02/19 10:48:55, 0] smbd/oplock.c:oplock_break(868)
 oplock_break: client failure in oplock break in file pc/ka.exe
[2003/02/19 10:49:52, 0] smbd/oplock.c:oplock_break(796)
 oplock_break: receive_smb timed out after 30 seconds.
 oplock_break failed for file C_Enc/setup.exe (dev = 701, inode = 
41406, file_id = 1).
[2003/02/19 10:49:52, 0] smbd/oplock.c:oplock_break(868)
 oplock_break: client failure in oplock break in file C_Enc/setup.exe
[2003/02/19 10:50:35, 0] lib/util_sock.c:read_data(436)
 read_data: read failure for 4. Error = Connection reset by peer
[2003/02/19 10:58:01, 0] lib/util_sock.c:read_data(436)
 read_data: read failure for 4. Error = Connection reset by peer
[2003/02/19 11:00:52, 0] smbd/oplock.c:oplock_break(790)
 oplock_break: end of file from client
 oplock_break failed for file dwassets/movies/3tlogo.avi (dev = 705, 
inode = 55364, file_id = 9).
[2003/02/19 11:00:52, 0] smbd/oplock.c:oplock_break(878)
 oplock_break: client failure in break - shutting down this smbd.
[2003/02/19 11:00:52, 0] 
smbd/oplock_linux.c:linux_oplock_receive_message(144)
 Invalid file descriptor 19 in kernel oplock break!
[2003/02/19 11:01:40, 0] smbd/oplock.c:oplock_break(796)
 oplock_break: receive_smb timed out after 30 seconds.
 oplock_break failed for file Dissap_1/dwassets/movies/yitm.avi (dev = 
705, inode = 56374, file_id = 3).
[2003/02/19 11:01:40, 0] smbd/oplock.c:oplock_break(868)
 oplock_break: client failure in oplock break in file 
Dissap_1/dwassets/movies/yitm.avi
[2003/02/19 11:02:10, 0] lib/util_sock.c:read_data(436)
 read_data: read failure for 4. Error = Connection reset by peer
[2003/02/19 11:19:48, 0] smbd/oplock.c:oplock_break(796)
 oplock_break: receive_smb timed out after 30 seconds.
 oplock_break failed for file pc/ka.exe (dev = 700, inode = 47302, 
file_id = 2).
[2003/02/19 11:19:48, 0] smbd/oplock.c:oplock_break(868)
 oplock_break: client failure in oplock break in file pc/ka.exe
[2003/02/19 11:20:52, 0] smbd/oplock.c:oplock_break(796)
 oplock_break: receive_smb timed out after 30 seconds.
 oplock_break failed for file pc/ka.exe (dev = 70e, inode = 45428, 
file_id = 1).
[2003/02/19 11:20:52, 0] smbd/oplock.c:oplock_break(868)
 oplock_break: client failure in oplock break in file pc/ka.exe
[2003/02/19 11:58:54, 0] lib/util_sock.c:read_data(436)
 read_data: read failure for 4. Error = Connection reset by peer

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


[Samba] smbclient -c commands

2003-01-29 Thread Shane Chambers
Hello,

Has anyone else run into the problem where smbclient only processes the
commands before a space in the "command string" (-c) field but not the
rest?

My NON-WORKING example:

# smbclient '\\server\Documents' -d 0 -U abackup -E -c 'archive
1;recurse;du'
Password: 
Archive level is 0

It processed the "archive" (returning what archive level it's at
currently), not the "archive 0", let alone the "recurse;du"

But the following works:
# smbclient '\\server\Documents' -d 0 -U abackup -E -c
"archive;recurse;du"  
Password: 
Archive level is 0

38107 blocks of size 1048576. 8475 blocks available
Total number of bytes: 5091539134

In this case it told us the "current archive level," and did the
"recurse;du" arguments.  All because the space wasn't in there.

The following works, up till the space, as well, proving that it's the
space causing the problem:
# smbclient '\\server\Documents' -d 0 -U abackup -E -c "ls;archive
1;recurse;du"
Password: 
  .   D   0  Fri Jan 10 12:54:58 2003
  ..  D   0  Fri Jan 10 12:54:58 2003
  Administrator   D   0  Thu Apr 11 20:46:14 2002
  All Users   D   0  Thu Apr 11 20:46:10 2002
  Default User   DH   0  Mon Apr 29 08:19:02 2002
  LocalService  DHS   0  Fri May  3 16:21:46 2002
  NetworkServiceDHS   0  Thu Apr 11 20:46:14 2002
  stdin-10919 A   0  Fri Jan 10 12:54:58 2003

38107 blocks of size 1048576. 8475 blocks available
Archive level is 0

Any help would be appreciated.  I've looked everywhere, but I can't find
any reference to this.  

Samba Version:  2.2.7a
OS:     Solaris 2.8

Please CC me, as I don't subscribe to the mailing list.  If this is in
fact a bug, I'll file a bug report appropriately.

Thanks,
Shane Chambers

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Winbind and apache - help please

2002-11-18 Thread Daily, Shane
Title: Winbind and apache - help please





Greetings, 


I'm attempting to use an NT PDC to authenticate users on restricted areas of an apache website. 


I have RedHat 8.0 with samba, winbind, mod_auth_pam, apache, etc.  Everything seems to be working fine with the following exception:  When I change from  --require valid user-- to --require group "DOMAIN+GROUP NAME"--, It appears that winbind is not able to recognize the user as a member of the domain group. The error in the apache error log file mentions that is unable to check the group file (no groups file?). When I type getent group, I get a complete list of groups to include those on the NT domain. 

I've gathered that the group file that apache is reading by default does not contain the NT domain groups.  I'd like to not have to manually create a group file for apache.

What gives? 


Any help would be appreciated. 


S. Daily 





[Samba] Winbind Apache PAM and NT Groups - please help

2002-11-18 Thread Daily, Shane
Title: Winbind  Apache PAM and NT Groups - please help





Greetings, 


I'm attempting to use an NT PDC to authenticate users on restricted areas of an apache website.


I have RedHat 8.0 with samba, winbind, mod_auth_pam, apache, etc.  Everything seems to be working fine with the following exception:  When I change from  --require valid user-- to --require group "DOMAIN+GROUP NAME"--, It appears that winbind is not able to recognize the user as a member of the domain group. The error in the apache error log file mentions that is unable to check the group file (no groups file?). When I type getent group, I get a complete list of groups to include those on the NT domain. 

I've gathered that the group file that apache is reading by default does not contain the NT domain groups.  I'd like to not have to manually create a group file for apache.

What gives?


Any help would be appreciated.


S. Daily





[Samba] changing passwords / winbind

2002-10-08 Thread Shane Tapper


Currently when i try and change passwords by pressing ctrl+alt+delete and
using the change password funtion from w2k i get a message stating the
domain cannot be found.  yet i was able to logon to it just fine.  i am
trying to figure out ways around this.

It is my understanding that winbind is used to sync samba passwords with an
nt server, is that correct or
is winbind used to sync workstation passwords with a samba server?

Shane



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



[Samba] 2K/ME/XP Connectivity more info

2002-06-05 Thread Shane Bearham

Further to this I was able finally test with Win98se with the same results
though watching the clock this time shows that there was no timeout errors
not at least within a 10minute period!!!

Since the site has decided against using XP I decide to roll-back to
2.2.0a which is the default for Slackware 8.0

Now all PC's can access the server again was problems

As a side note this isn't the first time I've installed from sources
the last was a update from 2.2.0a to 2.2.3a to resolv the
printer driver install bug that existed with Win2k(I think)

To date I've had no major problems since kernel 1.2.8!!!




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



[Samba] 2K/ME/XP Connectivity

2002-06-04 Thread Shane Bearham

Hi All,
I'm new to the list, but basically I've got some problems
with Samba & Win 2K, XP or ME.

I have a Slackware 8.0 server & 3 PC's with XP or ME
No Domain controllers or anything, just a Workgroup.
Samba version was 2.2.0a but after having problems trying
to connect XP Home edition, then changing to XP Pro with
still the same problem I decided to pulling the distro ver
of samba & update to 2.2.4 from source... hoping that maybe
there was a bug or two in relation to XP..
Unfortunately one of the
I'm also using encrypted passwords to simplify the windows install.

Basically the problem is now this, after XP/ME boots, the username
and password are entered, the samba logs confirm successful login...
Windows then hangs. All I can decipher from the logs is that
a file /DESKTOP.INI is being referenced... nothing can be done
on the PC during this "hang" which after many minutes, logs
indicate a successful disconnect from the service.

If the network is pulled the problem goes away with the user being
able to use the PC normally, obviously with no server, however plugging
the PC back in to the network causes the PC to again lockup. I define
lockup in this case as the mouse moves but appears no icons or start button
can "pressed" though there is a response serveral(many) minutes later
to that previous attempt to "do" something

Permissions of the shares is set to 777

I hope someone can shed some light on this

At the moment I look somewhat a fool after recomending Linux/Samba
with problems like this. I have installed many Linux/Samba sites
though to date XP was never used, it has always been the lesser evils
of Windows installed.

Below is a excerpt from one of the logs
=
Allowed connection from (192.168.2.19)
[2002/06/04 18:40:28, 3] smbd/password.c:authorise_login(736)
authorise_login: ACCEPTED: validated uid ok as non-guest (user=owen)
[2002/06/04 18:40:28, 3] smbd/service.c:make_connection(478)
Forced group users
[2002/06/04 18:40:28, 3] smbd/service.c:make_connection(491)
Connect path is /mnt/storage/storage
[2002/06/04 18:40:28, 3] smbd/sec_ctx.c:push_sec_ctx(282)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2002/06/04 18:40:28, 3] smbd/uid.c:push_conn_ctx(284)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2002/06/04 18:40:28, 3] smbd/sec_ctx.c:set_sec_ctx(314)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2002/06/04 18:40:28, 3] smbd/sec_ctx.c:get_current_groups(162)
get_current_groups: user is in 1 groups: 100


#smb.conf
#=== Global Settings 
=
[global]
   workgroup = OFFICE_SYD
   server string = Sydney Linux Server
   hosts allow = 192.168.2. 192.168.100. 127.
   load printers = no
   printcap name = /etc/printcap
   log file = /var/log/samba.%m
   max log size = 50
   debug level = 3
   security = user
   encrypt passwords = yes
   unix password sync = yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *New* password* %n\n *new* password* %n\n *changed*
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   interfaces = 192.168.2.0/24 127.0.0.0/8
   bind interfaces only = yes
   remote announce = 192.168.100.255/WORKGROUP
   veto files = 
/.*/TheVolumeSettingsFolder/TheFindByContentFolder/Network Trash 
Folder/Temporary Items/
   domain master = yes
   preferred master = yes
   dns proxy = no
   use client driver = yes

# Share Definitions 
==
[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = yes
   guest ok = yes
   writable = yes
   printable = yes

[public]
   comment = "Server 20GB"
   path = /mnt/storage/storage
   public = yes
   writable = yes
   printable = no
   directory mask = 0775
   create mask = 0644
   force group = users

[home]
  comment = My Home Directory
  path = /home/%u
  public = no
  writable = yes




  8:17pm  up 23 days, 11:34, 14 users,  load average: 1.51, 1.53, 1.45




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