RE: [Samba] 95 and NT cannot access shares

2003-02-24 Thread Don Zajic
Off the top of my head, I would say that using Encrypted passwords is
greate for W2K and XP, however, 95 does not use encrypted passwords and
unless you are using SP3 or above on NT, it also does not use encrypted
password.  Since you are mixing your flavors of Windows from 95 to XP,
you probably need to disable encrypted password and use plain text
passwords throughout your domain.

encrypt password = no

You also need to apply the .reg files to change from encrypted to
plaintext according to your windows version.  These .reg files are
located in your docs/Registry directory.

Don Zajic


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Dave Ansell
Sent: Sunday, February 23, 2003 4:07 AM
To: [EMAIL PROTECTED]
Subject: [Samba] 95 and NT cannot access shares


I have file and print sharing set up on Linux (Mandrake 9.0).

It all works fine with 2000 and XP clients, but 95 and NT clients don't
seem to be able to access.

Any ideas?
Thanks,
Dave


Typical log entry from Samba:

[2003/02/22 16:21:37, 0] smbd/service.c:make_connection(599)
  wvo1314904 (192.168.1.10) Can't change directory to /home/samba/public
(Permission denied)

My sbm.conf is:

[global]
 workgroup = Waterlooville
 security = SHARE
 encrypt passwords = Yes
 passwd program = /usr/bin/passwd %u
 passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n
unix password sync = Yes  log file = /var/log/samba/log.%m  max log size
= 50  socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192  dns
proxy = No

[public]
 comment = Public Stuff
 path = /home/samba/public
 write list = @staff
 read only = No
 guest ok = Yes

[printers]
 comment = All Printers
 path = /var/spool/samba
 create mask = 0700
 guest ok = Yes
 printable = Yes
 print command = /usr/bin/lpr -r -s -P%p %s
 browseable = No
 printer admin = davea


-- 
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] Restrict access to [homes] share

2003-02-24 Thread Buchan Milne
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 Date: 22 Feb 2003 09:14:57 -0800
 From: Michael Noble [EMAIL PROTECTED]
 To: Chew, Darren [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: Re: [Samba] Restrict access to [homes] share

 Try setting your home shares as follows:

 [home]
comment = Home Directories
path = /home/%u
read only = No
veto files = /.*/

 This will always mount the users home directory.

Not necessarily with winbind, you should not need to use a path
directive, it defeats the feature of the homes share (which is to use
the users home directory).

 I'd like to know how to restrict access to the [homes] share.
Currently, each
 user is able to read/write to his/her own share, and by typing
 \\machine\anotheruser can open another user's share and read/write
there too.
 I would like to restrict access so that a user can only read/write
to their
 own share only.

 Here is some of the relevant config:

 [global]
 workgroup = ASDF
 server string = Samba Server %v
 security = DOMAIN
 encrypt passwords = Yes
 password server = *
 log file = /var/log/samba/log.%m
 max log size = 10240
 time server = Yes
 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
 os level = 64
 preferred master = No
 domain master = No
 dns proxy = No
 wins support = Yes
 winbind uid = 1-2
 winbind gid = 1-2
 template homedir = /dev/null
 winbind separator = +
 winbind use default domain = Yes
 admin users = wicked
 printer admin = @Domain Admins

 [homes]
 comment = Home Directories
 path = /home/samba/%S

This line should not be necessary, you should rather set your template
homedir to /home/samba/%U or /home/%D/%U.

 force group = nobody

The line above is your problem, you should not need this if winbind is
working right!

 read only = No
 browseable = No


The best option (as with Windows) is to have the permissions correct on
the filesystem, and not to enforce everything via share definitions.
Then if people access to the filesystem via other means, the permissions
are still enforced correctly. The easiest solution is to:

# cd /home/samba
# chmod 700 *

Buchan

- --
|--Another happy Mandrake Club member--|
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
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+WgITrJK6UGDSBKcRAmiqAJwP+XooMp4IrQJffIU35z+DIvUJ0QCfTEB8
WEacOcjkCNrxqUPJFMD7Lqo=
=7lrq
-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] (fwd from johanhusselman@cks.co.za) Please help with smbprinting

2003-02-24 Thread Joel Hammer
The basic command is:

cat file | smbclient //server/share passwordstuff -c 'print -'


The trick is to filter the file before you cat it, unless 2000 will filter
it for you. (Never used 2000, don't know)

All the rest is to make it easy for you to run the above command.

Joel



On Mon, Feb 24, 2003 at 05:00:14PM +1100, Martin Pool wrote:
 - Forwarded message from Johan Husselmann [EMAIL PROTECTED] -
 
 From: Johan Husselmann [EMAIL PROTECTED]
 Subject: Please help with smb printing
 Date: Sat, 22 Feb 2003 19:17:40 +0200
 To: [EMAIL PROTECTED]
 X-Mailer: Microsoft Outlook Express 6.00.2600.
 
Can tou please help me to setup smb printing from red hat 7.3 to a
windows2000 server with a epson lx300 printer connected. If you can mail
me documention on how to setup smb printing to the windows server and how
should the smb.conf file look like.
 
email: [EMAIL PROTECTED]
 
Thank you
 
Johan Husselman
 
 - End forwarded message -
 -- 
 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] Can't login from Xbox - No session setup?

2003-02-24 Thread Alexander Skwar
Kurt Weiss schrieb:

 can u try for testing reasons please
 guest ok = yes

Sure, however man smb.conf:

public (S)

Synonym for guest ok.


So I suppose I've already got this.

Alexander Skwar
-- 
Zugegeben mein Computer ist etwas alt, aber
ich mag das warme Glühen der Röhren...

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


[Samba] Win NT / Win 2k variants

2003-02-24 Thread Suggitt, Maria [DAN/PICK]
All

I have 3 DEC Unix boxes running OSF3.2C and Samba 1.9.17p2 (I think). They
are currently visible from an NT PC with no problems

The NT PC is to be replaced with a Win 2k machine 

Question 1: Do I need an updated samba version to enable the Win 2K machine
to see the Unix Boxes
Question 2: How do I find out exactly what version of samba I am running
(The version above was in the log.nmb file)

Thanks

Maria Suggitt

SW Technical Coordinator 
Customer Service Department
Daniel Europe Limited

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


Re: [Samba] Can't login from Xbox - No session setup?

2003-02-24 Thread Kurt Weiss
public (S)

Synonym for guest ok.

sorry, as usual, i oversaw it... ;-)

	map to guest = Bad User
did u check
'map to guest = Bad Password'
directory/file in unix/linux: access/owner? (nobody/nobody)
'domain guest group' (ver. 2.2.4, i don't know, if u need it...)
'guest account' (is default nobody ok?)


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


Re: [Samba] Win NT / Win 2k variants

2003-02-24 Thread Kurt Weiss


Suggitt, Maria [DAN/PICK] schrieb:
All

I have 3 DEC Unix boxes running OSF3.2C and Samba 1.9.17p2 (I think). They
are currently visible from an NT PC with no problems
The NT PC is to be replaced with a Win 2k machine 

Question 1: Do I need an updated samba version to enable the Win 2K machine
to see the Unix Boxes
for w2k u need samba 2.2 and higher.

Question 2: How do I find out exactly what version of samba I am running
(The version above was in the log.nmb file)
smbstatus | grep version

gk


Thanks

Maria Suggitt

SW Technical Coordinator 
Customer Service Department
Daniel Europe Limited



--
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.7a and Solaris 9 ACLs

2003-02-24 Thread Steffen Rieber
Hi,

I run Samba 2.2.7a on a Solaris 9 machine. All works fine except for the
ACLs support. The ACLs are read and proceeded correctly, but it isn't
possible to set the by using the security tab.

What's wrong with my installation? I tried it with Solaris 8/9 and
UFS/VxFS -- the same results! The ACLs work perfectly with Linux 2.4.19
and XFS.

--
With best regards,
Steffen Rieber
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] what's on port 139

2003-02-24 Thread Marian Mlcoch, Ing
Reply to list firewall setings try run

ipchains -L -n

Bye.

- Original Message - 
From: Andrew Greenhill [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, February 24, 2003 11:07 AM
Subject: [Samba] what's on port 139


 Having trouble with Samba.
 The config file passes the test (testparm)
 The Server seems to be upa and running fine (smbclient -L localhost)
 But can't seem to connect to it from other computers (running 2000 or 98)
 They were able to connect once though.
 What should be listed on port 139 in services. We have :
 netbios-ssn
 Does this sound right?
 Appreciate any help/suggestions!!
 Regards, Andrew
 
 
 -- 
 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] map system en bad database performance

2003-02-24 Thread Steve Hardy
Hi there, this is not really a question but more of a remark. I just found
out that apparently, database programs like ACT!2000 and Exact for Windows
(dutch product) perform really badly when using map system en you've
(accidentally) set the system flag (group execute - which happens quite
often if you're not thinking and type chmod 770 *) .. apparently the
packages DO work, but VERY VERY slowly ... this may be a cause of slowdowns
for lots of people complaining about performance .. presumeably there's some
sort of different handling of SYSTEM files within windows This was on a
w2k workstation by the way ...

A quick chmod 760 * suddenly speeded up the process of loading the database
a factor of 10 or so .


greets,
Steve Hardy

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


[Samba] Samba stops sharing ?

2003-02-24 Thread Mikko Rautiainen
Hi,

I have this problem with samba (2.2.6-pre2 and 2.2.7). When I
start the samba machine it runs just ok, but after some hours
or a couple of days it makes a error's as follows in log files.
And samba stops sharing. When I look whats running I see
samba there but it doesn't work.
I have security = domain set up
log.w2k (PDC)
[2003/02/18 23:02:41, 0] lib/util_sock.c:read_data(436)
 read_data: read failure for 4. Error = Connection timed out
[2003/02/19 00:11:09, 0] smbd/posix_acls.c:create_canon_ace_lists(823)
 create_canon_ace_lists: unable to map SID 
S-1-5-21-448539723-839522115-1664294467-500 to uid or gid.
[2003/02/19 00:11:09, 0] smbd/posix_acls.c:create_canon_ace_lists(823)
 create_canon_ace_lists: unable to map SID 
S-1-5-21-448539723-839522115-1664294467-500 to uid or gid.

This is from log.winbindd
[2003/02/18 16:39:21, 0] nsswitch/winbindd.c:process_loop(623)
 process_loop: Invalid request size (1701996389) send, should be (1304)
[2003/02/18 23:21:46, 0] rpc_client/cli_pipe.c:rpc_api_pipe(359)
 cli_pipe: return critical error. Error was SUCCESS - 0
[2003/02/19 00:11:09, 0] rpc_client/cli_pipe.c:rpc_api_pipe(359)
 cli_pipe: return critical error. Error was SUCCESS - 0
This is from log.nmbd
[2003/02/18 16:39:20, 0] nmbd/nmbd.c:main(794)
 Netbios nameserver version 2.2.6pre2 started.
 Copyright Andrew Tridgell and the Samba Team 1994-2002
[2003/02/18 22:39:10, 0] 
nmbd/nmbd_responserecordsdb.c:find_response_record(235)
 find_response_record: response packet id 17250 received with no 
matching record.
[2003/02/18 22:39:14, 0] 
nmbd/nmbd_responserecordsdb.c:find_response_record(235)
 find_response_record: response packet id 17252 received with no 
matching record.
[2003/02/18 22:39:14, 0] 
nmbd/nmbd_responserecordsdb.c:find_response_record(235)
 find_response_record: response packet id 17253 received with no 
matching record.
[2003/02/19 00:05:07, 0] nmbd/nmbd.c:terminate(59)
 Got SIGTERM: going down...
[2003/02/19 00:05:10, 0] nmbd/nmbd.c:main(794)
 Netbios nameserver version 2.2.6pre2 started.
 Copyright Andrew Tridgell and the Samba Team 1994-2002
[2003/02/19 00:05:14, 0] 
nmbd/nmbd_responserecordsdb.c:find_response_record(235)
 find_response_record: response packet id 11028 received with no 
matching record.
[2003/02/19 00:05:14, 0] 
nmbd/nmbd_responserecordsdb.c:find_response_record(235)
 find_response_record: response packet id 11029 received with no 
matching record.

Does anyone have a clue what is wrong? and how to fixit?

If you need further info of my setup just tell what you
need and I'll post it.
Thanks
Mikko
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] RE: 2.2.7a logon script will not run (Rich Forman)

2003-02-24 Thread Darin Bawden
Rich,
Within the past 6 or 8 months, I to have upgraded my Samba to 2.2.7a.  My
Conf file is similar to yours, except for your script path.  What I have is
a global parameter of logon script= and then a [netlogon] share for the
script path.  with that setup, I'm able to map drivers, set the time, run
liveupdate automatically and run Automatic Updates on my W2K machines.

Hope this helps (I'm still new to a lot of this)

Darin Bawden

-Original Message-

Date: Sun, 23 Feb 2003 12:07:24 -0800
From: Rich Forman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [Samba] 2.2.7a logon script will not run
Message-ID: [EMAIL PROTECTED]
In-Reply-To: [EMAIL PROTECTED]
Content-Type: text/plain;
charset=us-ascii
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Precedence: list
Message: 5

I just tried upgrading from 2.2.3 to 2.2.7a on my PDC (2.2.17 kernel).  The
logon script that I have been using all along without any problems quits
executing w/ 2.2.7a.  I can manually map the netlogon share after logging in
and manually run the script and everything work fine.  No error messages
appear in the log files.  My smb.conf file is included.  Don't know quite
where to go with this one.  Any suggestion would help.  All client machines
are NT4 or W2K.  Thanks in advance.

[global]

#Server Parameters
netbios name = SERVER
server string = Samba %v

#Domain Parameters
workgroup = GRAY1
encrypt passwords = yes
domain logons = yes
os level = 65
preferred master = true
domain master = true
guest ok = yes
domain admin group = @adm
# domain admin users = rich andy
add user script = /usr/sbin/adduser -n -g machines -c NTMachine -d
/dev/null -s /bin/false %m$
time server = yes

# Set to use local profiles
logon script = scripts\logon.bat
logon home =
logon drive =
logon path =

# Name Server Support
wins support = yes
name resolve order = wins hosts lmhosts bcast

# Security Options
7security = user
bind interfaces only = yes
interfaces = 192.168.100.1/255.255.255.0 127.0.0.1
hosts allow = 192.168.100.

# Debuggin Information
log level = 1
log file = /var/log/samba/%m.log
max log size = 50
debug timestamp = yes

# Performance Tweaks
getwd cache = yes
socket options = TCP_NODELAY TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
IPTOS_LOWDELAY
dead time = 15
keep alive = 60
# lpq cache = 30

# Printing
printer admin = root, rich, @adm
printcap name = /etc/printcap
load printers = yes

[homes]
comment = Home Directories
browsable = no
writeable = yes
read only = no
#create mode = 0777

[netlogon]
path = /usr/local/samba/netlogon
browsable = no
writeable = yes
guest ok = no
valid users = @users @adm @sec
create mask = 777
directory mask = 777
inherit permissions = yes


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


[Samba] logon script to adjust time on workstation

2003-02-24 Thread Gabriel D. Preston
Hey everyone,

I have what I think is a fairly simple question.  In the logon script 
for users, I have it set to map some drives and set the time on the 
user's workstation, all Win2K machines.  Now, shy of putting everyone in 
the Administrator's group, how can I have it set the time on that 
machine?  It only successfully works when myself or the other 
administrator log on to a machine since we have Administrative 
privileges, but for everyone else, it says they don't have enough 
privileges and doesn't do it.  Anybody have any suggestions?  Below is 
our logon script:

@echo off

NET TIME \\SGI-FILE /SET /YES

NET USE I: \\SGI-FILE\Install /YES
NET USE F: \\SGI-FILE\Data /YES
IF NOT %OS%==Windows_NT goto endit
   NET START Automatic Updates
:endit

-Gabriel Preston

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


RE: [Samba] logon script to adjust time on workstation

2003-02-24 Thread Khanh Tran
You'd have to set the policy for the Everyone group to change the time on
the workstation.  I don't remember exactly where it is in Win2k, but I know
it was possible in NT.

Khanh Tran
Network Operations
Sarah Lawrence College


-Original Message-
From: Gabriel D. Preston [mailto:[EMAIL PROTECTED]
Sent: Monday, February 24, 2003 9:28 AM
To: [EMAIL PROTECTED]
Subject: [Samba] logon script to adjust time on workstation


Hey everyone,

I have what I think is a fairly simple question.  In the logon script 
for users, I have it set to map some drives and set the time on the 
user's workstation, all Win2K machines.  Now, shy of putting everyone in 
the Administrator's group, how can I have it set the time on that 
machine?  It only successfully works when myself or the other 
administrator log on to a machine since we have Administrative 
privileges, but for everyone else, it says they don't have enough 
privileges and doesn't do it.  Anybody have any suggestions?  Below is 
our logon script:

@echo off

NET TIME \\SGI-FILE /SET /YES

NET USE I: \\SGI-FILE\Install /YES
NET USE F: \\SGI-FILE\Data /YES

IF NOT %OS%==Windows_NT goto endit
NET START Automatic Updates

:endit

-Gabriel Preston

-- 
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] logon script to adjust time on workstation

2003-02-24 Thread Gabriel D. Preston
Okay, I just found it.  For future reference, Go to: Start-Run-gpedit.msc

Once the Group Policy editor opens, find:

Computer Configuration - Windows Settings - Security Settings - Local 
Policies - User Rights Assignments

Then select the Policy Change the System Time and add Everyone to the 
list.

Thanks for the help Khanh.

-Gabriel

Khanh Tran wrote:

You'd have to set the policy for the Everyone group to change the time on
the workstation.  I don't remember exactly where it is in Win2k, but I know
it was possible in NT.
Khanh Tran
Network Operations
Sarah Lawrence College


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


[Samba] Permissions for fun and profit...

2003-02-24 Thread Brent Torrenga
OK.
So I want to have a share useable by everyone in the group employees. The
only modifications to file permissions I want users to be able to change
(from their w2k workstations) are the archive bit and the write bit (thus
someone can right-click on a file and check the archive and/or the read-only
box). So this involves two things, I think:
1) I need to set a certain bit (the first of four octals) on the parent
directory (in fact all sibdirectories too?) so that files and directories
inside the shares take on the group employee, right?

