[Samba] samba-3.0alpha24-1.i386.rpm install problem

2003-06-06 Thread Yeri Swamy
Hi

i am trying to install on my Redhat 9 samba-3.0alpha24-1.i386.rpm

[root]# rpm -Uvh /usr/src/samba-3.0alpha24-1.i386.rpm
warning: /usr/src/samba-3.0alpha24-1.i386.rpm: V3 DSA signature: NOKEY, 
key ID 2f87af6f
error: Failed dependencies:
perl(Net::LDAP::LDIF) is needed by samba-3.0alpha24-1

where can i find rpm for perl(Net::LDAP::LDIF)???

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


Re: [Samba] Re: Retry: RedHat, XFS, and ACL Support

2003-06-06 Thread Matt Wright
Hi,

I've been trying to do this compile as well (but on Debian) however it seems 
that some of the acl functions have been moved from the acl libs to attr. I 
can get Samba to compile by adding -lattr to the places in configure where 
-lacl occur.

Regards,

Matt

PS. I haven't actually got samba 3 to recoginse my acl's on the drive once 
it's compiled, not sure what's wrong but it's compiled and the ACL's work on 
the disk as samba 2.2.x sees them.

On Thursday 05 June 2003 13:41, Dragan Krnic wrote:
 make sure you have the devel packages for ACL
 and EA (acl-devel and attr-devel)



 
 Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
 http://login.mail.lycos.com/r/referral?aid=27005

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


Re: [Samba] samba-3.0alpha24-1.i386.rpm install p

2003-06-06 Thread [EMAIL PROTECTED]
google: Net::LDAP::LDIF +rpm
result: perl-ldap-0.20-1.noarch RPM


 Yeri Swamy [EMAIL PROTECTED] wrote:

Hi

i am trying to install on my Redhat 9 samba-3.0alpha24-1.i386.rpm

[root]# rpm -Uvh /usr/src/samba-3.0alpha24-1.i386.rpm
warning: /usr/src/samba-3.0alpha24-1.i386.rpm: V3 DSA signature: NOKEY, 
key ID 2f87af6f
error: Failed dependencies:
 perl(Net::LDAP::LDIF) is needed by samba-3.0alpha24-1

where can i find rpm for perl(Net::LDAP::LDIF)???


with Best Regards
YS

-- 
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


Re: [Samba] samba-3.0alpha24-1.i386.rpm install p

2003-06-06 Thread [EMAIL PROTECTED]
google: Net::LDAP::LDIF +rpm
result: perl-ldap-0.20-1.noarch RPM


 Yeri Swamy [EMAIL PROTECTED] wrote:

Hi

i am trying to install on my Redhat 9 samba-3.0alpha24-1.i386.rpm

[root]# rpm -Uvh /usr/src/samba-3.0alpha24-1.i386.rpm
warning: /usr/src/samba-3.0alpha24-1.i386.rpm: V3 DSA signature: NOKEY, 
key ID 2f87af6f
error: Failed dependencies:
 perl(Net::LDAP::LDIF) is needed by samba-3.0alpha24-1

where can i find rpm for perl(Net::LDAP::LDIF)???


with Best Regards
YS

-- 
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


Re: [Samba] mcafee antivirus ?

2003-06-06 Thread David Morel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Alceu R. de Freitas Jr. wrote:
| You can check for another antivirus program to run on
| the Samba server, but all them are comercial too, as
| Mcafee. But the best solution is to keep the
| workstations running an antivirus program.
|
| If you´re having some difficulties to update the
| workstations programs, try to use this:
| http://nau.sourceforge.net
|
|
Forbidden
You don't have permission to access /english.html on this server.
- --
***
[EMAIL PROTECTED]
OpenPGP public key: http://www.amakuru.net/dmorel.asc
28192ef126bc871757cb7d97f4a44536
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE+30Y3qr7QF98duCMRAocuAJoCd+p5I5a67uhdMjLw4Kx9v3pgJQCfajrw
1NDMhkFJuglghty5m8Ibm+4=
=MZ2G
-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] mcafee antivirus ?

2003-06-06 Thread Alceu R. de Freitas Jr.
 --- David Morel [EMAIL PROTECTED] escreveu: 
-BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Alceu R. de Freitas Jr. wrote:
 | You can check for another antivirus program to run
 on
 | the Samba server, but all them are comercial too,
 as
 | Mcafee. But the best solution is to keep the
 | workstations running an antivirus program.
 |
 | If you´re having some difficulties to update the
 | workstations programs, try to use this:
 | http://nau.sourceforge.net
 |
 |
 
 Forbidden
 You don't have permission to access /english.html on
 this server.
 

I´m sorry. You can try again to access the url again.
http://nau.sourceforge.net/english.html



=
Alceu Rodrigues de Freitas Junior
--
[EMAIL PROTECTED]
http://www.imortais.cjb.net
---
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

___
Yahoo! Mail
Mais espaço, mais segurança e gratuito: caixa postal de 6MB, antivírus, proteção 
contra spam.
http://br.mail.yahoo.com/
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


SUMMARY: [Samba] Samba as PDC with WinXP Clients - headache!!

2003-06-06 Thread Daniel Zeiss
Hello All,

so lets summarize a bit the trouble which is out there with Samba and 
WinXP Pro using Samba as PDC. (Also something for the howto for John :-)

Trouble
---
* very unsatisfactory performace when clients log on

* trouble with no domain controller even because WinXP client didnt
  really check
seems there are similar problems with NT4 servers :
http://groups.google.de/groups?hl=delr=ie=UTF-8oe=UTF-8threadm=e%23bq23q7BHA.2080%40tkmsftngp05rnum=9prev=/groups%3Fq%3Dwin%2Bxp%2B%2Bnt4%26hl%3Dde%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26selm%3De%2523bq23q7BHA.2080%2540tkmsftngp05%26rnum%3D9
* simple folder redirection activates Windows Offline Files function
 (not always wanted)
* NEW! smbpasswd wont find a machine account in the LDAP database:
when not putting the machine account in /etc/passwd the command
smbpasswd -m -a machinename$  will fail, even with the same
entries in LDAP
* WinXP clients which do just part of the netlogonscript and stop there

* samba log file which doesn tell much on why somethings fail

* many hours of sort it once and for all but no solution

Stuff to do on WinXP to use Samba (which I assume we all did):
--
* network encryption
			 
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters]
requiresignorseal=dword:
signsecurechannel=dword:
or
Group Policy editor (gpedit.msc)
Computer Configuration\Windows Settings\Security Settings\Local 
Policies\Security Options
deactivate:
Domain Member: Digitally encrypt or sign secure channel data (always)
Domain Member: Digitally sign secure channel data (when possible)

* Network security: LAN Manager Authentication Level change to use LM 
and NTLM

*for roaming profiles:
 run gpedit.msc
Select Computer Configuration  Administrative Templates 
 System  User Profiles
* Do not check for user ownership of Roaming Profile Folders
 - Enabled
or
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System]
 CompatibleRUPSecurity=dword:0001
or
in smb.conf   (RECOMMENDED!!)
[profile]
profile acls = yes
* delete local copies of roaming profiles
Select Computer Configuration  Administrative Templates 
 System  User Profiles
* Delete cache copies of roaming profiles
or
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Edit or add value DeleteRoamingCache as type REG_DWORD. Set it to 1.
* turn off slow link connection 
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon]
SlowLinkDetectEnabled=dword:

* disable fast user switching
  it is done with the group policies. it should help windows to wait for
  the network to get online. sorry. cant find the link anymore.
* tell WinXP to use NTConfig.POL file from NETLOGON share
http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q274478;
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Update\NetworkPath
value REG_SZ (UNC) path  eg: \\Servername\Policies\Ntconfig.pol.
Solutions for no domain controll which worked somewhere
-
* rejoining the domain		(didnt work for me)

* reinstalling WinXP		(not really an option)

Suggestions
---
* GPL  NTConfig.POL file which does the most important stuff (folder 
redirection etc)

* GPL  gpedit.msc which is a proposal for everybody to use (applied 
manually at every workstation)

cool links:
http://hr.uoregon.edu/davidrl/samba/
http://www.diariolinux.com/phorum/list.php?f=17
any more ideas?

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


[Samba] server=domain does not work in samba3.0-alpha24

2003-06-06 Thread Laurent Hubert

Hi All,

I tried to apply server=domain  for a samba server domain member with  
samba-3.0alpha23 and samba-3.0alpha24.  In each cases,   ads_connect: 
Connection refused .. message appeared when trying to join the domain. But  
net rpc testjoin says ok.
The main point of this mail is that  smbclient -L mysamba -U username
will work on samba-3.0alpha23 but not on samba-3.0alpha24. Is this a bug or 
is there some changes between these two versions that I have to take 
account for joining the domaine with server=domain?


Here details of the two of the attemps: one with alpha24 the other with 
alpha23.


Laurent


#
Details  with samba-3.0alpha24
#

# Removed pelican from PDC server manager
# Removed previous samba, install samba-3.0alpha24-1.i386.rpm
# Apply configuration (smb.conf) with  security=domain
# Try to join the domain, but   ads_connect: Connection refused .. message
# start  smb,
# session setup failed: NT_STATUS_UNSUCCESSFUL for  smbclient -L pelican -U 
lhubert

[EMAIL PROTECTED] samba]# cp smb.conf smb.conf-use
[EMAIL PROTECTED] samba]# /sbin/service smb stop
[EMAIL PROTECTED] samba]# rpm -e samba
[EMAIL PROTECTED] samba]# rpm -i 
/export/home/lhubert/samba-3.0alpha24-1.i386.rpm
[EMAIL PROTECTED] samba]# cp smb.conf-use smb.conf
[EMAIL PROTECTED] samba]# net join -w IMAGERIE -U Administrator
Administrator password:
[2003/06/05 09:32:25, 1] utils/net_ads.c:ads_startup(176)
  ads_connect: Connection refused
[2003/06/05 09:32:25, 1] utils/net_rpc.c:run_rpc_command(154)
  rpc command function failed! (NT_STATUS_NO_TRUST_SAM_ACCOUNT)
Joined domain IMAGERIE.
[EMAIL PROTECTED] samba]# net rpc testjoin
Join to 'IMAGERIE' is OK
[EMAIL PROTECTED] samba]# /sbin/service smb start
Starting SMB services: [  OK  ]
[EMAIL PROTECTED] samba]# smbclient -L pelican -U lhubert
Password:
session setup failed: NT_STATUS_UNSUCCESSFUL




Details  with samba-3.0alpha23


# Removed pelican from PDC server manager
# Removed previous samba, install samba-3.0alpha23-1.i386.rpm
# Apply configuration (smb.conf) with  security=domain
# Try to join the domain, but  ads_connect: Connection refused ... message
# start  smb,
# smbclient -L pelican -U lhubert is ok 



[EMAIL PROTECTED] samba]# /sbin/service smb stop
[EMAIL PROTECTED] samba]# rpm -e samba
[EMAIL PROTECTED] samba]# rpm -i 
/export/home/lhubert/samba-3.0alpha23-1.i386.rpm
[EMAIL PROTECTED] samba]# cp smb.conf-use smb.conf
[EMAIL PROTECTED] samba]# net join -w IMAGERIE -U Administrator
administrator password:
[2003/06/05 09:45:38, 1] utils/net_ads.c:ads_startup(160)
  ads_connect: Connection refused
[2003/06/05 09:45:38, 1] rpc_client/cli_netlogon.c:cli_nt_setup_creds(300)
  cli_nt_setup_creds: auth2 challenge failed NT_STATUS_NO_TRUST_SAM_ACCOUNT
[2003/06/05 09:45:38, 1] libsmb/trust_passwd.c:just_change_the_password(41)
  just_change_the_password: unable to setup creds 
(NT_STATUS_NO_TRUST_SAM_ACCOUNT)!
[2003/06/05 09:45:38, 1] utils/net_rpc.c:run_rpc_command(154)
  rpc command function failed! (NT_STATUS_NO_TRUST_SAM_ACCOUNT)
Joined domain IMAGERIE.
[EMAIL PROTECTED] samba]# smbclient -L pelican -U lhubert
added interface ip=192.168.1.125 bcast=192.168.1.255 nmask=255.255.255.0
error connecting to 192.168.1.125:445 (Connection refused)
error connecting to 192.168.1.125:139 (Connection refused)
Error connecting to 192.168.1.125 (Connection refused)
Connection to pelican failed
[EMAIL PROTECTED] samba]# /sbin/service smb start
Starting SMB services: [  OK  ]
[EMAIL PROTECTED] samba]# smbclient -L pelican -U lhubert
added interface ip=192.168.1.125 bcast=192.168.1.255 nmask=255.255.255.0
Password:
Doing spnego session setup (blob length=58)
OS=[Unix] Server=[Samba]

Sharename  Type  Comment
-    ---
tmpDisk  Temporary file space
soft   Disk  Depot de logiciel
IPC$   IPC   IPC Service (Serveur Samba  3.0alpha23 sur 
pelican)
ADMIN$ IPC   IPC Service (Serveur Samba  3.0alpha23 sur 
pelican)
mesange_PS Printer
mesange_PCLPrinter
lexmarkPrinter
lamproie   Printer
toucan Printer
roselinPrinter
lhubertDisk  Home Directories

Server   Comment
----

WorkgroupMaster
----
IMAGERIE


-- 
Laurent Hubert, PhD
Centre d'Imagerie Métabolique et Fonctionnelle
CRC, CHUS
Université de Sherbrooke, Québec, Canada
laurent.hubert at chus.qc.ca

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


[Samba] Database Sharing

2003-06-06 Thread Brandon Mercer
I have a small problem that when a shared database gets saved by someone
in the group it sets the wrx bits to 700 or 766.  This prevents the next
person to use the database from having read access to the file or some
such.  Is there any way that I can set this share folder to save with
the owner root.users and with the permissions 766.  Every time one of
the users in the group modifies the database and saves it, the file
takes on that users owner and group... i.e. bmercer.bmercer rwx-rx-rx or
somesuch.  Thanks for the help
Brandon Mercer
-- 
Brandon Mercer [EMAIL PROTECTED]

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


Re: [Samba] Re: Retry: RedHat, XFS, and ACL Support

2003-06-06 Thread Brett Harris
Ok, I installed the devel packages and Samba was able to compile correctly:

./configure --with-acl-support
make
make install

That seemed to work perfectly

However, I am still having the same problem.

I took some screen shots to show you.
http://bharris.f2o.org/win.html

Any other ideas?

Dragan Krnic said:
 make sure you have the devel packages for ACL
 and EA (acl-devel and attr-devel)



 
 Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
 http://login.mail.lycos.com/r/referral?aid=27005
 --
 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] Running Windows 2000 Login Scripts Without PasswordEncryption

2003-06-06 Thread Dan Kador
Hi Again,
 
Same old same old.  Here's a different spin on the question, though.  Now I'm 
wondering if there's a way to run login scripts automatically on a 2000 machine.  I've 
got Samba set up properly (I think).  It's running as a PDC, without password 
encryption (due to the way the rest of our network is set up - as of now it's not 
going to change, so I have to find a work around).  Obviously, this is a bit of a 
pain, but I can't do much about it.  I did have everything working well when 
encryption was turned on, so I'm fairly certain I know what I'm doing. 
 
