Re: [Samba] Novell vs Linux.

2002-09-17 Thread Frank Matthieß

Montag den 16.09.2002 um 19:13 CEST  +0200, schrieb Ed Kasky:
 At 12:35 PM Monday, 9/16/2002, Trevor Fraser wrote -=
 experience.  I was approached with the question of why should a company
 consider changing from Novel to Linux, but due to the fact of knowing 
 little
 about Novel, I could only mention the pros of Linux, and therefore an
 incomplete answer.  I would appreciate brief advantages of Linux over 
 Novel.
 
 
 I have a somewhat heterogeneous environment here and utilize both.  I have 
 no windows servers.
 
 I use my linux box as an email server, a list server, an ftp server.  I got 
 my CNE before I started to learn linux and as a result,  we use one Novel 
 machine as a firewall and web cache with BorderManager.  One other serves 
 as the main file and print server.
 
 As I see it, the one major advantage for us with Novell is NDS.  We use it 
 fairly extensively to handle rights to network resources.

Samba is capable to authenicate against a ldap v3 server. For this ldap
version exist inside the samba source a samba.schema file.

Last Saturday, Volker Lendecke ([EMAIL PROTECTED])  was ask this question,
and he said: If there is no Problem with the ldap implementation of the
nds, there is no reason for samba not to authenticate against nds via
ldap, using the samba.schema.

But he very intrested for a succes story of that kind of installation.