2) I need to configure in SWAT the various masks/modes/etc, and check or
uncheck the inherit permissions box, right?

What I don't want is world writeable files, as well as no world readable
files (if possible).



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


Re: [Samba] Can't login from Xbox - No session setup?

2003-02-24 Thread Kurt Weiss
ps: did u try to access from the x-box to another w2k machine? / as 
which user it did logon?

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


Re: [Samba] pam_mount_conf?

2003-02-24 Thread Buchan Milne
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 Date: Fri, 21 Feb 2003 15:40:42 -0500
 From: Aaron Bennett [EMAIL PROTECTED]
 To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
 Subject: [Samba] pam_mount_conf?
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=us-ascii; format=flowed
 MIME-Version: 1.0
 Content-Transfer-Encoding: 7bit
 Precedence: list
 Message: 1

 Have any of you folks actually managed to get pam_mount working?

I have it working, but do not usually use it (we have NFS and various
other tools instead).


 A quick google shows a ton of messages saying you can use pam_mount to
 automatically mount a user's home directory on log in, but no messages
 saying I use pam_mount etc -- I'm suspecting it might not actually
 work.  Or at least I might not be smart enough to make it work.

I am not using it to moun the users home, as we have NFS for that. Would
be interested to know if people use it for user homes with winbind ...


 First -- pam_mount 0.5.11 from www.flynn.org doesn't compile on RHAT 8.
   Following is the failure:
 pmhelper.c:176:27: missing binary operator
 pmhelper.c: In function `get_fstab_mountpoint':
 pmhelper.c:200: `FIXME' undeclared (first use in this function)
 pmhelper.c:200: (Each undeclared identifier is reported only once
 pmhelper.c:200: for each function it appears in.)
 pmhelper.c:200: parse error before '}' token
 make[2]: *** [pmhelper.o] Error 1
 make[2]: Leaving directory `/usr/local/src/pam_mount-0.5.11/src'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/usr/local/src/pam_mount-0.5.11'
 make: *** [all-recursive-am] Error 2


You might want to give a few more lines of output (from the beginning of
this error). You might be missing the pam development files (usually in
the pam-devel or similar package).

 so much for that.  However, pam_mount 0.5.9 does compile and install.

 My pam_mount_conf has the following volume line:

 volume * smb olinfs02 users /home/remote//winnt uid=,gid= - -

 /etc/pam.d/gdm has the following two extra lines in it:
 sessionrequired /lib/security/pam_mount.so use_first_pass
 auth   required /lib/security/pam_mount.so use_first_pass

 I added them to the end of the file as per the README.

 Nothing happens.  No volumes are mounted.  Nothing appears in
 /var/log/messages.  No errors are generated.  It just silently fails.

 

Try using it in /etc/pam.d/login, as you can turn on the debugging in
the config file, and you will be able to see any errors as you log in.
Once it works for login, apply it to gdm/kde/xdm etc.

I have:

[EMAIL PROTECTED] bgmilne]$ grep ^volume /etc/security/pam_mount.conf
volume * smb caelinuxserver  /home//mnt/mail uid=,gid=,dmask=750 - -
volume * smb caeprintserver installs /home//mnt/installs
uid=,gid=,dmask=750 - -

(I do not use ~ since we use root-squashed NFS-mounted homes, so root
may not be able to mount on the NFS mounts).

0.5.9 (I am running Mandrake cooker using the package from cooker
contribs) works for me, 0.5.10 seems to not work with smbfs, and someone
has reported having problems getting 0.5.11 to compile where 0.5.10 does.

Regards,
Buchan

- --
|--Another happy Mandrake Club member--|
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
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+WkAHrJK6UGDSBKcRAk12AJ9YNkLFmp3+BCP1AAM+2f6m/trxUgCgkFyN
VhoLmKS1yCeg0qcalNe0VxQ=
=XPOp
-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] Accesing shares from ClearCase

2003-02-24 Thread Carlos Moro Garrido

Hi all,

Just a novice in this world of Samba.
I got a question, probably too simple.
No problem to access share file systems and mount ClearCase
vobs. Log shows access granted to NT userid belonging to the
right UNIX group.

Then, editing  a file ( using a view thru Explorer), log shows
another non authenticate user called clearcase_albd trying to
be validated.
I guess due to that, mvfs errors pop up

Any idea?



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


Re: [Samba] smbfs and lfs (2.4.20)

2003-02-24 Thread Jon Niehof
is there a reason for this ?
and: is there a patch for 2.4.20 (i only found an old patch for 2.4.16)
The smbfs maintainer's page is at: 
http://www.hojdpunkten.ac.se/054/samba/

2.4.18 patch applies fine to 2.4.20. Be sure to also apply 
the patch to the samba sources and recompile smbmount. The 
2.2.3a patch applies to 2.2.7a okay.

--
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.7a logon script will not run

2003-02-24 Thread Rich Forman


 -Original Message-
 From: Kurt Weiss [mailto:[EMAIL PROTECTED]
 Sent: Sunday, February 23, 2003 11:29 PM
 To: Rich Forman
 Subject: Re: [Samba] 2.2.7a logon script will not run
 
 
 
 
 Rich Forman schrieb:
  I just tried upgrading from 2.2.3 to 2.2.7a on my PDC 
 (2.2.17 kernel).  The
  logon script that I have been using all along without any 
 problems quits
  executing w/ 2.2.7a.  I can manually map the netlogon share 
 after logging in
  and manually run the script and everything work fine.  No 
 error messages
 
 have u checked, if the directory /usr/local/samba/netlogon 
 has the 'x' 
 (1) flag set in all hierachies.
 i had the same problema (as i posted before a view month's) - 
 and that 
 was the solution.
 
The permissions on /usr/local/samba/netlogon/* are 777.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] No connection between NT and SUN system running solaris 8

2003-02-24 Thread Antoine Loock
Hi,

I have just installed Samba 2.2.7 on a solaris 8 system (Sun ultra 10)

and all seems to be OK, SWAT works and tells me that smbd is running as well as nmbd.

My NT workstation also has found something on the net but as soon as I double click 
on

the link, it states that the network path is not found.

If I ask for status, both deamons are running but that's it.

No shares or connections active, no open files.

Below the cmb.conf...

regs,

Antoine

# Samba config file created using SWAT
# from localhost (127.0.0.1)
# Date: 2003/02/24 17:02:31

# Global parameters
[global]
workgroup = ASML
netbios name = WSDLE003
server string = Samba %v on %L
os level = 0

[test]
comment = testing
path = /scratch
guest account =
read only = No
guest ok = Yes
volume = test-share

--
  +--+
 /   Antoine Loock De Run 1110  /
/   DemoLab Europe5503 LA  VELDHOVEN   /
   /   ASM Lithography   The Netherlands  /
  /  /
 /   Room:4C0011/
/Phone:   (+31)-(0)40-2683434  /
   / fax: (+31)-(0)40-2684992 /
  /  /
 +--+



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


[Samba] Print command %J question

2003-02-24 Thread daniel . jarboe
In print_generic.c, any ' in jobname %J is replaced with _.  Is 
specifically disallowed earlier (can I safely trust no 's can be passed
to print command)?

Thanks,
~ Daniel








---

This message is the property of Time Inc. or its affiliates. It may be
legally privileged and/or confidential and is intended only for the use
of the addressee(s). No addressee should forward, print, copy, or
otherwise reproduce this message in any manner that would allow it to be
viewed by any individual not originally listed as a recipient. If the
reader of this message is not the intended recipient, you are hereby
notified that any unauthorized disclosure, dissemination, distribution,
copying or the taking of any action in reliance on the information
herein is strictly prohibited. If you have received this communication
in error, please immediately notify the sender and delete this message.
Thank you.

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


[Samba] None

2003-02-24 Thread Bill Carroll


  Can Samba be installed on QNX2 version 2.21?


  

  Bill
  [EMAIL PROTECTED]

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


[Samba] Large (3000+ users) NT to Samba migration

2003-02-24 Thread David Wilson
Hi guys and girls,

A client of mine is seriously investigating migrating their 7 NT servers and
3000+ users to Linux running Samba.
I've read one or two documents so far about the migration, but I'm still a
little unclear about a number of things.

When you have a chance I'd really appreciate your guidance on the following
items.
1.) LDAP, /etc/passwd or MySQL backend (if supported).
2.) User/machine account migration utilities.
3.) Front-ends for adding user/machine accounts.
4.) Configuration of BDC(s).

Or any links to the information would be great.

Many thanks and kind regards.

David Wilson
DcData/LinuxBox S.A.
+27 83 787 7424
ICQ#: 114636368
http://www.dcdata.co.za
http://www.linuxbox.co.za

NOTICE: Please note that as of 31/01/2003
all service requests must be sent to
[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] Accesing shares from ClearCase

2003-02-24 Thread Eric Boehm
On Mon, Feb 24, 2003 at 04:45:04PM +0100, Carlos Moro Garrido wrote:
 Carlos == Carlos Moro Garrido [EMAIL PROTECTED] writes:

Carlos Hi all,

Carlos Just a novice in this world of Samba.  I got a
Carlos question, probably too simple.  No problem to access share
Carlos file systems and mount ClearCase vobs. Log shows access
Carlos granted to NT userid belonging to the right UNIX group.

Carlos Then, editing a file ( using a view thru Explorer),
Carlos log shows another non authenticate user called
Carlos clearcase_albd trying to be validated.  I guess due to
Carlos that, mvfs errors pop up

You would be better off asking this question on the CCIUG mailing list
([EMAIL PROTECTED]). However, this is a very common error with Samba
and ClearCase. 

I'll assume that you are also getting a text_file_delta error message
about being unable to construct cleartext version.

If so, the problem is likely that the account running the ALBD service
on the PC (clearcase_albd) is not mapped to a valid UNIX user.

We usually map this account with /usr/local/samba/lib/username.map (or
wherever you have Samba installed) with an entry

unix vob owner = clearcase_albd

If your account is something other than clearcase_albd, you'll have to
change the entry accordingly. 

Once you make this change, it is not necessary to stop and restart
Samba. New connections will pick up the mapping automatically.

If this doesn't solve your problem, we'll need more information about
the exact error messages -- and this problem would be more relevant on
the CCIUG mailing list than the Samba mailing list.

-- 
Eric M. Boehm  /\  ASCII Ribbon Campaign
[EMAIL PROTECTED]   \ /  No HTML or RTF in mail
X   No proprietary word-processing
Respect Open Standards / \  files in mail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] capture Printer port...

2003-02-24 Thread Kevin Smith
Hi All, 
I recently did a clean upgrade from a 6.0/7.2 hybrids to 7.3. Im
using Samba 2.2.1 and Cups for printing and the only thing I cant figure out
is when I try to capture the printer port in Win 9x is says the share cant
be found...yet it prints the test page flawlessly. Its not a huge deal just
one of those well it worked before things.   Any suggestions?
Kev
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


re[2]: [Samba] samba authentication

2003-02-24 Thread Greg Freemyer
I had a security hole that let a hacker get access to my passwd file one time.

I wasn't using shadow passwords because I thought the machine only would have 
authorized users.

Within 48 hours of the hole being announced on a security website, they had my root 
password.  i.e. they unencrypted it.

Fortunately, they were not smart enough to do any real damage.  They just filled my 
website with links to porn sites.

   is crypt that bad? :)

   anyways, gonna put the pam_smbpass to work first !

   thanks
   Daniel Provin
   Linux User #191271
   EEL LABMETRO UFSC

   On 22 Feb 2003, Bradley W. Langhorst wrote:

On Sat, 2003-02-22 at 15:55, Daniel Provin wrote:
 okay

 so, I just need to activate the pam_smbpass module to keep de smbpass
   with
 the last password

 but is there any way to build an initial list of passwords from
 unix passwords?
well
you could crack all your users passwords...
probably wouldn't take more than a few weeks if you're using crypt.
   
seriously - i don't know an easy way to deal with this problem.
You might be able to configure pam to update the samba password upon
login.
or put the smbpasswd program into the logon script so that your users
change it when the log in
   
brad
--
Bradley W. Langhorst [EMAIL PROTECTED]
   

   -- 
   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] first accessing swat - connection refused

2003-02-24 Thread Joy Morris
System RedHat Linux 7.2
Samba version 2.2.7a

Hi guys - hope this isn't too much of a faq - I have gone through samba
configuration following the instructions in the O'Reilly guide really
carefully and can get samba to run if I manually create/edit smb.conf but
just cannot get swat to run - when I try I just get a dialog box come up
with The connection was refused when attempting to contact 10.1.1.2:901

Anyone any ideas?  This is the second machine this has happened on - the
last machine I just configured by hand but I would love to get swat running.
This machine is a fresh install and I have installed samba by dowloading
source and compiling.  Last machine I installed via binary.

Most of my other Linux problems have boiled down to pam so if that is the
case this time it wouldn't surprise me :-)

TIA

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


RE: [Samba] Re: pam settings for winbind

2003-02-24 Thread David Brodbeck


 -Original Message-
 From: Chris de Vidal [mailto:[EMAIL PROTECTED]

 Great!  Did you learn anything new?  Or did you cut
 and paste?  grin  You can use the patterns I
 described to add winbind support for any pam-aware
 service (e.g. NetAtalk and Webmin), which is very
 groovy.

Another cool hack is pppd with pam support.  You can play at being a Windows
RAS server. ;)  Only problem is I never found a way around having to add
dummy entries for each account to pap-secrets.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Maintain file ownership when saving office documents

2003-02-24 Thread David Brodbeck


 -Original Message-
 From: Tobias Leers [mailto:[EMAIL PROTECTED]

 If a user stores an existing office document on a samba 
 share, he takes
 ownership of it automatically. Office writes a new file. (Different
 inode, same name) Is there a possibility of going this round 
 and keeping the owner?

I don't see how.  How would the server know 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] Samba permissions problem

2003-02-24 Thread Paul Hong

  Hi,
  I am a newbie here.
  I am runnning Samba 2.2.3a which act as a NT workstation
  connecting to CNS-NT domain.
  When I tried to connect to Samba,  \\Bigred\home is not
  accessible, you might not have permission to use this network resource.

  Any help is greatly appreciated.

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


[Samba] Why am I getting this error?

2003-02-24 Thread David Brodbeck
I've been getting this one for a while, but since it doesn't seem to be
causing any problems I'm just now getting around to asking about it.  I'm
sure it's something really dumb I'm overlooking, I just need another set of
eyes to spot it for me.

In log.smbd, many times a day:

[2003/02/23 12:17:40, 0] smbd/service.c:set_current_service(59)
  chdir (/export/shared) failed

Permissions on /export/shared:

# file: shared
# owner: root
# group: root
user::rwx
user:mirror:r-x
user:INTERCLEAN+Brent:rwx
group::r-x
group:INTERCLEAN+Domain Admins:rwx
group:INTERCLEAN+Domain Users:r-x
mask::rwx
other::---
default:user::rwx
default:user:mirror:r-x
default:group::r-x
default:group:INTERCLEAN+Domain Admins:rwx
default:group:INTERCLEAN+Domain Users:r-x
default:mask::rwx
default:other::---

This is the only share I get this error message from.  The permissions don't
seem notably different from what I have set on some other shares.  Here's
the entry for it in smb.conf:

[Shared]
comment = Files shared between departments
path = /export/shared
writable = yes
printable = no

Samba 2.2.7a, RedHat 7.0, kernel 2.4.19 + ext2 acls.

--

David Brodbeck, System Administrator
InterClean Equipment, Inc.
Ypsilanti, Michigan
[EMAIL PROTECTED]
(734) 975-2967 x221


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


[Samba] domain pswd policy? single-sign on?

2003-02-24 Thread Brian Wiese
I've set up a samba domain controller and am reading that PAM
authentication modules (cracklib) cannot be used with encrypted passwords
in Samba.  Is there any way to enforce password policies then for samba
accounts? (i.e. min length 8 chars, letters+nums+special, new pswd not
similiar to last pswd)

Also, is there any way to do a single signon with samba accounts with
encrypted passwords? (permit samba/domain authenticated users to access
their pop/smtp services on another unix server)

I currently only have restriced unix accounts (no shell, no home dir,
account disabled) setup on the PDC just to create the samba users, there
is currently no need for them to access any unix services on the samba
domain server.

thanks, peace

  Brian Wiese | [EMAIL PROTECTED] | aim: unolinuxguru
--
  GnuPG/PGP key 0x1E820A73 | FREEDOM! - Braveheart 
--  
This is not about Napster or DVDs. It's about your Freedom.
  I'll see your DMCA and raise you a First Amendment.
  http://www.anti-dmca.org
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] 95 and NT cannot access shares

2003-02-24 Thread John H Terpstra
On Mon, 24 Feb 2003, William R. Knox wrote:

Bill,

Thanks for jumping in here. I'd like to reinforce your correction. Would
everyone please take note!

Someone who does a search on the samba mailing lists on this subject will
find many incorrect assertions regarding encrypted password support in MW
Windows products. Bill, your comments here are absolutely correct.

 The information provided here about the use of encrypted passwords is not
 true.

NOTE THIS NEXT STATEMENT!!

 NT began to ENFORCE the use of encrypted passwords with SP3, and
 Win95 the same with (I believe) OSR2, but ALL versions of these OSes
 supported encrypted passwords.

Please note also, that it is possible to use the PlainText registry hacks
to re-enable support for clear text passwords, but MS Windows clients will
cache only the encrypted password. This means that when the Windows client
drops a share connection (through time-out or for any other reason) then
on attempt to re-use the share the Windows client will send the encrypted
password in the attempt to reconnect (it does not have the plain text
password in it's cache). This can cause a blue screen problem and may
cause nasty application failures.

SO:

It is best NOT to use plain text passwords, instead use only encrypted
passwords - PARTICULARLY given that ALL MS Windows network clients support
encrypted passwords.

- John T.


   Bill Knox
   Senior Operating Systems Programmer/Analyst
   The MITRE Corporation

 On Mon, 24 Feb 2003, Don Zajic wrote:

  Date: Mon, 24 Feb 2003 04:22:44 -0500
  From: Don Zajic [EMAIL PROTECTED]
  To: 'Dave Ansell' [EMAIL PROTECTED], [EMAIL PROTECTED]
  Subject: RE: [Samba] 95 and NT cannot access shares
 
  Off the top of my head, I would say that using Encrypted passwords is
  greate for W2K and XP, however, 95 does not use encrypted passwords and
  unless you are using SP3 or above on NT, it also does not use encrypted
  password.  Since you are mixing your flavors of Windows from 95 to XP,
  you probably need to disable encrypted password and use plain text
  passwords throughout your domain.
 
  encrypt password = no
 
  You also need to apply the .reg files to change from encrypted to
  plaintext according to your windows version.  These .reg files are
  located in your docs/Registry directory.
 
  Don Zajic
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On
  Behalf Of Dave Ansell
  Sent: Sunday, February 23, 2003 4:07 AM
  To: [EMAIL PROTECTED]
  Subject: [Samba] 95 and NT cannot access shares
 
 
  I have file and print sharing set up on Linux (Mandrake 9.0).
 
  It all works fine with 2000 and XP clients, but 95 and NT clients don't
  seem to be able to access.
 
  Any ideas?
  Thanks,
  Dave
 
 
  Typical log entry from Samba:
 
  [2003/02/22 16:21:37, 0] smbd/service.c:make_connection(599)
wvo1314904 (192.168.1.10) Can't change directory to /home/samba/public
  (Permission denied)
 
  My sbm.conf is:
 
  [global]
   workgroup = Waterlooville
   security = SHARE
   encrypt passwords = Yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n
  unix password sync = Yes  log file = /var/log/samba/log.%m  max log size
  = 50  socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192  dns
  proxy = No
 
  [public]
   comment = Public Stuff
   path = /home/samba/public
   write list = @staff
   read only = No
   guest ok = Yes
 
  [printers]
   comment = All Printers
   path = /var/spool/samba
   create mask = 0700
   guest ok = Yes
   printable = Yes
   print command = /usr/bin/lpr -r -s -P%p %s
   browseable = No
   printer admin = davea
 
 
  --
  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
 




-- 
John H Terpstra
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] XP irratic delay in opening files....

2003-02-24 Thread Justin Anderson
Hi all

I am fairly new to samba and XP. I have a client who we set up a samba
server for, they are complaining about documents taking about 30 secs
-2-3mins to open but only sometimes (it can be very frequent). I have
seen this and captured a piece of the log file I wonder if any one can
make any sense of it...

I have been looking on the net and trying various things all day but to
no avail...



2003/02/24 15:53:42, 3] smbd/trans2.c:call_trans2qfilepathinfo(1560)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 257
[2003/02/24 15:53:42, 3] smbd/trans2.c:call_trans2qfilepathinfo(1646)
  call_trans2qfilepathinfo Saranes_Documents/NJC/Invoices/NJC Invoice25
R001.xls level=257 call=7 total_data=0
[2003/02/24 15:53:42, 3] smbd/process.c:process_smb(860)
  Transaction 7344 of length 120
[2003/02/24 15:53:42, 3] smbd/process.c:switch_message(667)
  switch message SMBtrans2 (pid 10033)
[2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313)
  setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0
[2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(319)
  1 user groups:
  99
[2003/02/24 15:53:42, 3] smbd/trans2.c:call_trans2setfilepathinfo(2350)
  call_trans2setfilepathinfo(8) Saranes_Documents/NJC/Invoices/NJC
Invoice25 R001.xls info_level=257 totdata=40
[2003/02/24 15:53:42, 3] smbd/process.c:process_smb(860)
  Transaction 7345 of length 45
[2003/02/24 15:53:42, 3] smbd/process.c:switch_message(667)
  switch message SMBclose (pid 10033)
[2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313)
  setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0
[2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(319)
  1 user groups:
  99
[2003/02/24 15:53:42, 3] smbd/reply.c:reply_close(2926)
  close fd=22 fnum=12979 (numopen=2)
[2003/02/24 15:53:42, 2] smbd/close.c:close_normal_file(210)
  nobody closed file Saranes_Documents/NJC/Invoices/NJC Invoice25
R001.xls (numopen=1)
[2003/02/24 15:53:42, 3] smbd/process.c:process_smb(860)
  Transaction 7346 of length 142
[2003/02/24 15:53:42, 3] smbd/process.c:switch_message(667)
  switch message SMBntcreateX (pid 10033)
[2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313)
  setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0
[2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(319)
  1 user groups:
  99
[2003/02/24 15:53:42, 3] lib/util.c:unix_clean_name(387)
  unix_clean_name [/Saranes_Documents/NJC/Invoices/NJC Invoice25
R001.xls]
[2003/02/24 15:53:42, 3] smbd/dosmode.c:unix_mode(111)
  unix_mode(Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls)
returning 0744
[2003/02/24 15:53:42, 3] lib/util.c:unix_clean_name(387)
  unix_clean_name [Saranes_Documents/NJC/Invoices/NJC Invoice25
R001.xls]
[2003/02/24 15:53:42, 4] smbd/open.c:open_file_shared(778)
  calling open_file with flags=0x0 flags2=0x0 mode=0744
[2003/02/24 15:53:42, 2] smbd/open.c:open_file(213)
  brigitte opened file Saranes_Documents/NJC/Invoices/NJC Invoice25
R001.xls read=Yes write=No (numopen=2)
[2003/02/24 15:53:42, 3]
smbd/oplock_linux.c:linux_set_kernel_oplock(182)
  set_file_oplock: got kernel oplock on file
Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls, dev = 903, inode
= 13385874, file_id = 2048
[2003/02/24 15:53:42, 3] smbd/process.c:process_smb(860)
  Transaction 7347 of length 63
[2003/02/24 15:53:42, 3] smbd/process.c:switch_message(667)
  switch message SMBreadX (pid 10033)
[2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313)
  setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0
[2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(319)
  1 user groups:
  99
[2003/02/24 15:53:42, 3] smbd/reply.c:reply_read_and_X(2381)
  readX fnum=12980 min=4096 max=4096 nread=4096
[2003/02/24 15:53:42, 3] smbd/process.c:process_smb(860)
  Transaction 7348 of length 142
[2003/02/24 15:53:42, 3] smbd/process.c:switch_message(667)
  switch message SMBntcreateX (pid 10033)
[2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313)
  setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0
[2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(319)
  1 user groups:
  99
[2003/02/24 15:53:42, 3] lib/util.c:unix_clean_name(387)
  unix_clean_name [/Saranes_Documents/NJC/Invoices/NJC Invoice25
R001.xls]
[2003/02/24 15:53:42, 3] smbd/dosmode.c:unix_mode(111)
  unix_mode(Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls)
returning 0744
[2003/02/24 15:53:42, 3] lib/util.c:unix_clean_name(387)
  unix_clean_name [Saranes_Documents/NJC/Invoices/NJC Invoice25
R001.xls]
[2003/02/24 15:53:42, 3] smbd/oplock.c:initial_break_processing(491)
  initial_break_processing: called for dev = 903, inode = 13385874
file_id = 2048
  Current oplocks_open (exclusive = 1, levelII = 0)
[2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/02/24 15:53:42, 3] smbd/oplock.c:initial_break_processing(491)
  initial_break_processing: called for dev = 903, inode = 13385874
file_id = 2048
  Current oplocks_open (exclusive = 1, levelII = 0)
[2003/02/24 15:53:42, 3] smbd/process.c:process_smb(860)
  

RE: [Samba] 95 and NT cannot access shares

2003-02-24 Thread Chris Smith
WFWG 3.11 supports encryted passwords as well.

Rule of thumb should be to use encryted passwords unless you have some
specific reason for not doing so (of which I can't think of any off
hand).

On Mon, 2003-02-24 at 12:36, William R. Knox wrote:
 The information provided here about the use of encrypted passwords is not
 true. NT began to ENFORCE the use of encrypted passwords with SP3, and
 Win95 the same with (I believe) OSR2, but ALL versions of these OSes
 supported encrypted passwords.
 
   Bill Knox
   Senior Operating Systems Programmer/Analyst
   The MITRE Corporation
 
 On Mon, 24 Feb 2003, Don Zajic wrote:
 
  Date: Mon, 24 Feb 2003 04:22:44 -0500
  From: Don Zajic [EMAIL PROTECTED]
  To: 'Dave Ansell' [EMAIL PROTECTED], [EMAIL PROTECTED]
  Subject: RE: [Samba] 95 and NT cannot access shares
 
  Off the top of my head, I would say that using Encrypted passwords is
  greate for W2K and XP, however, 95 does not use encrypted passwords and
  unless you are using SP3 or above on NT, it also does not use encrypted
  password.  Since you are mixing your flavors of Windows from 95 to XP,
  you probably need to disable encrypted password and use plain text
  passwords throughout your domain.
 
  encrypt password = no
 
  You also need to apply the .reg files to change from encrypted to
  plaintext according to your windows version.  These .reg files are
  located in your docs/Registry directory.
 
  Don Zajic
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On
  Behalf Of Dave Ansell
  Sent: Sunday, February 23, 2003 4:07 AM
  To: [EMAIL PROTECTED]
  Subject: [Samba] 95 and NT cannot access shares
 
 
  I have file and print sharing set up on Linux (Mandrake 9.0).
 
  It all works fine with 2000 and XP clients, but 95 and NT clients don't
  seem to be able to access.
 
  Any ideas?
  Thanks,
  Dave
 
 
  Typical log entry from Samba:
 
  [2003/02/22 16:21:37, 0] smbd/service.c:make_connection(599)
wvo1314904 (192.168.1.10) Can't change directory to /home/samba/public
  (Permission denied)
 
  My sbm.conf is:
 
  [global]
   workgroup = Waterlooville
   security = SHARE
   encrypt passwords = Yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n
  unix password sync = Yes  log file = /var/log/samba/log.%m  max log size
  = 50  socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192  dns
  proxy = No
 
  [public]
   comment = Public Stuff
   path = /home/samba/public
   write list = @staff
   read only = No
   guest ok = Yes
 
  [printers]
   comment = All Printers
   path = /var/spool/samba
   create mask = 0700
   guest ok = Yes
   printable = Yes
   print command = /usr/bin/lpr -r -s -P%p %s
   browseable = No
   printer admin = davea
 
 
  --
  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


[Samba] NT_STATUS question

2003-02-24 Thread Justin Anderson

Hi all 


Got a couple of errors in the logs wondering what they mean???

Google does not come up with too much on these NT_STATUS_NO_SUCH_FILE,
NT_STATUS_SHARING_VIOLATION, NT_STATUS_INVALID_LEVEL and
NT_STATUS_OBJECT_NAME_NOT_FOUND.


Four clips illustrating the above are below...


I have am wondering how I sort this out. I am particularly worried about
the NT_STATUS_NO_SUCH_FILE.


All the best 
Justin.

EXAMPLE 1

  New file A13C
[2003/02/24 09:30:05, 8] lib/util.c:is_in_path(1115)
  is_in_path: Brigittes Documents/Work/Invoices/A13C
[2003/02/24 09:30:05, 8] lib/util.c:is_in_path(1120)
  is_in_path: no name list.
[2003/02/24 09:30:05, 3] lib/util.c:unix_clean_name(387)
  unix_clean_name [Brigittes Documents/Work/Invoices/A13C]
[2003/02/24 09:30:05, 3] smbd/trans2.c:call_trans2qfilepathinfo(1636)
  call_trans2qfilepathinfo: vfs_stat of Brigittes
Documents/Work/Invoices/A13C failed (No such file or directory)
[2003/02/24 09:30:05, 3] smbd/error.c:error_packet(91)
  error string = No such file or directory
[2003/02/24 09:30:05, 3] smbd/error.c:error_packet(99)
  error packet at smbd/trans2.c(1638) cmd=50 (SMBtrans2)
NT_STATUS_NO_SUCH_FILE

^^^

[2003/02/24 09:30:05, 5] lib/util.c:show_msg(268)
  size=35
  smb_com=0x32
  smb_rcls=15
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=16449
[2003/02/24 09:30:05, 5] lib/util.c:show_msg(276)
  smb_tid=1
  smb_pid=404
  smb_uid=100
  smb_mid=41344
  smt_wct=0
[2003/02/24 09:30:05, 5] lib/util.c:show_msg(291)
  smb_bcc=0
[2003/02/24 09:30:05, 6] lib/util_sock.c:write_socket(518)
  write_socket(12,39)
[2003/02/24 09:30:05, 6] lib/util_sock.c:write_socket(521)
  write_socket(12,39) wrote 39
[2003/02/24 09:30:05, 6] smbd/process.c:process_smb(859)
  got message type 0x0 of len 0x82
[2003/02/24 09:30:05, 3] smbd/process.c:process_smb(860)
  Transaction 6 of length 134
[2003/02/24 09:30:05, 5] lib/util.c:show_msg(268)






EXAMPLE 2

[2003/02/24 09:30:06, 5] smbd/uid.c:change_to_user(200)
  change_to_user uid=(0,99) gid=(0,99)
[2003/02/24 09:30:06, 3] smbd/oplock.c:oplock_break(855)
  oplock_break: returning success for dev = 903, inode = 1507360,
file_id = 13
  Current exclusive_oplocks_open = 0
[2003/02/24 09:30:06, 2] smbd/open.c:check_share_mode(422)
  Share violation on file (4,1,2,28171,Brigittes
Documents/Work/Invoices/A13C,fcbopen = 0, flags = 0) = 0
[2003/02/24 09:30:06, 2] smbd/open.c:open_file(213)
  brigitte opened file Brigittes Documents/Work/Invoices/A13C
read=Yes write=No (numopen=3)
[2003/02/24 09:30:06, 4] smbd/open.c:open_file_shared(762)
  open_file_shared : share_mode deny - calling open_file with flags=0x0
flags2=0x0 mode=0744 returned 1
[2003/02/24 09:30:06, 5] smbd/files.c:file_free(338)
  freed files structure 7206 (2 used)
[2003/02/24 09:30:06, 3] smbd/error.c:error_packet(91)
  error string = Operation not permitted
[2003/02/24 09:30:06, 3] smbd/error.c:error_packet(99)
  error packet at smbd/nttrans.c(883) cmd=162 (SMBntcreateX)
NT_STATUS_SHARING_VIOLATION
^^^
[2003/02/24 09:30:06, 5] lib/util.c:show_msg(268)
  size=35
  smb_com=0xa2
  smb_rcls=67
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=16385
[2003/02/24 09:30:06, 5] lib/util.c:show_msg(276)
  smb_tid=1
  smb_pid=404
  smb_uid=100
  smb_mid=60929
  smt_wct=0
[2003/02/24 09:30:06, 5] lib/util.c:show_msg(291)


EXAMPLE 3


[2003/02/24 09:30:06, 5] smbd/uid.c:change_to_user(200)
  change_to_user uid=(0,99) gid=(0,99)
[2003/02/24 09:30:06, 3] smbd/trans2.c:call_trans2qfilepathinfo(1560)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 265
[2003/02/24 09:30:06, 3] smbd/trans2.c:call_trans2qfilepathinfo(1646)
  call_trans2qfilepathinfo Brigittes Documents/Work/Invoices/NJC
Invoice01AAA.xls level=265 call=7 total_data=0
[2003/02/24 09:30:06, 8] smbd/dosmode.c:dos_mode(123)
  dos_mode: Brigittes Documents/Work/Invoices/NJC Invoice01AAA.xls
[2003/02/24 09:30:06, 8] lib/util.c:is_in_path(1115)
  is_in_path: Brigittes Documents/Work/Invoices/NJC Invoice01AAA.xls
[2003/02/24 09:30:06, 8] lib/util.c:is_in_path(1120)
  is_in_path: no name list.
[2003/02/24 09:30:06, 8] smbd/dosmode.c:dos_mode(167)
  dos_mode returning a
[2003/02/24 09:30:06, 3] smbd/error.c:error_packet(99)
  error packet at smbd/trans2.c(2080) cmd=50 (SMBtrans2)
NT_STATUS_INVALID_LEVEL
^^

[2003/02/24 09:30:06, 5] lib/util.c:show_msg(268)
  size=35
  smb_com=0x32
  smb_rcls=72
  smb_reh=1
  smb_err=49152
  smb_flg=136
  smb_flg2=16449
[2003/02/24 09:30:06, 5] lib/util.c:show_msg(276)
  smb_tid=1
  smb_pid=404
  smb_uid=100
  smb_mid=61057
  smt_wct=0
[2003/02/24 09:30:06, 5] lib/util.c:show_msg(291)
  smb_bcc=0
[2003/02/24 09:30:06, 6] lib/util_sock.c:write_socket(518)

EXAMPLE 4
[2003/02/24 09:30:07, 5] smbd/mangle.c:name_map_mangle(988)
  name_map_mangle( A13C, need83 = False, cache83 = True, 4 )
[2003/02/24 09:30:07, 5] smbd/mangle.c:name_map_mangle(1023)
  name_map_mangle() == [A13C]
[2003/02/24 09:30:07, 5] 

Re: [Samba] Unable tp map to a samba share from home

2003-02-24 Thread Jon Niehof
I have a filtered restriction on port 139 Why ?
*puts on mindreader cap*

I suspect what you're trying to say is that you have a samba 
server running at home (as a guess--on comcast's cable modem 
service) and are trying to access it remotely, but it fails 
because port 139 is filtered.

*If* that is the case, I would further suspect that comcast 
is intentionally filtering smb/cifs traffic on their net so 
as to somewhat impede rampant file trading and also to 
protect folk who run unsecured windows machines on their 
networks. Those boxes get rooted, customers blame comcast. 
Worse, those boxes become DDoS zombies, *everyone* blames 
comcast.

SMB over the Internet is a Bad Idea IMO. Look into a VPN or 
SSH tunnel if you *really* need it.

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


[Samba] passdb

2003-02-24 Thread maraqas
Hi all,
got a problem with samba server: cannot connect from a windows2k machine
neither run smbpasswd: always get the same message unable to open passdb
database.
Have RedHat 8.0.

Thanks

maq

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


Re: [Samba] LDAP auth with nis.schema

2003-02-24 Thread Matt Schillinger
Is it possible to get samba to act as a PDC with encrypt passwords =
no ??

Matt Schillinger
[EMAIL PROTECTED]


On Sat, 2003-02-22 at 12:12, Gerald (Jerry) Carter wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On Thu, 20 Feb 2003, Odd Rune Dahle wrote:
 
  I'm wondering if it's possible to get samba to auth against LDAP without
  saving multiple hashes in the directory? I'd like to keep it to the hash
  that we use to auth unix-systems today, without cluttering the directory
  with other hashes that need to be synchronized etc.
 
 not if you want to use encrypt passwords = yes
 
 
 
 
 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+V72MIR7qMdg1EfYRAqGpAJ9T9g2B/at5KnQUrg7wIfmvawV5WwCgk3x+
 +thtqjn9iR95ioYanAyLt1U=
 =Zuy7
 -END PGP SIGNATURE-
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
-- 
Matt Schillinger
System Administrator
FlightSafety International
[EMAIL PROTECTED]
314-551-8403


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


[Samba] elektronik cihazlar - bilgisayar ve yanürünleri tamir bakým servisi

2003-02-24 Thread garantili tamir
• Walkman CD/Kaset/Radyo
• CD player
• DVD Playerlar
• VCD Playerlar
• Fotoðraf Makinesi / Kameralar
• MP3 Playerlar
• Müzik Setleri
• Müzik Sistemleri
• Video Playerlar
• Oyun Konsollarý
• Radyolar
• Digital Kayýt Cihazlarý
• Ev Sinemalarý
• Ses Sistemleri
• Anakartlar
• CD / DVD Yazýcýlar
• CD Sürücüler
• DVD Sürücüler
• Ekran Kartlarý
• Hafýza Ürünleri
• Ýþlemciler
• Kablosuz Ürünler
• Kontrol Kartlarý
• Monitörler
• Network Ürünleri
• Sabit Diskler
• Ses ve Görüntü Ürünleri
• Ses Kartlarý
• Tarayýcýlar
• TV / Radyo Kartlarý
• Yedekleme Üniteleri
• Barkod Ürünleri
• MP3 Çalýcýlar
- Cep Telefonlarý
– telsiz telefonlar
• Fax / Modem Kartlarý
• Hoparlörler
• Kesintisiz Güç Kaynaklarý
• Lazer Yazýcýlar
• Püskürtmeli Yazýcýlar
• Nokta Vuruþlu Yazýcýlar
• Desknote Bilgisayar
• Masa Üstü Bilgisayarlar
• Taþýnabilir Bilgisayarlar

-GARANTÝLÝ TAMÝR VE BAKIM!!!
-TÜRKÝYENÝN HER NOKTASINA KARGOYLA SERVÝS.

ATLANTÝS
Elektronik-Bilgisayar
Tel : 0212 259 07 95


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


Re: [Samba] LDAP auth with nis.schema

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

On 24 Feb 2003, Matt Schillinger wrote:

 Is it possible to get samba to act as a PDC with encrypt passwords =
 no ??

nope.





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

iD8DBQE+WnAqIR7qMdg1EfYRAkRcAJ0cXXtoWX7URH3DC25WNNTdVvkoggCglljX
wPJQ3KT0sz/n7uFbsXhvFm0=
=kV3q
-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] XP irratic delay in opening files....

2003-02-24 Thread Justin Anderson

I think this sorts out the problem, I had some one try it out tonight a
couple of times (seems to be fine) but will try it out tomorrow to make
absolutely sure...

oplocks = False
level2oplocks = False
 
added to the samba config file

Cheers Justin.

On Mon, 2003-02-24 at 20:31, Justin Anderson wrote:
 Hi all
 
 I am fairly new to samba and XP. I have a client who we set up a samba
 server for, they are complaining about documents taking about 30 secs
 -2-3mins to open but only sometimes (it can be very frequent). I have
 seen this and captured a piece of the log file I wonder if any one can
 make any sense of it...
 
 I have been looking on the net and trying various things all day but to
 no avail...
 
 
 
 2003/02/24 15:53:42, 3] smbd/trans2.c:call_trans2qfilepathinfo(1560)
   call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 257
 [2003/02/24 15:53:42, 3] smbd/trans2.c:call_trans2qfilepathinfo(1646)
   call_trans2qfilepathinfo Saranes_Documents/NJC/Invoices/NJC Invoice25
 R001.xls level=257 call=7 total_data=0
 [2003/02/24 15:53:42, 3] smbd/process.c:process_smb(860)
   Transaction 7344 of length 120
 [2003/02/24 15:53:42, 3] smbd/process.c:switch_message(667)
   switch message SMBtrans2 (pid 10033)
 [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313)
   setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0
 [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(319)
   1 user groups:
   99
 [2003/02/24 15:53:42, 3] smbd/trans2.c:call_trans2setfilepathinfo(2350)
   call_trans2setfilepathinfo(8) Saranes_Documents/NJC/Invoices/NJC
 Invoice25 R001.xls info_level=257 totdata=40
 [2003/02/24 15:53:42, 3] smbd/process.c:process_smb(860)
   Transaction 7345 of length 45
 [2003/02/24 15:53:42, 3] smbd/process.c:switch_message(667)
   switch message SMBclose (pid 10033)
 [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313)
   setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0
 [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(319)
   1 user groups:
   99
 [2003/02/24 15:53:42, 3] smbd/reply.c:reply_close(2926)
   close fd=22 fnum=12979 (numopen=2)
 [2003/02/24 15:53:42, 2] smbd/close.c:close_normal_file(210)
   nobody closed file Saranes_Documents/NJC/Invoices/NJC Invoice25
 R001.xls (numopen=1)
 [2003/02/24 15:53:42, 3] smbd/process.c:process_smb(860)
   Transaction 7346 of length 142
 [2003/02/24 15:53:42, 3] smbd/process.c:switch_message(667)
   switch message SMBntcreateX (pid 10033)
 [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313)
   setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0
 [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(319)
   1 user groups:
   99
 [2003/02/24 15:53:42, 3] lib/util.c:unix_clean_name(387)
   unix_clean_name [/Saranes_Documents/NJC/Invoices/NJC Invoice25
 R001.xls]
 [2003/02/24 15:53:42, 3] smbd/dosmode.c:unix_mode(111)
   unix_mode(Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls)
 returning 0744
 [2003/02/24 15:53:42, 3] lib/util.c:unix_clean_name(387)
   unix_clean_name [Saranes_Documents/NJC/Invoices/NJC Invoice25
 R001.xls]
 [2003/02/24 15:53:42, 4] smbd/open.c:open_file_shared(778)
   calling open_file with flags=0x0 flags2=0x0 mode=0744
 [2003/02/24 15:53:42, 2] smbd/open.c:open_file(213)
   brigitte opened file Saranes_Documents/NJC/Invoices/NJC Invoice25
 R001.xls read=Yes write=No (numopen=2)
 [2003/02/24 15:53:42, 3]
 smbd/oplock_linux.c:linux_set_kernel_oplock(182)
   set_file_oplock: got kernel oplock on file
 Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls, dev = 903, inode
 = 13385874, file_id = 2048
 [2003/02/24 15:53:42, 3] smbd/process.c:process_smb(860)
   Transaction 7347 of length 63
 [2003/02/24 15:53:42, 3] smbd/process.c:switch_message(667)
   switch message SMBreadX (pid 10033)
 [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313)
   setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0
 [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(319)
   1 user groups:
   99
 [2003/02/24 15:53:42, 3] smbd/reply.c:reply_read_and_X(2381)
   readX fnum=12980 min=4096 max=4096 nread=4096
 [2003/02/24 15:53:42, 3] smbd/process.c:process_smb(860)
   Transaction 7348 of length 142
 [2003/02/24 15:53:42, 3] smbd/process.c:switch_message(667)
   switch message SMBntcreateX (pid 10033)
 [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313)
   setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0
 [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(319)
   1 user groups:
   99
 [2003/02/24 15:53:42, 3] lib/util.c:unix_clean_name(387)
   unix_clean_name [/Saranes_Documents/NJC/Invoices/NJC Invoice25
 R001.xls]
 [2003/02/24 15:53:42, 3] smbd/dosmode.c:unix_mode(111)
   unix_mode(Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls)
 returning 0744
 [2003/02/24 15:53:42, 3] lib/util.c:unix_clean_name(387)
   unix_clean_name [Saranes_Documents/NJC/Invoices/NJC Invoice25
 R001.xls]
 [2003/02/24 15:53:42, 3] smbd/oplock.c:initial_break_processing(491)
   initial_break_processing: called for dev = 903, inode = 13385874
 file_id = 2048
   Current 

[Samba] [Fwd: Re: GCC 3.3 release criteria]

2003-02-24 Thread Dan Kegel
gcc is a great compiler, but as of gcc3.2.2, it can't
compile Samba on Sparc with -O2.  This has been marked
as a high priority bug in the gcc bug tracking system,
and should be fixed before the next release.
To make such regressions less likely in the future,
it would be helpful if somebody were to look at
http://gcc.gnu.org/testing/
and submit a build-and-test guide for Samba to the maintainer
of that page.  This would make it more likely the
gcc volunteers will do regression testing of
new releases of gcc against Samba.
BTW, I got involved in this because I saw a rant against
gcc in the libtool mailing list by someone who was
burnt by this regression.  I forwarded his rant to the
gcc mailing list, and almost immediately a gcc developer
stepped forward to help make sure the problem goes away.
I'm not enough of a Samba hacker (or even user) to write
the guide, but I bet it'd be duck soup for some of the
folks here.
Thanks,
Dan
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Samba solaris

2003-02-24 Thread Hoevenaar, Jeff
Running Soalris 8, Samba 2.0.5

Samba seems to startup with no problems.

I cannot access my shares.  It was working before the server was
rebooted.

When I type smbstatus I get the following error message:

Samba version 2.0.5
Service  uid  gid  pid machine
--

ERROR: root did not create the semaphore
ERROR: Failed to initialise share modes
Can't initialise shared memory - exiting


Anyone have any ideas on what the problem is?

Thanks.


**
The content of this email message and any attachments are confidential and may be 
legally privileged, intended solely for the addressee. If you are not the intended 
recipient, be advised that any use, dissemination, distribution, or copying of this 
e-mail is strictly prohibited. If you receive this message in error, please notify the 
sender immediately by reply email and destroy the message and its attachments.
**

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


[Samba] RE: NEWBIE Samba installation issues

2003-02-24 Thread Joseph Teo
Hi,

I am currently trying to install samba from a .tar.gz file.

I typed ./configure and i get the following message:

loading cache ./config.cache
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
Please help.. I'm not too sure what I'm suppose to do from here.

Thanks

Joe

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


[Samba] PDF Printer issue

2003-02-24 Thread Robert Adkins II
Hello Everyone,

I have a slight issue with configuring a PDF printer on my Samba
servers. I have input the following into my smb.conf file and it does
create the printer as well as work to create PDF files, except that it
only functions when printing to that printer via Excel 2002. If I
attempt it with anything else, even the Windows Test print, it fails.

Now, in the Windows Printers folder, if I select the PDF printer
the status box states that the printer is inactive and not ready.
However, if I browse to the printer through the Windows Explorer Network
Neighborhood, the printer shows up as active and ready.

I am unsure quite what the problem is, which means it is likely
something very easy. There is one thing to note, I have not a single
Linux Printing Subsystem running on the machine as this server is not
being used for regular printing of any sort. 

Here is my smb.conf section:


[purchpdf]
comment = PDF Generator for Purchasing
path = /var/spool/samba
valid users = *UserNames Removed*
write list = *UserNames Removed*
printable = yes
print command = gs -dNOPAUSE -dbatch -q -sDEVICE=pdfwrite
-sOutputFile=/share/purchasing/pdf/%J.pdf %J 1/dev/null 21; rm -f %J

Thanks for any assistance that can be rendered.

Regards,
Robert Adkins II
IT Manager/Buyer
Impel Industries, Inc.
586-254-5800



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


Re: [Samba] RE: NEWBIE Samba installation issues

2003-02-24 Thread Gabriel D. Preston
Joseph-

Trying doing this from your prompt:

find / -name gcc

Then if gcc is found, do something like this:

CC=(your output) ./configure

This is a temporary way of saying where your C compiler is installed.  
It would probably be in your best interest to add the directory you find 
'cc' at into your PATH by editing your .bashrc or .cshrc or whatever you 
may have kept in your home directory.

HTH-

Gabriel

Joseph Teo wrote:

Hi,

I am currently trying to install samba from a .tar.gz file.

I typed ./configure and i get the following message:

loading cache ./config.cache
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
Please help.. I'm not too sure what I'm suppose to do from here.

Thanks

Joe

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


[Samba] Retrieving group membership from Active Directory

2003-02-24 Thread Robert Greenwell
I am new to Samba.  I am trying to create a PERL script that will authenticate a user 
with Active Directory and return a list of groups that this user belongs to.  I would 
like to do this from a linux box.  How should I begin?

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


[Samba] SWAT

2003-02-24 Thread clementina di meglio
Dear Andrew Tridgell,
Excuse me for my English: it's terrible!
I am a italian tetcher of Computer Science and I want to introduce the 
Open Source Software in my school. At this moment I search for to 
configure a  School's LAN with Samba, bad i am *not successful to run SWAT*.
Can you help me?
I work with Linux Redhat 8.0 and Samba 2.2.5.
Tank's  for your responce.
Clementina Di Meglio

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


RE: [Samba] problem configuring smbd for domain authentication

2003-02-24 Thread Esler, Joel Contractor
with AD / Win2k you have to use encrypted passwords.  to Create a password
file for Samba:

#  cat /etc/passwd | mksmbpasswd.sh  /etc/samba/smbpasswd

# chmod 600 /etc/samba/smbpasswd

# smbpasswd username

Encrypted passwords must be enabled in the smb.conf

in the [global] section

encrypt password = yes
smb passwd file = /etc/samba/smbpasswd






-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, February 24, 2003 4:47 PM
To: [EMAIL PROTECTED]
Subject: [Samba] problem configuring smbd for domain authentication


Hello everyone, I am trying to configure a Samba 2.2 server to allow users
to mount their home
directories (stored on a UNIX filesystem) from Windows after authenticating
against a Windows 2000
Domain Controller.  

The Samba server is 2.2.3a compiled with acl support on Solaris 8.  I think
I am experiencing  some (hopefully)
basic configuration issues and can't seem to get it to work.  I really hope
some can help! 

The name of our Windows 2000 Domain is ad The domain controller is
(aptly named) dc.  I have placed a static
record in WINs for the samba server, and added a record to the Active
Directory Computers container for it as well.
The domain controller is a mixed-mode controller (I read in the docs that
doesn't make any difference but I thought
I'd mention it) and it the only domain controller for the AD domain. 

With the command, smbpasswd -r DC -j ad... -UAdministrator%mypassword, I
get a successful response:
Joined domain AD.

However, when I get on a Windows 2000 machine (which is also a member of the
domain AD), and try
to mount \\mysambaserver\acls as a user who is already authenticated in the
AD domain, it fails
(the windows end seems to hang and *eventually* prompts me for another
username password) and 
I see the following in my samba logs:

 cli_net_auth2: Error NT_STATUS_ACCESS_DENIED
[2003/02/24 16:35:19, 0] rpc_client/cli_login.c:cli_nt_setup_creds(74)
  cli_nt_setup_creds: auth2 challenge failed
[2003/02/24 16:35:19, 0]
smbd/password.c:connect_to_domain_password_server(1336)
  connect_to_domain_password_server: unable to setup the PDC credentials to
machine DC. Error was : NT_STATUS_OK.
[2003/02/24 16:35:19, 0] smbd/password.c:domain_client_validate(1554)
  domain_client_validate: Domain password server not available.
[2003/02/24 16:35:19, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1367)
  unable to open passdb database.
[2003/02/24 16:35:19, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1367)
  unable to open passdb database.
[2003/02/24 16:35:19, 0] rpc_client/cli_netlogon.c:cli_net_auth2(157)
  cli_net_auth2: Error NT_STATUS_ACCESS_DENIED
[2003/02/24 16:35:19, 0] rpc_client/cli_login.c:cli_nt_setup_creds(74)
  cli_nt_setup_creds: auth2 challenge failed
[2003/02/24 16:35:19, 0]
smbd/password.c:connect_to_domain_password_server(1336)
  connect_to_domain_password_server: unable to setup the PDC credentials to
machine DC. Error was : NT_STATUS_OK.
[2003/02/24 16:35:19, 0] smbd/password.c:domain_client_validate(1554)
  domain_client_validate: Domain password server not available.

Here is a listing of my smb.conf file:
[global]
# debug level = 2
   # Stuff needed by nmdb first
   interfaces = myip
   domain master = no
   local master = no
   preferred master = no
   os level = 0
   log file = /tmp/slog
   wins server = 192.168.28.13
   guest account = nobody
   encrypt passwords = Yes
#   security = server
   security = domain
   workgroup = ad
   password server = dc
   username map=/usr/local/samba/lib/ntstaff.map
   invalid users = root

[homes]
   comment = Home Directories
   locking = no
   browseable = no
   read only = no
   force create mode = 0750
   create mode = 0750
   force directory mode = 0750
   directory mode = 0750
   preserve case = yes

[acls]
   Comments = Account information
   path = /export/home/acls
   create mode = 660
   force create mode = 660
   directory mode = 770
   force directory mode = 770
   preserve case = yes
   browseable = yes


I am fairly certain the ntstaff.map file is correct as it works in other
configurations. I'll post the line with the username
I used:
!rotest2 = rotest2


If anyone would like any more information I'd be happy to provide it.  I am
really stumped right now as I think everything I am
trying to do should work, but I don't know what I am doing wrong.  I would
be most grateful for any assistance.

Thanks,


Rohit Kumar Mehta
University of Connecticut
School of Engineering
Systems Manager
[EMAIL PROTECTED]
-- 
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 as PDC + IIS + Frontpage

2003-02-24 Thread Craig Whitmore
I wish to use Samba as a PDC for a win2K server running IIS and Frontpage Server 
Extentions.

I have no trouble with it upto the point in Frontpage service extensions not 
installing on any of the sites. 

Can anyone help or has this working correctly?

I can even pay for support if needed

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


RE: [Samba] NT_STATUS question

2003-02-24 Thread Robert Adkins II
Anyone,

Is there a method to eliminate Windows attempting to open up a
Desktop.ini file in every directory, save a few *important* ones, like
C:\windows\, C:\Program Files and others? I am of the opinion that might
help increase Windows performance or at least be easier on Samba
Logfiles...

I will look into it myself, but if someone has the answer
handy...

Regards,
Robert Adkins II
IT Manager/Buyer
Impel Industries, Inc.
586-254-5800


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Andrew Bartlett
Sent: Monday, February 24, 2003 5:01 PM
To: Justin Anderson
Cc: samba list
Subject: Re: [Samba] NT_STATUS question

On Tue, 2003-02-25 at 07:58, Justin Anderson wrote:
 
 Hi all 
 
 
 Got a couple of errors in the logs wondering what they mean???
 
 Google does not come up with too much on these NT_STATUS_NO_SUCH_FILE,
 NT_STATUS_SHARING_VIOLATION, NT_STATUS_INVALID_LEVEL and
 NT_STATUS_OBJECT_NAME_NOT_FOUND.
 
 
 Four clips illustrating the above are below...
 
 
 I have am wondering how I sort this out. I am particularly worried
about
 the NT_STATUS_NO_SUCH_FILE.

Errors are a standard part of SMB - and windows will often open
non-existent files.  (Like desktop.ini in *every* directory).

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net

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


RE: [Samba] NT_STATUS question

2003-02-24 Thread Andrew Bartlett
On Tue, 2003-02-25 at 09:34, Robert Adkins II wrote:
 Anyone,
 
   Is there a method to eliminate Windows attempting to open up a
 Desktop.ini file in every directory, save a few *important* ones, like
 C:\windows\, C:\Program Files and others? I am of the opinion that might
 help increase Windows performance or at least be easier on Samba
 Logfiles...

If you run Samba with the log level that high, then your performance is
already shot.  If it is causing you particular pain (ie, more than a
failed lookup - like it is brining offline-storage online or other such
mischief - then look into writing a VFS module to make out that call).

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net


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


RE: [Samba] NT_STATUS question

2003-02-24 Thread Bob Crandell
Hi,

I don't know about restricting this action to certain folders but in Folder
Options/View is a setting Remember each folder's view settings.  You might try
clearing that and see what happens.

Robert Adkins II ([EMAIL PROTECTED]) wrote*:

Anyone,


Is there a method to eliminate Windows attempting to open up a
Desktop.ini file in every directory, save a few *important* ones, like
C:\windows\, C:\Program Files and others? I am of the opinion that might
help increase Windows performance or at least be easier on Samba
Logfiles...


I will look into it myself, but if someone has the answer
handy...

Regards,
Robert Adkins II
IT Manager/Buyer
Impel Industries, Inc.
586-254-5800


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Andrew Bartlett
Sent: Monday, February 24, 2003 5:01 PM
To: Justin Anderson
Cc: samba list
Subject: Re: [Samba] NT_STATUS question

On Tue, 2003-02-25 at 07:58, Justin Anderson wrote:

 Hi all


 Got a couple of errors in the logs wondering what they mean???

 Google does not come up with too much on these NT_STATUS_NO_SUCH_FILE,
 NT_STATUS_SHARING_VIOLATION, NT_STATUS_INVALID_LEVEL and
 NT_STATUS_OBJECT_NAME_NOT_FOUND.


 Four clips illustrating the above are below...


 I have am wondering how I sort this out. I am particularly worried
about
 the NT_STATUS_NO_SUCH_FILE.

Errors are a standard part of SMB - and windows will often open
non-existent files.  (Like desktop.ini in *every* directory).

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] NT_STATUS question

2003-02-24 Thread Robert Adkins II
Andrew,

I am definitely not running Samba with a log level that high.
There are times when I see a number of Samba error messages at the
console. Nobody took the time to answer why they show up there and I was
unable to locate any information as to why they show up on the console.
I imagine that many of those will cease if there was a method to keep
Windows from causing such errors to occur.

It hasn't really caused me any major issues at this time, as the
network I am running is still quite small. (less then 20 users) However,
I could see that being a potential issue in the future, if Samba is
attempting to service those requests as the number of users increase
there will be an increase in the number of times that Samba needs to
say, No, there isn't such a file to the Windows clients.

Your suggestion to create a VFS module to handle that issue
sounds interesting. I am completely lost as to where to begin looking,
besides googling for it, do you have a link or two that you would
recommend to introduce someone to VFS modules? 

Thanks.

Regards,
Robert Adkins II
IT Manager/Buyer
Impel Industries, Inc.
586-254-5800


-Original Message-
From: Andrew Bartlett [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 24, 2003 5:29 PM
To: Robert Adkins II
Cc: 'Andrew Bartlett'; 'Justin Anderson'; 'samba list'
Subject: RE: [Samba] NT_STATUS question

On Tue, 2003-02-25 at 09:34, Robert Adkins II wrote:
 Anyone,
 
   Is there a method to eliminate Windows attempting to open up a
 Desktop.ini file in every directory, save a few *important* ones, like
 C:\windows\, C:\Program Files and others? I am of the opinion that
might
 help increase Windows performance or at least be easier on Samba
 Logfiles...

If you run Samba with the log level that high, then your performance is
already shot.  If it is causing you particular pain (ie, more than a
failed lookup - like it is brining offline-storage online or other such
mischief - then look into writing a VFS module to make out that call).

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net

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


[Samba] NetBIOS Datagram (UDP 138) probe

2003-02-24 Thread Erik Anderson
 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I have the task of service validation in a service scanning program.

I am having a hard time getting or soliciting any NetBIOS Datagram
(netbios-dgm) response from UDP port 138.

I need to be able to send a data packet to UDP 138 or any UDP/TCP
port and get a NetBIOS Datagram out of UDP 138.

I can only seem to get a broadcast NetBIOS Datagram.  Not sure if it
broadcasts on an interval.  Does UDP Port 138 listen only?  Does it
send a netbios-dgm in response to some event?

If there is a query I can send what it is?  Does anyone have a TCP
Dump of such a packet?

I took apart the Samba source and duplicated the cli_send_mailslot
functionality but still I can not get a response.

Samba group has been sending and decoding NetBIOS data for a while so
I am hoping someone can help.

ThanX in advance

Erik

-BEGIN PGP SIGNATURE-
Version: PGP Personal Security 7.0.3

iQA/AwUBPlqjv2BNrGASwj07EQKx7gCfbYyEN3DFGfNx2y6ZXhYbcoQ1FooAoNPm
/W16qBTiZn21clO6e2v5rWIb
=UrWQ
-END PGP SIGNATURE-

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


Re: [Samba] RE: NEWBIE Samba installation issues

2003-02-24 Thread Joseph Teo
Hey again list,

I did what Gabriel suggested and it didnt' find a C compiler as most of 
you have said to me.I'm using redhat 7.3 currently on my system and 
I would of thought that a C compiler would of been installed with it??? 
But since this isn't the case... I'll have to find a c compiler first 
before i can do anything else by the sounds of things.  Can anyone 
suggest where to look for one keeping in mind that I don't have a compiler?

yes i am logged in as root as well while running ./configure

Gabriel D. Preston wrote:

Joseph-

Trying doing this from your prompt:

find / -name gcc

Then if gcc is found, do something like this:

CC=(your output) ./configure

This is a temporary way of saying where your C compiler is installed.  
It would probably be in your best interest to add the directory you 
find 'cc' at into your PATH by editing your .bashrc or .cshrc or 
whatever you may have kept in your home directory.

HTH-

Gabriel

Joseph Teo wrote:

Hi,

I am currently trying to install samba from a .tar.gz file.

I typed ./configure and i get the following message:

loading cache ./config.cache
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
Please help.. I'm not too sure what I'm suppose to do from here.

Thanks

Joe




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


[Samba] Re: Password Syncronization

2003-02-24 Thread Jim
I believe there is an 'password server' option in smb.conf that might 
suffice.  Alternatively, you *might* be able to replicate from AD to an 
OpenLDAP server.  I don't know about 3.0

Matt Schillinger wrote:
Is there any functionality to allow a samba pdc syncronize password
databases with NT/2000 machines? in TNG or otherwise? 3.0?
Matt Schillinger

[EMAIL PROTECTED]





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


[Samba] Re: NEWBIE Samba installation issues

2003-02-24 Thread Jim
What distrobution?
If you are not used to open source programming tools then an rpm file 
might be a better way for you to go.  If you want to GET used to using 
them then you probably need to install at least some of them.

Joseph Teo wrote:
Hi,

I am currently trying to install samba from a .tar.gz file.

I typed ./configure and i get the following message:

loading cache ./config.cache
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
Please help.. I'm not too sure what I'm suppose to do from here.

Thanks

Joe



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


Re: [Samba] [Fwd: Re: GCC 3.3 release criteria]

2003-02-24 Thread Martin Pool
Dan Kegel [EMAIL PROTECTED] wrote
 gcc is a great compiler, but as of gcc3.2.2, it can't
 compile Samba on Sparc with -O2.  This has been marked
 as a high priority bug in the gcc bug tracking system,
 and should be fixed before the next release.
 
 To make such regressions less likely in the future,
 it would be helpful if somebody were to look at
 http://gcc.gnu.org/testing/
 and submit a build-and-test guide for Samba to the maintainer
 of that page.  This would make it more likely the
 gcc volunteers will do regression testing of
 new releases of gcc against Samba.

Thanks for suggesting this.

One problem is that Samba does not have a very good automated test
suite yet.  It would be hard for somebody trying to test gcc to know
whether they had built a working Samba or not.  So they might catch
bugs which cause gcc to abort, but perhaps not code generation bugs.

Perhaps you could try to summarize the Samba install instructions in
the format the gcc folks want, and then forward it to the
samba-technical list for review?

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


[Samba] Re: SWAT

2003-02-24 Thread Jim
Try this:
http://www.mandrakeuser.org/docs/connect/index.html#lfs
I believe Mandrake is a French product so there may be some translations 
available.

clementina di meglio wrote:
Dear Andrew Tridgell,
Excuse me for my English: it's terrible!
I am a italian tetcher of Computer Science and I want to introduce the 
Open Source Software in my school. At this moment I search for to 
configure a  School's LAN with Samba, bad i am *not successful to run 
SWAT*.
Can you help me?
I work with Linux Redhat 8.0 and Samba 2.2.5.
Tank's  for your responce.
Clementina Di Meglio



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


RE: [Samba] Re: passdb not found

2003-02-24 Thread Florian Stahl
Hi maq,

I have seen this with RedHat 8.0 the other day

try adding users with

#] smbadduser LINUX_USERNAME:WIN_USERNAME 

whereas Linux and Win Username are usually the same...

if this did not work, I had a blank file /etc/samba/smbpasswd created
and used the above command again.

florian

[EMAIL PROTECTED]

 
 Check the permissions and location of your passwd file?
 Normally it is in /etc/passwd
 
 maraqas wrote:
  Hello,
  i've got a Redhat 8.0 installation. I tried to 
 configure my linux box to
  run the
  samba server and share some dirs and a printer. When i try 
 to connect from a
  Windows machine, the request fails and the log says: unable 
 to open passdb
  database. The same result i get if trying to run smbpasswd 
 user_name from
  the linux box itself.
  What can i do? Do you need any additional info?
  
  maq
  
 
 
 -- 
 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] 95 and NT cannot access shares

2003-02-24 Thread Don Zajic
Bill and John, I stand VERY corrected.  Long days, short nights, new
job, no other good excuses.  I will make an effort to thoroughly
research the issue prior to making a response.

Dave, I hope that my response did not cause you too much confusion or
frustration.

Don Zajic

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of John H Terpstra
Sent: Monday, February 24, 2003 12:55 PM
To: William R. Knox
Cc: [EMAIL PROTECTED]; Don Zajic
Subject: RE: [Samba] 95 and NT cannot access shares


On Mon, 24 Feb 2003, William R. Knox wrote:

Bill,

Thanks for jumping in here. I'd like to reinforce your correction. Would
everyone please take note!

Someone who does a search on the samba mailing lists on this subject
will find many incorrect assertions regarding encrypted password support
in MW Windows products. Bill, your comments here are absolutely correct.

 The information provided here about the use of encrypted passwords is 
 not true.

NOTE THIS NEXT STATEMENT!!

 NT began to ENFORCE the use of encrypted passwords with SP3, and Win95

 the same with (I believe) OSR2, but ALL versions of these OSes 
 supported encrypted passwords.

Please note also, that it is possible to use the PlainText registry
hacks to re-enable support for clear text passwords, but MS Windows
clients will cache only the encrypted password. This means that when the
Windows client drops a share connection (through time-out or for any
other reason) then on attempt to re-use the share the Windows client
will send the encrypted password in the attempt to reconnect (it does
not have the plain text password in it's cache). This can cause a blue
screen problem and may cause nasty application failures.

SO:

It is best NOT to use plain text passwords, instead use only encrypted
passwords - PARTICULARLY given that ALL MS Windows network clients
support encrypted passwords.

- John T.


   Bill Knox
   Senior Operating Systems Programmer/Analyst
   The MITRE Corporation

 On Mon, 24 Feb 2003, Don Zajic wrote:

  Date: Mon, 24 Feb 2003 04:22:44 -0500
  From: Don Zajic [EMAIL PROTECTED]
  To: 'Dave Ansell' [EMAIL PROTECTED], [EMAIL PROTECTED]
  Subject: RE: [Samba] 95 and NT cannot access shares
 
  Off the top of my head, I would say that using Encrypted passwords 
  is greate for W2K and XP, however, 95 does not use encrypted 
  passwords and unless you are using SP3 or above on NT, it also does 
  not use encrypted password.  Since you are mixing your flavors of 
  Windows from 95 to XP, you probably need to disable encrypted 
  password and use plain text passwords throughout your domain.
 
  encrypt password = no
 
  You also need to apply the .reg files to change from encrypted to 
  plaintext according to your windows version.  These .reg files are 
  located in your docs/Registry directory.
 
  Don Zajic
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On 
  Behalf Of Dave Ansell
  Sent: Sunday, February 23, 2003 4:07 AM
  To: [EMAIL PROTECTED]
  Subject: [Samba] 95 and NT cannot access shares
 
 
  I have file and print sharing set up on Linux (Mandrake 9.0).
 
  It all works fine with 2000 and XP clients, but 95 and NT clients 
  don't seem to be able to access.
 
  Any ideas?
  Thanks,
  Dave
 
 
  Typical log entry from Samba:
 
  [2003/02/22 16:21:37, 0] smbd/service.c:make_connection(599)
wvo1314904 (192.168.1.10) Can't change directory to 
  /home/samba/public (Permission denied)
 
  My sbm.conf is:
 
  [global]
   workgroup = Waterlooville
   security = SHARE
   encrypt passwords = Yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* 
  %n\n unix password sync = Yes  log file = /var/log/samba/log.%m  max

  log size = 50  socket options = TCP_NODELAY SO_RCVBUF=8192 
  SO_SNDBUF=8192  dns proxy = No
 
  [public]
   comment = Public Stuff
   path = /home/samba/public
   write list = @staff
   read only = No
   guest ok = Yes
 
  [printers]
   comment = All Printers
   path = /var/spool/samba
   create mask = 0700
   guest ok = Yes
   printable = Yes
   print command = /usr/bin/lpr -r -s -P%p %s
   browseable = No
   printer admin = davea
 
 
  --
  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
 




-- 
John H Terpstra
Email: [EMAIL PROTECTED]
-- 
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] Printer Passwords and Print Auditing

2003-02-24 Thread Matthew Raymer
Hello to all you folks,

I've got TWO questions.

1) I've been trying to password the use of my two laser printers so that
printing has to be assisted by my computer attendant (we are losing too much
paper and toner to people clicking print five to ten times).  But, I have
not figured out how to force passwords on my samba printer (HP LJ1200
running under cupsd and samba).  Is it possible for me to require
administrator intervention?

2) I would like to have a page based audit of printing as well.  Does samba
support that?  I've also been curious to do a pixel based audit whereby I
can estimate toner consumption.

Matthew Raymer


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


[Samba] Specified User Does not exist ?

2003-02-24 Thread Bob
Hey all, 

I hope I'm missing something simple. This is my second PDC install and I'm having some 
problems getting my win2k machine to join the domain. First I made the machine account:

useradd -g 100 -d /dev/null -c bob's computer -s /bin/false office1$

Then I lock the password:

passwd -l office1$

Next I make the smbpasswd -am office1 name.

Finally, I added a smbpasswd for my root account. 

Then, I change the computer name to office1, reboot, and then try to join the domain 
with the root account and new smbpasswd.

I am receiving this error:
The specified user does not exist

I have tried everything I can think of, recreating the root smbuser, and everything. I 
have tried to find the answer in previous archives but am coming up blank. 

Any tips on this would be GREATLY appreciated. 

Thanks in advance,

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


[Samba] Specified User Does not exist ?

2003-02-24 Thread Bob
Hey all, 

I hope I'm missing something simple. This is my second PDC install and I'm having some 
problems getting my win2k machine to join the domain. First I made the machine account:

useradd -g 100 -d /dev/null -c bob's computer -s /bin/false office1$

Then I lock the password:

passwd -l office1$

Next I make the smbpasswd -am office1 name.

Finally, I added a smbpasswd for my root account. 

Then, I change the computer name to office1, reboot, and then try to join the domain 
with the root account and new smbpasswd.

I am receiving this error:
The specified user does not exist

I have tried everything I can think of, recreating the root smbuser, and everything. I 
have tried to find the answer in previous archives but am coming up blank. 

Any tips on this would be GREATLY appreciated. 

Thanks in advance,

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


[Samba] 1 Samba PDC and several Samba file servers/ Advice?

2003-02-24 Thread bkrusic
Hi,

Just wanted to know if any one has done this and if
so, observations?

I'm doing it via Samba file server key args;

security = domain
pasword server = *

This method allows single password database to be
ref'd.

Now, I feel that for performance reasons (time for
each client to auth), that it may be better to have a
copy and use dist (or whatever) to sync the
smbpaswd/passwd files up to a master or PDC.

I say this cuz I see an awful lotta Samba process's
running on the PDC.  Its also a home dir server which
I am moving to another Samba file server so that my
PDC is a pure auth point only.

Your thoughts?

BTW, I still like NFS better.  But I am working very
hard to learn Samba as well as I knew NFS as my bias
may be for familiarity reasons.  This Samba stuff
seems a [EMAIL PROTECTED] if you want to config it for a special
purpose production envs.

Bri-
PS  The virtual server section of the docs sux.  I'll
figure it out but man why does this have to be so time consuming?

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.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] Specified User Does not exist ?

2003-02-24 Thread Bradley W. Langhorst
On Mon, 2003-02-24 at 19:47, Bob wrote:
 Hey all, 
 
 I hope I'm missing something simple. This is my second PDC install and I'm having 
 some problems getting my win2k machine to join the domain. First I made the machine 
 account:
 
 useradd -g 100 -d /dev/null -c bob's computer -s /bin/false office1$
 
 Then I lock the password:
 
 passwd -l office1$
 
 Next I make the smbpasswd -am office1 name.
shouldn't that be office1$?

brad
-- 
Bradley W. Langhorst [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] Thoughts for you geniuses

2003-02-24 Thread Michael Heironimus
On Mon, Feb 24, 2003 at 12:45:58PM -0500, David Brodbeck wrote:
 Is anyone else seeing Andrew's posts as blank messages like this with text
 files attached?  How can I get around them showing up this way?  I like to
 read his posts but this makes it pretty aggravating. :)

They show up fine for me, but I'm guessing that your problem is from the
PGP signature. The modern way of doing PGP signatures is to have the
signature as an attachment. As I recall, it's mainly a problem for older
mail clients (or new but crappy mail clients) that make no attempt to do
reasonable things with mail that has MIME attachments.

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


RE: [Samba] SWAT

2003-02-24 Thread Robert Adkins II
Clementina,

I had issues with running Swat myself. I ended up running webmin
(www.webmin.com) on the server. This system gives you a great and fairly
easy to use method of configuring Samba, even though it does not support
all Samba features.

The Samba component to Webmin also contains a fully-running Swat
installation. 

If you are introducing OpenSource software, I would definitely
include Webmin as one of the tools. That software is quite powerful and
capable of helping with the administration of many UNIX and related
Operating Systems.


Regards,
Robert Adkins II
IT Manager/Buyer
Impel Industries, Inc.
586-254-5800


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
clementina di meglio
Sent: Tuesday, February 25, 2003 4:01 PM
To: [EMAIL PROTECTED]
Subject: [Samba] SWAT

Dear Andrew Tridgell,
Excuse me for my English: it's terrible!
I am a italian tetcher of Computer Science and I want to introduce the 
Open Source Software in my school. At this moment I search for to 
configure a  School's LAN with Samba, bad i am *not successful to run
SWAT*.
Can you help me?
I work with Linux Redhat 8.0 and Samba 2.2.5.
Tank's  for your responce.
Clementina Di Meglio

-- 
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] Specified User Does not exist ?

2003-02-24 Thread Bob
So Far I've rebooted Samba, 

The smbpasswd command adds the $, so yes, the dollar sign is there. 

I'll try addind a root local account. hmmm

Any other suggestions?

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


RE: [Samba] Specified User Does not exist ?

2003-02-24 Thread Florian Stahl
what about the domain admin group directive in smb.conf?

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of
 Bob
 Sent: Tuesday, February 25, 2003 2:08 AM
 To: [EMAIL PROTECTED]
 Subject: RE: [Samba] Specified User Does not exist ?
 
 
 So Far I've rebooted Samba, 
 
 The smbpasswd command adds the $, so yes, the dollar sign is there. 
 
 I'll try addind a root local account. hmmm
 
 Any other suggestions?
 
 Bob
 -- 
 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] [Fwd: Re: GCC 3.3 release criteria]

2003-02-24 Thread Dan Kegel
Martin Pool wrote:
 Dan Kegel [EMAIL PROTECTED] wrote

gcc is a great compiler, but as of gcc3.2.2, it can't
compile Samba on Sparc with -O2.  This has been marked
as a high priority bug in the gcc bug tracking system,
and should be fixed before the next release.

To make such regressions less likely in the future,
it would be helpful if somebody were to look at
http://gcc.gnu.org/testing/
and submit a build-and-test guide for Samba to the maintainer
of that page.  This would make it more likely the
gcc volunteers will do regression testing of
new releases of gcc against Samba.


 Thanks for suggesting this.

 One problem is that Samba does not have a very good automated test
 suite yet.  It would be hard for somebody trying to test gcc to know
 whether they had built a working Samba or not.  So they might catch
 bugs which cause gcc to abort, but perhaps not code generation bugs.

 Perhaps you could try to summarize the Samba install instructions in
 the format the gcc folks want, and then forward it to the
 samba-technical list for review?
I could, and I'd love to, but I don't have time to, unfortunately.
I'm afraid my involvement in this has to be limited to
the suggestion :-(
There's probably some existing filesystem stress tests
out there that would do.  The fellow who reported the bug,
Paul Eggert, might have some suggestions.
Hope somebody has time to take this little chore on.  It'd
benefit both projects.
- Dan


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


Re: [Samba] Specified User Does not exist ?

2003-02-24 Thread John H Terpstra
On Tue, 24 Feb 2003, Bradley W. Langhorst wrote:

 On Mon, 2003-02-24 at 19:47, Bob wrote:
  Hey all,
 
  I hope I'm missing something simple. This is my second PDC install and
  I'm having some problems getting my win2k machine to join the domain.
  First I made the machine account:
 
  useradd -g 100 -d /dev/null -c bob's computer -s /bin/false office1$

useradd -g 100 -d /dev/null -c bob's computer -s /bin/false office1\$

 
  Then I lock the password:
 
  passwd -l office1$

passwd -l office1\$

 
  Next I make the smbpasswd -am office1 name.
 shouldn't that be office1$?

smbpasswd -a -m office1

Note: No trailing '$' to the smbpasswd account creation line, both the
useradd and passwd lines require the '$' to be escaped by a '\'.

- John T.
-- 
John H Terpstra
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] Samba Compile problem (2.2.7a)

2003-02-24 Thread Rich Webb
in /usr/src/samba-2.2.7a/source I typed the following command:

 ./configure --prefix=/usr --sysconfdir=/etc/samba

I get an error:

checking configure summary... configure: error: summary failure. Aborting
config

Last 20 lines of config.log:

configure:14091: checking whether struct passwd has pw_age
configure:14104:
gcc -c -O  -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
conftest.c 15
configure: In function `main':
configure:14100: structure has no member named `pw_age'
configure: failed program was:
#line 14097 configure
#include confdefs.h
#include pwd.h
int main() {
struct passwd p; p.pw_age;
; return 0; }
configure:14143: checking for poptGetContext in -lpopt
configure:14162: gcc -o
conftest -O  -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
conftest.c -lpopt   -ldl -lnsl -lcrypt 15
configure:14186: checking whether to use included popt
configure:14201: checking configure summary
configure:14210: gcc -o
conftest -O  -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
conftest.c  -ldl -lnsl -lcrypt -lpopt 15
configure: failed program was:
#line 14206 configure
#include confdefs.h
#include ./tests/summary.c

Any help would be greatly appreciated.
Thanks
Rich



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


[Samba] Re: samba and windows 2000 server

2003-02-24 Thread Rich Webb

Thiruvarasu [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Help needed

 Currenly i'm running samba on a RedHat 7.3 system. The primary domain
contreller in the network in a windows 2000 server machine. I'm using the
windows 2000 server to authenticate my users in the domain. Each time a new
user is created in windows 2000, i have to create the same user in linux
inorder to allow the user to have access to the samba shares. Is the re a
script or method that can automatically create users in linux as new users
being created in windows 2000 ?

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


man smb.conf

Have a look at the password server directive.  It allows samba to get it's
username/passwords from a remote server.

Rich




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


Re: [Samba] force users to change their passwords

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

On Wed, 19 Feb 2003, Peewee wrote:

 All of my users are defined in LDAP. The Samba server is configured as a
 PDC and all the users can change their passwords. The problem i have is
 when i change the following field in the ldap tree : PwdMustChange set
 to 0 in order the have them to change their passwords. At this point the
 client workstation replies :
 
 The system cannot change your password now because the domain
 dc_stgeorges is not available.
 
 Weird ?? Coz the users can change their passwords later during their
 session by pressing ctrl-alt-delete 
 
 Any help or reply would be greatly appreciated !!
 
 I'm using RedHat 7.2, Samba 2.2.7a, W2k Workstations, OpenLDAP 2.0.25-1

There was a seg fault in this area of the code.  Please retest with 
2.2.8pre1




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+WuPzIR7qMdg1EfYRAodnAJ0R7Rcdrzel+nTrGD/i16Nwo5FahgCdFfAc
HjbpFsy+3dORb1ozsm6ASHM=
=XDbP
-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] oplock errors

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

On Wed, 19 Feb 2003, Brian Johnson wrote:

 I'm getting all kinds of oplock errors in my samba logs
 
 Previous internet research suggested general network problems might be an 
 issue
 
 Any suggestions or tools for me to help figure this out?

Use ethereal to look at network traces.  Check the output of ifconfig
out TX/RX errors.  Google for mii-tool to check duplex settings on NIC's. 
etc





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+WuQJIR7qMdg1EfYRAggPAKCNQaMtA1JwNyNe3bRDRTth4Er3GQCfQRTi
8AjrIsW/WVwUXUTgXaOsAr8=
=BbMT
-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 and root entry

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

On Tue, 18 Feb 2003, Richard Canada wrote:

 hi all,
 
 I am trying to add an entry for root using samba-2.2.7 and Directory 
 Server for LDAP.
 
 I use the command smbpasswd -a root and I get this error:
 
 [EMAIL PROTECTED] root]# smbpasswd -a root
 New SMB password:
 Retype new SMB password:
 LDAP search ((uid=root)(objectclass=sambaAccount)) returned 0 entries.
 failed to modify user with uid = root with: Object class violation

probably because smbpasswd is trying to create the entry just using
the sambaAccount objectclass which is AUXILIARY.  we fixed smbd to add the 
object account as the STRUCTURAL class in if the entry did not 
previsouly exist.  but I don't remember when we added this fix.  
Up the debug level in smbpasswd to look for details.




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+WuQZIR7qMdg1EfYRAt7TAKDubQmZsK6LGnfYgcNwtN1eKM6XbACeOizt
CSs21veLlqhOWeHz+cCuW/o=
=uzWg
-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] Infrasoft MX very slow loading from Samba share

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

On Tue, 18 Feb 2003 [EMAIL PROTECTED] wrote:

 Just wondering if anyone is aware of any conflicts between MX and Samba.
 Or if anyone is successfully storing MX files on their Samba server.

Sounds like oplock break timeouts.  What is the client os?
I've never heard any feedback from Infrasoft MX users, so I
can't comment on it.




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+WuQmIR7qMdg1EfYRAl8uAKC2f7zdFugftEdeGt8oo74brY+5mACg6v30
ab6OrIKiCbtXT5YIV/REjr0=
=1cP8
-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] Help request setting w2000 to use Lexmark z25 printeron linux RH7.3 running samba.

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

On Mon, 17 Feb 2003, David Harel wrote:

 I can see the printers from the w2000 client when I contact the server 
 using \\Linuxmachine\
 When I try to use any of the printers I get the message:
 Before you can use the printer \\Linuxmachine\lexmark it must be setup 
 on your computer. Do you want Windows to set up the printer and continue 
 the operation?
 Click the Yes button gives me another dialog:
 The server on which 'NULL' printer reside does not have the correct 
 printer driver installed. If you want to install the driver on the your 
 computer click OK.
 Now I click OK. and wait for a long time until eventually I can set up a 
 driver which I install using Lexmark original CD.
 Eventually this does not work.

Looks like VMware-3.2 includes a modified Samba-2.0.6.  What do you mean 
by eventually does not work?



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+WuQqIR7qMdg1EfYRAg3bAKDbaJEEFWgN62mYMA56WhdWv/Kc/gCdG7gf
J5C1jFbckUOEqg98Navx238=
=Z1z4
-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] Fw: help No domain server was available to validatepassword

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

On Mon, 17 Feb 2003, Mustahsan Siddiq wrote:

 i have problem with samba server
 No domain server was available to validate  password 
 when in Win98 give -Username:
  -Password:  
  -Domain:   
 
 win98 say 'Incorrect Parameter' what can i do


 workgroup = DATASERVER
 
 netbios name = DATASERVER

These need to be different values.




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+WuQvIR7qMdg1EfYRAj+9AJwIwMtylr41dpCq+udzUZ4EjWA51wCg48Xm
jZM6bG1aLLZxF+dtafNMNbo=
=dDpF
-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] limits question

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

On Fri, 14 Feb 2003, William Jojo wrote:

 
 
 what do the following values in local.h do with respect to a single smbd
 or are they absolute limits? please explain...
 
 #define MAX_DIRECTORY_HANDLES 2048
 
 #define MAX_OPEN_DIRECTORIES 256
 
 #define MAX_OPEN_PIPES 2048

single smbd limits.  Mostly upper boundaries on internal data structures.
Also prevent DoS attacks from clients wanting to consume all the memory on 
the server.




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+WuQeIR7qMdg1EfYRAhJyAJ9omkvFN4h5XWnSmuHPnyImHaXYLQCg5i1C
IfdpNK9zKltVEr+KSirZTKY=
=nH06
-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 logs utility?

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

On Mon, 17 Feb 2003, zenn wrote:

 question... i'm looking for a utility that can read samba logs and make
 them more human readable... the main reason i need such a utility is to
 keep an eye on add/move/delete/rename of files and folders... looking
 at the raw samba logs, using loglevel 3, shows me a lot of information
 but nothing about add/move/delete/rename |ing of files. do the logs even
 log these events? i couldn't find any entries.

take a look at examples/VFS/audit.c




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+WuQ3IR7qMdg1EfYRAtZkAJ98ZzAB3RHMCqnyFc63MjkV22YTOQCgsMKR
BR+GZJ37+pi/M1AOqL6bYLg=
=lahh
-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] Default settings for print drivers

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

On Fri, 21 Feb 2003, Ian Eure wrote:

   Some settings seem to work, but I haven't been able to get the paper size
   settings to work. This is a problem because we have some printers which
   only have legal paper, and they require manual intervention if they get a
   job for some other size paper.
 
  What version of Samba?  What server OS?
 
 Sorry. I'm running 2.2.3a on Debian 3.0. Custom Linux 2.4.20 kernel, 1gb ram, 
 2xP3 (Coppermine) @700MHz.

Can you try to reproduce this using the latest SAMBA_2_2 cvs code?  (or 
even 2.2.7a).  The 2.2.3a release is fairly old now and a lot has changed 
with regards to ms-rpc printing.



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+WuRYIR7qMdg1EfYRApi/AKCabq+gPOwyBFKtKBgUke5PjoUNLACfQ6r/
BkFcgJ8RRBpZfqZtTvMfhj0=
=EYfF
-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] Is Samba made for trash ?!?

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

On Thu, 20 Feb 2003, Michael Paarmann wrote:

 logon script = %U.bat
 logon path = \\server_office01\%U\profileNT
 logon home = \\server_office01\%U
 hide dot files = yes
 domain logons = YES
 domain master = YES

do not join a Samba box to a Windows domain and enable the previous two 
parameters.  You just asking for problems.

 You are dealing with a different network protocol and different network
 clients.
 
 No, i'm only working with TCP/IP now. And yes, the clients work with W98
 or W2K.

I meant CIFS/SMB vs. Netware.  Not IPX vs TCP/IP.

 That's right. Spool32.exe or spoolss.exe die very often. I can see a
 read or a write socket error in the log list nearly at the same time.

Ahh...did you initialize the printer drivers installed on the Samba 
server?  If you are not supporting driver download to windows clients,
you might want to set disable spoolss = yes

 Hmm, do you really think that this can solve some of my problems? The 
 update from 2.2.3a to 2.2.5 wasn't very effective.

Samba is different from other projects such as apache.  Because we are 
constantly learning new things about how windows servers operate, it is
hightly recommended to use the latest stable release.

 
 But is there a possibility to set Samba in a kind of Compatibility Mode, 
 so that i can be sure the source of the problems isn't Samba ?

Samba constantly runs in compatibility mode as compared to a Windows 
server.  At least that is the intent.  We don't always get it right.


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+WuSeIR7qMdg1EfYRAt3LAJwKOUn0yOKYf4LekMZqQp6efL1YnACfQGxO
7Wa7MCrJMxpvL/TiuT/m0u4=
=6IMn
-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] Win2k and Samba

2003-02-24 Thread Al Bean
Hi Kurt,

I set socket options to the default by removing it and I set case case 
sensitive = No.  But that did not help or change the log output.

I also changed the NICs in both boxes just to see if that was the problem 
but that did not help.

:(

I'm wondering, can sombody tell me how long it should take to transfer a 
10MB file from win2k (1.5GHz Pentium4, 100 BaseT NIC) to a Linux share 
(400MHz Pentium2, 100 BaseT Nic) where the two boxes are connected by a 100 
BaseT switch?

Also, (if possible) could sombody post thier smb.conf where they are using a 
Linux box as a simple file server in a Windows environment (where the linux 
box is NOT a PDC)?
That would really help to see if I'm doing something wrong.

Thanks!






From: Kurt Weiss [EMAIL PROTECTED]
To: Al Bean [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: [Samba] Win2k and Samba
Date: Mon, 24 Feb 2003 08:18:56 +0100
hi again!

Al Bean schrieb:

The first few entries are on trying to copy a file from win2k to the linux 
share.
The last few entries are on trying to delete a file on the linux share.



As you can see from the conf file the path to the linux share is /ark
and I'm copying from the win2k desktop to that linux share so the path is:
C:\Documents and Settings\Administrator\Desktop\
I know the /ark path is not deep and I really don't thing the path to 
the desktop is that deep either.
ok - i believe - it's not that i thought ;-)

---
[2003/02/23 08:45:25, 0] lib/util_sock.c:read_data(436)
 read_data: read failure for 19168. Error = Connection reset by peer
[2003/02/23 08:52:57, 0] lib/util_sock.c:read_data(436)
 read_data: read failure for 29388. Error = Connection reset by peer
[2003/02/23 09:11:06, 0] lib/util_sock.c:read_data(436)
 read_data: read failure for 49828. Error = Interrupted system call
[2003/02/23 09:14:09, 0] smbd/oplock.c:request_oplock_break(981)
 request_oplock_break: no response received to oplock break request to 
pid 968 on port 1029 for dev = 303, inode = 140233, fi
le_id = 2
[2003/02/23 09:14:41, 0] smbd/oplock.c:request_oplock_break(981)
 request_oplock_break: no response received to oplock break request to 
pid 968 on port 1029 for dev = 303, inode = 140233, fi
le_id = 2
[2003/02/23 09:15:13, 0] smbd/oplock.c:request_oplock_break(981)
 request_oplock_break: no response received to oplock break request to 
pid 968 on port 1029 for dev = 303, inode = 140233, fi
le_id = 2
what's that? - seems, something is running bad in network communication!
i'm looking for the errno. (436) -stay tuned
   encrypt passwords = Yes
   obey pam restrictions = Yes
pam password change = Yes

man smb.conf:
Note that samba always ignores PAM for authentication in case of encrypt 
password = yes
(samba 2.2.4)


   socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 
SO_RCVBUF=8192
only an idea: won't u play with this to see, which effect it has to your 
error log?

   local master = No
   dns proxy = No
   remote announce = 192.168.0.255
   remote browse sync = 192.168.0.255
   hosts allow = 192.168.0. 127.
   case sensitive = Yes
i think, that's dangerous: windows mostly changes case! - try 'no'

so i hope it helped
gk


_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus

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


[Samba] (fwd) FW: Starting a process from a windows client

2003-02-24 Thread Martin Pool
- Forwarded message from Scattergood, Ivan [EMAIL PROTECTED] -

I am hoping to run a Unix process from code running on a windows client, I
am told this can be done using Samba, does any one have any example code to
do this? 

Regards 
Ivan Scattergood 
London  Software Development

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


[Samba] SAMBA PDC User Permissions, Admin Settings, and Logon?

2003-02-24 Thread Nolan Garrett
Hi all! First off, I'd like to thank you for the help you've previously 
given me. I'd like to state a few of the problems I am now experiencing, 
and you all can provide insight. I've read all the documentation I can find 
and have surfed the archives for this newsgroup, but to no avail. Any help 
would be greatly appreciated!

(I am using SAMBA 2.2.7)

Issue 1: If I don't have every user listed in the admin users = section that 
I want to allow logon access, they cannot log on. I usually get a domain 
unavailable error.

Issue 2: If I don't set up each user account (w/ domain) on the WinXP 
machine I want to logon to, I get some kind of very, very limited logon. It 
almost seems to be corrupted.

Issue 3: This is my main frustration - I cannot seem to block access to 
other peoples shares! EG user chrisg can access the nolan share, etc.

Final Issue: Not a big problem, but I can't figure out how to set up the 
CUPS drivers for the pdf-generator.

Is it a winbind problem, bad config, or am I just a moron?

Attached is my smb.conf

# Samba config file created using SWAT
# from gridlock.workgroup.net (192.168.0.5)
# Date: 2003/02/24 18:08:30

# Global parameters
[global]
netbios name = MAIN
server string = Samba Server %v
encrypt passwords = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password
* %n\n *Enter*new*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n *p
asswd: *all*authentication*tokens*updated*succesfully*
unix password sync = Yes
log level = 1
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBU
F=8192 SO_SNDBUF=8192
printcap name = cups
domain admin group = @admins
add user script = /usr/sbin/useradd -d /dev/null -g machines -s /bin
/false -M %u
logon script = %U.bat
logon path = \\main\profiles\%U
logon drive = Z:
logon home = \\main\%U\.profile
domain logons = Yes
os level = 99
domain master = Yes
dns proxy = No
wins support = Yes
winbind uid = 1-2
winbind gid = 1-2
;   valid users = ahayes root danielleg chrisg rickg nolan
admin users = root nolan chrisg rickg danielleg alyssag
printer admin = nolan root
hosts allow = 192.168.0. 127.
;   profile acls = Yes
printing = cups

[homes]
comment = Home Directory for %u
read only = No
create mask = 0660
directory mask = 0770
browseable = No
oplocks = No
level2 oplocks = No

[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
write list = root nolan

[profiles]
path = /var/lib/samba/profiles
read only = No
create mask = 0600
directory mask = 0700
guest ok = Yes
browseable = No
csc policy = disable

[printers]
comment = All Printers
path = /var/spool/samba
printer admin = root nolan
guest ok = Yes
printable = Yes
browseable = No

[print$]
comment = Printer Drivers
path = /etc/samba/drivers
write list = root nolan

[pdf-generator]
comment = PDF Generator (only valid users!)
path = /var/tmp
printable = Yes
print command = /usr/share/samba/scripts/print-pdf %s ~%u %L
%u %m 

[public]
comment = Public
path = /home/samba/public
read only = No
guest ok = Yes



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


[Samba] Re: XP irratic delay in opening files....

2003-02-24 Thread Nolan Garrett
I experienced the same problem - it was fixed when I added more RAM to the 
server.

Nolan

Justin Anderson wrote:

 
 I think this sorts out the problem, I had some one try it out tonight a
 couple of times (seems to be fine) but will try it out tomorrow to make
 absolutely sure...
 
 oplocks = False
 level2oplocks = False
  
 added to the samba config file
 
 Cheers Justin.
 
 On Mon, 2003-02-24 at 20:31, Justin Anderson wrote:
 Hi all
 
 I am fairly new to samba and XP. I have a client who we set up a samba
 server for, they are complaining about documents taking about 30 secs
 -2-3mins to open but only sometimes (it can be very frequent). I have
 seen this and captured a piece of the log file I wonder if any one can
 make any sense of it...
 
 I have been looking on the net and trying various things all day but to
 no avail...
 
 
 
 2003/02/24 15:53:42, 3] smbd/trans2.c:call_trans2qfilepathinfo(1560)
   call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 257
 [2003/02/24 15:53:42, 3] smbd/trans2.c:call_trans2qfilepathinfo(1646)
   call_trans2qfilepathinfo Saranes_Documents/NJC/Invoices/NJC Invoice25
 R001.xls level=257 call=7 total_data=0
 [2003/02/24 15:53:42, 3] smbd/process.c:process_smb(860)
   Transaction 7344 of length 120
 [2003/02/24 15:53:42, 3] smbd/process.c:switch_message(667)
   switch message SMBtrans2 (pid 10033)
 [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313)
   setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0
 [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(319)
   1 user groups:
   99
 [2003/02/24 15:53:42, 3] smbd/trans2.c:call_trans2setfilepathinfo(2350)
   call_trans2setfilepathinfo(8) Saranes_Documents/NJC/Invoices/NJC
 Invoice25 R001.xls info_level=257 totdata=40
 [2003/02/24 15:53:42, 3] smbd/process.c:process_smb(860)
   Transaction 7345 of length 45
 [2003/02/24 15:53:42, 3] smbd/process.c:switch_message(667)
   switch message SMBclose (pid 10033)
 [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313)
   setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0
 [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(319)
   1 user groups:
   99
 [2003/02/24 15:53:42, 3] smbd/reply.c:reply_close(2926)
   close fd=22 fnum=12979 (numopen=2)
 [2003/02/24 15:53:42, 2] smbd/close.c:close_normal_file(210)
   nobody closed file Saranes_Documents/NJC/Invoices/NJC Invoice25
 R001.xls (numopen=1)
 [2003/02/24 15:53:42, 3] smbd/process.c:process_smb(860)
   Transaction 7346 of length 142
 [2003/02/24 15:53:42, 3] smbd/process.c:switch_message(667)
   switch message SMBntcreateX (pid 10033)
 [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313)
   setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0
 [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(319)
   1 user groups:
   99
 [2003/02/24 15:53:42, 3] lib/util.c:unix_clean_name(387)
   unix_clean_name [/Saranes_Documents/NJC/Invoices/NJC Invoice25
 R001.xls]
 [2003/02/24 15:53:42, 3] smbd/dosmode.c:unix_mode(111)
   unix_mode(Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls)
 returning 0744
 [2003/02/24 15:53:42, 3] lib/util.c:unix_clean_name(387)
   unix_clean_name [Saranes_Documents/NJC/Invoices/NJC Invoice25
 R001.xls]
 [2003/02/24 15:53:42, 4] smbd/open.c:open_file_shared(778)
   calling open_file with flags=0x0 flags2=0x0 mode=0744
 [2003/02/24 15:53:42, 2] smbd/open.c:open_file(213)
   brigitte opened file Saranes_Documents/NJC/Invoices/NJC Invoice25
 R001.xls read=Yes write=No (numopen=2)
 [2003/02/24 15:53:42, 3]
 smbd/oplock_linux.c:linux_set_kernel_oplock(182)
   set_file_oplock: got kernel oplock on file
 Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls, dev = 903, inode
 = 13385874, file_id = 2048
 [2003/02/24 15:53:42, 3] smbd/process.c:process_smb(860)
   Transaction 7347 of length 63
 [2003/02/24 15:53:42, 3] smbd/process.c:switch_message(667)
   switch message SMBreadX (pid 10033)
 [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313)
   setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0
 [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(319)
   1 user groups:
   99
 [2003/02/24 15:53:42, 3] smbd/reply.c:reply_read_and_X(2381)
   readX fnum=12980 min=4096 max=4096 nread=4096
 [2003/02/24 15:53:42, 3] smbd/process.c:process_smb(860)
   Transaction 7348 of length 142
 [2003/02/24 15:53:42, 3] smbd/process.c:switch_message(667)
   switch message SMBntcreateX (pid 10033)
 [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313)
   setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0
 [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(319)
   1 user groups:
   99
 [2003/02/24 15:53:42, 3] lib/util.c:unix_clean_name(387)
   unix_clean_name [/Saranes_Documents/NJC/Invoices/NJC Invoice25
 R001.xls]
 [2003/02/24 15:53:42, 3] smbd/dosmode.c:unix_mode(111)
   unix_mode(Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls)
 returning 0744
 [2003/02/24 15:53:42, 3] lib/util.c:unix_clean_name(387)
   unix_clean_name [Saranes_Documents/NJC/Invoices/NJC Invoice25
 R001.xls]
 [2003/02/24 15:53:42, 3] 

RE: [Samba] Win2k and Samba

2003-02-24 Thread Rob Savage
Hello Al,

This works well for me with Win2K and Win98 clients with a .NET Server 2003
domain controller, Redhat 7.2, Samba 2.2.7a.

# Global parameters
[global]
workgroup = GOLDENCHANCE
netbios name = DEANNA
server string = Samba Server
interfaces = 192.168.1.30/24
encrypt passwords = Yes
passwd program = /usr/bin/passwd %u
password level = 8
username level = 8
unix password sync = Yes
log level = 5
log file = /var/log/samba/%m.log
max log size = 75
name resolve order = wins lmhosts hosts bcast
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
os level = 30
preferred master = No
local master = No
domain master = No
dns proxy = No
wins support = yes
comment = Samba ver. %v
guest ok = Yes
printing = lprng
map system = Yes
map hidden = Yes
security = server
password server = worker

[homes]
path = /home/%u
writable = yes
browseable = no
comment = Home Directories
valid users = %U
guest ok = No
create mask = 0664
directory mask = 0775

[Public]
comment = Public Share
path = /home/public
read only = No

[Seti Share]
path = /seticmd
comment = Access to state.sah
guest account = guest1
wide links = no
force user = guest1


---
Have an excellent day,

Rob Savage




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Al Bean
Sent: February 24, 2003 9:34 PM
To: [EMAIL PROTECTED]
Subject: Re: [Samba] Win2k and Samba

Hi Kurt,


I set socket options to the default by removing it and I set case case
sensitive = No.  But that did not help or change the log output.

I also changed the NICs in both boxes just to see if that was the problem
but that did not help.

:(

I'm wondering, can sombody tell me how long it should take to transfer a
10MB file from win2k (1.5GHz Pentium4, 100 BaseT NIC) to a Linux share
(400MHz Pentium2, 100 BaseT Nic) where the two boxes are connected by a 100
BaseT switch?

Also, (if possible) could sombody post thier smb.conf where they are using a
Linux box as a simple file server in a Windows environment (where the linux
box is NOT a PDC)?
That would really help to see if I'm doing something wrong.

Thanks!






From: Kurt Weiss [EMAIL PROTECTED]
To: Al Bean [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: [Samba] Win2k and Samba
Date: Mon, 24 Feb 2003 08:18:56 +0100

hi again!

Al Bean schrieb:


The first few entries are on trying to copy a file from win2k to the linux
share.
The last few entries are on trying to delete a file on the linux share.



As you can see from the conf file the path to the linux share is /ark
and I'm copying from the win2k desktop to that linux share so the path is:
C:\Documents and Settings\Administrator\Desktop\
I know the /ark path is not deep and I really don't thing the path to
the desktop is that deep either.

ok - i believe - it's not that i thought ;-)

---
[2003/02/23 08:45:25, 0] lib/util_sock.c:read_data(436)
  read_data: read failure for 19168. Error = Connection reset by peer
[2003/02/23 08:52:57, 0] lib/util_sock.c:read_data(436)
  read_data: read failure for 29388. Error = Connection reset by peer
[2003/02/23 09:11:06, 0] lib/util_sock.c:read_data(436)
  read_data: read failure for 49828. Error = Interrupted system call
[2003/02/23 09:14:09, 0] smbd/oplock.c:request_oplock_break(981)
  request_oplock_break: no response received to oplock break request to
pid 968 on port 1029 for dev = 303, inode = 140233, fi
le_id = 2
[2003/02/23 09:14:41, 0] smbd/oplock.c:request_oplock_break(981)
  request_oplock_break: no response received to oplock break request to
pid 968 on port 1029 for dev = 303, inode = 140233, fi
le_id = 2
[2003/02/23 09:15:13, 0] smbd/oplock.c:request_oplock_break(981)
  request_oplock_break: no response received to oplock break request to
pid 968 on port 1029 for dev = 303, inode = 140233, fi
le_id = 2

what's that? - seems, something is running bad in network communication!
i'm looking for the errno. (436) -stay tuned

encrypt passwords = Yes
obey pam restrictions = Yes
 pam password change = Yes

man smb.conf:
Note that samba always ignores PAM for authentication in case of encrypt
password = yes
(samba 2.2.4)


socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192
SO_RCVBUF=8192

only an idea: won't u play with this to see, which effect it has to your
error log?

local master = No
dns proxy = No
remote announce = 192.168.0.255
remote browse sync = 192.168.0.255
hosts allow = 192.168.0. 127.
case sensitive = Yes

i think, that's dangerous: windows mostly changes case! - try 'no'


so i hope it helped
gk



[Samba] samba as a replacement for ftp

2003-02-24 Thread Francis Lau
Hi all,

My organization is thinking of using samba to replace the current ftp
service that we offer, because it is very easy to use and encrypted
passwords are built in Windows (for authentication).

We are running a Solaris 5.8 machine with Samba 2.2 installed.

We tested samba in our LAN and it works great.  However, this service
is meant for users to connect from home.  What do we have to do to make
samba work over a routed network?  Should we use a WINS server (using
samba), special DNS server? I am very new to samba so please have a
little patience in my basic questions. =)

Also how many users can a samba server support?

Could we just follow the way University of Alberta is using samba?
(http://www.ualberta.ca/CNS/SAMBA/win2kstep2.html)

Thanks,
Francis

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


RE: [Samba] SAMBA PDC User Permissions, Admin Settings, and Logon?

2003-02-24 Thread Rob Savage
Hey Nolan,

I can easily give you an answer to I3

Issue 3: This is my main frustration - I cannot seem to block access to
other peoples shares! EG user chrisg can access the nolan share, etc.


[homes]
comment = Home Directory for %u
read only = No
create mask = 0660
directory mask = 0770
browseable = No
oplocks = No
level2 oplocks = No

Try adding these:

Valid users = %U
Path = /home/%u
Guest ok = No
---
Have an excellent day,

Rob Savage




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Nolan
Garrett
Sent: February 24, 2003 11:49 AM
To: [EMAIL PROTECTED]
Subject: [Samba] SAMBA PDC User Permissions, Admin Settings, and Logon?

Hi all! First off, I'd like to thank you for the help you've previously
given me. I'd like to state a few of the problems I am now experiencing,
and you all can provide insight. I've read all the documentation I can find
and have surfed the archives for this newsgroup, but to no avail. Any help
would be greatly appreciated!

(I am using SAMBA 2.2.7)

Issue 1: If I don't have every user listed in the admin users = section that
I want to allow logon access, they cannot log on. I usually get a domain
unavailable error.

Issue 2: If I don't set up each user account (w/ domain) on the WinXP
machine I want to logon to, I get some kind of very, very limited logon. It
almost seems to be corrupted.

Issue 3: This is my main frustration - I cannot seem to block access to
other peoples shares! EG user chrisg can access the nolan share, etc.

Final Issue: Not a big problem, but I can't figure out how to set up the
CUPS drivers for the pdf-generator.

Is it a winbind problem, bad config, or am I just a moron?

Attached is my smb.conf

# Samba config file created using SWAT
# from gridlock.workgroup.net (192.168.0.5)
# Date: 2003/02/24 18:08:30

# Global parameters
[global]
netbios name = MAIN
server string = Samba Server %v
encrypt passwords = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password
* %n\n *Enter*new*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n *p
asswd: *all*authentication*tokens*updated*succesfully*
unix password sync = Yes
log level = 1
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBU
F=8192 SO_SNDBUF=8192
printcap name = cups
domain admin group = @admins
add user script = /usr/sbin/useradd -d /dev/null -g machines -s /bin
/false -M %u
logon script = %U.bat
logon path = \\main\profiles\%U
logon drive = Z:
logon home = \\main\%U\.profile
domain logons = Yes
os level = 99
domain master = Yes
dns proxy = No
wins support = Yes
winbind uid = 1-2
winbind gid = 1-2
;   valid users = ahayes root danielleg chrisg rickg nolan
admin users = root nolan chrisg rickg danielleg alyssag
printer admin = nolan root
hosts allow = 192.168.0. 127.
;   profile acls = Yes
printing = cups

[homes]
comment = Home Directory for %u
read only = No
create mask = 0660
directory mask = 0770
browseable = No
oplocks = No
level2 oplocks = No

[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
write list = root nolan

[profiles]
path = /var/lib/samba/profiles
read only = No
create mask = 0600
directory mask = 0700
guest ok = Yes
browseable = No
csc policy = disable

[printers]
comment = All Printers
path = /var/spool/samba
printer admin = root nolan
guest ok = Yes
printable = Yes
browseable = No

[print$]
comment = Printer Drivers
path = /etc/samba/drivers
write list = root nolan

[pdf-generator]
comment = PDF Generator (only valid users!)
path = /var/tmp
printable = Yes
print command = /usr/share/samba/scripts/print-pdf %s ~%u %L
%u %m 

[public]
comment = Public
path = /home/samba/public
read only = No
guest ok = Yes



--
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] monitoring Samba with Tivoli

2003-02-24 Thread Charles Bueche
Hi all,

A large customer wants to monitor the availability of Samba using Tivoli.
My first guess is to wrap nmblookup and smbclient in some scripts.
Anyone has done this and can provide some example ?

Or is there some other clever way to do this job ?

Best regards,
Charles Bueche

-- 
Charles Bueche [EMAIL PROTECTED]
sand, snow, wave, wind and net -surfer
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Infrasoft MX very slow loading from Samba share

2003-02-24 Thread peter.a.bryant


The clients are XP and 2000 boxes.

I have looked at the logs and noticed that MX opens a HECK of a LOT of files
when it opens a single drawing.
In one section of the log I estimate it opens about 3300 files in 105 seconds.
Probably small files - I think macros etc.
I will try and explore a bit further before posting any more.
I was just hoping some other Samba person out there was using MX and could give
their experience.

Thanks for your interest Jerry.

-peter.






Gerald (Jerry) Carter [EMAIL PROTECTED] on 25/02/2003 01:33:58 PM

On Tue, 18 Feb 2003 [EMAIL PROTECTED] wrote:

 Just wondering if anyone is aware of any conflicts between MX and Samba.
 Or if anyone is successfully storing MX files on their Samba server.

Sounds like oplock break timeouts.  What is the client os?
I've never heard any feedback from Infrasoft MX users, so I
can't comment on it.


cheers, jerry








Opinions contained in this e-mail do not necessarily reflect
the opinions of the Queensland Department of Main Roads,
Queensland Transport or National Transport Secretariat, or
endorsed organisations utilising the same infrastructure.
If you have received this electronic mail message in error,
please immediately notify the sender and delete the message
from your computer.


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


Re: [Samba] Windows XP Profiles

2003-02-24 Thread Kurt Weiss
I would like profiles to be stored locally and
automatically created when a new user logs in.  So, if a
roaming profiles are copied at login from the server to the client. at 
logout they will be copied back...
if netconnection is broken, the client uses the temporary copy on itselves.

if u want to use local profiles, so u have to change the profile type to 
local or turn off roaming. (as u did).

if a user logs on first time (in the network when using roaming / on the 
client, when using not) - so windows creates the profile as copy of 
default user (at the client/ i did not try, what happens if u create 
default user on the server, but i think it will be functional...). - 4 
details, please refer microsoft doc's.

user has not logged into a particular computer before, a
profile will be created (possibly from a template?) for
them and will be stored locally.
I have been able to turn off profile roaming by adding
logon path = to the smb.conf file, but that will just
allow the user to logon, not create an account on the local
machine for them.
if i did not misunderstand u (i'm austrian and not to fix in english) - 
i think u should turn *on* roaming...

i hope i helped
gk
--
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 and 2.2.7a

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

On Sat, 15 Feb 2003, William Jojo wrote:

 I have a strange load behavior during certain times with Win XP and
 2.2.7a on AIX 5.1MR03
 
 After about 350-400 machines get connected I get 50% kernel and around
 40% idle and logon times go rightin the toilet.
 
 This happens regardless of XP-SP1 installed or not.
 
 Also this same load was experiened last semester and we were under 2.2.6
 with no problems.
 
 Still evaluating logs to find cause, but does anyone have a thought?

Do the AIX equivalent of of truss or strace and find out what it is 
doing.  Also try looking at a network trace from an XP client.



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+WuQ6IR7qMdg1EfYRAsSBAKDYgwLazTwFlpThmfh9GRwFltJJfQCfc742
bmZ2Df6xBNGSqVKluBtN3o0=
=ZAhn
-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] Unable tp map to a samba share from home

2003-02-24 Thread Art Saucedo
Jon Niehof wrote:

  I have a filtered restriction on port 139 Why ?
 *puts on mindreader cap*

 I suspect what you're trying to say is that you have a samba
 server running at home (as a guess--on comcast's cable modem
 service) and are trying to access it remotely, but it fails
 because port 139 is filtered.

 *If* that is the case, I would further suspect that comcast
 is intentionally filtering smb/cifs traffic on their net so
 as to somewhat impede rampant file trading and also to
 protect folk who run unsecured windows machines on their
 networks. Those boxes get rooted, customers blame comcast.
 Worse, those boxes become DDoS zombies, *everyone* blames
 comcast.

 SMB over the Internet is a Bad Idea IMO. Look into a VPN or
 SSH tunnel if you *really* need it.

You  are probably correct,  my intentions are (a) vpn which works
fine, (b) possibly SAMBA over SSL and (c) If am able to get stunnel to
encapsulate 901 calls, why can I do the same for port 139?

Art.S - Loyola University Chicago

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


  1   2   >