In any case, we've decided that backing off to simply running login scripts without 
doing roving profiles (our original goal) is acceptable for now.  This would be fine, 
but I keep running into the same problem.  The [netlogon] share has guest access 
turned on, but when I logon with a 2000 machine, no script runs.  When I access the 
share by either running \\server\netlogon or \\server\netlogon\logon.bat (logon.bat is 
the simple test script I'm using) on my 2000 machine, an authentication window pops up 
asking for a username and password.  Since guest access is on, I can just hit enter 
and access to the share is granted.  The problem is having to input that blank 
username and password and I have no idea how to get around that.  
 
Further problems lie in trying to get the shares that REQUIRE a username and password 
authenticated in the script, but I've managed a workaround for that with a 
heavy-handed VBscript that asks the user for their username and password again.  
Irregardless, this isn't the point of this question, just an indication of where I'm 
trying to take this.
 
Oh, and I can logon to the domain in Windows 95 and run a logon script there, so I 
know that it works sometimes.  It's not a syntax problem with the script either, 
because once I authenticate as a guest user under 2000 the script runs fine there as 
well.
 
Sorry for the lengthy e-mail and thanks for your help!
 
Dan


-
Do you Yahoo!?
Free online calendar with sync to Outlook(TM).
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Problems with Windows Server 2003

2003-06-06 Thread Ruben Lopez
Hi,

I have a domain server with Windows Server 2003 y i cannot access to 
shared resources from Linux. I have used both Samba 2.2 and Samba 3.0, 
but logging in with Administrator account it show me follow error:
NT_STATUS_ACCESS_DENIED

Why?


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

[Samba] User Manager for Domains

2003-06-06 Thread Matt Wright
Hi,

Now ACL's work I'm up against another hurdle, I've got UMFD connected to my
Samba 3 PDC. I have the following lines in my smb.conf. The adding user's
works perfectly.

add user script = /usr/sbin/useradd -m -g 100 -s /bin/bash %u
add machine script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false %u
delete user script = /usr/sbin/userdel %u

When I ask UMFD to delete a user I get:

[2003/06/05 16:22:28, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2513)
  Returning domain sid for domain HOME -
S-1-5-21-906874104-2335227451-3449403371
[2003/06/05 16:22:28, 0] rpc_server/srv_samr_nt.c:_samr_unknown_2d(4211)
  _samr_unknown_2d: Not yet implemented.

So it looks like the delete function isn't implemented, but I could have
sworn I've used it before??

Regards,

matt

-- Quantum canis ille in fenestra est?

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


Re: [Samba] Printing isses with LPRng

2003-06-06 Thread jra
On Thu, Jun 05, 2003 at 06:28:17AM -0400, Joel Hammer wrote:
 Do oplocks serve any purpose? 

Yes, they are one of the major features of this protocol.

 Why  not disable them.

That is a useful idea.

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


Re: [Samba] Samba Sage Line 50 Accounting

2003-06-06 Thread jra
On Thu, Jun 05, 2003 at 11:35:20AM +0100, Louis Sabet wrote:
 Hi all,
 
 Having a very specific problem here:
 
 I have a working RedHat9 server running Samba 2.2.7 (the release that comes 
 with RH9), acting as a PDC/File Server to around 15 WinXP Pro client 
 workstations.
 
 This all works nicely, apart from our accounting package, Sage Line 50, 
 which depends on its data being stored on a network share.
 
 Previously, when the data was stored on a WinNT4 share, there was no 
 problem, several users could concurrently connect into the database and 
 work simultaneously.
 
 Now, using samba, this isn't possible. Sage will only allow one user to log 
 in and access the DB at any one time. As soon as that user logs out, the 
 next user can log in. This isn't normal Sage behaviour.

Can you give the exact error message please. Also please upgrade to
Samba 2.2.8a for security reasons.

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


Re: [Samba] Printing isses with LPRng

2003-06-06 Thread jra
On Thu, Jun 05, 2003 at 03:31:29PM +, [EMAIL PROTECTED] wrote:
 On Thu, Jun 05, 2003 at 06:28:17AM -0400, Joel Hammer wrote:
  Do oplocks serve any purpose? 
 
 Yes, they are one of the major features of this protocol.
 
  Why  not disable them.
 
 That is a useful idea.

Doh ! (Too early in the morning :-).

I meant to say that is /not/ a useful idea :-).

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


Re: [Samba] Samba Sage Line 50 Accounting

2003-06-06 Thread Jay Fenlason
On Thu, Jun 05, 2003 at 03:33:01PM +, [EMAIL PROTECTED] wrote:
 On Thu, Jun 05, 2003 at 11:35:20AM +0100, Louis Sabet wrote:
  Hi all,
  
  Having a very specific problem here:
  
  I have a working RedHat9 server running Samba 2.2.7 (the release that comes 
  with RH9), acting as a PDC/File Server to around 15 WinXP Pro client 
  workstations.
  
  This all works nicely, apart from our accounting package, Sage Line 50, 
  which depends on its data being stored on a network share.
  
  Previously, when the data was stored on a WinNT4 share, there was no 
  problem, several users could concurrently connect into the database and 
  work simultaneously.
  
  Now, using samba, this isn't possible. Sage will only allow one user to log 
  in and access the DB at any one time. As soon as that user logs out, the 
  next user can log in. This isn't normal Sage behaviour.
 
 Can you give the exact error message please. Also please upgrade to
 Samba 2.2.8a for security reasons.

Or at least the samba-2.2.7a-security-rollup-fix which is conveniently
avaliable from updates.redhat.com or via Red Hat Network.

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


Re: [Samba] Printing isses with LPRng

2003-06-06 Thread Joel Hammer
I meant to say, do oplocks have any good purpose on a print share?
Joel
On Thu, Jun 05, 2003 at 03:31:29PM +, [EMAIL PROTECTED] wrote:
 On Thu, Jun 05, 2003 at 06:28:17AM -0400, Joel Hammer wrote:
  Do oplocks serve any purpose? 
 
 Yes, they are one of the major features of this protocol.
 
  Why  not disable them.
 
 That is a useful idea.
 
 Jeremy.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] UNIX passwords

2003-06-06 Thread Erik Soderquist
i don't need encryption. what parts of win2k support would cause a
problem, and can those part of win2k be changed/disabled?

-Original Message-
From: Ryan Novosielski [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 15:18
To: Samba List (E-mail)
Subject: Re: [Samba] UNIX passwords


If you don't need encryption (or Win2k support), that'll work just fine.
If you do need encryption or Win2k support, you are SOL as they say.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922
(2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg -
C630

On Tue, 3 Jun 2003, Erik Soderquist wrote:

 I have a rather unique setup. I would like to simply use the existing
 UNIX /etc/passwd file for my authentication without having an
smbpasswd
 file existing. does anyone know how to do this?
 --
 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
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] UNIX passwords

2003-06-06 Thread Erik Soderquist
thanks. problem solved

-Original Message-
From: Ron Bombard [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 05, 2003 13:35
To: Erik Soderquist
Subject: RE: [Samba] UNIX passwords

I use my unix /etc/passwd file for auth.  I've never used smbpasswd.

I just set security = user, and encrypt pass = no.

On the win2k machines, you have to enable sending clear passwd to 
smb clients.   easy.

 i don't need encryption. what parts of win2k support would cause a
 problem, and can those part of win2k be changed/disabled?
 
 -Original Message-
 From: Ryan Novosielski [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, June 03, 2003 15:18
 To: Samba List (E-mail)
 Subject: Re: [Samba] UNIX passwords
 
 
 If you don't need encryption (or Win2k support), that'll work just
fine.
 If you do need encryption or Win2k support, you are SOL as they say.
 
  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems
Admin
 |$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922
 (2-0922)
 \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg -
 C630
 
 On Tue, 3 Jun 2003, Erik Soderquist wrote:
 
  I have a rather unique setup. I would like to simply use the
existing
  UNIX /etc/passwd file for my authentication without having an
 smbpasswd
  file existing. does anyone know how to do this?
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Aix and Large File Support

2003-06-06 Thread Neil Lehouillier
Hi everyone,

I need a little help.  I have compiled samba(2.2.8a) on aix 4.3.3 oslevel 9.  
Everything seems to run fine until you try and transfer a file from a windows station 
to Samba that is  1GB.  Then it starts spitting out errors like there is not enough 
space for the file even though there is 89 Gigs free.

I'm just wondering if there are any special switches to compile samba with to enable 
LFS(Large file Support) on aix.

I've looked in the config.log for large file support and found this:


configure:12853: checking statvfs function (SVR4)
configure:12866: gcc -o conftest -O   -D_LARGE_FILES  conftest.c  15
configure:13150: checking if large file support can be enabled
configure:13165: gcc -c -O   -D_LARGE_FILES conftest.c 15
configure:13232: checking whether to support ACLs
configure:13433: checking whether to check for support sendfile
configure:13925: checking whether to build winbind
configure:13985: checking whether to enable winbind auth challenge/response code
configure:14031: checking whether to enable winbind ldap hack
configure:14069: checking whether or not getgroups returns EGID too many times
configure:14093: gcc -o conftest -O   -D_LARGE_FILES  conftest.c  15
configure:14134: checking whether struct passwd has pw_comment
configure:14147: gcc -c -O   -D_LARGE_FILES conftest.c 15
configure: In function `main':
configure:14143: structure has no member named `pw_comment'
configure: failed program was:
#line 14140 configure
#include confdefs.h
#include pwd.h
int main() {
struct passwd p; p.pw_comment;
; return 0; }


Even though I found it I can't tell if it got enabled or not.  Because of the problems 
I'm having I'm assuming that it didn't get enabled.  Does anyone know what files I 
need to enable this function on Aix?

Any help is greatly appreciated.

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


[Samba] SCO OpenServer 5

2003-06-06 Thread Erik Soderquist
what was the last binary built for this platform? I have been unable to
get a compiler to work on this machine due to licensing problems but
would like to update. currently at v. 2.2.2
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] NT4 to Samba Migration

2003-06-06 Thread Yeri Swamy
I dowloaded from samba.org samba-3.0alpha24..
I refered http://samba.org/~jht/NT4migration/Samba-HOWTO-Collection.pdf 
chapter 31

it also mentioned in the how chapter 31 that it is a rough explanation
but i decided to follow this and started doing things as i explaned below
i looked google and samba mailing lists i did'nt see anything related to 
my problem anywhere

Trying to Migrate from NT4 to Samba but i am unsuccessful in doing that
Either no where it is mentioned what smb.conf parameters to be set..
I started doing this by refering to the above chapter 31

1)Created the BDC account in NT using Server Manager
 According to Howto i have not started Samba
2)
  #rpcclient NT4PDC -U Administrator%password
  rpcclientlsaquery
  domain WORKGROUP has sid S-1-5-21-2005620710-1318861517-1539857752
  rpcclient
3)
  #net getsid -S NT4PDC -w WORKGROUP -U Administrator%password
   i get the error getsid not found???
  but i contnued to next step
4)
   #net getlocalsid
   [2003/06/05 13:48:08, 0] utils/net.c:net_getlocalsid(388)
   Can't fetch domain SID for name: PRUTHVI
   i contnued :-( ...by setting local SID to above SID i got using
#net setlocalsid S-1-5-21-2005620710-1318861517-1539857752
5)
 #net rpc join -S NT4PDC -w WORKGROUP -U Administrator%password
  Joined domain ITERNAL.
In the howto chapter 31 it is not mentioned whether we have to start 
winbindd?? or not???

Anyway i decided to start winbindd

#/etc/init.d/winbind start
Starting Winbind services:  [OK]
and contnued..
#wbinfo -t
checking the trust secret via RPC calls succeeded
6)
#net rpc vampire -S NT4PDC -UAdministrator%password
it printed lot of output on the screen
In that it says it has created users groups of NT
7)
 #pdbedit -L
 idmap uid range defined, non unix accounts enabled
 idmap uid range defined, non unix accounts enabled
build_sam_account: smbpasswd database is corrupt!  username 
Administrator with uid 2147483398 is not in unix passwd database!
build_sam_account: smbpasswd database is corrupt!  username Guest with 
uid 99 is not in unix passwd database!
build_sam_account: smbpasswd database is corrupt!  username NT4PDC$ with 
uid 0 is not in unix passwd database!
build_sam_account: smbpasswd database is corrupt!  username WORKGROUP03$ 
with uid
2 is not in unix passwd database!
build_sam_account: smbpasswd database is corrupt!  username WORKGROUP04 
with uid 4 is not in unix passwd database!
build_sam_account: smbpasswd database is corrupt!  username WORKGROUP10$ 
with uid
6 is not in unix passwd database!
build_sam_account: smbpasswd database is corrupt!  username user1$ with 
uid 7
is not in unix passwd database!
build_sam_account: smbpasswd database is corrupt!  username user1 with 
uid 10

 i really don;t know what this means it is error/success
 According to howto now users are migrated
i have not started samba Yet...
i belive at this point users are not migrated
i don;t want to continue further according to howto.. till i am clear up 
until now everything is fine.

Do i have to start samba now??? so that it will start working or what do 
i have to do now??? what i am missing???

Can any one please help me in this

If you want any further info let me know

with best Regards
YS


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


Re: [Samba] Samba as PDC with WinXP Clients - headache!!

2003-06-06 Thread jra
On Thu, Jun 05, 2003 at 07:06:02PM +0200, Honza Houstek wrote:
 On Thu, 5 Jun 2003, Mal Beaton wrote:
 
  [...]
 
  This was identified in an article sent to the samb lists about samba not
  recognising win xp logoffs
 
  http://support.microsoft.com/default.aspx?scid=kb;en-us;316740
  http://support.microsoft.com/default.aspx?scid=kb;EN-US;323582
 
  I havent tried these yet.
 
 I'm the author of the post with this links to the KB articles.  Today I
 tried the modification described in #323582 article and it solved the
 problem. Now the session disappears almost immediately after I logoff from
 wXP (or w2000).
 
 I suggest that some samba guru looks at it because according to the KB
 articles it seems that samba doesn't handle something in the protocol
 correctly.

I've been looking very closely at these issues. I understand the 
problem they're referring to and may be able to get this in for
'official' 3.0 (but probably not the next beta).

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


[Samba] Spam to the list, plus the Nigerian Scam

2003-06-06 Thread Jerry Sloan
I have been getting spam through the samba list. Is anyone able to post
to the list without subscribing?
-- 
Jerry Sloan [EMAIL PROTECTED]
fP Technologies, Inc

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


[Samba] test

2003-06-06 Thread Erik Soderquist
this is a test to see if someone not suscribed can still post.

_
Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

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


RE: [Samba] Spam to the list, plus the Nigerian Scam

2003-06-06 Thread Erik Soderquist
i just tested, yes, an email address that has not subscribed can post to
the list.

-Original Message-
From: Jerry Sloan [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 05, 2003 14:28
To: Samba List
Subject: [Samba] Spam to the list, plus the Nigerian Scam

I have been getting spam through the samba list. Is anyone able to post
to the list without subscribing?
-- 
Jerry Sloan [EMAIL PROTECTED]
fP Technologies, 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] Trouble connecting to share

2003-06-06 Thread Bill Roth
We have replaced an NT 4.0 server (PDC) at a customer site with a new
server running Windows 2000. Now we cannot map to the Samba share on our
HP UX machine. I am sure is some kind of permission thing but not sure
where to look. I did not do the original Samba install and I know little
to nothing about Samba. Any help is greatly appreciated.
 