BTW: Also the linux boxes are able to authenticate against ldap via
nss_ldap and pam_ldap.
(http://www.padl.com/Contents/OpenSourceSoftware.html)

So you are able to manage your network completely with ldap/nds.
-- 
Frank Matthieß  [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] domain users' permissions

2002-09-17 Thread Frank Matthieß

Montag den 16.09.2002 um 20:47 CEST  +0200, schrieb Greg K:
 Hello Samba users...
 
 I am new to the samba list, so if this question has
 been solved before, I apologize,  would someone be
 kind enough to direct me to the location of an answer?
 
 I am using Samba 2.2.5 on RedHat 7.3. I have it setup
 as PDC on Win98 network. When a user logs into the
 domain, authentication works fine and the login script
 executes properly, however, everything else the user
 tries to do after login is done as user nobody (guest
 account). guest only is set to no. guest ok is set to
 yes on all shares.


You have to make sure that a unix account and a smbpasswd account with
the _same_ name is setup correctly, or setup a map user table, which
do a translation between WindowUserName and UnixUserName.

Than, insiede the share definition, do not use force user.

If this isn't the solution, you have to make your samba verbose to the
syslog or logfiles, and check for a complete authentication with a w9x
client.

It is very helpful, if you check your setup with testparm and
validate this values against man smb.conf. It takes a little bit of
time, but you get an idea, how samba can setup. The testparm check the
whole smb.conf _and_ write _all_ variables to stdout, not only the
configure in the conf file, also those, which are setup via internal
default.

-- 
Frank Matthieß  [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] 2.2.5/PDC Problem - Part 2

2002-09-17 Thread Frank Matthieß

Dienstag den 17.09.2002 um  0:38 CEST  +0200, schrieb Steve Dannaway:
 Problem 1 solved: Root logged in without a hitch
 
 Problem 2 now exists
 Now matter what I try, I cannot get a normal user account to log in.  I've
 added the accounts in smbpasswd and passwd and still cannot log into the
 domain.  

Have you try it to login as unix user?

 
 Is there a special group that I need to create in /etc and a similar mapping
 in my username map?  Could the files be locked to root and not be open to
 other logins?  

If the file which are requested by user b from samba, and the unix
permissions are not setup correctly, this will fail.

 
 It's Samba 2.2.6pre2 on RH7.3.  I don't think the log is necessary here,
 because I still haven't got users setup properly - if it's needed, I'll post
 it in the morning.

Hope you get the right direction to solve your problem.

-- 
Frank Matthieß  [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] MS-Access Application very slow

2002-09-17 Thread Frank Matthieß

Dienstag den 17.09.2002 um  0:57 CEST  +0200, schrieb Martin Schmidt:
 Hi,
 
 I changed the NT-Server to Samba about one year before, and everything worked 
 fine. I did this, because I frequently need remote access to the server via 
 ISDn-line and do not want to wait for Win-Stuff beiing transmitted before I 
 can start working.
 
 There are several MS-Access-Databases on the server, used by one or more 
 users without problems.
 
 But now they bought an application programmed with MS-Tools with MS-Access 
 Database (Sorry, I could not prevent).
 This thing works quite o.k., when the files are placed on a share of win98 
 client, but most operations take up to ten times as much time when the files 
 are placed on the samba ( SuSE-Linux 7.1, Samba 2.2.5 - freshly installed ).
 The server has a bit elder processor ( PIII 600 MHz with 256 MB RAM, SCSI 
 system with a 9 GB and a new 18 GB HD, the MS-access-files single on the new 
 drive), in the kde-tool, the CPU does not seem to be very busy, there ist a 
 lot of memory used for caching, no use of the swap-partitions.
 
 The clients are all win98, Intel P4 1200MHz, 256 MB RAM.
 
 
 If I do an ftp-download from the server to any win-client, I get 8300KBit/s 
 data throughput, a simple copy with the MS-explorer also goes well (It does 
 not show how fast it is running, but the time seems to be o.k.) .
 
 Has anyone an idea, where I could look for ?


man smb.conf

kernel oplocks
blocking locks
fake oplocks
level2 oplocks
oplocks
locking


Check it with smbstatus, if they acces to this files.

Please, let us know, how to solve this problem.

-- 
Frank Matthieß  [EMAIL PROTECTED]

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



[Samba] Getent passwd (WAS Winbind breaking my head)

2002-09-17 Thread Ash Green
Title: Getent passwd (WAS Winbind breaking my head)






Thanks to the archive of this list, I've managed to work out that everythings working on my winbind installation, but getent passwd  getent group do NOT return the Domain entries, although wbinfo -u and -g work fine. All copies of smb.conf etc posted yesterday … anyone any ideas?

Ta


Ash


/De-lurk

Ash Green District Explorer Scout Commissioner (and ADC VS) Ormskirk and District

(I'd get a life ... if I could find where to download one)

[EMAIL PROTECTED]

Lurk mode on 






[Samba] Cannot change password!!!

2002-09-17 Thread Elliot

Hi guys.. I need your help.


I have managed to setup samba as a pdc for my  windows clients to
connect to it.. They are all using w2k proffesional.it seems that i
cannot change my password from my w2k professional client when using
samba as a pdc 

 can anyone pls help me?? 

it keeps saying that old password is wrong .. when if fact it is not.
This Is my smb.conf .. I am running samba 2.2.5 with linux mandrake 8.2



[global]
path = /home
log file = /var/log/samba-log.
domain master = yes
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s
/bin/false -M %$
encrypt passwords = yes
logon path = \\%L\profiles\%U
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192
max log size = 50
hosts allow = 192.168.1.
preferred master = yes
logon script = netlogon.bat
smb passwd file = /usr/local/samba/private/smbpasswd
passwd chat = *new password*%n\n *new password*%n\n *changed*
passwd chat debug = false
passwd program = /usr/bin/passwd %u
unix password sync = true
null passwords = yes
security = user
domain logons = yes
log level = 2
workgroup = domain_sg
server string = Samba PDC running %v
local master = yes
netbios name = aries
logon drive = H:
os level = 33
logon home = \\%L\%U/.profile





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



[Samba] samba latest release

2002-09-17 Thread anton

hello, everyone
  there is anybody can help me, what is the address of the samba lastest 
release
samba 3.0
samba 2.2.x
because i wanna upgrade my current samba server 2.2.3a


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



[Samba] looping logins

2002-09-17 Thread Phil Chambers

I have a VERY worrying situation.  This is all SAMBA_2_2_5 with ldap.  I have a 
SAMBA PDC with several SAMBA servers and loads of WindowsXP workstations.  The SAMBA 
servers and XP Pcs are all joined into the PDC domain.  Logging on the PDC is 
/%m.log so that I get a log for each PC.

When I look at the cpu usage on the PDC system one process is continuouly using 25%. 
If I set debug level 10 there is continuous output to one PC's log file.  I am not 
good at working out what exectly is happening but it appears that there are repeated 
login attempts for one user from that PC (in any event, SAMBA keeps looking up the 
user's ldap entry, successfully). I look at the PC and it is sitting on the XP login 
window waiting to be given a username and password.  If I re-boot the PC the problem 
moves to another PC which is just sitting on the XP login window. The same username 
all the time, though it is now a different unix process ID.

I can't start to imagine what is going on.  Help please.

Phil.
---
Phil Chambers ([EMAIL PROTECTED])
University of Exeter

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



Re: [Samba] samba latest release

2002-09-17 Thread Jelmer Vernooij

On Tue, Sep 17, 2002 at 04:31:56PM +0700, anton wrote:
 hello, everyone
  there is anybody can help me, what is the address of the samba lastest 
 release
 samba 3.0
 samba 2.2.x
 because i wanna upgrade my current samba server 2.2.3a
The latest stable release is samba 2.2.5 (2.2.6 will be coming out 
in a few days jerry said iirc)

The latest alpha is 3.0alpha19

http://samba.org/samba/download.html

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



[Samba] more than one wins server

2002-09-17 Thread Stephan Pfeiffer

Hi,

how can i add more than one wins server in the smb.conf file? wins server =
server1, server2 does not work. also wins server = server1 server 2 not work.
only one entry works :(

help?

regards..
-- 
STEPHAN PFEIFFER

ICQ: 39844459 (Home)
 39064604 (Work)

http://www.synopex.de/
mailto:[EMAIL PROTECTED]


*** Linux is like a wigwam...  ***
no windows, no gates and apache inside!

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



Re: [Samba] more than one wins server

2002-09-17 Thread Yura Pismerov



Stephan Pfeiffer wrote:
 
 Hi,
 
 how can i add more than one wins server in the smb.conf file? wins server =
 server1, server2 does not work. also wins server = server1 server 2 not work.
 only one entry works :(


man smb.conf
Samba does not support (yet) multiple WINS servers.

 
 help?
 
 regards..
 --
 STEPHAN PFEIFFER
 
 ICQ: 39844459 (Home)
  39064604 (Work)
 
 http://www.synopex.de/
 mailto:[EMAIL PROTECTED]
 
 *** Linux is like a wigwam...  ***
 no windows, no gates and apache inside!
 
 --
 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 latest release

2002-09-17 Thread Mac

To: anton [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [Samba] samba latest release

 because i wanna upgrade my current samba server 2.2.3a

The latest stable release is samba 2.2.5 (2.2.6 will be coming out 
in a few days jerry said iirc)


If you choose 2.2.5, then make sure you also add the patches at:-

  http://download.samba.org/samba/ftp/patches/jerry/post-2.2.5/


   Mac
  Assistant Systems Adminstrator @nibsc.ac.uk
[EMAIL PROTECTED]
   Work: +44 1707 641000 x285  Everything else: +44 7956 237670 (anytime)
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] domain group map

2002-09-17 Thread Yura Pismerov


I think you should wait for 3.0 release.

Dominic Deferia wrote:
 
 hi,
 
 Does the domain group map, domain user map and local group map work in samba
 2.2.5 version. when i added this option in smb.conf global and did a
 testparm i get an error of
 
 Load smb config files from /usr/local/samba/lib/smb.conf
 
 Unknown parameter encountered: domain user map
 Ignoring unknown parameter domain user map
 Unknown parameter encountered: domain group map
 Ignoring unknown parameter domain group map
 
 My smb.conf contains this in global
 
  domain user map = /usr/local/samba/lib/domainuser.map
  domain group map = /usr/local/samba/lib/domaingroup.map
 
 I look at man smb.conf and this 3 parameters are not included. Any help is
 appreciated. Thanks.
 
 --
 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] more than one wins server

2002-09-17 Thread abartlet

On Tue, Sep 17, 2002 at 06:21:21AM -0400, Yura Pismerov wrote:
 
 
 Stephan Pfeiffer wrote:
  
  Hi,
  
  how can i add more than one wins server in the smb.conf file? wins server =
  server1, server2 does not work. also wins server = server1 server 2 not work.
  only one entry works :(
 
 
   man smb.conf
   Samba does not support (yet) multiple WINS servers.

Support for this has been added to Samba HEAD and will be in Samba 3.0

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



Re: [Samba] samba latest release

2002-09-17 Thread anton




Mac wrote:

  
To: anton [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [Samba] samba latest release



  because i wanna upgrade my current samba server 2.2.3a

  

The latest stable release is samba 2.2.5 (2.2.6 will be coming out 
in a few days jerry said iirc)

  
  thank's a lot,but this "few day" for 2.2.6 mean around this week or this month, because i 'am in hurry



  

If you choose 2.2.5, then make sure you also add the patches at:-

  http://download.samba.org/samba/ftp/patches/jerry/post-2.2.5/


   Mac
  Assistant Systems Adminstrator @nibsc.ac.uk
[EMAIL PROTECTED]
   Work: +44 1707 641000 x285  Everything else: +44 7956 237670 (anytime)
  







RE: [Samba] samba latest release

2002-09-17 Thread Kovar Jan

 If you choose 2.2.5, then make sure you also add the patches at:-
 
   http://download.samba.org/samba/ftp/patches/jerry/post-2.2.5/


How do I apply those patches to binary samba installation from rpm?
(Redhat 7.3, 2.4.18-10)

Thanks

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



[Samba] Samba 2.2.0 error on AIX 4.3.3

2002-09-17 Thread Robin Smith


Hi

Can anyone help with the following error message please? If you do not use
AIX have you seen anything similar on other OS?


We are getting the following error message on Samaba 2.2.0 on AIX 4.3.3:-


lib/debug check_log.size (437)

File/var/samba/log.smbd failed - using console

write_socket_data: write failure. Error = Broken Pipe

 

Can you help please?

 

Robin Smith
Reflex Data Systems Ltd
[EMAIL PROTECTED] 
 




CONFIDENTIALITY NOTICE
This email and any attachments should be read only by those persons to whom 
they are addressed. The information or views expressed therein are those of
the
individual sender and not 'Reflex Data Systems' No responsibility is 
accepted by 'Reflex Data Systems' for any loss or damage incurred through
use of this 
email.  Any form of reproduction, dissemination, copying, disclosure,
modification,
distribution and/or publication of this email is strictly prohibited. If 
you received this message in error, please immediately notify us by sending 
email to [EMAIL PROTECTED]


Reflex Data Systems Ltd. Reflex House, Tokenspire Business Park, Beverley,
East Yorkshire, HU17 0TB 
Tel:+44 (0) 1482 881152,   Fax:   +44 (0) 1482 881195   e-mail:
[EMAIL PROTECTED]   Co. Reg. 2767946


CONFIDENTIALITY NOTICE
This email and any attachments should be read only by those persons to whom 
they are addressed. The information or views expressed therein are those of the
individual sender and not 'Reflex Data Systems' No responsibility is 
accepted by 'Reflex Data Systems' for any loss or damage incurred through use of this 
email.  Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and/or publication of this email is strictly prohibited. If 
you received this message in error, please immediately notify us by sending 
email to [EMAIL PROTECTED]


Reflex Data Systems Ltd. Reflex House, Tokenspire Business Park, Beverley, East 
Yorkshire, HU17 0TB 
Tel:+44 (0) 1482 881152,   Fax:   +44 (0) 1482 881195   e-mail:  
[EMAIL PROTECTED]   Co. Reg. 2767946
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Samba 2.2.0 error on AIX 4.3.3

2002-09-17 Thread Frank Matthieß

Dienstag den 17.09.2002 um 13:08 CEST  +0200, schrieb Robin Smith:
 
 Hi
 
 Can anyone help with the following error message please? If you do not use
 AIX have you seen anything similar on other OS?
 
 
 We are getting the following error message on Samaba 2.2.0 on AIX 4.3.3:-

Why you don't use an actual samba release?

 
 
 lib/debug check_log.size (437)
 
 File/var/samba/log.smbd failed - using console

I'm not very famliar with aix, but should the path /var/log/samba/...?
Do the dir /var/log/samba exist?

 
 write_socket_data: write failure. Error = Broken Pipe
 
  
 
 Can you help please?
 
  
 
 Robin Smith
 Reflex Data Systems Ltd
 [EMAIL PROTECTED] 

 CONFIDENTIALITY NOTICE

No comment for this 'notice'...
Twice.

-- 
Frank Matthieß  [EMAIL PROTECTED]

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



[Samba] ÄúºÃ£¡

2002-09-17 Thread houshen2


Ç×°®µÄÐÂÀÏ¿Í»§£º

ÄúºÃ£¬ÎÒ¹«Ë¾ÓŻݲúÆ·ÒѽøÈë×îºóµ¹Êý30Ì죬30Ììºó¼Û¸ñ½«Éϵ÷£¬Óû¹º´ÓËÙ£º

 1¡¢200M£¨´¿HTML¿Õ¼ä£©+ ËÍÒ»¹ú¼ÊÓòÃû£¬½öÊÛ150Ôª/Äê
 
 2¡¢60M¿Õ¼ä+60MÆóÒµÓÊ¾Ö + Ö§³ÖASP£¬CGI + ËÍÒ»¹ú¼ÊÓòÃû£¬½öÊÛ236Ôª/Äê
   
 3¡¢100MP¿Õ¼ä+100MÆóÒµÓÊ¾Ö + Ö§³ÖASP£¬CGI£¬ACCESS + ËÍÒ»¹ú¼ÊÓòÃû£¬½öÊÛ336Ôª/Äê 
   
¸ü¶à¿Õ¼ä×éºÏ£¬¸ü¶àÑ¡Ôñ--Çëµã»÷ÎÒÃǵÄÍøÕ¾ http://www.88dns.com/Á˽âÏêÇé.

ÎÒ¹«Ë¾ÊÇÒ»¼ÒרÃÅÖÂÁ¦ÓÚ¸ßÐÂÍøÂç¼¼ÊõµÄ¹«Ë¾£¬ÓÐ×ŶàÄêµÄ¾­Ñ飬ÔÚ×öÐéÄâÖ÷»ú·½ÃæÎÒÃÇ
ÓÐמø¶ÔµÄÓÅÊÆ£º

¢ÙÖ÷»ú100MµÄ¿í´ø½ÓÈë(Íøͨ¿í´øÔÚÏÃÃŵÄÖն˽ÓÈëÊÇÓÉÎÒ˾´úÀíµÄ)£»
¢ÚÓµÓÐÒ»Åú¸ß¼¶µÄÍøÂç¹ÜÀíÈËÔ±£¬Ö÷»úÓÉÎÒÃÇ×Ô¼ºÑϸñ¹ÜÀí£»
¢Û¶ÔËùÓеÄÍøÕ¾ÄÚÈÝÎÒÃǶ¼½øÐб¸·Ý£¬²¢½øÐÐʵʱ¼à¿Ø±£Ö¤ÁËÆäÎȶ¨ÐÔ£»

ÁíÄúÈçÐëÎÒÃÇ°ïÄú×öÍøÒ³ÇëÁªÏµE-mail:[EMAIL PROTECTED]  ,»òQQ£º40327558

 лл!
×£ÄúÂíÄ꼪Ïé¡¢ºÃÔËÌìÌìÓС¢ÐÒÔ˳£°éËæ!!!
 
¡¡Ó¯Í¨Ô¶º½¿Æ¼¼






































































































































































































































































































































































































---
·ÐµãȺ·¢Óʼþ,À´×ÔÈí¼þ¹¤³Ìר¼ÒÍø(http://www.21cmm.com)

½øCMMÍøУ(http://www.21cmm.com)£¬³ÉÏîÄ¿¹ÜÀíר¼Ò
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] vorkomg on vmware virtual machine

2002-09-17 Thread cferent

Hello samba,

  Do know a isue about Samba not working well an a vmware virtual
  machine running on a Windows200 Server as host OS
  Even if saw my virtual linux machine in Network Neighborhood i can't
  acces it, I keep get an error message about not the network path been
  invalid

-- 
Best regards,
 cferent  mailto:[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 latest release

2002-09-17 Thread Bradley W. Langhorst

On Tue, 2002-09-17 at 06:47, Kovar Jan wrote:
  If you choose 2.2.5, then make sure you also add the patches at:-
  
http://download.samba.org/samba/ftp/patches/jerry/post-2.2.5/
 
 
 How do I apply those patches to binary samba installation from rpm?
 (Redhat 7.3, 2.4.18-10)
you don't
you should download the source ball from samba and use their tools
to build new rpms (look in the packaging subdir)

brad

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



Re: [Samba] smbclient return status from shellscript?

2002-09-17 Thread Frank Matthieß

Dienstag den 17.09.2002 um 15:38 CEST  +0200, schrieb Palmer Magnus:
 Hi,
 
 I hope this is the correct mailinglist for my question.
 
 I've made a script that sends a file to a NT shared folder.
 As long as I make a successfull connect, I get return status 0...
 This is a problem, since now I can't make a correct errorhandling if
 something goes wrong.
 
 +/opt/samba-2.0.5a/bin/smbclient //mapa-lap/mapaPublic -E -d0 -I
 XXX.YYY.ZZZ.WWW -n mapa-lap -N -U guest -c put a.txt ;put a.txr 
 Added interface ip=XXX.YYY.ZZZ.WWW bcast=XXX.YYY.MMM.NNN
 nmask=255.255.255.192
 putting file a.txt as \a.txt (0.0333717 kb/s) (average 0.0333717 kb/s)
 a.txr does not existHERE THE LOCAL FILE DOES NOT EXIST 
 + echo 0
 0

Why don'Ät you check the files befor you copy them via smbclient?

On a linux box with bash:

if [ -r a.txr ]; then
smbclient //mapa-lap/mapaPublic ... put a.txr 
else
echo Error
fi

This should be similar with other shell's.

-- 
Frank Matthieß  [EMAIL PROTECTED]

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



[Samba] Removal of print jobs from samba print queue

2002-09-17 Thread Dan Finch








We are currently running samba 2.2.6 on a number of Linux
7.2/7.3 boxes. We are also using LprNG for printing.
I am attempting to setup a group of users to have the ability to remove jobs
from the samba print queues from windows XP machines. We are able to remove our own jobs but
not other users jobs. Ive
set this group to be printer admin but that doesnt seem to grant that ability. When we attempt to delete other users
jobs we get error processing command on the printer window. 



I would really appreciate if someone is able to point me in
the right direction on this. 



Thanks












RE: [Samba] samba latest release

2002-09-17 Thread Kovar Jan

 On Tue, 2002-09-17 at 06:47, Kovar Jan wrote:
   If you choose 2.2.5, then make sure you also add the patches at:-
   
 http://download.samba.org/samba/ftp/patches/jerry/post-2.2.5/
  
  
  How do I apply those patches to binary samba installation from rpm?
  (Redhat 7.3, 2.4.18-10)
 you don't
 you should download the source ball from samba and use their tools
 to build new rpms (look in the packaging subdir)

So, why do they create a rpms?
Question on samba team:
It is really helpfull to have rpms. Are you thinking about creating also
updated binary packages? Something like:
samba-2.2.5-2.rpm or samba-2.2.5-1.print-patch.rpm? I thing that popularity
of binary distributions is big. But if we are able to update samba only by
compilling from source, than it looses its sence.

Greetings

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



RE: [Samba] samba latest release

2002-09-17 Thread Bradley W. Langhorst

On Tue, 2002-09-17 at 09:59, Kovar Jan wrote:
  On Tue, 2002-09-17 at 06:47, Kovar Jan wrote:
If you choose 2.2.5, then make sure you also add the patches at:-

  http://download.samba.org/samba/ftp/patches/jerry/post-2.2.5/
   
   
   How do I apply those patches to binary samba installation from rpm?
   (Redhat 7.3, 2.4.18-10)
  you don't
  you should download the source ball from samba and use their tools
  to build new rpms (look in the packaging subdir)
 
 So, why do they create a rpms?
so that people don't have to compile their own...
This is an unusual case because there are some important bugs in the
2.2.5 release.  

There are some patches to fix those bugs and you may want to apply
them.  If you don't samba will be a little broken - but not too bad.

If you don't want to compile your own wait for the 2.2.6 packages to
come out.

 Question on samba team:
 It is really helpfull to have rpms. Are you thinking about creating also
 updated binary packages? Something like:
 samba-2.2.5-2.rpm or samba-2.2.5-1.print-patch.rpm? I thing that popularity
 of binary distributions is big. But if we are able to update samba only by
 compilling from source, than it looses its sence.
this would get out of hand... remember the samba team are volunteers

If you want to make those rpms available on your own nobody is stopping
you and maybe the samba team will include them on the mirrors...

patching and building your own rpms is probably a good idea anyway - no
dependency problems, more optimized code, only the options you want
compiled in...

best wishes

brad

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



[Samba] Install on Mandrake 8.2

2002-09-17 Thread Robert W. Dempsey

Hello,

I have a fresh install of Mandrake 8.2 which comes with Samba 2.2.3a.  I 
wish to upgrade to Samba 2.2.5, however, I cannot find the correct RPM 
to do so.  Any help here is greatly appreciated.  Thank you.

- Robert Dempsey

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



Re: [Samba] samba + unix passwd sync when using LDAP

2002-09-17 Thread Bradley W. Langhorst

On Tue, 2002-09-17 at 09:14, Louis-David Mitterrand wrote:
 
 Hi,
 
 I noticed that when using (on debian unstable, samba 3.0pre):
 
   passdb backend = ldapsam
 
 the unix passwd sync in no longer performed, even if pam password
 change is on.
are you sure?
I'm using the passwd chat dialog 
and that works fine for me (ldap sam + samba3 PDC)
 
The only issue I notice is that changing passwords from a client
workstation makes the passwords expire after 21 days instead of the 42
specified in the poledit.msc app.

I haven't started messing with that yet.

brad

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



[Samba] COATED FABRIC

2002-09-17 Thread FANG

WENGCORP LTD.
3F.,NO.394,MING SHENG WEST RD., TAIPEI,TAIWAN,ROC
FTY:NO.22,SHIN -AI  RD. (AN PING INDUSTRIAL DISTRICT) TAINAN
TEL:886-2-25595683   FAX:886-2-25595696
E-MAIL:[EMAIL PROTECTED]  hppt ://www.wengcorp.com.tw/

WE HAVE BEEN 30YEAR FOR FABRIC IN PRODUCTION.

WE HAVE GOOD PRICE IN
NYLON - FOR JACKET, SPORT WEAR AND PANT
FULL DULL FABRIC CAN PROTECTION UV AND BREATHABLE,
THE COATED FROM 450MM UP 3000/3000MM, WE CAN FOLLOWING VERY WELL IN Q'LITY AND 
DELIVERY.

190T NYLON USD0.32/Y FOB PRICE

POLYESTER - SUITTING MATERIAL TWO WAY STRETCH MATT
WEIDTH:245G/Y ,58/60
USD0.46/Y FOB PRICE

EMBROIDERY FASHION IN 2003-2004 , WE DELIVERY GOOD TO EUROPE, PARIS
HOPE YOU CAN USE OUR DESIGN TO GOOD SELL IT TOO.

VERY LOWEST FOR BED SHEET, BED COVER, PILLOW
WE HAVE TWO FACTORY IN QUILT WITH POLYESTER FORM TOO.

PLS VISIT OUR WEB  http://www.wengcorp.com.tw/ FOR FAHSION

RGDS/FANG





[Samba] ÉñÁË£¬¼ÒÀïµÄµçÄÔ¸úÍйÜÔÚµçÐÅÒ»Ñù£¡

2002-09-17 Thread sanry

ÄúºÃ£¡ÄúÖªµÀ¶¯Ì¬ÓòÃûÄÜ°ïÄú¶à´óµÄæÂð£¿ÈÃÎÒÃÇÏÈ¿´¿´Õâ¸öÊÂʵ£º
Èç½ñÍøÉÏÌṩÖ÷Ò³¿Õ¼ä¾ùÓÐÖî¶àÏÞÖÆ, Óû§ÎÞ·¨ÔÚÍøÉϽ¨Á¢ºÍʹÓÃ
×Ô¼ºµÄÊý¾Ý¿â, ÕâʹµÃÖ÷Ò³µÄ¹¦ÄÜÊܵ½Á˼«´óÏÞÖÆ£¬·á¸»Ö÷ҳȱÉÙÓÐЧ
µÄÊֶΡ£Í¬Ê±ÓÉÓÚ²¦ºÅÓû§Ã¿´ÎÉÏÍø·ÖÅäµÄIPµØÖ·²»Í¬£¬ËùÒÔÒªÏëÔÚ×Ô¼º
µÄ»úÆ÷ÉϽ¨Á¢·þÎñÆ÷ÈÃËûÈË·ÃÎÊÊ®·Ö²»±ã¡£
µ«ÊÇ£¬Ö»ÒªÓÐÁ˶¯Ì¬ÓòÃû/IP,ÕâÒ»Çж¼½«Ó­Èжø½â!
ʱ´´ÍøÂçÈ«ÐÂÍƳöµÄ¶¯Ì¬ÓòÃû£¬¹¦ÄÜÇ¿´ó£¬ÄúÎÞÐëÉêÇëרÏß»ò×âÓÃ
·þÎñÆ÷¾Í¿ÉÒÔʵÏÖ´æ·Å¼¸Ê®µ½¼¸°Ù¸öÍøÕ¾¡¢¼¸°Ù¸öÓòÃû£¬»¹¿ÉÔËÐм¸Ç§ÈË
ÔÚÏßµÄÁÄÌìÊÒ¡¢ÂÛ̳£¬¼õÉÙÄúÍøÕ¾µÄÔËÐгɱ¾¡£
ÏÖÔÚÄúÖ»ÐèÒªÔÚÄúËù×¢µÄÓòÃûÖмÓÈëµÄÒ»¸öCNAME(·ºÓòÃûÖ¸Ïò)ÌîÈë
ÐÎÈçIP.TODAYDNS.COM µÄ¶¯Ì¬IP ¾Í¿ÉÒÔ½«Õâ¸öÓòÃû±ä³É¶¯Ì¬ÓòÃû£¡

¹¦ÄÜÏêÇéÇë¿´Á´½Ó£º http://now.net.cn/cyberip
ʹÓö¯Ì¬ÓòÃû½¨ÉèÍøÕ¾£¬ÓÅÊƶà¶à£º
1.¹¦ÄÜÇ¿´ó.²»µ«¿ÉÒÔ½¨ÉèWWWÕ¾µã¡¢FTPÕ¾µã£¬»¹¿ÉÒÔ¹¹ÔìÆóÒµÓʾ֡¢ÂÛ̳¡¢
ÔÚÏßÓÎÏ··þÎñÆ÷µÈµÈ£»
2.²»ÏÞ¿Õ¼ä.ÄãµÄÓ²ÅÌÓжà´ó£¬ÄãµÄÍøÒ³¿Õ¼ä¾ÍÓжà´ó£¬´ó¿ÉÒÔ½«Õä²ØµÄ¾«ÃÀ
µçÓ°¡¢¸èÇú·ÅÉÏÈ¥£¬ÓëÅóÓѹ²ÉÍ£»
3.ÎÞȨÏÞÖÆÔ¼.×Ô¼º¾ÍÊÇÓµÓÐ×î¸ßȨÏ޵ĹÜÀíÔ±£¬Ê²Ã´CGI¡¢ASP¡¢Êý¾Ý¿â£¬
ÓõÃÈçºÎ£¬¾Í¿´ÄãµÄ±¾ÊÂÁË!
ÏíÊܵçÐż¶µÄ·þÎñÆ÷,¾ÍÕâô¼òµ¥!Á¢¼´×¢²á£¬ÂíÉÏÉúЧ£¡»¶Ó­Ãâ·ÑÊÔÓã¡

ʵÀý£ºip2061.todaydns.com
»¶Ó­·ÃÎÊ£ºhttp://www.001isp.com
QQ×Éѯ:178748271 171954574   *^_^*
Tel:0756-2125563  2125536
ʱ´´×£ÄúÖÐÇï½Ú¿ìÀÖ¡¢ºÃÔ˳£°é£¡



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



Re: [Samba] Novell vs Linux.

2002-09-17 Thread Bruno Gimenes Pereti

 Samba is capable to authenicate against a ldap v3 server. For this ldap
 version exist inside the samba source a samba.schema file.

 Last Saturday, Volker Lendecke ([EMAIL PROTECTED])  was ask this question,
 and he said: If there is no Problem with the ldap implementation of the
 nds, there is no reason for samba not to authenticate against nds via
 ldap, using the samba.schema.

This the attribute and object definition from samba.schema from
samba2.2.6pre CVS couple of weeks ago:
attributetype ( 1.3.6.1.4.1.7165.2.1.1 NAME 'lmPassword'
  DESC 'LanManager Passwd'
  EQUALITY caseIgnoreIA5Match
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{32}
SINGLE-VALUE )
[...]
objectclass ( 1.3.6.1.4.1.7165.2.2.3 NAME 'sambaAccount' SUP top AUXILIARY
   DESC 'Samba Auxilary Account'
   MUST ( uid $ rid )
   MAY ( cn $ lmPassword $ ntPassword $ pwdLastSet $
logonTime $
 logoffTime $ kickoffTime $ pwdCanChange
$ pwdMustChange $ acctFlags $
 displayName $ smbHome $ homeDrive $
scriptPath $ profilePath $
 description $ userWorkstations $
primaryGroupID $ domain ))
[...]

And this is an exemple of the attribute and object definition from
rfc2307-usergroup.sch from NDS eDirectory for Linux instalation:
RFC2307UserGroupSchemaExtensions DEFINITIONS ::=
BEGIN
-- An integer uniquely identifying a user in an administrative domain
uidNumber ATTRIBUTE ::=
{
 Operation  ADD,
 SyntaxIDSYN_INTEGER,
 Flags   { DS_SINGLE_VALUED_ATTR },
 ASN1ObjID { 1 3 6 1 1 1 1 0 }
}
[...]
posixAccount OBJECT-CLASS ::=
{
 OperationADD,
 Flags   {DS_AUXILIARY_CLASS},
 SubClassOf {TOP},
 MustContain{   CN },
 MustContain{   uniqueID },
 MustContain{   uidNumber },
 MustContain{   gidNumber },
 MustContain{   homeDirectory },
 MayContain {   loginShell },
 MayContain {   gecos },
 MayContain {   description   },
 ASN1ObjID { 1 3 6 1 1 1 2 0 }
}
[...]

What does that mean?
I can connect, search LDAP from NDS with the tools provided by redhat 7.1
distribution...

Sorry if I´m being boring but I really need Samba to work with NDS
eDirectory.

Thank´s.
Bruno Pereti.

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



[Samba] Can Samba join Netware 4.2 like it joins NT4.0 Domain???

2002-09-17 Thread Andy


I succussfully got Samba 2.2.5 to join an NT 4.0 Domain.

Can Samba integrate with Netware 4.2 ???

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



RE: [Samba] samba latest release

2002-09-17 Thread Gerald (Jerry) Carter

On Tue, 17 Sep 2002, Kovar Jan wrote:

 So, why do they create a rpms?
 Question on samba team:
 It is really helpfull to have rpms. Are you thinking about creating also
 updated binary packages? Something like:
 samba-2.2.5-2.rpm or samba-2.2.5-1.print-patch.rpm? I thing that popularity
 of binary distributions is big. But if we are able to update samba only by
 compilling from source, than it looses its sence.

I don't build off cycle RPMS.  The ones on Samba.org for RedHat
are build from the pristine release source.  Easier for us
to validate bugs reports against 2.2.5, etc... because we know
exactly what that means.

While producing such patched RPMS would be a potential good idea, it would 
be almost impossible for me to do the QA necessary to handle in between 
release packages.

I would recommend, checking with your OS vendor for in between release 
RPMS.




cheers, jerry
 -
 Hewlett-Packard http://www.hp.com
 SAMBA Team   http://www.samba.org
 --http://www.plainjoe.org
 Sam's Teach Yourself Samba in 24 Hours 2ed.  ISBN 0-672-32269-2
 --I never saved anything for the swim back. Ethan Hawk in Gattaca--

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



Re: [Samba] looping logins

2002-09-17 Thread jra

On Tue, Sep 17, 2002 at 10:30:58AM +0100, Phil Chambers wrote:
 I have a VERY worrying situation.  This is all SAMBA_2_2_5 with ldap.  I have a 
 SAMBA PDC with several SAMBA servers and loads of WindowsXP workstations.  The SAMBA 
 servers and XP Pcs are all joined into the PDC domain.  Logging on the PDC is 
 /%m.log so that I get a log for each PC.
 
 When I look at the cpu usage on the PDC system one process is continuouly using 25%. 
 If I set debug level 10 there is continuous output to one PC's log file.  I am not 
 good at working out what exectly is happening but it appears that there are repeated 
 login attempts for one user from that PC (in any event, SAMBA keeps looking up the 
 user's ldap entry, successfully). I look at the PC and it is sitting on the XP login 
 window waiting to be given a username and password.  If I re-boot the PC the problem 
 moves to another PC which is just sitting on the XP login window. The same username 
 all the time, though it is now a different unix process ID.

Can you get a debug level 10 (use smbcontrol) from that process so we
can see where it's looping please ?

Thanks,

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



Re: [Samba] Install on Mandrake 8.2

2002-09-17 Thread Buchan Milne

 Message: 25
 Date: Tue, 17 Sep 2002 10:22:35 -0400
 From: Robert W. Dempsey [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 Organization: Atlantic Dominion Solutions
 To: [EMAIL PROTECTED]
 Subject: [Samba] Install on Mandrake 8.2
 
 Hello,
 
 I have a fresh install of Mandrake 8.2 which comes with Samba 2.2.3a.  I 
 wish to upgrade to Samba 2.2.5, however, I cannot find the correct RPM 
 to do so.  Any help here is greatly appreciated.  Thank you.


Take your pick of:
http://ranger.dnsalias.com/mandrake/samba/
http://people.mandrakesoft.com/~staburet/samba/
http://us6.samba.org/samba/ftp/Binary_Packages/Mandrake/

They are almost identical, except that samba.org only has RPMs of 2.2.5, 
  the others have various versions of samba for 7.2 to 8.2

Of course, http://www.google.com/search?q=samba+mandrake+rpms+8.2+2.2.5 
would have found them quite fast too.

Regards,
Buchan

-- 
|Registered Linux User #182071-|
Buchan MilneMechanical Engineer, Network Manager
Cellphone * Work+27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7

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



Re: [Samba] Install on Mandrake 8.2

2002-09-17 Thread Gerald (Jerry) Carter

On Tue, 17 Sep 2002, Robert W. Dempsey wrote:

 Hello,
 
 I have a fresh install of Mandrake 8.2 which comes with Samba 2.2.3a.  I 
 wish to upgrade to Samba 2.2.5, however, I cannot find the correct RPM 
 to do so.  Any help here is greatly appreciated.  Thank you.

See http://download.samba.org/samba/ftp/Binary_Packages/


cheers, herry
 -
 Hewlett-Packard http://www.hp.com
 SAMBA Team   http://www.samba.org
 --http://www.plainjoe.org
 Sam's Teach Yourself Samba in 24 Hours 2ed.  ISBN 0-672-32269-2
 --I never saved anything for the swim back. Ethan Hawk in Gattaca--

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



Re[6]: [Samba] Printing under guest

2002-09-17 Thread Vladimir I. Umnov

Hello, linux.


lp Sorry. I dont know. You have a windows network based
lp on a win2000 server and cannot print to it?
Yes. Printer on client w2k is installed, even print queue on w2k
server show print task, but does not print pages. User in two local
groups: Users and Guests.


-- 
 Vladimir I. Umnov  mailto:[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 latest release

2002-09-17 Thread Markus Schabel

Kovar Jan wrote:

If you choose 2.2.5, then make sure you also add the patches at:-

  http://download.samba.org/samba/ftp/patches/jerry/post-2.2.5/




How do I apply those patches to binary samba installation from rpm?
(Redhat 7.3, 2.4.18-10)

You download the Sourcecode (or the tarball), patch it, compile it and 
generate a new rpm.
rpm are binary packages, patches only apply to the sourcecode


Thanks

Jan Kovar
  




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



Re: [Samba] How to bypass smbfs 2Gb limit without patching ?

2002-09-17 Thread Urban Widmark

On Mon, 16 Sep 2002, Geoffrey Hurlus wrote:

 I've heard that the culprit was smbfs because it doesn't support file bigger
 than 2Gb. I know there are patchs to this issue, but is there any way to
 solve this problem without patching the system ?

smbfs is a client. If you are using smbfs then your win2k box is NOT a
client. To fix the smbfs limit you need to patch and rebuild the kernel.

Why fat32, btw? I'd assume it has a size limit much smaller than ntfs.

/Urban

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



Re: [Samba] smbmount

2002-09-17 Thread Urban Widmark

On Mon, 9 Sep 2002, PG wrote:

 Hi, 
 I'm using smbmount to mount winme boxes to my redhat 7.3 to perform
 daily backup with taper. Everything is working well except when one of the
 winme boxes crashed (you know it happens frequently), the smbmount locked
 the mount process. I can't smbumount, or kill the process at all. All I
 can do is restart the whole server.

Please try this patch for a 2.4.19 kernel:
http://www.hojdpunkten.ac.se/054/samba/smbfs-2.4.19-pre9-poll.patch

/Urban

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



Re: [Samba] smbmount and WindowsXP

2002-09-17 Thread Urban Widmark

On Sat, 14 Sep 2002, Helder Miguel Rodrigues wrote:

 
 Hello!
 Im trying to mount the ADMIN$ share of my windows XP and i cant!

Is that really a file share?

 ./smbmount 192.168.0.18\\ADMIN$ /mnt/laptop/ -o 
 username=Administrator password=mypassword

That should be:
username=Administrator,password=mypassword

/Urban

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



Re: [Samba] smbmount/mount/fstab problem

2002-09-17 Thread Urban Widmark

On Fri, 6 Sep 2002, Winne, Joerg wrote:

 //fileserver/public /mnt/public smbfs
 noauto,user,username=foo,password=bar 0 0
 
 BUT THIS DOES NOT WORK!!! I'm getting this error message:
 
 6264: session setup failed: ERRSRV - ERRbadpw (Bad password -
 name/password pair in a Tree Connect or Session Setup are invalid.)

I don't think quotes work the same way in fstab. Try:
username=foo,password=bar

/Urban

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



Re: [Samba] broken pipe error

2002-09-17 Thread Yura Pismerov


Any firewall rules on it ?

Brian Beaver wrote:
 
 I'm having a problem with a samba 2.0.10-0.7 server on Redhat 7.0 (kernel
 2.2.17-8).. The error message when running smbclient is:
 
added interface ip=xxx.xxx.xxx.xxx bcast xxx.xxx.xxx.191
nmask=255.255.255.192
read_socket_with_timeout:timeout read. read error = Broken pipe.
session request to *SMBSERVER failed (code 0)
 
 Any idea what's broken?  This server is used almost exclusively for email
 and web server, and I just inherited it :-(.  The school that this is
 located at wants to setup business lab central file storage for students
 to do their assignments - is why we're trying to set up Samba on it.
 
 Thanks,
 
 Brian Beaver, M.Ed. Technology Coordinator
 DeQueen-Mena Educational Cooperative
 305 S. Hornberg Ave., Gillham, AR 71841
 870.386.2251  FAX:  870.386.7731
 
 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba

-- 

Yuri Pismerov, Sr. System Administrator, 
TUCOWS.COM INC. (416) 535-0123  ext. 1352
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Still having smbpasswd/ldap problem (mk 2)

2002-09-17 Thread Derek J. Balling

Using the 3.0CVS 8/29 package in debian, I see, when trying to do

smbpasswd -a dballing

(where dballing is a valid user, just not yet someone with an 
objectclass of sambaAccount),

The relevant config bits are:

passdb backend = ldapsam:ldap://ldap.XX.com/
ldap admin dn = cn=admin,dc=XX,dc=com
ldap ssl = off
ldap user suffix = ou=People,dc=XXXx,dc=com

... and the output -D99 looks like (in part, the relevant part I think):

ldapsam_open_connection: ldap://ldap.XXX.com/
ldap_open_connection: connection opened
ldap_connect_system: Binding to ldap server as 
cn=admin,dc=XXX,dc=com
ldap_connect_system: succesful connection to the LDAP server
ldapsam_search_one_user: searching 
for:[((uid=dballing)(objectclass=sambaAccount))]
ldapsam_search_one_user: Problem during the LDAP search: No such object
ldapsam_search_one_user: Query was: , 
((uid=dballing)(objectclass=sambaAccount))
ldapsam_search_one_user: searching for:[uid=dballing]
ldapsam_search_one_user: Problem during the LDAP search: No such object
ldapsam_search_one_user: Query was: , uid=dballing
Adding new user
Setting entry for user: dballing
failed to modify/add user with uid = dballing (dn = 
uid=dballing,ou=People,dc=XXX,dc=com) with: Already exists


so it's colliding with the user (with the suffix bit) when it goes to 
ADD it, but it's not finding it when it goes searching looking for it.

Any thoughts?

D

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



[Samba] smbclient does not wok if encrypted passwords is true.

2002-09-17 Thread P.Dirschka

I've reviewed and successfully tested everything from ping up to logging in
locally with :

smbclient //server/share

Now begins the problems:
#1 If I turn Encrypted Passwords the preceding command fails.

#2 On the Win98 client the command (tested with encrypted passwords on and
off with same results)
nbtstat -a MyLinuxServerName returns a full list of info about my Linux
host.  Going the next step with

Net Use \\MyLinuxServerName

fails with Error 53: The computer name specified in the network path cannot
be located. (The workgroup name that the Linux box is hosting is listed in
Network neighborhood, but double clicking on it returns basically the same
error message.)

I'm using Redhat 7.3 with Samba 2.2.5.  The Win98 client connects fine to
another Linux server, so I don't think this is a client issue.

Any ideas about how to fix this welcomed!!!


Paul

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



[Samba] Long file names

2002-09-17 Thread Scott Mayo

I have seen the post on the board a number of times about not be able to use
long file names with windows and samba.  I am having the same problems
logging my Windows 98 workstations into my samba server.  I always get
'access denied' when running a batch file that has a long file name.  It
will run executionables with long file names, but not batch files.  If I
logon to an NT 4.0 server it will run the long file named batch file on this
server. I was just curious if anyone knew what the problem was.

Scott Mayo
Tech Coordinator
Bloomfield Schools
PH:  (573) 568-4564
FX:  (573) 568-5681
Pager:  (800) 264-2535  X2549

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



Re: [Samba] vorkomg on vmware virtual machine

2002-09-17 Thread John Benedetto

We have been running our production Samba server on VMWare GXS server for 
just about a year now.  First on version one, now on version two (upgrade 
performed a few weeks ago).

The original poster does not say whether they are using VMWare workstation, 
or VMWare GSX server.  For testing purposes, though, I do not see any 
problem with running it on VMWare workstation, over the higher end GSX 
server product.

Our parent O/S is Linux, while cferent's O/S is Windows 2000.  I do not 
know if that could be a factor or not.  The things that pop to mind to 
check are:
- make sure you have no limitations on the parent O/S (firewall issues and 
the like)
- make sure your virtual machine has full networking, and is not locked 
down to the parent O/S.
- Arthur's point of a unique IP address is, of course, a valid one.  You 
would not need a seperate physical network interface, though.

Some of the things to look at, same as with non-vmware setup:
- do you have full networking INTO the Linux virtual machine, say with 
SSH/telnet/web?  If not, that is a big problem indicator right there.
- did you accidentally install the default firewall for whatever Linux 
distro you used?  (IPChains/IPTables).
- proper guest setup in the smb.conf, /etc/password,  smbpasswd file?

Long story short: Yes, it is possible to run a Samba server on a virtual 
machine, using VMWare.

You may want to post your smb.conf to the list, if you have verified that 
there are no network access problems to the virtual machine.  Please delete 
all comments  any empty entries in the file, though.

- john

--On Tuesday, September 17, 2002 7:50 PM +0200 Arthur van Dorp 
[EMAIL PROTECTED] wrote:

 cferent wrote:
   Do know a isue about Samba not working well an a vmware virtual
   machine running on a Windows200 Server as host OS
   Even if saw my virtual linux machine in Network Neighborhood i can't
   acces it, I keep get an error message about not the network path been
   invalid

 I don't think anyone here ever tried to run samba on vmware. I think
 there are a lot of possible issues with that. But if you really want to
 do this, I'd suggest to give the virtual linux(?)-server a different
 IP-Address than the windows machine it's running on. I don't know whether
 that is easily possible with vmware but I'd say it's important that the
 virtual machine is known on the intranet as an independent machine.
 Probably you even have to have a separat physical network interface. But
 I really can't see the point of this at all anyway.

 Arthur


 --
 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] Not able to find SWAT in 7.3 version

2002-09-17 Thread Mr.George



Dear Linux guru's

Does Redhat version 7.3 support SWAT configuration 
coz i dont see the SWAT file under /etc/xinetd.d. Pls explain y

Sincerely,
Sanoj George


Re: [Samba] broken pipe error

2002-09-17 Thread Brian Beaver


No, no firewall; I was going to add ipfwadmin or upgrade the system to
RH7.3 (a bit hesitant to do a complete upgrade during the school year 
since it is the school's primary email server).  I also checked xinetd;
smb is loading as a daemon process, and isn't reference in xinetd.

Brian Beaver
DMEC

On Tue, 17 Sep 2002, Yura Pismerov wrote:

 
   Any firewall rules on it ?
 
 Brian Beaver wrote:
  
  I'm having a problem with a samba 2.0.10-0.7 server on Redhat 7.0 (kernel
  2.2.17-8).. The error message when running smbclient is:
  
 added interface ip=xxx.xxx.xxx.xxx bcast xxx.xxx.xxx.191
 nmask=255.255.255.192
 read_socket_with_timeout:timeout read. read error = Broken pipe.
 session request to *SMBSERVER failed (code 0)
  
  Any idea what's broken?  This server is used almost exclusively for email
  and web server, and I just inherited it :-(.  The school that this is
  located at wants to setup business lab central file storage for students
  to do their assignments - is why we're trying to set up Samba on it.
  
  Thanks,
  
  Brian Beaver, M.Ed. Technology Coordinator
  DeQueen-Mena Educational Cooperative
  305 S. Hornberg Ave., Gillham, AR 71841
  870.386.2251  FAX:  870.386.7731
  
  --
  To unsubscribe from this list go to the following URL and read the
  instructions:  http://lists.samba.org/mailman/listinfo/samba
 
 -- 
 
 Yuri Pismerov, Sr. System Administrator, 
 TUCOWS.COM INC.   (416) 535-0123  ext. 1352
 

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



Re: [Samba] smbmount/mount/fstab problem

2002-09-17 Thread Winne, Joerg

Hello Urban!

 I don't think quotes work the same way in fstab. Try:
 username=foo,password=bar

I tried this and it works!!!

Thank you very much for your hint.

Joerg

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



Re: [Samba] broken pipe error

2002-09-17 Thread Brian Beaver


Found the problem; this version of the kernel doesn't have SysV IPC
options rolled into it.  Guess I'll have to upgrade the whole machine.

Here's a URL to a description of the exact problem:

http://www.experts-exchange.com/Networking/Linux_Networking/Q_10335684.html

Guess I'll do a kernel upgrade first to see if that'll work.

Thanks Yuri,

Brian Beaver
DMEC

On Tue, 17 Sep 2002, Yura Pismerov wrote:

 
   Any firewall rules on it ?
 
 Brian Beaver wrote:
  
  I'm having a problem with a samba 2.0.10-0.7 server on Redhat 7.0 (kernel
  2.2.17-8).. The error message when running smbclient is:
  
 added interface ip=xxx.xxx.xxx.xxx bcast xxx.xxx.xxx.191
 nmask=255.255.255.192
 read_socket_with_timeout:timeout read. read error = Broken pipe.
 session request to *SMBSERVER failed (code 0)
  
  Any idea what's broken?  This server is used almost exclusively for email
  and web server, and I just inherited it :-(.  The school that this is
  located at wants to setup business lab central file storage for students
  to do their assignments - is why we're trying to set up Samba on it.
  
  Thanks,
  
  Brian Beaver, M.Ed. Technology Coordinator
  DeQueen-Mena Educational Cooperative
  305 S. Hornberg Ave., Gillham, AR 71841
  870.386.2251  FAX:  870.386.7731
  
  --
  To unsubscribe from this list go to the following URL and read the
  instructions:  http://lists.samba.org/mailman/listinfo/samba
 
 -- 
 
 Yuri Pismerov, Sr. System Administrator, 
 TUCOWS.COM INC.   (416) 535-0123  ext. 1352
 

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



[Samba] Help

2002-09-17 Thread Winston Lee



Here is my situation. I have an Ultra1 which 
running Solaris 2.6. The Ultra1 is a backup server, it has a tape drive 
directly attach to it. I also have a PC Workstation, running Window 2000. The PC workstation is a development PC, it has code store in 
\tmp directory. We want to use the Ultra1 to backup the \tmp directory of 
the PC Workstation. Can Samba help me to accomplish this task? I 
mean can I install Samba on Ultra1 and mount the \tmp direcotry of the PC Workstation from Ultra1? Please advise.

Thanks,
Winston,


<>

This message is intended only for the use of the Addressee and 
may contain information that is PRIVILEGED and/or
CONFIDENTIAL or both.

This email is intended only for the personal and confidential use
of the recipient(s) named above.

If the reader of this email is not an intended recipient, you have
received this email in error and any review, dissemination,
distribution or copying is strictly prohibited.

If you have received this email in error, please notify the sender
immediately by return mail and permanently deleting the copy
you received.

Thank you.






[Samba] configuration cups

2002-09-17 Thread P. Jourdan

I seem to be having a great deal of trouble with cups and samba configuration.
cups seems to go on and off and it works and doesn't work.
I think I need some help on my samba configuration. Generally, it has 
worked well on another machine, but my current setup seems a bit screwy.
System: FreeBSD 4.6.2; cups-1.1.15.1; cups-base-1.1.15.1_4; 
cups-lpr-1.1.15.1_1;cups-pstoraster-7.05.5; ghostscript-gnu-7.05_3 
(installed by cups-lpr); gimp-print-4.2.1; samba-2.2.6.p2
Problem: yesterday, I could see the Unix machine on Win2k. I have two 
printer shares that could be seen. Today, they are not there.
To log on to the FBSD machine from Win2k I get the log-on window and can 
connect by entering nothing and pressing enter.
I can access the Printer directory, the www and tmp.
But one directory, pippo, asks for a username and password but accepts none.
I am running samba from rc.local with no parameters
I am attaching my smb.conf
I am sure I am doing something wrong.
Please help.
Phil 


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



Re[2]: [Samba] Solve of problem network disks - lost connection under w2k and wxp

2002-09-17 Thread Vladimir I. Umnov

Hello, Fredrik.


FA Ah.. So that's the reason for some of the problems.. Why can't samba 
FA correctly process nt status code? Do you know?
Samba process nt status code, but besides nt status code must die send
many other commands, and there is no documention about this commands.
But Microsoft KB article says, that only nt status code processed
incorrectly. I think, this is a politics of Microsoft. They want kill
free software!!!


FA Should it be a dword och a regular string in the registry?
From KB article:
Start Registry Editor (Regedt32.exe).
Locate and then click the following key in the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanworkstation\parameters
On the Edit menu, click Add Value, and then add the following registry value:
Value name: EnableDownLevelLogOff
Data type: REG_DWORD
Radix: Hexadecimal
Value data: 1
Quit Registry Editor.



-- 
 Vladimir I. Umnov  mailto:[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] Solve of problem network disks - lost connection under w2k and wxp

2002-09-17 Thread jra

On Tue, Sep 17, 2002 at 09:50:28PM +0400, Vladimir I. Umnov wrote:
 Hello, Fredrik.
 
 
 FA Ah.. So that's the reason for some of the problems.. Why can't samba 
 FA correctly process nt status code? Do you know?
 Samba process nt status code, but besides nt status code must die send
 many other commands, and there is no documention about this commands.
 But Microsoft KB article says, that only nt status code processed
 incorrectly. I think, this is a politics of Microsoft. They want kill
 free software!!!
 
 
 FA Should it be a dword och a regular string in the registry?
 From KB article:
 Start Registry Editor (Regedt32.exe).
 Locate and then click the following key in the registry:
 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanworkstation\parameters
 On the Edit menu, click Add Value, and then add the following registry value:
 Value name: EnableDownLevelLogOff
 Data type: REG_DWORD
 Radix: Hexadecimal
 Value data: 1
 Quit Registry Editor.

Ah. Now I think I get it ..

The new Microsoft redirectors use the feature of Microsoft SMB
implementations that SessionSetup SMB with the VC number set to 0
should terminate all previous sessions from the same client, 
they don't bother to send a Logoff command any more.

We can change Samba to send all connected SMB's a disconnect
message when we get a new VC=0 SessionSetup to fix this I think.

I will investigate further.

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



Re: [Samba] smbmount and WindowsXP

2002-09-17 Thread Kurt Pfeifle

Urban Widmark wrote on samba-digest:

  Message: 10
  Date: Tue, 17 Sep 2002 19:35:59 +0200 (CEST)
  From: Urban Widmark [EMAIL PROTECTED]
  To: Helder Miguel Rodrigues [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Subject: Re: [Samba] smbmount and WindowsXP
 
  On Sat, 14 Sep 2002, Helder Miguel Rodrigues wrote:
 
 
   Hello!
   Im trying to mount the ADMIN$ share of my windows XP and i cant!
 
  Is that really a file share?
 
   ./smbmount 192.168.0.18\\ADMIN$ /mnt/laptop/ -o
   username=Administrator password=mypassword
 
  That should be:
  username=Administrator,password=mypassword

Also, escaping the $ wouldn't harm, probably

  ./smbmount //192.168.0.18/ADMIN\$ /mnt/laptop/ -o 
username=Administrator,password=mypassword

But to access administrative shares in WinXP is not the same as
in NT. You need to specially allow this on the XP side...





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



[Samba] logon

2002-09-17 Thread PJourdan

I cannot logon to samba server from Win2k. I can see the server on My 
Network Places, but the logon does not accept any of my know usernames or 
passwords.
I'm afraid I do not understand what has to be done to make it all work.
Strange thing is, on an earlier installation on another FreeBSD box it all 
works but I am totally unable to make it work on FBSD 4.6.2 2with samba 
2.2.6.pre2.
What am I doing wrong or what is it that I should understand to make it work?
Thanks for any help
Phil


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



Re: [Samba] Not able to find SWAT in 7.3 version

2002-09-17 Thread Joshua Penix

On Tuesday 17 September 2002 11:14, Mr.George wrote:

 Does Redhat version 7.3 support SWAT configuration coz i dont see the SWAT
 file under /etc/xinetd.d. Pls explain y

RedHat packages SWAT separately, and doesn't install it by default.  Find the 
samba-swat package and install it.

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



Re: [Samba] Solve of problem network disks - lost connection under w2k and wxp

2002-09-17 Thread Christopher R. Hertel

On Tue, Sep 17, 2002 at 09:15:43PM +, [EMAIL PROTECTED] wrote:
:
 Ah. Now I think I get it ..
 
 The new Microsoft redirectors use the feature of Microsoft SMB
 implementations that SessionSetup SMB with the VC number set to 0
 should terminate all previous sessions from the same client, 
 they don't bother to send a Logoff command any more.

The assumption being that the client would not send a second SessionSetup
with VC=0 unless it had crashed and was starting up again.

 We can change Samba to send all connected SMB's a disconnect
 message when we get a new VC=0 SessionSetup to fix this I think.
 
 I will investigate further.
 
 Jeremy.

Andrew Bartlett, I think it was, found a KB article a while ago stating
that Microsoft were disabling the disconnect-on-new-VC=0 behavior via a
hotfix or in the latest service pack.  It turned out that Windows clients
behind a NAT were causing each other's sessions to terminate.  The first
client would connect (VC=0, IP=NAT_Addr)  and would be fine until the next
client connected (VC=0, IP=NAT_Addr again).  The second connection would
cause the server (on the other side of the NAT) to believe that the 
existing connections (from the first client) were no longer valid.

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



[Samba] Updated Roadmap for 3.0 release

2002-09-17 Thread Gerald Carter

FYI...

I've posted an updated roadmap for the 3.0 release schedule at

  http://www.samba.org/samba/roadmap-3.html

Looks like a lot of documentation needs to be done :-)

Enjoy.




cheers, jerry
 -
 Hewlett-Packard http://www.hp.com
 SAMBA Team   http://www.samba.org
 --http://www.plainjoe.org
 Sam's Teach Yourself Samba in 24 Hours 2ed.  ISBN 0-672-32269-2
 --I never saved anything for the swim back. Ethan Hawk in Gattaca--


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



[Samba] Samba PDC and Windows 2000 Server

2002-09-17 Thread Bruno BEAUFILS


Hi, 

I am a UNIX system administrator using Samba for real use since not so
long. That means I do not have a lot of Windows way of thinking
understanding. I get some strange trouble with my configuration. Maybe some
of you may help me. Here is the deal :

I get a physical network with some workstations running dual boot Linux and
Windows 2000 Pro. 

On that network I have a host acting as NIS, SAMBA and NFS server. Let us call
it SERVUNIX. SERVUNIX's samba is configured to be PDC of a windows domain. Let
us cal it WINNET. 

SERVUNIX is used just for authentification. Windows user's home directories
are stored on a Windows 2000 Server host. Let us call it SERVWIN. The reason
of using a Windows 2000 host is that my Windows users wants to be able to use
ACL :-(

The first problem is that whenever I stopped the SERVUNIX samba service it
seems that SERVWIN become WINNET PDC ; which means users are able to log on
Windows workstation, although it take a VERY LONG TIME. How may I prevent it
do so, I mean how may I prevent this f*g windows host to become PDC when
samba is down.

When I create my user directory on SERVWIN I often get trouble with SID -
name translation. It seems that the Windows 2000 Server has its own copy of
*smbpasswd* informations and do not ask SERVUNIX when in need to get name from
id and vice-versa ? How may I force it to do so ?

Finally, all my workstations are cloned using Norton Ghost. Some time when I
clone them, or when I regenerate my smbpasswd file (to add new user coming from
NIS files for instance), they seem to have disappeared from the WINNET domain
(although their properties still say that they are in), and I am obliged to
put them in a STUPID workgroup and then back into WINNET domain again in order
for my users to be able to log again. Anybody having explanations or links to
good explanations ?

Finally a more windows questions : is there a command line utility allowing me
to change the name of a windows host and to include this host in a specific
domain ? 

-- 
--
Bruno BEAUFILShttp://www.lifl.fr/~beaufils
Maitre de conferences [EMAIL PROTECTED]
Universite des Sciences et Technologies de Lille
LIFL  Tel : +33 3 20 43 45 04  Fax : +33 3 20 43 65 66
IUT A - Dpt InformatiqueTel : +33 3 20 43 49 53  Fax : +33 3 20 43 41 73
==
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] vorkomg on vmware virtual machine

2002-09-17 Thread Mark Belfanti

Arthur van Dorp wrote:

 cferent wrote:

   Do know a isue about Samba not working well an a vmware virtual
   machine running on a Windows200 Server as host OS
   Even if saw my virtual linux machine in Network Neighborhood i can't
   acces it, I keep get an error message about not the network path been
   invalid


 I don't think anyone here ever tried to run samba on vmware. I think 
 there are a lot of possible issues with that. But if you really want 
 to do this, I'd suggest to give the virtual linux(?)-server a 
 different IP-Address than the windows machine it's running on. I don't 
 know whether that is easily possible with vmware but I'd say it's 
 important that the virtual machine is known on the intranet as an 
 independent machine. Probably you even have to have a separat physical 
 network interface. But I really can't see the point of this at all 
 anyway.

 Arthur


Hi all,
you can make it work. You need to use bridges networking and assign a 
separate IP address to the virtual machine.
As a point of interest VMWare under linux uses samba to make the host OS 
available to the guest OS. No there is a commercial aspect of samba in 
action ;-)

Mark


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



[Samba] [ smbfs ] Does it support ACLS?

2002-09-17 Thread Edoardo Causarano

Hello there friends  foes,

I've had if with M$ windows! Next week I'll sabotage my shop (how 'bout 
password protecting dualboots on WS) and force LINUX down my users' throats 
;-) (oh, don't I like this tone... makes me feel Billy G.) Oops, showstopper! 
ACL enabled network filesystem, where is it? I can't go with alpha code nfs4, 
so is there a patch to the smb kernel modules that provides support to ACLs? 
(I mean... the server does!!) Even a userland daemon will do... I'm ready to 
patch, test, anything to get NT4 off my back.

Ciao,
Edo

Don't mind the clock, it's skewed
-- 
  3:32am  up  6:59,  1 user,  load average: 1.22, 0.95, 0.78

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



SOLVED - RE: [Samba] SAMBA Server missing in network neighbourhood/ network places- DESPERATE!

2002-09-17 Thread Timothy Kersten
Title: Message



Hi 
all, 

Thanks 
to a private response from a list member the problem I had was thatthe 
"guest account = " option was set to a user that did not exist. I had brought 
the smb.conf from another system and did not have that user on the new system. 



  
  -Original Message-From: 
  [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf 
  Of Timothy KerstenSent: Tuesday, 17 September 2002 8:27 
  AMTo: [EMAIL PROTECTED]Subject: RE: [Samba] SAMBA 
  Server missing in network neighbourhood/ network places- 
  DESPERATE!Importance: High
  Please help me out!!!
  

-Original Message-From: 
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On 
Behalf Of Timothy KerstenSent: Monday, 16 September 2002 9:33 
PMTo: [EMAIL PROTECTED]Subject: [Samba] SAMBA 
Server missing in network neighbourhood/ network places- 
DESPERATE!
I have installed a new RedHat 7.3 system with 
Samba 2.2.5. The problems are:

* The server is missing when browsing in 
network neighbourhood.

* If I enter \\SERVERNAME in explorer, 
it pops up an authentication dialogue. When the correct user info is 
entered, all the shares aresuccessfully 
displayed and browsable.

* if I enter "net view \\SERVERNAME" it 
says: "System error 5 has occurred.

 Access is 
denied."

These same symptoms exist through various 
changes in smb.conf, ensuring that allow "bind interfaces"  "hosts 
allow" are not used. I have even used the exact smb.conf working in another 
system. I therefore think that there is perhaps something outside of samba 
going on here?Please help me. Thanks.




[Samba] samba problems with FreeBSD

2002-09-17 Thread Unix Rookie


i'm trying to setup a PDC with my FreeBSD box.

i'm following the directions in Samba Unleashed by SAMS.

in it they mention the creation of a server user account.

this is the example they give:

useradd -c Samba PDC fir MYDOMAIN -M -s /bin/false -n PERSEUS$

other than the fact FreeBSD doesn't use useradd and that pw useradd doesn't
have a -M option, i'm having a problem with the $ at the end of the username.

i get the following error:

pw: invalid character `$' in field

is there a work around?

any any all help will be greatly appreciated.




oh yeah... and one more thing... is the client-side setup in Samba the same
with W2k as it is for WinXP?  if it isn't i might as well take this book back. :/

__
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] [ smbfs ] Does it support ACLS?

2002-09-17 Thread Edoardo Causarano

On Wednesday 18 September 2002 01:55, you wrote:
 http://acl.bestbits.at ?

TNX, but I already did that server side. To get ACLs on a samba server you 
either go XFS or get the patches you mention. This has saved my day when I 
fulminated (he, he) an NT4 PDC (userland stood in awe  the speed bump...) 
I'm aware that an smb kernel side client that understands ACL needs these 
patches (a userland client daemon could do with libacl?) and I'm cool about 
them; in one year the machine stood rock solid (shhht... don't tell Murphy) 

Ciao,
Edo

-- 
  4:37am  up  8:04,  1 user,  load average: 0.86, 0.76, 0.70

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



[Samba] my win2k machine can not share the printer of samba sever

2002-09-17 Thread Jianping Zhu


i have a redhat 7.1 linux server with samba 2.4 server on it.
I have a printer attached to the linux sever. But my windows machines can
not share the printer.

Any suggestions will be greatly appreciated

the samba.conf is list in following:

--


#===Global Settings===
[global]

#Basic Sever Settings
   netbios name = Milo
   workgroup = coop_unit
   domain admin group = admin
   server string = USGS Coop Unit 
   wins support = yes
   name resolve order = wins lmhosts bcast
   dns proxy = no
   time server = yes
   smb passwd file = /etc/samba/private/smbpasswd
   username map = /etc/samba/smbusers
   null passwords = no
#File attributes
   case sensitive = no
   preserve case = yes
   short preserve case = yes

#log file settings
   log file = /var/log/samba/log.%m
   max log size = 50
   log level = 2

#Act as the domain and local master browser
   os level = 64
   preferred master = yes
   domain master = yes
   local master = yes

#Security Settings DO NOT CHANGE 
   security = user 
   hosts allow = 128.192.

#Use Encrypted passwords
   encrypt passwords = yes
 
#Performance enhancement
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

#Support domain logons
   domain logons = yes

#Unix Password Synching
   unix password sync = yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *password* %n\n *password* %n\n *successful*
   passwd chat debug = no

#User profile storage location
#   logon home = \\%L\w9xprofile\%U
   logon path = \\%L\profiles\%U  
   browsable = no
   writeable = yes

#Specify a generic logon script for all users
#this is a relative **DOS** path to the [netlogon] share
   logon script = \scripts\%u.bat

#Print Stuff 
   printing = bsd
   printcap file = /etc/printcap 

#Necessary share for domain controller
[netlogon]
   path = /etc/samba/netlogon
   locking = no
   public = no
   browsable = yes
   writeable = no
   write list = admin

#=Share Definitions==
[profiles]
   path = /etc/samba/profiles/
   browsable = no 
   writeable = yes

#[w9xprofile]
#  path = /etc/samba/w9xprofile/
#  browsable = no
#  writeable = yes

[homes]
   comment = Home directories
   browsable = no
   writeable = yes
   hide dot files = yes

[blackduck]
   comment = Blackduck project folder
   path = /home/blackduck
   browsable = yes
   writeable = yes
   create mask = 0777
   valid users = blackduck

[home1]
   comment = Extra storage folder in hd1
   path = /home1
   browsable = yes
   writeable = yes
   create mask = 0777
   valid users =@conroy
[arm]
   comment = ARM project folder
   path = /home/arm
   browsable = yes
   writeable = yes
   create mask = 0777
   valid users = arm
[gap]
   comment = GAP project folder
   path = /home/gap
   browsable = yes
   writeable = yes
   create mask = 0777
   valid users = gap

[class]
path = /home/class
browsable = yes
writeable = yes
create mask = 0777
valid users = class

[software]
path = /home/software
browsable = yes
writeable = yes
create mask = 0777
valid users = admin

[budget]
path = /home/budget
browsable = yes
writeable = yes
create mask = 0777
valid users =@staff secretary

[www]
path = /home/www
browseable = yes
writeable = yes
create mask = 0777
valid users = web

[user programs]
path = /home/usr_programs
browsable = yes
writeable = yes
create mask = 0777

[music$]
path = /home/music
browsable = no
writeable = yes
valid users = jhowell nzimpfer 

[home]
   comment = for copying files in large batches.
   path = /home
   browsable = yes
   writeable = yes
   valid users = root

[printers]
   comment = All printers
   path = /var/spool/samba
   browseable = yes
   writeable = no
   guest ok=yes
   printable = yes
-


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



[Samba] smbmount?

2002-09-17 Thread John Anderson

Hi,

I installed Samba from source, and the smbmount utility didn't install
(atleast it's not where it's supposed to be.)  A find / -name smbm*
-print, turns up 2 C files (smbmount.c and smbmnt.c) in the source
directory.

My question is, how can I configure / make just the smbmount programs?

Thanks.


--John



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



[Samba] nobody smbpasswd

2002-09-17 Thread rkpho

Dear all,

I find that for smbpasswd to work it is necessary to include nobody (or the
guest account) in the valid users list under section [Global]. This
requirement is not mentioned in documentations (or I've overlooked). Is this
absolutely necessary ?

R.Ho

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



[Samba] incredible problem to join NT samba domain with XP client

2002-09-17 Thread stratus

Hi everybody let me tell you my story

I have 5 XP pro computer and only one of them is able to join the 
domain. I applied the signorseal patch everywhere, I create everything on samba 
side. Actually my problem is more XP problem exp (what I'm doing):

first in property:
select Nt domain, login passwd ok!, then display welcome on NEPTUNE (my domain)

second network ID:
following the assistant, blahblah everything is fine, at the end I'm even able 
to add a domain user NEPTUNE/user.

So until here everything is fine.

now XP ask me to reboot to apply the change.
And then after rebooting I don't have the standart domain logon window still 
the local logon box.

I really don't understand, because it's working with one of those computer.

thanks
  Pierre





-
This mail sent through IMP: http://horde.org/imp/

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



[Samba] Error in Samba while sharing the Unix Directory structure on Windows

2002-09-17 Thread Gaurav Gupta

Dear Authorities,

When I try to share a folder on Unix by typing the  following command on the 
Start-Run Menu
\\206.236.141.34\var\casam\mail\new
 
I get the error that the Network path was not found .

Note:
\var\casam\mail\new is the folder on Unix machine (having the IP Address 
206.236.141.34.)
Please advise . 
Thanks


Warm Regds
Gaurav Gupta

Infosys Technologies Ltd , Pune
Tel (O) : +91-20-2932800/01 Extn-5640
Tel (R) :+91-20-7297466
mailto:[EMAIL PROTECTED]



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



[Samba] pam_winbind

2002-09-17 Thread cj

Would any one know what these errors are and how they are created?
I am using pam_winbind in my system-auth file.
But when I try and telnet onto the machine, I get this error message in the
log.

Sep 18 16:41:47 yamin pam_winbind[1160]: request failed, PAM error was 4, NT
error was NT_STATUS_INVALID_PARAMETER
Sep 18 16:41:47 yamin pam_winbind[1160]: internal module error (retval = 4,
user = `cj'

Thanks

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



Re: VFS Virus Scanner idea...

2002-09-17 Thread Rainer Link

On Thu, Sep 12, 2002 at 10:54:39PM +0200, Juergen Hasch wrote:

 It's also interesting that you can download the scan engine and the
 virus signature data base from trend micro and use it with the Samba VFS 
 module without even buying their product :-)
 
 I found no indication on their website if this is legal or not...

Ask a representative of Trend Micro :)

Actually, I'd like to point out that when using samba-vscan please make
sure you've purchased the correct license. Some AV companies prohibit
the use of a workstation version on a server. Or if you purchased a
10-user license, but your Samba server serves say 100 users, this would
violate the license, too.

Thanks.

best regards,
Rainer Link



Slow transfers from Win2K to Linux, but fast from Linux to Win2K

2002-09-17 Thread Jordan Mack

I've been trying to figure out this problem, on and off, for more 
months than I can remember. I have a Linux 2.4.18 server with a 
Samba 2.2.4 share open. I connect from Win2K just fine and get 
over 6MB/s from the Linux server to my Win2K machine, but when 
sending a file from Win2K to Linux I'll be very lucky to get 2MB/s. 
FTP transfers work great both ways at about 8MB/s.

I've seen a few list entries about this, but I couldn't find one that 
found a solution. Anyone know what's going on with this?



Re: VFS Virus Scanner idea...

2002-09-17 Thread Rainer Link

On Thu, Sep 12, 2002 at 04:47:58PM -0400, [EMAIL PROTECTED] wrote:

 Point #2 - Server side anti-virus is a good thing, but is not a 
 substitute for client side anti-virus.  Don't think for a moment that 
 you're safe from viruses because your server is running AV software.

I'm a friend of the client-server based virus protection approach,
that's one of the main reasons why I wrote samba-vscan (which I actually 
don't need on my own, as I don't have any windows clients at all). And,
uhm, virus scanning has never a detection rate of 100%.  

 Point #3 - In some ways I think server side anti-virus is pointless.  
 It does prevent the sharing of viruses through the server, which is 
 where it *is* useful.  At the same time, if the goal is to prevent 
 viruses from wiping out the data you have on your servers, server side 
 AV doesn't protect you.  Any connected workstation can get infected 
 with a virus that deletes every server based file it has authorization 
 to delete.  Thus the server side AV only gives the illusion of 
 protection.

Hum, client-based av software won't help here in all cases (think of a
new virus). One big part of anti-virus strateg must be backups :) [which
does not mean backups are only needed because of viruses - data loss
because of hardware failure or by mistake are much more frequent].
Another important part is user education, but this is beyond the scope
of this mailing list.

best regards,
Rainer Link
 



Re: VFS Virus Scanner idea...

2002-09-17 Thread Mathew McKernan

Hi all,

You may also like to know that not all client software scans network access
files by default. For example in InnoculateIT and VET by Computer
Associates, the resident scanner does not scan files off the server. You
must disable that feature if you want to scan files that you access over
the LAN. Basically CA guesses that all servers have anti virus software on
them and that they check the files before clients get it. We did have anti
virus software on our 2000 PDC until it started to cause _major_ problems
with our database system (Informix UniVerse).

Thanks

Mathew McKernan
Linux and Security Administrator
IT Services Department
Caroline Chisholm Catholic College
Braybook, VIC, Australia
www..vic.edu.au
+61 3 92965311

- Original Message -
From: Rainer Link [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, September 17, 2002 5:53 PM
Subject: Re: VFS Virus Scanner idea...


 On Thu, Sep 12, 2002 at 04:47:58PM -0400, [EMAIL PROTECTED] wrote:

  Point #2 - Server side anti-virus is a good thing, but is not a
  substitute for client side anti-virus.  Don't think for a moment that
  you're safe from viruses because your server is running AV software.

 I'm a friend of the client-server based virus protection approach,
 that's one of the main reasons why I wrote samba-vscan (which I actually
 don't need on my own, as I don't have any windows clients at all). And,
 uhm, virus scanning has never a detection rate of 100%.

  Point #3 - In some ways I think server side anti-virus is pointless.
  It does prevent the sharing of viruses through the server, which is
  where it *is* useful.  At the same time, if the goal is to prevent
  viruses from wiping out the data you have on your servers, server side
  AV doesn't protect you.  Any connected workstation can get infected
  with a virus that deletes every server based file it has authorization
  to delete.  Thus the server side AV only gives the illusion of
  protection.

 Hum, client-based av software won't help here in all cases (think of a
 new virus). One big part of anti-virus strateg must be backups :) [which
 does not mean backups are only needed because of viruses - data loss
 because of hardware failure or by mistake are much more frequent].
 Another important part is user education, but this is beyond the scope
 of this mailing list.

 best regards,
 Rainer Link





Samba LDAP ... compilation error

2002-09-17 Thread Eric Gianquinto

Hi samba, 

I have a little compiling problem with Samba an LDAP

Here is the error msg ...

-- 
/util_sid.po lib/messages.po lib/util_str.po lib/wins_srv.po
lib/substitute.po lib/select.po lib/util.po nsswitch/wb_client.po
nsswitch/wb_common.po lib/system.po lib/charset.po lib/util_file.po
lib/kanji.po lib/genrand.po lib/username.po lib/util_getent.po
lib/charcnv.po lib/time.po lib/md4.po lib/util_unistr.po lib/signal.po
lib/talloc.po lib/ms_fnmatch.po lib/util_sock.po lib/smbrun.po
lib/util_sec.po lib/snprintf.po lib/interfaces.po ubiqx/ubi_sLinkList.po
libsmb/smbencrypt.po libsmb/smbdes.po smbd/ssl.po lib/access.po
lib/interfaces.po param/loadparm.po param/params.po  tdb/tdb.po
tdb/spinlock.po tdb/tdbutil.po  passdb/passdb.po passdb/secrets.po
passdb/pass_check.po passdb/smbpassfile.po passdb/machine_sid.po
passdb/pdb_smbpasswd.po passdb/pampass.po passdb/pdb_tdb.po
passdb/pdb_ldap.po passdb/pdb_nisplus.po -Wl,-rpath,/usr/lib -lpam
-Wl,--export-dynamic -lacl  -lcups -lssl -lcrypto -lnsl -lcrypt -lpam -lpopt
-lc \ 
-Wl,-soname=`basename bin/pam_smbpass.so` 
lib/interfaces.po: In function `get_interfaces': 
lib/interfaces.po(.text+0x260): multiple definition of `get_interfaces' 
lib/interfaces.po(.text+0x260): first defined here 
collect2: ld returned 1 exit status 
make: *** [bin/pam_smbpass.so] Error 1 
error: Bad exit status from /var/tmp/rpm-tmp.42916 (%build) 


RPM build errors: 
Bad exit status from /var/tmp/rpm-tmp.42916 (%build) 
-- 

here is the attached file of the list of all my package and the 'samba.spec'
to create a RPM ... 

Thanks for you help

eric




rpm.lst
Description: Binary data


samba.spec
Description: Binary data


Re: [Samba] Solve of problem network disks - lost connection under w2k and wxp

2002-09-17 Thread jra

On Tue, Sep 17, 2002 at 09:50:28PM +0400, Vladimir I. Umnov wrote:
 Hello, Fredrik.
 
 
 FA Ah.. So that's the reason for some of the problems.. Why can't samba 
 FA correctly process nt status code? Do you know?
 Samba process nt status code, but besides nt status code must die send
 many other commands, and there is no documention about this commands.
 But Microsoft KB article says, that only nt status code processed
 incorrectly. I think, this is a politics of Microsoft. They want kill
 free software!!!
 
 
 FA Should it be a dword och a regular string in the registry?
 From KB article:
 Start Registry Editor (Regedt32.exe).
 Locate and then click the following key in the registry:
 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanworkstation\parameters
 On the Edit menu, click Add Value, and then add the following registry value:
 Value name: EnableDownLevelLogOff
 Data type: REG_DWORD
 Radix: Hexadecimal
 Value data: 1
 Quit Registry Editor.

Ah. Now I think I get it ..

The new Microsoft redirectors use the feature of Microsoft SMB
implementations that SessionSetup SMB with the VC number set to 0
should terminate all previous sessions from the same client, 
they don't bother to send a Logoff command any more.

We can change Samba to send all connected SMB's a disconnect
message when we get a new VC=0 SessionSetup to fix this I think.

I will investigate further.

Jeremy.



Re: [Samba] Solve of problem network disks - lost connection under w2k and wxp

2002-09-17 Thread Christopher R. Hertel

On Tue, Sep 17, 2002 at 09:15:43PM +, [EMAIL PROTECTED] wrote:
:
 Ah. Now I think I get it ..
 
 The new Microsoft redirectors use the feature of Microsoft SMB
 implementations that SessionSetup SMB with the VC number set to 0
 should terminate all previous sessions from the same client, 
 they don't bother to send a Logoff command any more.

The assumption being that the client would not send a second SessionSetup
with VC=0 unless it had crashed and was starting up again.

 We can change Samba to send all connected SMB's a disconnect
 message when we get a new VC=0 SessionSetup to fix this I think.
 
 I will investigate further.
 
 Jeremy.

Andrew Bartlett, I think it was, found a KB article a while ago stating
that Microsoft were disabling the disconnect-on-new-VC=0 behavior via a
hotfix or in the latest service pack.  It turned out that Windows clients
behind a NAT were causing each other's sessions to terminate.  The first
client would connect (VC=0, IP=NAT_Addr)  and would be fine until the next
client connected (VC=0, IP=NAT_Addr again).  The second connection would
cause the server (on the other side of the NAT) to believe that the 
existing connections (from the first client) were no longer valid.

Chris -)-



Updated Roadmap for 3.0 release

2002-09-17 Thread Gerald Carter

FYI...

I've posted an updated roadmap for the 3.0 release schedule at

  http://www.samba.org/samba/roadmap-3.html

Looks like a lot of documentation needs to be done :-)

Enjoy.




cheers, jerry
 -
 Hewlett-Packard http://www.hp.com
 SAMBA Team   http://www.samba.org
 --http://www.plainjoe.org
 Sam's Teach Yourself Samba in 24 Hours 2ed.  ISBN 0-672-32269-2
 --I never saved anything for the swim back. Ethan Hawk in Gattaca--





CVS update: samba/source/passdb

2002-09-17 Thread tridge


Date:   Tue Sep 17 12:08:56 2002
Author: tridge

Update of /home/cvs/samba/source/passdb
In directory dp.samba.org:/tmp/cvs-serv29747

Modified Files:
secrets.c 
Log Message:
more const cleanups


Revisions:
secrets.c   1.42 = 1.43

http://www.samba.org/cgi-bin/cvsweb/samba/source/passdb/secrets.c?r1=1.42r2=1.43



CVS update: samba/source/smbd

2002-09-17 Thread tridge


Date:   Tue Sep 17 12:09:46 2002
Author: tridge

Update of /home/cvs/samba/source/smbd
In directory dp.samba.org:/tmp/cvs-serv29825

Modified Files:
filename.c 
Log Message:
disable stat cache when case sensitive



Revisions:
filename.c  1.52 = 1.53

http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/filename.c?r1=1.52r2=1.53



CVS update: samba/source/smbd

2002-09-17 Thread jra


Date:   Wed Sep 18 00:30:00 2002
Author: jra

Update of /data/cvs/samba/source/smbd
In directory dp.samba.org:/tmp/cvs-serv25934/smbd

Modified Files:
process.c 
Log Message:
We had a race condition when changing a machine acount password as we
were no longer locking the secrets entry. I saw this on a live system.
Jeremy.


Revisions:
process.c   1.108 = 1.109

http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/process.c?r1=1.108r2=1.109



CVS update: samba/source/passdb

2002-09-17 Thread jra


Date:   Wed Sep 18 00:31:00 2002
Author: jra

Update of /data/cvs/samba/source/passdb
In directory dp.samba.org:/tmp/cvs-serv26197/passdb

Modified Files:
  Tag: APPLIANCE_HEAD
secrets.c 
Log Message:
We had a race condition when changing a machine acount password as we
were no longer locking the secrets entry. I saw this on a live system.
Jeremy.


Revisions:
secrets.c   1.6.2.7 = 1.6.2.8

http://www.samba.org/cgi-bin/cvsweb/samba/source/passdb/secrets.c?r1=1.6.2.7r2=1.6.2.8



CVS update: samba/source/passdb

2002-09-17 Thread jra


Date:   Wed Sep 18 00:31:12 2002
Author: jra

Update of /data/cvs/samba/source/passdb
In directory dp.samba.org:/tmp/cvs-serv25292/passdb

Modified Files:
  Tag: SAMBA_2_2
secrets.c 
Log Message:
We had a race condition when changing a machine acount password as we
were no longer locking the secrets entry. I saw this on a live system.
Jeremy.


Revisions:
secrets.c   1.6.4.17 = 1.6.4.18

http://www.samba.org/cgi-bin/cvsweb/samba/source/passdb/secrets.c?r1=1.6.4.17r2=1.6.4.18