Thanks
 
Bill Roth
Tech. Specialist
CSSI
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Spam to the list, plus the Nigerian Scam

2003-06-06 Thread Jim Wharton
Unfortuneately, with the way that the samba list is set up, our email
addresses show up on google. So... we have all been harvested and sold.

I, for one, like to hit reply and get the list address instead of just the
person who I am helping. I have to retrain myself to hit reply to all (do
you hear a violin?)

Jim Wharton
Network Administrator
Alachua County Property Appraiser
[EMAIL PROTECTED]


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]
  Behalf Of
 Erik Soderquist
 Sent: Thursday, June 05, 2003 2:39 PM
 To: Samba List (E-mail)
 Subject: RE: [Samba] Spam to the list, plus the Nigerian Scam
 
 
 i just tested, yes, an email address that has not subscribed 
 can post to
 the list.
 
 -Original Message-
 From: Jerry Sloan [mailto:[EMAIL PROTECTED]
 Sent: Thursday, June 05, 2003 14:28
 To: Samba List
 Subject: [Samba] Spam to the list, plus the Nigerian Scam
 
 I have been getting spam through the samba list. Is anyone 
 able to post
 to the list without subscribing?
 -- 
 Jerry Sloan [EMAIL PROTECTED]
 fP Technologies, 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
 


OutBound Mail Scanned by Mcafee Web Appliance.
OutBound Mail Scanned by Mcafee Web Appliance.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] Auto-away replies

2003-06-06 Thread Jerry Sloan
Another thing that is rude is for list members to set a vacation
auto-reply to a mailing list...
-- 
Jerry Sloan [EMAIL PROTECTED]
fP Technologies, Inc

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


RE: [Samba] Auto-away replies

2003-06-06 Thread Jim Wharton
You know, I was thinking the same thing. Okay thanks for letting me know you
are gone... did you forget that you are subscribed to a high traffic mailing
list? You may get 1 or 2 or 80 emails while you are gone.

I know, I'm a complainer.

Jim Wharton
Network Administrator
Alachua County Property Appraiser
[EMAIL PROTECTED]


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]
  Behalf Of
 Jerry Sloan
 Sent: Thursday, June 05, 2003 3:00 PM
 To: Samba List
 Subject: [Samba] Auto-away replies
 
 
 Another thing that is rude is for list members to set a vacation
 auto-reply to a mailing list...
 -- 
 Jerry Sloan [EMAIL PROTECTED]
 fP Technologies, Inc
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 


OutBound Mail Scanned by Mcafee Web Appliance.


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


RE: [Samba] Auto-away replies

2003-06-06 Thread Dan Shadix
The problem is that the messages from this list come addressed From: each person 
instead of the list.  There's no way to set up the vacation message to know that the 
message is from a list (at least on our server).

Dan

-- Original Message --
From: Jim Wharton [EMAIL PROTECTED]
Date:  Thu, 5 Jun 2003 15:06:04 -0400 

You know, I was thinking the same thing. Okay thanks for letting me know you
are gone... did you forget that you are subscribed to a high traffic mailing
list? You may get 1 or 2 or 80 emails while you are gone.

I know, I'm a complainer.

Jim Wharton
Network Administrator
Alachua County Property Appraiser
[EMAIL PROTECTED]


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]
  Behalf Of
 Jerry Sloan
 Sent: Thursday, June 05, 2003 3:00 PM
 To: Samba List
 Subject: [Samba] Auto-away replies
 
 
 Another thing that is rude is for list members to set a vacation
 auto-reply to a mailing list...
 -- 
 Jerry Sloan [EMAIL PROTECTED]
 fP Technologies, Inc
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 


OutBound Mail Scanned by Mcafee Web Appliance.


-- 
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


Re: [Samba] Auto-away replies

2003-06-06 Thread Mark Ferlatte
Dan Shadix said on Thu, Jun 05, 2003 at 01:22:54PM -0600:
 The problem is that the messages from this list come addressed From: each person 
 instead of the list.  There's no way to set up the vacation message to know that the 
 message is from a list (at least on our server).

Then your server is broken.  The Unix vacation program has been able to notice
list email and not reply to it since 1983.  Each message to the list provides
more than enough information (List headers, etc) for an automated process to
notice that this is a mailing list, and not reply to it.

M


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

[Samba] Re: Submited (004756-3463)

2003-06-06 Thread tino
Please see the attached file.-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] Password protection

2003-06-06 Thread Brian Ronk
I have an open samba share right now that anyone can get to and 
read/write, I want to make it only readable so I don't get viruses 
trying to infect the machine (not like it would do anything anyway).  
What I want to do is set up a share that is writable so I can copy the 
files over to the readable directory.  Is there a way to set up a 
password on the read/write so that I can access it easily?  Also, if 
this is possible, does it require a login to do so, or can I just supply a 
password?
Thanks

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


[Samba] CVS over SSH

2003-06-06 Thread Christophe Reynders
Hi there 
 
I'm running a samba cvs server in a windows domain with a W2K PDC. I want to 
authenticate windows users through ssh. I'm able to login with a windows user to the 
server on the server himself but when I want to login via a windows client It doesn't 
work. The connection is refused. Could it be something mis configured in my ssh pam 
module. 
This is my pam ssh module
 PAM configuration file for sshd
auth   required /lib/security/pam_nologin.so
auth   sufficient   /lib/security/pam_winbind.so
auth   required /lib/security/pam_pwdb.so shadow nullok

accountsufficient   /lib/security/pam_winbind.so
accountrequired /lib/security/pam_pwdb.so

sessionrequired /lib/security/pam_pwdb.so
sessionoptional /lib/security/pam_console.so

password   required /lib/security/pam_cracklib.so
password   required /lib/security/pam_pwdb.so nullok use_authtok shadow
Could anybody please help me out, I would appreciate it
Thanks in advance
Regards


-
Do you Yahoo!?
Free online calendar with sync to Outlook(TM).
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Spam to the list, plus the Nigerian Scam

2003-06-06 Thread Paul Eggleton
Jim Wharton wrote on Friday, 6 June 2003 6:59 a.m.:
 I, for one, like to hit reply and get the list address instead of
 just the person who I am helping. I have to retrain myself to hit
 reply to all (do you hear a violin?)  

I'm afraid this is a highly religious issue when it comes to mailing
lists, so I wouldn't get your hopes up about it being changed.

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


[Samba] Samba ulimits?

2003-06-06 Thread Neil Lehouillier
Does anyone know if samba uses the ulimits(/etc/security/limits) of a box(AIX/Linux)?  

If so is there any way to disable that?

Thanks...

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


Re: [Samba] Spam to the list, plus the Nigerian Scam

2003-06-06 Thread Joel Hammer
I did once reply to a Nigerian spammer. Hundreds of times.

The neat thing was I can change my address since I run sendmail, so he
couldn't just screen me out.

He wrote me and asked me to stop.

Which, BTW, is how we could easily stop all spamming. If we all respond to
the spammers, that would but them out of business in one day. So, all of us
on this list should agree to respond to the spammer hitting us, telling him
we are interested.  That would make these guys stop spamming this list.

BTW, if you respond, you get lots more mail.

Joel
n Thu, Jun 05, 2003 at 02:58:43PM -0400, Jim Wharton wrote:
 Unfortuneately, with the way that the samba list is set up, our email
 addresses show up on google. So... we have all been harvested and sold.
 
 I, for one, like to hit reply and get the list address instead of just the
 person who I am helping. I have to retrain myself to hit reply to all (do
 you hear a violin?)
 
 Jim Wharton
 Network Administrator
 Alachua County Property Appraiser
 [EMAIL PROTECTED]
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]
   Behalf Of
  Erik Soderquist
  Sent: Thursday, June 05, 2003 2:39 PM
  To: Samba List (E-mail)
  Subject: RE: [Samba] Spam to the list, plus the Nigerian Scam
  
  
  i just tested, yes, an email address that has not subscribed 
  can post to
  the list.
  
  -Original Message-
  From: Jerry Sloan [mailto:[EMAIL PROTECTED]
  Sent: Thursday, June 05, 2003 14:28
  To: Samba List
  Subject: [Samba] Spam to the list, plus the Nigerian Scam
  
  I have been getting spam through the samba list. Is anyone 
  able to post
  to the list without subscribing?
  -- 
  Jerry Sloan [EMAIL PROTECTED]
  fP Technologies, 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
  
 
 
 OutBound Mail Scanned by Mcafee Web Appliance.

 OutBound Mail Scanned by Mcafee Web Appliance.

 -- 
 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


Re: SUMMARY: [Samba] Samba as PDC with WinXP Clients - headache!!

2003-06-06 Thread Alex King
On Thu, Jun 05, 2003 at 04:07:38PM +0200, Daniel Zeiss wrote:
 Hello All,
 
 so lets summarize a bit the trouble which is out there with Samba and 
 WinXP Pro using Samba as PDC. (Also something for the howto for John :-)
 

OK, thanks for that, perhaps a document could be created for the docs
dir for the 2.2 series, assuming one won't be needed for 3.0 release.

 
 Stuff to do on WinXP to use Samba (which I assume we all did):
 --
 

I've done the requiresignorseal=dword: of course, it's not
possible to get far without it.  But as for the rest, where did you find
out about it?  Is it collected together in one place somewhere?

 
 * delete local copies of roaming profiles
   Select Computer Configuration  Administrative Templates 
System  User Profiles
   * Delete cache copies of roaming profiles
 
 or
 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
 Edit or add value DeleteRoamingCache as type REG_DWORD. Set it to 1.
 

I've just had more information from the local administrator, he was
trying to set up a local default user profile, and this was causing (or
part of) the trouble.  I'm going to go onsite in the next few days and
try to get this stuff sorted out once again...

 
 cool links:
 http://hr.uoregon.edu/davidrl/samba/

This is good

 http://www.diariolinux.com/phorum/list.php?f=17
 
 any more ideas?
 I'll let you know when I've had a play...

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


OT: Mail rules (was: Re: [Samba] Auto-away replies)

2003-06-06 Thread Jonathan Johnson
Unfortunately, many people set their MUA's (Outlook/Express) mail rules
filter to provide the vacation message, then leave it running when they're
gone. Others set the rule and close Outlook, then when they get back from
vacation and download all their messages everyone gets a vacation message
even thogh they're back. Outlook/Express do not allow you to create custom
rules like Where the Precedence line contains list do not send vacation
message.

These people are broken and cannot be fixed. :-P

At the very least, they should set a rule where the subject contains
samba don't send vacation message. Or something like that.

For those with the ability so set proper rules, the following two header
fields appear in EVERY message from the samba list and can be used for
custom filter sets:

Precedence: list
List-Id: General questions regarding Samba  samba.lists.samba.org

The Precedence line should be used to prevent vacation messages from being
sent. The List-Id can be used to direct these messages into an appropriate
mailbox folder.

--Jon

On Thu, 5 Jun 2003, Mark Ferlatte wrote:

 Dan Shadix said on Thu, Jun 05, 2003 at 01:22:54PM -0600:

  The problem is that the messages from this list come addressed From:
  each person instead of the list.  There's no way to set up the vacation
  message to know that the message is from a list (at least on our
  server).

 Then your server is broken.  The Unix vacation program has been able to
 notice list email and not reply to it since 1983.  Each message to the
 list provides more than enough information (List headers, etc) for an
 automated process to notice that this is a mailing list, and not reply to
 it.


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


Re: [Samba] Spam to the list, plus the Nigerian Scam

2003-06-06 Thread Thomas Klettke
Actually, some people have already fought back, getting them in their
own game - see http://www.reversescam.com 

Back to Samba now... :-)


On Thu, 2003-06-05 at 15:46, Joel Hammer wrote:
 I did once reply to a Nigerian spammer. Hundreds of times.
 
 The neat thing was I can change my address since I run sendmail, so he
 couldn't just screen me out.
 
 He wrote me and asked me to stop.
 
 Which, BTW, is how we could easily stop all spamming. If we all respond to
 the spammers, that would but them out of business in one day. So, all of us
 on this list should agree to respond to the spammer hitting us, telling him
 we are interested.  That would make these guys stop spamming this list.
 
 BTW, if you respond, you get lots more mail.
 
 Joel

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


Re: SUMMARY: [Samba] Samba as PDC with WinXP Clients - headache!!

2003-06-06 Thread Daniel Zeiss
Hi,


OK, thanks for that, perhaps a document could be created for the docs
dir for the 2.2 series, assuming one won't be needed for 3.0 release.
Most of it is Windows stuff, so 3.0 will still need some of the patching 
(tweaking)

But as for the rest, where did you find
out about it?  Is it collected together in one place somewhere?
I found that stuff after I didnt get along with just the one patch. 
Google was my friend and lots of posts and documents that I read, but 
still it didnt bring me far.

I've just had more information from the local administrator, he was
trying to set up a local default user profile, and this was causing (or
part of) the trouble.  I'm going to go onsite in the next few days and
try to get this stuff sorted out once again...
Why would he want local default profiles when you also can use server 
based Default Profiles? Its much more flexible.

any more ideas?
 I'll let you know when I've had a play...
Great. I am desperatly waiting for it.

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


OT: RE: [Samba] Spam to the list, plus the Nigerian Scam

2003-06-06 Thread Paul Eggleton
Joel Hammer wrote on Friday, 6 June 2003 8:46 a.m.:
 Which, BTW, is how we could easily stop all spamming. If we all
 respond to the spammers, that would but them out of business in one
 day. So, all of us on this list should agree to respond to the
 spammer hitting us, telling him we are interested.  That would make
 these guys stop spamming this list.

The problem with this is a lot of spammers use false return addresses or
impersonate real addresses. In these two cases the solution you suggest
doesn't work. Granted, the 419 scammers usually have a proper return
address so that they can get a response. What you should do in these
cases (if you want to do something) is simultaneously report them to the
FBI and to their ISP/email provider (eg. Hotmail), at which time their
account will be summarily terminated, and if you're really lucky they
will be prosecuted. 419 scams aren't just spam, they are illegal. 

Hopefully all unsolicited email will become illegal in enough states in
the US to result in a massive legal attack against spammers shortly.
This, coupled with the eventual fixing of the (IMO) highly broken SMTP
protocol, will be their end.
 
 BTW, if you respond, you get lots more mail.

Which is generally the opposite of what you're trying to achieve. :)

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


Admin Please read RE: [Samba] Re: Submited (004756-3463)

2003-06-06 Thread Brandon Lederer
Admin please remove this person.  he keeps spamming the list

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 05, 2003 4:53 AM
To: [EMAIL PROTECTED]
Subject: [Samba] Re: Submited (004756-3463)


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


Re: OT: Mail rules (was: Re: [Samba] Auto-away replies)

2003-06-06 Thread Matthew Stier
Actually, a proper vacation code is very simple.

If the recipient's email address is not listed in the To: or Cc: lines of the
message, don't reply.

A bit more considerate vacation program adds the condition:

If I have sent a notice to this sender already, don't reply.


Jonathan Johnson wrote:

 Unfortunately, many people set their MUA's (Outlook/Express) mail rules
 filter to provide the vacation message, then leave it running when they're
 gone. Others set the rule and close Outlook, then when they get back from
 vacation and download all their messages everyone gets a vacation message
 even thogh they're back. Outlook/Express do not allow you to create custom
 rules like Where the Precedence line contains list do not send vacation
 message.

 These people are broken and cannot be fixed. :-P

 At the very least, they should set a rule where the subject contains
 samba don't send vacation message. Or something like that.

 For those with the ability so set proper rules, the following two header
 fields appear in EVERY message from the samba list and can be used for
 custom filter sets:

 Precedence: list
 List-Id: General questions regarding Samba  samba.lists.samba.org

 The Precedence line should be used to prevent vacation messages from being
 sent. The List-Id can be used to direct these messages into an appropriate
 mailbox folder.

 --Jon

 On Thu, 5 Jun 2003, Mark Ferlatte wrote:

  Dan Shadix said on Thu, Jun 05, 2003 at 01:22:54PM -0600:

   The problem is that the messages from this list come addressed From:
   each person instead of the list.  There's no way to set up the vacation
   message to know that the message is from a list (at least on our
   server).

  Then your server is broken.  The Unix vacation program has been able to
  notice list email and not reply to it since 1983.  Each message to the
  list provides more than enough information (List headers, etc) for an
  automated process to notice that this is a mailing list, and not reply to
  it.

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

--
Matthew Lee Stier *  Fujitsu Network Communications
Unix Systems Administrator|  Two Blue Hill Plaza
Ph: 845-731-2097 Fx: 845-731-2011 |  Sixth Floor
[EMAIL PROTECTED] *  Pearl River, NY 10965


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

[Samba] deleting of files by samba ???

2003-06-06 Thread Master Boz!
Dear Sirs,

we're having some inconviniences on files used in a private system,
developed to suit the company.

this system's files are located in /var/wsystems and permissions are
granted 4777 acordingly to all files.

When we start up and work in this system with ONE user alone, we have no
problems whatsoever... however when we start up the whole intranet in
this system, most of files read by it are simply DELETED...

as we have absolutely no clue of what is going on with it, we are
begging for your help.

I took the care of including our smb.conf file. It is run in SuSE 8.0
box.

Should you need any extra info, just ask.

Douglas Bozza
Curitiba -PR
Brazil[global]
workgroup = mscwb
os level = 2
netbios name = servidor
security = user
encrypt passwords = Yes
guest account = nobody
guest only = no
map to guest = Bad User
browseable = yes
username map = /etc/samba/smbusers
log file = /var/log/samba/%m
printing = CUPSD
printcap name = /etc/printcap
load printers = No
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY 
interfaces = 192.168.1.254 / 255.255.255.0
wins support = Yes
character set = ISO8859-15
client code page = 850
locking = Yes
strict locking = Yes
oplocks = No
fake oplocks = No
sync always = Yes
ole locking compatibility = No
veto files = /*.eml/*.nws/riched20.dll/*.{*}/brasil.pif/msvxd.dll/
domain logons = Yes
domain master = Yes
logon script = %U.bat
;   logon script = %m.bat
[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
logon home = \\%L\profiles\%U
;   logon home = \\%L\%U\profile
logon path = \\%L\%U\profile
;   logon path = \\%L\profile\%U
[profiles]
comment = Network Profiles Service
path = /var/lib/samba/profiles
browseable = No
read only = Yes
printable = No

[homes]
comment = Arquivos MultiSigns
read only = No
create mask = 0750
directory mask = 0750
writeable = yes
browseable = yes

[publico]
comment = Publico MultiSigns
path = /home/publico
read only = No
create mask = 0770
directory mask = 0770
writeable = yes
browseable = yes

[programas]
comment = Programas Internos
path = /programas
read only = No
create mask = 0755
directory mask = 0755
writeable = yes
browseable = yes

[adm]
comment = Administrativo MultiSigns
path = /home/adm
read only = No
create mask = 0770
directory mask = 0770
writeable = yes
browseable = yes

[atacado]
comment = Pasta de Atacado
path = /home/atacado
read only = No
create mask = 0750
directory mask = 0750
writeable = yes
browseable = yes

[cobranca]
comment = cobranca
path = /home/cobranca
read only = No
create mask = 0770
directory mask = 0770
writeable = yes
browseable = yes

[compras]
comment = compras
path = /home/compras
read only = No
create mask = 0770
directory mask = 0770
writeable = yes
browseable = yes

[cpd]
comment = cpd
path = /home/cpd
read only = No
create mask = 0700
directory mask = 0700
writeable = yes
browseable = yes

[dat]
comment = dat
path = /home/dat
read only = No
create mask = 0770
directory mask = 0770
writeable = yes
browseable = yes

[wsystem]
comment = WorkSystems
path = /var/wsystems
read only = No
create mask = 4777
directory mask = 4777
writeable = yes
browseable = yes

[dbf]
comment = dbf
path = /home/dbf
read only = No
create mask = 0770
directory mask = 0770
writeable = yes
browseable = yes

[direcao]
comment = direcao
path = /home/direcao
read only = No
create mask = 0770
directory mask = 0770
writeable = yes
browseable = yes

[epson]
comment = epson
path = /home/epson
read only = No
create mask = 0770
directory mask = 0770
writeable = yes
browseable = yes

[estoque]
comment = estoque
path = /home/estoque
read only = No
create mask = 0770
directory mask = 0770
writeable = yes
browseable = yes

[expedicao]
comment = expedicao
path = /home/expedicao
read only = No
create mask = 0770
directory mask = 0770
writeable = yes
browseable = yes

[financeiro]
 

RE: [Samba] SCO OpenServer 5

2003-06-06 Thread Erik Soderquist
thanks

-Original Message-
From: [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 05, 2003 16:05
To: Erik Soderquist
Subject: Re: [Samba] SCO OpenServer 5

Erik,

ftp://ftp2.caldera.com/pub/skunkware/osr5/vols

has 2.2.6
HTH
Matt Flaig
Elysian Fields Software L.L.C.

 what was the last binary built for this platform? I have been unable
to
 get a compiler to work on this machine due to licensing problems but
 would like to update. currently at v. 2.2.2
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
-- 
On one issue at least, men and women agree; they both distrust women.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: Admin Please read RE: [Samba] Re: Submited (004756-3463)

2003-06-06 Thread Phantasie Name
Hello Brandon!

On Thu, Jun 05, 2003 at 10:27:12AM -0500, Brandon Lederer wrote:
 Admin please remove this person.  he keeps spamming the list

You cannot conlude that tino is the author of this email just because
his email-addres appears in the From: field in the mail's header. This
can be modified as you like. This email is an example. From: says
Phantasie Name [EMAIL PROTECTED]. My correct address is in the
Reply-To:-field though, so replys will hopefully reach me. Probably the
tino-address is harvested from somewhere and abused. If you want to see
the correct sender, you have to look at the From field (without :). I
don't have the full header of the original mail though.

Regards,

Wolfi

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


[Samba] Trying to join a domain

2003-06-06 Thread Louis Nafziger
I am running samba version 2.2.5 on Redhat.

I am using a windows 2000 computer to try to join a samba domain.

I have created the appropriate accounts, and workgroup file sharing is
working.

I get the following errors in the log file when I attempt to join the
domain:

[2003/06/05 17:59:26, 0]
rpc_server/srv_samr.c:api_samr_set_userinfo(670) api_samr_set_userinfo:
Unable to unmarshall SAMR_Q_SET_USERINFO.
[2003/06/05 17:59:26, 0] passdb/pdb_smbpasswd.c:pdb_getsampwrid(1416)
unable to open passdb database.

Any help would be greatly appreciated!

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Louis Nafziger
Advanced Industrial Products, INC.
Email:  [EMAIL PROTECTED]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


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


Re: SUMMARY: [Samba] Samba as PDC with WinXP Clients - headache!!

2003-06-06 Thread ganapathy murali krishnan
The way we have it setup is as follows:

Each machine is populated with a local startup and shutdown
scripts, and the local Group Policy is modified to activate this.
(Even though I found the registry changes which happen, they alone
are not enough. So I could not automate this with a VBScript or
Python code). These local scripts mount a network share 
(\\sambaserver\netlogon in our case) under guest credentials,
and then execute the real startup and shutdown scripts respectively.
Once the real scripts have finished executing the local script cleans
up after itself.

The local machine startup and shutdown scripts run as SYSTEM. This
account is not allowed network access even under guest credentials.
This problem has been solved in many ways. What I do, is to mount the
\\sambaserver\\IPC$ as non-priveleged user. To do this the username and
password must be given there in clear text. Since this user, is only 
allowed to read from the share, this is not a security problem. Once
you have mounted the IPC$ share, you can mount \\sambaserver\netlogon
and then execute the real scripts. Once the real script finishes, we 
have to remove all the network connections including the IPC$ connection
so that when a user logs on, it mounts it using the right credentials 
(may be you mount IPC$ as the user).

Initially debugging is a pain. Since I am unable to become the SYSTEM 
user, even using runas (what password?). So in a test machine, I modify 
the group policy and ask it to run the scripts in a console, and not to
terminate the console (default will be to close it after some specified 
timeout). Then in the startup script, run cmd.exe. That way you are 
the SYSTEM user now. Infact it you run explorer.exe then you see the 
familiar taskbar, desktop... as well the Press Alt-Ctrl-Del to login 
dialog (that in itself is a curious sight... using windows explorer, and 
seeinf the Alt-Ctrl-Del message). Using this trick, one can debug the 
startup scripts.

Now you are all set to use it to do some interesting things. The last 
thing our real startup script does is to update the local shutdown 
script and vice versa. So in case you need to change the local scripts,
you dont have to go around to each machine and do it all over again.

Currently I use the startup scripts to:
1. Stop unnecessary services.
2. synchronise the time
3. Clear all windows print queues (through a VBScript)
4. Make registry changes (not yet implemented but in the works)
I plan to use the shutdown scripts to:
1. Upload drivers for new peripherals to C:\Drivers (or somesuch place)
   and modify the registry, so that windows will look here in
   addition to C:\WINDOWS\INF.
   This way, I drop in the audio driver, and make the registry change,
   next reboot windows sees the new device, and finds a driver for it
   and installs it automatically. This technique will work for all
   peripherals except ofcourse network cards (for obvious reasons)
I plan to use the startup scripts to setup system monitoring software.
Basically setup cron jobs, which run python scripts at specified 
frequency collect data, and update a central database, which has a web 
based (mod_python ofcourse) front end. We already have this working
on Linux,Solaris machines (using PIKT). This will do it on Windows 
machines as well.

I do not know enough about how group policies work. So I havent tried 
anything. I was thinking in terms of NT4 System Policies. But if as you
say I can create a group policy file and store it on a network location,
then all I have to do at machine startup is to activate the settings.
I dont know how to do it. If somebody can tell me it would be useful.

Since I am going on a loong vacation, I wont be able to test these 
things out soon.

Do you need any more information?

- Murali

Daniel Zeiss wrote:
Hello Murali,

One other idea: Nobody seems to be interested in machine level,
startup and shutdown scripts (not user logon and logoff scripts).


I am very interested in that since this would be the possibility of 
implementing the Active Directory stuff the other way around.
Imagine on startup the machine would execute a script which executes a 
script from netlogon share.
This last script then decides on which machine it is running, which 
gpedit.msc file it should copy from the server and like this you can 
distribute group policies like ADS can do.

No need for ADS anymore ;-)

script, using local Group Policies (tried with just registry changes
did not work). These local scripts just mount a network share
and execute the real startup and shutdown scripts.


Will you try more? I would love to hear your successes. :-)

bye
Daniel



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


Re: [Samba] CVS over SSH

2003-06-06 Thread kenneth westelinck
What does wbinfo -u, wbinfo -g, getent passwd, getent group say?

- Original Message - 
From: Christophe Reynders [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 05, 2003 5:22 PM
Subject: [Samba] CVS over SSH


 Hi there

 I'm running a samba cvs server in a windows domain with a W2K PDC. I want
to authenticate windows users through ssh. I'm able to login with a windows
user to the server on the server himself but when I want to login via a
windows client It doesn't work. The connection is refused. Could it be
something mis configured in my ssh pam module.
 This is my pam ssh module
  PAM configuration file for sshd
 auth   required /lib/security/pam_nologin.so
 auth   sufficient   /lib/security/pam_winbind.so
 auth   required /lib/security/pam_pwdb.so shadow nullok

 accountsufficient   /lib/security/pam_winbind.so
 accountrequired /lib/security/pam_pwdb.so

 sessionrequired /lib/security/pam_pwdb.so
 sessionoptional /lib/security/pam_console.so

 password   required /lib/security/pam_cracklib.so
 password   required /lib/security/pam_pwdb.so nullok use_authtok
shadow
 Could anybody please help me out, I would appreciate it
 Thanks in advance
 Regards


 -
 Do you Yahoo!?
 Free online calendar with sync to Outlook(TM).
 -- 
 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] Winbind works on one machine not another

2003-06-06 Thread John Simovic
Here is my smb.conf file which works one one machine but not on another. Please help.


**
This message is intended for the addressee named and may contain
privileged information or confidential information or both. If you
are not the intended recipient please delete it and notify the sender.
**
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] reg: Samba Log Format

2003-06-06 Thread Baskar T
Dear Sir,

I have a doubt regarding samba log format. I have gone through the
smb.conf file..  I have a few queries regarding samba log.

1. Is there any specific format log for samba log
2. I have the samba source 2.2 which c file i have to modify..
3. Is there any specific tool for samba log
4. I want to redirect the log format to mysql/psql how to?

Kindly help me to solve this problem.

I hope definitely u will helpe me .. I am waiting for ur reply.


Regards
Baskar T

-- 



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


[Samba] Win XP logon issues

2003-06-06 Thread Jeffrey D. Means
when trying to log on to my samba server (3.0a24 with LDAP)  I get a 
message about the domain not being available or the machine account is 
not available.  In the event log this is what the Netlogon service 
reports about the error.

---
The domain of this computer, MEANSPC has been downgraded from Windows 
2000 or newer to Windows NT4 or older. The computer cannot function 
properly in this case for authentication purposes. This computer needs 
to rejoin the domain. The following error occurred:
There are currently no logon servers available to service the logon 
request.
---

Is this a issue with my Win XP Pro box or the samba server.  I have 
broken the machine from the domain and rejoined it several times trying 
to fix this issue to no avail.  I have applied the registry patch for 
win xp and am now at a loss as to what to try next.

--- smb.conf  [Global Section]
# Global parameters
[global]
   workgroup = MEANSPC
   netbios name = BAST
   server string = Authentication Server
   encrypt passwords = Yes
   update encrypted = Yes
#   obey pam restrictions = Yes
#   pam password change = Yes
   restrict anonymous = Yes
   time server = Yes
   socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
   add user script = /usr/sbin/useradd -s /bin/false -d /dev/null 
-g 509 -c %U -M %u;passwd -l %u
   add machine script = /usr/sbin/useradd -s /bin/false -d 
/dev/null -g 509 -c %m Machine '%m$';passwd -l '%m$'
#   delete user script = smbpasswd -x %u;userdel %u
   message command = cat %s/dev/lp0
#   use spnego = no

# LDAP
   passdb backend = ldapsam:ldap://bast.picotech.net/
   ldap suffix = o=smb,dc=meanspc,dc=com
   ldap admin dn = cn=root,o=smb,dc=meanspc,dc=com
#   ldap machine suffix = ou=Computers
#   ldap user suffix = ou=Users
   ldap ssl = no
# Debugging
   debug pid = Yes
   debug uid = Yes
   debug timestamp = Yes
   log level = 1
   log file = /var/log/samba/samba.log
   max log size = 50
   panic action = echo 
***\nSamba Panic 
!\n**$

# Logon Info
   logon script = netlogon.bat
   logon path = \\bast\profiles\%u
   logon home = \\bast\%u
   logon drive = Z:
# Become PDC
   os level = 255
   lm announce = True
   preferred master = True
   domain master = True
   domain logons = yes
   dns proxy = No
   wins proxy = Yes
   wins support = Yes
   null passwords = Yes
# Admin Stuff
   admin users = @smbadmin
   write list = @smbadmin
   map system = Yes
   map hidden = Yes
   delete readonly = Yes
   hosts allow = 192.168. localhost 127.0.0.1
   interfaces = eth0
   bind interfaces only = Yes
   large readwrite = Yes
   min protocol = LANMAN1
   fstype = NTFS
   nt acl support = yes
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Movie

2003-06-06 Thread secretaria.csi
Please see the attached file.-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Win XP logon issues

2003-06-06 Thread Jeffrey D. Means
Jeffrey D. Means wrote:

when trying to log on to my samba server (3.0a24 with LDAP)  I get a 
message about the domain not being available or the machine account is 
not available.  In the event log this is what the Netlogon service 
reports about the error.

---
The domain of this computer, MEANSPC has been downgraded from Windows 
2000 or newer to Windows NT4 or older. The computer cannot function 
properly in this case for authentication purposes. This computer needs 
to rejoin the domain. The following error occurred:
There are currently no logon servers available to service the logon 
request.
---

Is this a issue with my Win XP Pro box or the samba server.  I have 
broken the machine from the domain and rejoined it several times 
trying to fix this issue to no avail.  I have applied the registry 
patch for win xp and am now at a loss as to what to try next.

--- smb.conf  [Global Section]
# Global parameters
[global]
   workgroup = MEANSPC
   netbios name = BAST
   server string = Authentication Server
   encrypt passwords = Yes
   update encrypted = Yes
#   obey pam restrictions = Yes
#   pam password change = Yes
   restrict anonymous = Yes
   time server = Yes
   socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
   add user script = /usr/sbin/useradd -s /bin/false -d /dev/null 
-g 509 -c %U -M %u;passwd -l %u
   add machine script = /usr/sbin/useradd -s /bin/false -d 
/dev/null -g 509 -c %m Machine '%m$';passwd -l '%m$'
#   delete user script = smbpasswd -x %u;userdel %u
   message command = cat %s/dev/lp0
#   use spnego = no

# LDAP
   passdb backend = ldapsam:ldap://bast.picotech.net/
   ldap suffix = o=smb,dc=meanspc,dc=com
   ldap admin dn = cn=root,o=smb,dc=meanspc,dc=com
#   ldap machine suffix = ou=Computers
#   ldap user suffix = ou=Users
   ldap ssl = no
# Debugging
   debug pid = Yes
   debug uid = Yes
   debug timestamp = Yes
   log level = 1
   log file = /var/log/samba/samba.log
   max log size = 50
   panic action = echo 
***\nSamba Panic 
!\n**$

# Logon Info
   logon script = netlogon.bat
   logon path = \\bast\profiles\%u
   logon home = \\bast\%u
   logon drive = Z:
# Become PDC
   os level = 255
   lm announce = True
   preferred master = True
   domain master = True
   domain logons = yes
   dns proxy = No
   wins proxy = Yes
   wins support = Yes
   null passwords = Yes
# Admin Stuff
   admin users = @smbadmin
   write list = @smbadmin
   map system = Yes
   map hidden = Yes
   delete readonly = Yes
   hosts allow = 192.168. localhost 127.0.0.1
   interfaces = eth0
   bind interfaces only = Yes
   large readwrite = Yes
   min protocol = LANMAN1
   fstype = NTFS
   nt acl support = yes

-- samba.log for an actual logon attempt
[EMAIL PROTECTED] root]# cat /var/log/samba/samba.log
[2003/06/05 18:05:17, 3, pid=10120, effective(0, 0), real(0, 0)] 
auth/auth.c:check_ntlm_password(216)
 check_ntlm_password:  Checking password for unmapped user 
[EMAIL PROTECTED] with the new password interface
[2003/06/05 18:05:17, 3, pid=10120, effective(0, 0), real(0, 0)] 
auth/auth.c:check_ntlm_password(219)
 check_ntlm_password:  mapped user is: [EMAIL PROTECTED]
[2003/06/05 18:05:17, 3, pid=10120, effective(0, 0), real(0, 0)] 
smbd/sec_ctx.c:push_sec_ctx(256)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2003/06/05 18:05:17, 3, pid=10120, effective(0, 0), real(0, 0)] 
smbd/uid.c:push_conn_ctx(287)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2003/06/05 18:05:17, 3, pid=10120, effective(0, 0), real(0, 0)] 
smbd/sec_ctx.c:set_sec_ctx(288)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2003/06/05 18:05:17, 2, pid=10120, effective(0, 0), real(0, 0)] 
passdb/pdb_ldap.c:ldapsam_search_suffix(948)
 ldapsam_search_suffix: searching 
for:[((sambaSID=S-1-5-21-720503001-857626571-2809650969-501)(objectclass=sambaSamAccount))]
[2003/06/05 18:05:17, 3, pid=10120, effective(0, 0), real(0, 0)] 
smbd/sec_ctx.c:pop_sec_ctx(386)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/06/05 18:05:17, 3, pid=10120, effective(0, 0), real(0, 0)] 
smbd/sec_ctx.c:push_sec_ctx(256)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2003/06/05 18:05:17, 3, pid=10120, effective(0, 0), real(0, 0)] 
smbd/uid.c:push_conn_ctx(287)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2003/06/05 18:05:17, 3, pid=10120, effective(0, 0), real(0, 0)] 
smbd/sec_ctx.c:set_sec_ctx(288)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2003/06/05 18:05:17, 2, pid=10120, effective(0, 0), real(0, 0)] 
passdb/pdb_ldap.c:ldapsam_search_suffix(948)
 ldapsam_search_suffix: searching 
for:[((uid=)(objectclass=sambaSamAccount))]
[2003/06/05 18:05:17, 3, pid=10120, effective(0, 0), real(0, 0)] 
smbd/sec_ctx.c:pop_sec_ctx(386)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0

[Samba] samba newbie having trouble configuring samba on RH7.3...

2003-06-06 Thread marvc
I just downloaded Samba ver2.2.8a onto my RH server and I'm unsure on
how to properly configure samba. I've seen documentation online for the
older versions which contain instructions for running ./configure, make,
and make install. I don't see ./configure in my samba-2.2.8a directory
so I'm clueless on what to do next. Can anyone assist with this? 
 
TIA
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Retry: RedHat, XFS, and ACL Support

2003-06-06 Thread Dragan Krnic

| Ok, I installed the devel packages and Samba was 
| able to compile correctly:
|
| ./configure --with-acl-support
| make
| make install
|
| That seemed to work perfectly
|
| However, I am still having the same problem.
|
| I took some screen shots to show you.
| http://bharris.f2o.org/win.html
|
| Any other ideas?

Yes, why is getfacl showing data for the file

   ea+acl+nfsacl-2.4.20-0.8.58.diff.gz

but the screenshots show 

   libattr-devel-2.0.8.i386.rpm

?

Are the 2 hard links to the same iNode, or is one
of them a soft-link to the other?



Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
http://login.mail.lycos.com/r/referral?aid=27005
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] samba newbie having trouble configuring samba on RH7.3...

2003-06-06 Thread Joel Hammer
What type of file did you download?
Maybe its all set to run? Maybe you don't have to configure it?
Joel



On Thu, Jun 05, 2003 at 08:52:31PM -0400, marvc wrote:
 I just downloaded Samba ver2.2.8a onto my RH server and I'm unsure on
 how to properly configure samba. I've seen documentation online for the
 older versions which contain instructions for running ./configure, make,
 and make install. I don't see ./configure in my samba-2.2.8a directory
 so I'm clueless on what to do next. Can anyone assist with this? 
  
 TIA
 -- 
 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 Locks Location

2003-06-06 Thread Brett Hales
I am trying to move the lock directory to another location. In my smb.conf I have the 
below line.

 lock directory = /usr/local/samba/machine_name/var/locks

However when I try to start samba I get the following error.

[2003/06/06 16:03:13, 2] lib/interface.c:add_interface(81)
  added interface ip=150.207.3.6 bcast=150.207.3.255 nmask=255.255.255.0
[2003/06/06 16:03:13, 0] lib/pidfile.c:pidfile_create(93)
  ERROR: can't open /usr/local/samba/var/locks/smbd.pid: Error was No such file or 
directory

Do I need another directive in the smb.conf to tell samba where the smbd.pid file is. 
Otherwise why is it not picking up the lock directory as specified.

Thanks,

Brett Hales
[EMAIL PROTECTED]

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


Re: Re: [Samba] CVS over SSH

2003-06-06 Thread [EMAIL PROTECTED]
This is my pam config for ssh:
#%PAM-1.0
auth   required pam_nologin.so
auth   sufficient   pam_winbind.so
auth   required pam_unix.so use_first_pass shadow
auth   required pam_env.so # [1]

accountsufficient   pam_winbind.so
accountrequired pam_unix.so use_first_pass

sessionsufficient   pam_mkhomedir.so skel=/etc/skel umask=0022
sessionrequired pam_unix.so
sessionoptional pam_lastlog.so # [1]
sessionoptional pam_motd.so # [1]
sessionoptional pam_mail.so standard noenv # [1]
sessionrequired pam_limits.so

password   required pam_unix.so

Which is working for me. I can login from any client on the server using ssh, with 
UIDs known on the server and UIDs known in the PDC.

What does auth.log say when you try to login? You can increase loging for winbind by 
putting this in your pam:
auth   sufficient   pam_winbind.so debug



 Christophe Reynders [EMAIL PROTECTED] wrote:

kenneth westelinck  wrote:
What does wbinfo -u, wbinfo -g, getent passwd, getent group say?


This all works.  wbinfo -g -u shows me the groups and the users from the PDC. But not 
all of them. The list is limited. I don't know why but that isn't a big problem I 
think because when I run the command getent group and getent passwd, it shows me all 
the users. 

I am able to login through ssh via a windows user on the server himself. So here does 
winbind his job. I can generate a public and private key on the server. But when I 
want to login with a windows or unix user into the server via a windows client it 
refuses the connection. I think that the problem may be in the pam ssh module. Do you 
use the same pam ssh module or do you have a different version. With my pam file it 
would be able to allow ssh login for windows users but it doesn't. 


- Original Message - 
From: Christophe Reynders 
To: 
Sent: Thursday, June 05, 2003 5:22 PM
Subject: [Samba] CVS over SSH


 Hi there

 I'm running a samba cvs server in a windows domain with a W2K PDC. I want
to authenticate windows users through ssh. I'm able to login with a windows
user to the server on the server himself but when I want to login via a
windows client It doesn't work. The connection is refused. Could it be
something mis configured in my ssh pam module.
 This is my pam ssh module
 PAM configuration file for sshd
 auth required /lib/security/pam_nologin.so
 auth sufficient /lib/security/pam_winbind.so
 auth required /lib/security/pam_pwdb.so shadow nullok

 account sufficient /lib/security/pam_winbind.so
 account required /lib/security/pam_pwdb.so

 session required /lib/security/pam_pwdb.so
 session optional /lib/security/pam_console.so

 password required /lib/security/pam_cracklib.so
 password required /lib/security/pam_pwdb.so nullok use_authtok
shadow
 Could anybody please help me out, I would appreciate it
 Thanks in advance
 Regards


 -
 Do you Yahoo!?
 Free online calendar with sync to Outlook(TM).
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions: http://lists.samba.org/mailman/listinfo/samba






-
Do you Yahoo!?
Free online calendar with sync to Outlook(TM).

kenneth westelinck lt;[EMAIL PROTECTED]gt; wrote:

What does wbinfo -u, wbinfo -g, getent passwd, getent group say?
This all works. wbinfo-g -ushows me the groups and the users from the PDC. But not 
all of them. Thelist is limited. I don't know why but that isn't a big problem I 
think becausewhen I run the command getent group and getent passwd,it shows me all 
the users.
I am able to login through ssh via a windows user on the server himself. So here does 
winbind his job. I can generate a public and private key on the server. But when I 
want to login with a windows or unixuserinto the server via a windows client it 
refuses the connection. I think that the problem may be in the pam ssh module. Do you 
use the same pam ssh module or do you have a different version. With my pam fileit 
would be able to allow ssh login for windows users but it doesn't. 
- Original Message - From: Christophe Reynders To: Sent: Thursday, June 05, 
2003 5:22 PMSubject: [Samba] CVS over SSHgt; Hi theregt;gt; I'm running a samba 
cvs server in a windows domain with a W2K PDC. I wantto authenticate windows users 
through ssh. I'm able to login with a windowsuser to the server on the server himself 
but when I want to login via awindows client It doesn't work. The connection is 
refused. Could it besomething mis configured in my ssh pam module.gt; This is my pam 
ssh modulegt; PAM configuration file for sshdgt; auth required 
/lib/security/pam_nologin.sogt; auth sufficient /lib/security/pam_winbind.sogt; 
auth required /lib/security/pam_pwdb.so shadow nullokgt;gt; account sufficient 
/lib/security/pam_winbind.sogt; account required /lib/security/pam_pwdb.sogt;gt; 
session required 

[Samba] fancy script setup

2003-06-06 Thread Alex King
On Thu, Jun 05, 2003 at 05:59:51PM -0500, ganapathy murali krishnan wrote:
 The way we have it setup is as follows:
 
 Each machine is populated with a local startup and shutdown

I guess you are doing this to get around the problem of the logoff not
completing properly and leaving connections open to the server which
interfere with the next user logging on.

 frequency collect data, and update a central database, which has a web 
 based (mod_python ofcourse) front end. We already have this working
 on Linux,Solaris machines (using PIKT). This will do it on Windows 
 machines as well.
 
except I would use webkit in preference to mod_python...

 I do not know enough about how group policies work. So I havent tried 
 anything. I was thinking in terms of NT4 System Policies. But if as you
 say I can create a group policy file and store it on a network location,
 then all I have to do at machine startup is to activate the settings.
 I dont know how to do it. If somebody can tell me it would be useful.
 
I think it is all documented fairly well after the reading I have done
in the last couple of days.  My trouble is that I have very limited
experience with windows servers (NT4 only).  Much of the documentation
assumes you are already familiar with the concepts from windows
installations

 Do you need any more information?
Seeing you ask :)

It would be helpful if there was a repository somewhere where people
could post setups, smb.conf's, scripts, etc.  Does anyone know of such a
place?


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


[Samba] File permission problem - oplock?

2003-06-06 Thread Nils Bansemir
Hi all,
I have a problem with the file permissions on our Samba server
(Version 2.2.8) with a program that we're using. This program want's to
save some configuration into the homedirectory of it's user. The problem
is that this program is opening this file read only, so it can't save the
configuration.

[2003/06/05 11:51:14, 2] smbd/open.c:open_file(246)
  an opened file .rtdpricing read=Yes write=No (numopen=2)
[2003/06/05 11:51:14, 2] smbd/close.c:close_normal_file(229)
  an closed file .rtdpricing (numopen=1)

If you're opening this file manually with edit it is working fine.

[2003/06/05 11:49:46, 2] smbd/open.c:open_file(246)
  an opened file .rtdpricing read=Yes write=Yes (numopen=2)
[2003/06/05 11:49:46, 2] smbd/close.c:close_normal_file(229)
  an closed file .rtdpricing (numopen=1)

Is there any way to force Samba to open this file read and write able? I
tried to disable oplocks, but this didn't work.

Thanks,
Nils

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


[Samba] Re: fax program

2003-06-06 Thread richard
My original email said most..you have to customise the script in
/etc/mgetty-sendfax/ which is called when a fax is recieved...sorry
forgot its name, I haven't touched this server in ages!
I haven't actually got around to sending faxes with this setup; most of
our users need to sign them anyway so a fax machine for sending is more
convenient. If you need more detail i'll dig up that script with samba
details etc ..for you.
Don't forget..rule number one! ...a REAL class two modem is a must for
reliable fax reception with mgetty-sendfax. All the cheap modems I
tested were not true class2 . 
regards,
Richard Coates.

On Tue, 2003-06-03 at 00:25, Kyle Loree wrote:
 Richard
 
 I am interested in how you have this fax setup.  I currently am using an
 ancient NT program and am in dire need of upgrading.  could you give me
 some details of how you send to fax and recieve from fax?  I might have to
 play with this for a while too, we have a pretty detailed system here.
 
 Thanks alot!
 
 Kyle Loree
 Rendek Communications
 [EMAIL PROTECTED]
 

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


Re: [Samba] Samba Sage Line 50 Accounting

2003-06-06 Thread Louis Sabet
--On Thursday, June 05, 2003 15:33:01 + [EMAIL PROTECTED] wrote:

On Thu, Jun 05, 2003 at 11:35:20AM +0100, Louis Sabet wrote:
Hi all,

Having a very specific problem here:

I have a working RedHat9 server running Samba 2.2.7 (the release that
comes  with RH9), acting as a PDC/File Server to around 15 WinXP Pro
client  workstations.
This all works nicely, apart from our accounting package, Sage Line 50,
which depends on its data being stored on a network share.
Previously, when the data was stored on a WinNT4 share, there was no
problem, several users could concurrently connect into the database and
work simultaneously.
Now, using samba, this isn't possible. Sage will only allow one user to
log  in and access the DB at any one time. As soon as that user logs
out, the  next user can log in. This isn't normal Sage behaviour.
Can you give the exact error message please. Also please upgrade to
Samba 2.2.8a for security reasons.
Jeremy.
Hi Jeremy,

Actually there is no error message, just odd behaviour.

On NT4, Sage data was stored on a normal NT share, and multiple users could 
connect into the data quite happily using the Sage front-end application.

On Samba, the data is now on an smb share, and when more than one user 
tries to connect, the first user connects fine, but subsequent users sit 
waiting at a screen claiming it is connecting to server This goes on 
indefinitely until such point as the first client disconnects, at which 
point the next user's machine (which was previously just connecting to 
server...) connects immediately.

The packages installed are:
[EMAIL PROTECTED] root]# rpm -qa | grep samba
samba-2.2.7a-7.9.0
samba-common-2.2.7a-7.9.0
samba-client-2.2.7a-7.9.0
So I guess I'm OK security-wise (presume this is the security rollup 
version?)

My smb.conf at present is devoid of oplocks-related entries as I'm having a 
bit of a tough time deciding exactly how to use them. I have however 
already tried disabling them, having followed a bunch of googled newsgroup 
threads, but nothing I do seems to change the behaviour I described above.

Best Regards

L

--
Louis Sabet - IT Manager
http://www.mobiles.co.uk
http://www.gadgets.co.uk
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Retry: RedHat, XFS, and ACL Support

2003-06-06 Thread Dragan Krnic
I must have made a mistake and clicked on a different 
file then I thought in windows.  I was just trying to 
illustrate how the uid's and gid's show up under the 
windows security tab and not the domain mappings.

If you check the acl's under linux it correctly maps 
domain names and groups from the uid's and gid's.  
This says to me that the filesystem is working 
properly with acl's and winbind is working properly, 
but samba is not mapping the acl's correctly.  I 
would also hypothesise that this is the reason if you 
try to give a user or group access to a file it does 
not accept it.

Any idea why samba would not be correctly mapping 
acl's when I configured samba with acl support 
(./configure --with-acl-support)?

I had the same problem in the beginning and it was
trivial but I can't recollect now what it was exactly.

Try to be logical. Go to the linux side and set a
couple of real ACLs on a file visible from a Samba
share. Check them with getfacl and see how they look
from the client's POV.

I hope other posters will help too. But you are
best suited to debug the problem.

Cheers
Dragan




Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
http://login.mail.lycos.com/r/referral?aid=27005
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] WARNING! Blocked mail [Approved]

2003-06-06 Thread lindi . scott
Your EMail with subject 'Approved', sent to the recipient(s)

[EMAIL PROTECTED]

contains a file attachment of type '[pif]'. Our organization does not accept files of 
this type by email. The message has NOT been delivered to the recipients.
If you have further questions, please contact the IT Helpdesk  (mailto:[EMAIL 
PROTECTED]).


-- 
Message generated by exiscan (University of Pretoria, South Africa)
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Samba Sage Line 50 Accounting

2003-06-06 Thread Gerald Drouillard
 My smb.conf at present is devoid of oplocks-related entries as
 I'm having a
 bit of a tough time deciding exactly how to use them. I have however
 already tried disabling them, having followed a bunch of googled
 newsgroup
 threads, but nothing I do seems to change the behaviour I described above.


Have you disabled oplocks on the client machines also?  Please read our page
at:
http://www.drouillard.ca/TipsTricks/Samba/Oplocks.htm

I would strongly recommend running the CCREG program to make the necessary
registry entries on the client machines for anyone running a shared
databases application.

Regards
-
Gerald Drouillard
President
Drouillard  Associates, Inc.
http://www.Drouillard.ca

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


[Samba] Re: network printers

2003-06-06 Thread Sergey Buts
I tryed to decrease users number but it didn't help. In order to check a 
network printer connected to a workstation I had to leave at least 2 
workstations. I meant the network printers not connected to the server 
but ones connected to workstations.

Thomas Wong wrote:

What happens when you go back to having one user on the list only? Does
it work again or is it still failing?
 



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


[Samba] samba restart

2003-06-06 Thread Raymond Gree
Hi,
I start to use Samba with difficulties for now but I just blame me
I have the following problem when I change my smb.conf I reload or 
restart Samba but most of the time my changes are not available
I have to reboot my server
is there anything special to do?
Thanks
Raymond

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


Re: [Samba] samba restart

2003-06-06 Thread [EMAIL PROTECTED]
Dude, it's UNIX/Linux. You should never reboot ;)
That's not normal. Did you try to stop the service and start it again, like so:
samba stop
samba start
and not
samba restart

Are you sure the daemons are dead after issueing a samba stop.


 Raymond Gree [EMAIL PROTECTED] wrote:

Hi,
I start to use Samba with difficulties for now but I just blame me
I have the following problem when I change my smb.conf I reload or 
restart Samba but most of the time my changes are not available
I have to reboot my server
is there anything special to do?
Thanks
Raymond

-- 
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] Active Directory, Samba 2.0.9

2003-06-06 Thread Michael . A . Elleby
Hello List-
 
I have a question:
 
I have several Samba 2.0.9 servers on HPUX 11.00 in one domain (domain A),
and users running Win XP that exist an Active Directory domain (Domain B).
The Samba servers are running user level authentication.  I have some of the
users in Domain B that cannot connect to the shares in Domain A.  To add to
this, all active users are logged in to a guest account (forms) and given
access to certain directories on the UNIX server.
 
Since Active Directory (domain B) is running in Native Mode, I'm looking at
possibly installing LDAP-UX to get the users from domain B authenticated to
the SAMBA server.  Will an upgrade to version 2.2 resolve my issues?
 
Thanx.
 
Mike-
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] Firewall samba

2003-06-06 Thread Allison Cooney
Hi

Just wondering if anyone could help with regarding the following.  I have a
number of Linux servers within an NT domain and I can access all of them.
But I have a linux server behind our (raptor) firewall - samba has been
configured on it and appears to be running.  What I want to know is how do I
access it from the NT domain.  I know I will have to make some changes on
the firewall - but how do I get to see it through the NT domain.  I can ping
the server.
Any one got any suggestions?


Allison Cooney
Tel: Office: 01 - 6799933
   Direct: 01 - 6752213
   Mobile: 087 - 2365032




This e-mail transmission may contain confidential information that is
intended for the individual or entity named on the e-mail address. If you
are not the intended recipient, please reply to the sender  so that Quest
Computing Ltd can arrange for the proper delivery, and then please delete
the message from your inbox.
 
If you have received this e-mail in error, you are hereby notified that any
disclosure, copying, distribution, or reliance upon the contents of this
e-mail is strictly prohibited.

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


Re: [Samba] Panic action ignored by winbind during crash

2003-06-06 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, 28 May 2003, Paul Eggleton wrote:

 Hi there,
 
 I am trying to debug a problem with winbind crashing, but the panic
 action I have set in smb.conf doesn't seem to be working. 

This is probably a bug then, but for the meantime just run 'winwbindd -i' 
in gdb.




cheers, jerry
 --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 You can never go home again, Oatman, but I guess you can shop there.  
--John Cusack - Grosse Point Blank (1997)

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE+4JQ/IR7qMdg1EfYRAsDGAKC5MO0j1DUBfror/7vWDdn5trUK5wCggt8z
DBhmqMqWWT2eVIrsHlEbPkI=
=f+We
-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] Accepting Time Server

2003-06-06 Thread Michael MacIsaac




If samba and xntpd are running, you're done!  Samba is a time server.

Setting the smb.conf parameter time server = yes will cause Samba to
advertise itself as a time server in the browse list through nmbd.
Regardless of this setting, clients can still set their time with the net
time command.

  -Mike MacIsaac, IBM  mikemac at us.ibm.com   (845) 433-7061



SoloCDM [EMAIL PROTECTED]@lists.samba.org on 06/06/2003 01:04:52 AM

Please respond to [EMAIL PROTECTED]; Please respond to [EMAIL PROTECTED]

Sent by:[EMAIL PROTECTED]


To:Samba (Request) [EMAIL PROTECTED]
cc:
Subject:[Samba] Accepting Time Server



How do I configure Samba 2.2.7a to act as a time server in Mandrake
8.0 for the Microsoft workstations?  I know about ntpd and how
it's configured.

--
Note: When you reply to this message, please include the mailing
  list address and my email address in To: and/or Cc: with
  any proper combination

*
Signed,
SoloCDM
--
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


RE: [Samba] Firewall samba

2003-06-06 Thread Greg Hirsch

Unless I'm forgetting something, you should just need to open up your firewall for UDP 
on ports 135, 137, and 138, and TCP on ports 135, 139, and 445.  That might even be 
overkill for your setup - you might not need 445 open.

Greg Hirsch
Product Support/IT Specialist
LOGICARE Corporation
(800) 848-0099

-Original Message-
From: Allison Cooney [mailto:[EMAIL PROTECTED]
Subject: [Samba] Firewall  samba


Hi

Just wondering if anyone could help with regarding the following.  I have a
number of Linux servers within an NT domain and I can access all of them.
But I have a linux server behind our (raptor) firewall - samba has been
configured on it and appears to be running.  What I want to know is how do I
access it from the NT domain.  I know I will have to make some changes on
the firewall - but how do I get to see it through the NT domain.  I can ping
the server.
Any one got any suggestions?


Allison Cooney
Tel: Office: 01 - 6799933
   Direct: 01 - 6752213
   Mobile: 087 - 2365032




This e-mail transmission may contain confidential information that is
intended for the individual or entity named on the e-mail address. If you
are not the intended recipient, please reply to the sender  so that Quest
Computing Ltd can arrange for the proper delivery, and then please delete
the message from your inbox.
 
If you have received this e-mail in error, you are hereby notified that any
disclosure, copying, distribution, or reliance upon the contents of this
e-mail is strictly prohibited.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Your application

2003-06-06 Thread bainger.fleur
This mail is probably spam.  The original message has been attached
along with this report, so you can recognize or block similar unwanted
mail in future.  See http://spamassassin.org/tag/ for more details.

Content preview:  This is a multipart message in MIME format Please see
  the attached file. [...] 

Content analysis details:   (6.90 points, 5 required)
NO_REAL_NAME   (0.8 points)  From: does not include a real name
RAZOR2_CHECK   (2.1 points)  Listed in Razor2, see http://razor.sf.net/
FORGED_MUA_OUTLOOK (3.5 points)  Forged mail pretending to be from MS Outlook
MISSING_MIMEOLE(0.5 points)  Message has X-MSMail-Priority, but no X-MimeOLE

The original message did not contain plain text, and may be unsafe to
open with some email clients; in particular, it may contain a virus,
or confirm that your address can receive spam.  If you wish to view
it, it may be safer to save it to a file and open it with an editor.

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

[Samba] (no subject)

2003-06-06 Thread Daniel Paul
Hello,

I have a problem regarding samba-3.0 (alpha24 on RedHat 9) and Windows XP
professional clients.
Samba is in PDC mode with LDAP backend. All other windows clients (incl.
2000) working properly.
I can join the domain with XP client successfully (says welcome to
domain), but when I try to
log into domain it says The computer can not log you on now, because the
domain is currently
unavailable.

Another (but not as big) problem is about primary groups of users. They are
recognized correctly
by Linux (coming from LDAP) but not from Samba or Windows. I created correct
group mappings via
net groupmap but the 2000 user manager still shows the wrong primary group.
If I try to change
it from user manager it seems that everything is working, but if I list
primary groups again
(after closing user manager) nothing has happened.
LDAP entries have the correct sambaPrimaryGroupSID entries with correct
algorithm used
(RID=1000+2*uid or RID=1001+2*gid).


Any help would be very appreciated.

Bye

Daniel Paul

e-Mail: paul-at-versicherungsforen.net

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


RE: [Samba] Making winbindd and pam_mount play nice together

2003-06-06 Thread Bradley Wendelboe
I've gotten winbind and pam_mount to play nice, only to run into a bug in
glibc that hangs the smbmount...

http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=82820

From the author of pam_mount:

I did find some behavior in pam_mount that was non-conducive to local
accounts.  
That is now fixed in pam_mount 0.9.2, available at http://www.flyn.org.  Go
get it.

More importantly, service configuration files in /etc/pam.d must be
configured in a special way to support mixed local and non-local accounts.
After you get the new pam_mount. Model your configuration files after this:

.
authrequired/lib/security/pam_mount.so
authsufficient  /lib/security/pam_winbind.souse_first_pass
authrequired/lib/security/pam_unix.so   use_first_pass

I also added:
session   optional /lib/security/pam_mount.so use_first_pass
.

-Original Message-
From: jim feldman [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 02, 2003 9:59 PM
To: samba list
Subject: RE: [Samba] Making winbindd and pam_mount play nice together

Did you join the box to the domain
Did you set security to be domain and passwword to encrypted?
Is the AD server in mixed mode?
Are you configuring the right pam module for the login as per the FAQ?
Is wbinfo returning the users and groups? 

jim 

 

Date: Mon, 2 Jun 2003 11:07:04 +1000
From: John Simovic [EMAIL PROTECTED]
Subject: RE: [Samba] Making winbindd and pam_mount play nice together
(2ndtry)
To: Andrew Bartlett [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Message-ID:

[EMAIL PROTECTED]

Content-Type: text/plain; charset=windows-1252 

I have winbind working except it will not let me authenticate users against 
the
Active Directory. Thsi leads me to the conclusion that my PAM files are not
right. I have posted then here. PLease help me! 
-- 
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


Re: [Samba] Firewall samba

2003-06-06 Thread Tori Williamson
Well... it depends upon how you want your machines to see each other. Gregis
close. But you don't need 135 UDP or TCP 445. TCP 137  138 need to be
opened to allow the machines on the other side through.

But make sure that you ONLY open those ports for the machine to machine
traffic. And write a rule AFTER that rule that prevents any further traffic
on those ports.

.t

- Original Message -
From: Greg Hirsch [EMAIL PROTECTED]
To: Allison Cooney [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, June 06, 2003 6:43 AM
Subject: RE: [Samba] Firewall  samba



Unless I'm forgetting something, you should just need to open up your
firewall for UDP on ports 135, 137, and 138, and TCP on ports 135, 139, and
445.  That might even be overkill for your setup - you might not need 445
open.

Greg Hirsch
Product Support/IT Specialist
LOGICARE Corporation
(800) 848-0099

-Original Message-
From: Allison Cooney [mailto:[EMAIL PROTECTED]
Subject: [Samba] Firewall  samba


Hi

Just wondering if anyone could help with regarding the following.  I have a
number of Linux servers within an NT domain and I can access all of them.
But I have a linux server behind our (raptor) firewall - samba has been
configured on it and appears to be running.  What I want to know is how do I
access it from the NT domain.  I know I will have to make some changes on
the firewall - but how do I get to see it through the NT domain.  I can ping
the server.
Any one got any suggestions?


Allison Cooney
Tel: Office: 01 - 6799933
   Direct: 01 - 6752213
   Mobile: 087 - 2365032




This e-mail transmission may contain confidential information that is
intended for the individual or entity named on the e-mail address. If you
are not the intended recipient, please reply to the sender  so that Quest
Computing Ltd can arrange for the proper delivery, and then please delete
the message from your inbox.

If you have received this e-mail in error, you are hereby notified that any
disclosure, copying, distribution, or reliance upon the contents of this
e-mail is strictly prohibited.
--
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


Re: [Samba] name_query failed to find name when using broadcastaddress

2003-06-06 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, 4 Jun 2003, patti c. wrote:

 - Both XP and Linux are able to ping each other by ip and hostname
 - ifconfig on Linux shows 10.0.1.255 as the broadcast address, mask as
 255.255.255.0
 - ipconfig on XP shows NodeType = broadcast, subnet mask as
 255.255.255.0
 - smbclient -L fizzle is able to list shares, as well as connect to a
 share while on the Linux server
 - nmblookup -U 127.0.0.1 __SAMBA__ works fine, as does the same
 command with FIZZLEBOX
 - nbtstat -n on XP lists both STUDIO and FIZZLE
...
 - This is where it goes wrong: nmblookup -B 10.0.1.255 fizzlebox
 returns name_query failed to find name fizzlebox; same happens when
 querying with studio
 - nbtstat -A 10.0.1.201 on XP returns Host not found

Is a firewall on the linux box enabled?  You night also want 
to get a copy of ethereal (http://www.ethereal.com/) and look 
to see if any packets are being exchanged at all.




cheers, jerry
 --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 You can never go home again, Oatman, but I guess you can shop there.  
--John Cusack - Grosse Point Blank (1997)

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE+4KdgIR7qMdg1EfYRArE9AKCxeCPhJidOObStjHb0tUtVZdC4mwCfSrCL
Oo+YaSwvq5PSfLWrFF3eVQE=
=4gXV
-END PGP SIGNATURE-

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


[Samba] Q: Drives need remapped under Win2k against Solaris Sambaserver

2003-06-06 Thread Mike Shaw
Hello,

I'm running Samba 2.2.2 on a Solaris 7 machine and we are just now
deploying Win2K to our desktops.  We have discovered that on the Win2K
boxes that mapped Samba drives will need to be remapped after a user
logs out and logs back in.  I've done a google search and seen the
question listed before but no possible solutions or work-arounds were
listed.  Has anyone else seen this before?

TIA,

MIke 
---
Mike ShawVOICE: +1(317)306-3084
UNIX AdministratorFAX: +1(317)306-4253
Raytheon Technical Services
6125 E. 21st St., Indianapolis, IN  46219 USA
INET: [EMAIL PROTECTED]

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


[Samba] Authentication- WinXP, 98, 2k and ME clients

2003-06-06 Thread Alainna Wonders
Hello all,

I was wondering if anyone had any docs on authenticating windoze clients
to an SMB share. 

Thanks!

Alainna C. Wonders
Systems Analyst
Glenelg Country School
--
perl -e 'print $i=pack(c5, (41*2), sqrt(7056), (unpack(c,H)-2),
oct(115), 10);' - Anthony Placilla, Sun Microsystems

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


Re: [Samba] Where is te file 'ldapsam.so'?

2003-06-06 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 5 Jun 2003, Badia Tejedor Alvaro wrote:

 [2003/06/05 10:02:16, 0] smbd/server.c:main(741)
   smbd version 3.0alpha24-SuSE started.
   Copyright Andrew Tridgell and the Samba Team 1992-2003
 [2003/06/05 10:03:24, 0] lib/module.c:smb_load_module(40)
   Error loading module '/usr/lib/samba/pdb/ldapsam.so':
 /usr/lib/samba/pdb/ldapsam.so: cannot open shared object file: No such file or
 directory
 [2003/06/05 10:03:24, 0] passdb/pdb_interface.c:make_pdb_methods_name(448)
   No builtin nor plugin backend for ldapsam found
 [2003/06/05 10:03:24, 1] passdb/pdb_interface.c:make_pdb_context_list(529)
   Loading ldapsam:ldap://localhost failed!

How did you compile?  Was HAVE_LDAP defined in config.h?





cheers, jerry
 --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 You can never go home again, Oatman, but I guess you can shop there.  
--John Cusack - Grosse Point Blank (1997)

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE+4KfLIR7qMdg1EfYRAiwGAKDdSo8rbKe6zsLbDaoOpPHWIb8t0wCg5uWb
HQL1Tz3JaitdHnH+4PzWCKE=
=2+Ul
-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] 3.0 and 2.2 Delta

2003-06-06 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 3 Jun 2003, Dan Am wrote:

 Hi folks,
 trying to get up-to-date here. Anyone know of a concise 
 doc listing the main news (from an admin/user perspective) 
 of 3.0 to 2.2 

I'm assuming you mean from 2.2 - 3.0.  Will be in the release 
notes of the first beta due out shortly.





cheers, jerry
 --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 You can never go home again, Oatman, but I guess you can shop there.  
--John Cusack - Grosse Point Blank (1997)

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE+4KhdIR7qMdg1EfYRAo/nAKDTG5uu3ODp2sXrQTGdfA9taMwn6wCeOE1y
N2uMs+twe9+o4IsbjKFZL48=
=xvXa
-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] Samba Sage Line 50 Accounting

2003-06-06 Thread Louis Sabet
--On Friday, June 06, 2003 11:07:25 +0200 David Morel 
[EMAIL PROTECTED] wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Louis Sabet wrote:
| --On Thursday, June 05, 2003 15:33:01 + [EMAIL PROTECTED] wrote:
|
| On Thu, Jun 05, 2003 at 11:35:20AM +0100, Louis Sabet wrote:
|
| Hi all,
|
| Having a very specific problem here:
|
| I have a working RedHat9 server running Samba 2.2.7 (the release that
| comes  with RH9), acting as a PDC/File Server to around 15 WinXP Pro
| client  workstations.
|
| This all works nicely, apart from our accounting package, Sage Line 50,
| which depends on its data being stored on a network share.
|
| Previously, when the data was stored on a WinNT4 share, there was no
| problem, several users could concurrently connect into the database and
| work simultaneously.
|
| Now, using samba, this isn't possible. Sage will only allow one user to
| log  in and access the DB at any one time. As soon as that user logs
| out, the  next user can log in. This isn't normal Sage behaviour.
|
|
| Can you give the exact error message please. Also please upgrade to
| Samba 2.2.8a for security reasons.
|
| Jeremy.
|
|
| Hi Jeremy,
|
| Actually there is no error message, just odd behaviour.
|
|
Je pense que Jeremy faisait plus allusions aux logs qu'aux (incomplets,
cryptiques et inutiles) messages d'erreurs affiché sur le bureau des
clients. Montez le log level à 10 par exemple (ce qui fait beaucoup de
texte, mais bon...) et examinez le log d'un client sur le serveur avec
un tail -f /var/log/samba/nomduclient.log pendant que cette tentative de
connexion s'éternise. Il y a fort à parier que vous y trouverez des
informations utiles. Vous pouvez aussi examiner smbd.log pendant le
processus. peut-être qu'un log level 10 est un pu excessif... commencez
par 2 ou 3
D.Morel
It's a damn good thing I speak french... just about... :-)

Thanks David - I set the log level to 5, but didn't really see anything 
that helped - my log analysis skills were overcome by the sheer amount of 
information being thrown at me.

I have however managed to fix the problem anyway - discovered that Sage is 
actually based on Access databases, and having managed to fix some problems 
I've been having with .mdb/.ldb files have found a solution that works (I 
still need to do extensive testing, but it seems good so far) - for the 
list's reference, it's shown below:

[mobiles_sage]
   path = /home/netapps/mobiles_sage
   writeable = yes
   browseable = no
   create mask = 0777
   directory mask = 0777
   veto oplock files = /*.mdb/*.MDB/*.ldb/*.LDB
   locking = yes
   share modes = yes
Obviously isn't yet the most secure share in the world, but at least it 
works now!

Best Regards

L

--
Louis Sabet - IT Manager
http://www.mobiles.co.uk
http://www.gadgets.co.uk
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Multiply Domains with Samba

2003-06-06 Thread Geoff Stitt
Yes,

You can either use the include directive to include a configuration file
on the fly, based on the server name the client connects to.

e.g.  include = %L.conf

Better yet, and what works for me currently (not just theory) is to
runmultiple  smbd / nmbd processes on the same machine, a smbd and nmbd
parent process for each interface, whether real or aliased. 

You do this by specifying different configuration files in the startup
script. 

You configuration files will also need to specify different directories
for lock files. As far as the interfaces make sure you use the following
directives in each config file.

bind interfaces only = yes
interfaces = ethx
socket address = IP address of ethx

If you want to use the same password file, just point to the same one in
both configuration files. Backup your password files first...as always
;)

Cheers

On Thu, 2003-06-05 at 17:07, Fabricio Adorno wrote:
 I'd like to know if it's possible to have multiply domains in a single machine 
 running samba. Wich version is it available?
 
 Thanks for any suggestions.


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] Do we need WINS Replication?

2003-06-06 Thread Michael Smirnov
We have 2 segments of the corporate network,
which are connected by a unstable(~90% uptime) 2Mbps link.
This link cannot be made better.
So, we are to use 2 WINS servers(both Samba 2.2.8a) - one server in one segment.
However, if 2 clients register on 2 different WINS servers,
they can't mount network drives of each other.
I've tried to use the WINS servers as primary and secondary 
for all clients, so most of the time all clients register 
on the same server (primary).

However, if a Windows2000-based computer boots when the link is down
it registers on the WINS server, which can be connected to;
but doesn't return to the primary server when the link is up.

I know only one solution of it - use WINS replication,
but Samba 2.2.8a still doesn't support it.
Why - are any other solutions?

Probably the MS WINS replication protocol is hard to be reverse-engeneered,
but I'd like to use replication at least between 2 Samba's, no MS Windows!
I'm always ready to test such a thing!

Here are some bad solutions I found on the list archives:
1. Use Windows WINS servers in both segments. 
   (Pff, I hate to use Windows as a server!)
2. Use only one WINS server in both segments
   (What will happen when the link is down?!)




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


RE: OT: Mail rules (was: Re: [Samba] Auto-away replies)

2003-06-06 Thread David Brodbeck


 -Original Message-
 From: Matthew Stier [mailto:[EMAIL PROTECTED]

 If the recipient's email address is not listed in the To: or 
 Cc: lines of the
 message, don't reply.

Unfortunately Outlook doesn't offer this capability, as far as I know.

 A bit more considerate vacation program adds the condition:
 
 If I have sent a notice to this sender already, don't reply.

Outlook does this.  Each sender only gets one vacation message.

 Jonathan Johnson wrote:
 
  Unfortunately, many people set their MUA's 
 (Outlook/Express) mail rules
  filter to provide the vacation message, then leave it 
 running when they're
  gone. Others set the rule and close Outlook, then when they 
 get back from
  vacation and download all their messages everyone gets a 
 vacation message
  even thogh they're back.

If you're using Outlook with an Exchange server (which is the only valid
reason I can think of to ever use Outlook), the server sends the response,
not Outlook itself, so closing Outlook doesn't hurt anything.  It's
brain-dead, but not *that* brain-dead. ;)
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: RE: [Samba] Spam to the list, plus the Nigerian Scam

2003-06-06 Thread David Brodbeck


 -Original Message-
 From: Paul Eggleton [mailto:[EMAIL PROTECTED]

 The problem with this is a lot of spammers use false return 
 addresses or impersonate real addresses.

Yes.  This is highly annoying because bounce messages to those idiots stack
up in the mail queue of our mail gateway.

 Hopefully all unsolicited email will become illegal in enough 
 states in the US to result in a massive legal attack against spammers
shortly.

I don't see what this could possibly achieve.  Most of my spam these days
comes from China and South Korea.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] .doc opens in linux openoffice but not windows

2003-06-06 Thread Marco Scoffier
The error on the windows side when opening this particular shared
document in Word is speaks of the document path and name being wrong.

the Document name or path is not valid

even copying the document (linux side) to a simpler, short name has not
resolved the issue.

adding :
mangled case = no
mangled names = yes
default case = lower
case sensitive = no
preserve case = yes

to the smb.conf has not resolved the issue.

the document is particularly long, 30+ pages with lots of spreadsheets,
but openoffice opens it fine.

any pointers?

-- 
Marco

- End forwarded message -

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


Re: [Samba] Win XP logon issues

2003-06-06 Thread Jeffrey D. Means
I am still getting the error about the domain not being available.  
including logs and win event log...

--- samba.log at debug 10
[EMAIL PROTECTED] root]# cat /var/log/samba/samba.log
[2003/06/06 10:29:56, 3, pid=14390, effective(0, 2147483404), real(0, 
0)] lib/util.c:unix_clean_name(580)
 unix_clean_name [lib]
[2003/06/06 10:29:56, 3, pid=14390, effective(0, 2147483404), real(0, 
0)] smbd/trans2.c:call_trans2qfilepathinfo(1862)
 call_trans2qfilepathinfo lib level=1005 call=7 total_data=0
[2003/06/06 10:29:56, 3, pid=14390, effective(0, 2147483404), real(0, 
0)] smbd/process.c:process_smb(882)
 Transaction 2360 of length 76
[2003/06/06 10:29:56, 3, pid=14390, effective(0, 2147483404), real(0, 
0)] smbd/process.c:switch_message(676)
 switch message SMBtrans2 (pid 14390)
[2003/06/06 10:29:56, 3, pid=14390, effective(0, 2147483404), real(0, 
0)] smbd/sec_ctx.c:set_sec_ctx(288)
 setting sec ctx (0, 2147483404) - sec_ctx_stack_ndx = 0
[2003/06/06 10:29:56, 3, pid=14390, effective(0, 2147483404), real(0, 
0)] smbd/trans2.c:call_trans2qfilepathinfo(1765)
 call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1004
[2003/06/06 10:29:56, 3, pid=14390, effective(0, 2147483404), real(0, 
0)] lib/util.c:unix_clean_name(580)
 unix_clean_name [lib]
[2003/06/06 10:29:56, 3, pid=14390, effective(0, 2147483404), real(0, 
0)] lib/util.c:unix_clean_name(580)
 unix_clean_name [lib]
[2003/06/06 10:29:56, 3, pid=14390, effective(0, 2147483404), real(0, 
0)] smbd/trans2.c:call_trans2qfilepathinfo(1862)
 call_trans2qfilepathinfo lib level=1004 call=7 total_data=0
[2003/06/06 10:29:56, 3, pid=14390, effective(0, 2147483404), real(0, 
0)] smbd/process.c:process_smb(882)
 Transaction 2361 of length 76
[2003/06/06 10:29:56, 3, pid=14390, effective(0, 2147483404), real(0, 
0)] smbd/process.c:switch_message(676)
 switch message SMBtrans2 (pid 14390)
[2003/06/06 10:29:56, 3, pid=14390, effective(0, 2147483404), real(0, 
0)] smbd/sec_ctx.c:set_sec_ctx(288)
 setting sec ctx (0, 2147483404) - sec_ctx_stack_ndx = 0
[2003/06/06 10:29:56, 3, pid=14390, effective(0, 2147483404), real(0, 
0)] smbd/trans2.c:call_trans2qfilepathinfo(1765)
 call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2003/06/06 10:29:56, 3, pid=14390, effective(0, 2147483404), real(0, 
0)] lib/util.c:unix_clean_name(580)
 unix_clean_name [lib]
[2003/06/06 10:29:56, 3, pid=14390, effective(0, 2147483404), real(0, 
0)] lib/util.c:unix_clean_name(580)
 unix_clean_name [lib]
[2003/06/06 10:29:56, 3, pid=14390, effective(0, 2147483404), real(0, 
0)] smbd/trans2.c:call_trans2qfilepathinfo(1862)
 call_trans2qfilepathinfo lib level=1005 call=7 total_data=0
[2003/06/06 10:29:56, 3, pid=14390, effective(0, 2147483404), real(0, 
0)] smbd/process.c:process_smb(882)
 Transaction 2362 of length 76
[2003/06/06 10:29:56, 3, pid=14390, effective(0, 2147483404), real(0, 
0)] smbd/process.c:switch_message(676)
 switch message SMBtrans2 (pid 14390)
[2003/06/06 10:29:56, 3, pid=14390, effective(0, 2147483404), real(0, 
0)] smbd/sec_ctx.c:set_sec_ctx(288)
 setting sec ctx (0, 2147483404) - sec_ctx_stack_ndx = 0
[2003/06/06 10:29:56, 3, pid=14390, effective(0, 2147483404), real(0, 
0)] smbd/trans2.c:call_trans2qfilepathinfo(1765)
 call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1007
[2003/06/06 10:29:56, 3, pid=14390, effective(0, 2147483404), real(0, 
0)] lib/util.c:unix_clean_name(580)
 unix_clean_name [lib]
[2003/06/06 10:29:56, 3, pid=14390, effective(0, 2147483404), real(0, 
0)] lib/util.c:unix_clean_name(580)
 unix_clean_name [lib]
[2003/06/06 10:29:56, 3, pid=14390, effective(0, 2147483404), real(0, 
0)] smbd/trans2.c:call_trans2qfilepathinfo(1862)
 call_trans2qfilepathinfo lib level=1007 call=7 total_data=0
[2003/06/06 10:29:56, 3, pid=14390, effective(0, 2147483404), real(0, 
0)] smbd/process.c:process_smb(882)
 Transaction 2363 of length 188
[2003/06/06 10:29:56, 3, pid=14390, effective(0, 2147483404), real(0, 
0)] smbd/process.c:switch_message(676)
 switch message SMBntcreateX (pid 14390)
[2003/06/06 10:29:56, 3, pid=14390, effective(0, 2147483404), real(0, 
0)] smbd/sec_ctx.c:set_sec_ctx(288)
 setting sec ctx (0, 2147483404) - sec_ctx_stack_ndx = 0
[2003/06/06 10:29:56, 3, pid=14390, effective(0, 2147483404), real(0, 
0)] smbd/error.c:error_packet(113)
 error packet at smbd/nttrans.c(708) cmd=162 (SMBntcreateX) 
NT_STATUS_OBJECT_PATH_NOT_FOUND
[2003/06/06 10:29:56, 3, pid=14390, effective(0, 2147483404), real(0, 
0)] smbd/process.c:process_smb(882)
 Transaction 2364 of length 45
[2003/06/06 10:29:56, 3, pid=14390, effective(0, 2147483404), real(0, 
0)] smbd/process.c:switch_message(676)
 switch message SMBclose (pid 14390)
[2003/06/06 10:29:56, 3, pid=14390, effective(0, 2147483404), real(0, 
0)] smbd/sec_ctx.c:set_sec_ctx(288)
 setting sec ctx (0, 2147483404) - sec_ctx_stack_ndx = 0
[2003/06/06 10:29:56, 3, pid=14390, effective(0, 2147483404), real(0, 
0)] smbd/reply.c:reply_close(2395)
 close directory fnum=5564
[2003/06/06 10:29:56, 3, pid=14390, effective(0, 

Re: [Samba] Do we need WINS Replication?

2003-06-06 Thread Alceu R. de Freitas Jr.
What about having two samba boxes, one running as a
wins proxy and the other as wins server?

You could use a tool to check the link avaliability
(there are some of them already) with a tool, and when
the link is download, you can stop samba and restart
it with a different configuration file (and with this
file the server would be a wins server).

Hey, I never tried this. Is just an idea, and I don´t
know if it will work.

 --- Michael Smirnov [EMAIL PROTECTED] escreveu:  We
have 2 segments of the corporate network,
 which are connected by a unstable(~90% uptime) 2Mbps
 link.
 This link cannot be made better.
 So, we are to use 2 WINS servers(both Samba 2.2.8a)
 - one server in one segment.
 However, if 2 clients register on 2 different WINS
 servers,
 they can't mount network drives of each other.
 I've tried to use the WINS servers as primary and
 secondary 
 for all clients, so most of the time all clients
 register 
 on the same server (primary).
 
 However, if a Windows2000-based computer boots when
 the link is down
 it registers on the WINS server, which can be
 connected to;
 but doesn't return to the primary server when the
 link is up.
 
 I know only one solution of it - use WINS
 replication,
 but Samba 2.2.8a still doesn't support it.
 Why - are any other solutions?
 
 Probably the MS WINS replication protocol is hard to
 be reverse-engeneered,
 but I'd like to use replication at least between 2
 Samba's, no MS Windows!
 I'm always ready to test such a thing!
 
 Here are some bad solutions I found on the list
 archives:
 1. Use Windows WINS servers in both segments. 
(Pff, I hate to use Windows as a server!)
 2. Use only one WINS server in both segments
(What will happen when the link is down?!)
 
 
 
 
 -- 
 To unsubscribe from this list go to the following
 URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba

___
Yahoo! Mail
Mais espaço, mais segurança e gratuito: caixa postal de 6MB, antivírus, proteção 
contra spam.
http://br.mail.yahoo.com/
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] stability

2003-06-06 Thread D. Rick Anderson
I'm having problems when I restart the smb server with it not coming back
up. As near as I can tell it's actually NMBD that's having the issue. I'm
running RedHat 9.0 on a Compaq ML-370 with Dual 1.2GHz P3s and I just
upgraded Samba to 2.2.8a-1 after having this same problem with 2.2.7a

When I issue:
#service smb restart

It says that it shut down and restarted ok, but then nobody can logon to
the domain, so I issue it again and it tells me that it couldn't kill
nmbd, but then it starts it OK, and I can get everyone on.

There's also been a few times where it just stopped accepting logons,
after accepting them for most of the day, so I restart it, and it tells me
then that it couldn't kill nmbd either.

testparm doesn't find anything wrong with my config. Does anybody know of
a way to stabalize this?

Thanks,

Rick



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


[Samba] Machine Startup Shutdown Scripts

2003-06-06 Thread ganapathy murali krishnan
[ Read the recent posts to
SUMMARY: [Samba] Samba asPDC with WinXP Clients - headache thread
first. Changed the subject line so this becomes a new thread.]
 Each machine is populated with a local startup and shutdown
 scripts, and the local Group Policy is modified to activate this.


 Where do I find these settings in gpedit.msc?
Modifying local group policy

+ \Windows\System32\GroupPolicy\Machine\Scripts has the scripts
  in appropriate directory.
+ Put a copy of the script in \Windows\\Scripts\Startup
+ gpedit.msc - Local Computer Policy - Computer Configuration
 - Windows Settings - Scripts (Startup/Shutdown) - SOMETHING
+ The scripts directory may not exist unless you run gpedit.msc
  and navigate to above mentioned page.
How do you mount IPC$ as non-priveleged user if the script runs as SYSTEM?

See the script.

 localstartup -
@echo off
rem -- Get network privileges by posing as nobody
net use \\sambaserver\IPC$ password /USER:sambdaserver\guestuser
rem -- mount the netlogon share
net use S: \\sambaserver\netlogon password /USER:sambaserver\guestuser
rem -- and execute the script
call S:\startup.cmd
rem -- Change directory to local drive
%SYSTEMDRIVE%
rem -- unmount all network drives
net use S: /D /YES
net use * /D /YES
--- end of script -
Same script with obvious changes becomes the shutdown script.

Is there a place where one can put Windows scripts useful to
samba administrators? If there isn't any some one should set it up.
Basically a contrib directory, which may/may not ship with Samba,
but these are windows scripts written with console based automation
in mind.
3. Clear all windows print queues (through a VBScript)
Could you send me a copy of this function?
 lprm.vbs 
Set objWMIService = GetObject(winmgmts: _
 {impersonationLevel=impersonate}!\\.\root\cimv2)
Set colInstalledPrinters =  objWMIService.ExecQuery _
(Select * from Win32_Printer)
For Each objPrinter in colInstalledPrinters
objPrinter.CancelAllJobs()
Wscript.Echo Name:   objPrinter.Name
Next
--- end of script --
This should work. Not tested it yet.

One can use the WMIService to get lots of information. Most of the
/proc stuff is accessible through WMI. Just need to know what classes
they are called. All the pieces of info you mentioned is accessible
using the WMI interface. So all you need to do is to write a VBScript
or a Python Script to gather the info.
 I would like to add the systeminformation which you can find in
 Linux under /proc eg. CPU Type, RAM, NICs MAC address etc into my LDAP
 and let it update itself

I do not know enough about how group policies work. 
It is one file called gpedit.msc, which sits in some folder under 
C:\WINDOWS. It will get updated on startup and every 90mins (Default) 
There are reg keys to set this behavior. I found something on the web, 
telling if you just substitute the file and restart, it will get loaded 
on restart. so that would be something for the shutdown script to do.

Which registry key is that? Is there any other way to force a reread of
gpedit.msc? Something along the lines of
rundll32.exe somedll,somefunction

If we can figure out which dll has the code for rereading the gpedit.msc
it would be great.
- Murali

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


Re: [Samba] stability

2003-06-06 Thread Dan Shadix
Are you sure that all of the nmbd processes are actually stopping the first time you 
issue the command.  I had to change the killproc command to killall on one system so 
that nmbd would actually be completely stopped.

Dan

-- Original Message --
From: D. Rick Anderson [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date:  Fri, 6 Jun 2003 10:58:33 -0700 (PDT)

I'm having problems when I restart the smb server with it not coming back
up. As near as I can tell it's actually NMBD that's having the issue. I'm
running RedHat 9.0 on a Compaq ML-370 with Dual 1.2GHz P3s and I just
upgraded Samba to 2.2.8a-1 after having this same problem with 2.2.7a

When I issue:
#service smb restart

It says that it shut down and restarted ok, but then nobody can logon to
the domain, so I issue it again and it tells me that it couldn't kill
nmbd, but then it starts it OK, and I can get everyone on.

There's also been a few times where it just stopped accepting logons,
after accepting them for most of the day, so I restart it, and it tells me
then that it couldn't kill nmbd either.

testparm doesn't find anything wrong with my config. Does anybody know of
a way to stabalize this?

Thanks,

Rick



-- 
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] PDC error

2003-06-06 Thread Karl Banasky
Hello.  I am looking to setup a domain server.  i have tried and tried.  This is the 
closest I have gotten so far. I am getting an error that I need some help with.

I am running Caldera 3.1.1 
I compiled samba with the makerpms for Caldera (I pray this will always work; as for 
the build with I have no Idea)

My log for the client give this error:

[2003/06/05 15:35:35, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(670)
  api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO.
[2003/06/05 15:35:35, 0] passdb/pdb_smbpasswd.c:pdb_getsampwrid(1418)
  unable to open passdb database.

Any Ideas?  If there is any info you need please let me know.  
And SAMBA rock!
Thanks.
   
Karl Banasky
Email [EMAIL PROTECTED]
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Samba3 Testing

2003-06-06 Thread Brandon Lederer
I am trying to test Samba3 in our environment.  I used to use smbpasswd -j
domain to join the machine to the domain.  Now I need to do net join
something, but I am having difficulty figuring out what exactly I need to do
to make it work.

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


[Samba] Multiply Domains with Samba

2003-06-06 Thread Fabricio Adorno
Thanks for the hints.

I've just implemented the second way you've mentioned. It work's (not as I 
wanted), but I think there's a small problem. When you use bind interfaces 
only = yes you have to set up what interfaces you would like to bind. So, 
you must set loopback interface in interfaces settings (like interfaces = 
ethx lo) to permit smbpasswd to connect to the server using its default mode 
in order to change a password. But, using several samba configuration files, 
you have to set loopback interfaces in each of them, but the adress cannot be 
the same (like lo:1 or 127.0.0.2). I thought about set up virtual loopbacks 
interfaces, but I'm not sure if it works. What have you done about it?

Sincerely yours


On Friday 06 June 2003 11:52, you wrote:
 Yes,

 You can either use the include directive to include a configuration file
 on the fly, based on the server name the client connects to.

 e.g.  include = %L.conf

 Better yet, and what works for me currently (not just theory) is to
 runmultiple  smbd / nmbd processes on the same machine, a smbd and nmbd
 parent process for each interface, whether real or aliased.

 You do this by specifying different configuration files in the startup
 script.

 You configuration files will also need to specify different directories
 for lock files. As far as the interfaces make sure you use the following
 directives in each config file.

 bind interfaces only = yes
 interfaces = ethx
 socket address = IP address of ethx

 If you want to use the same password file, just point to the same one in
 both configuration files. Backup your password files first...as always
 ;)

 Cheers

 On Thu, 2003-06-05 at 17:07, Fabricio Adorno wrote:
  I'd like to know if it's possible to have multiply domains in a single
  machine running samba. Wich version is it available?
 
  Thanks for any suggestions.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


  1   2   3   >