Re: Heads up warning on 2.2.5

2002-06-06 Thread Gerald Carter

On Tue, 4 Jun 2002, Gerald Carter wrote:

 Folks,
 
 We're working very hard towards a 2.2.5 release on Friday.
 Just wanted to keep everyone informed.  I'll try to freeze the 
 code Thursday evening to give people time to generate packages.
 If I'm good, I'll have the tarball already done and will just 
 work on release notes Friday.  We'll see :-)
 
 This is the last planned 2.2.x release if all goes well.  There
 might be a few more minor bug fix releases after this one, but 
 we really want to focus on 3.0.

A couple of unexpected bug have caused us to push this off a 
few more days.  The main reason is that there are a few changes
will really should be heavily tested.

Therefore I will be doing a 2.2.5 pre1 prerelease.  This is not 
necessarily a release candidate or even a beta release.  We just 
wanted to attract as many testers as possible.  If all goes well,
we are working towards a official 2.2.5 release sometime next week.
Look for the prelease RPM and tarball in the next day or so.

The main things we are trying to straightened out are

  * some missing documentation, 
  * a few linux kernel issues, 
  * various ldap patches,
  * and possible patch to the recycle bin

A small reminder that this is planned to be the last 2.2.x release.
The 2.2.x branch has been a fun trip, but 3.0 awaits. :-)
Keep your fingers crossed.









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





Re: Configure fails with -ldapsam option

2002-06-06 Thread Gerald Carter

On Fri, 17 May 2002, Sean Mason wrote:

 Hi,
 
 I'm compiling Samba 2.2.3a on Solaris 8. I run ./configure 
 --with-ldapsam option and the script bombs out with the message 
 configure: error: summary failure. Aborting config. If I run it 
 without that option it completes just fine.
 
 I tailed the config.log and found:
 
 configure:13019: gcc -o conftest -O   -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  
conftest.c -lldap -llber -lresolv -lsec -lgen -lsocket -lnsl  -ldl 15
 ld: fatal: library -llber: not found
 ld: fatal: File processing errors. No output written to conftest
 collect2: ld returned 1 exit status
 configure: failed program was:
 #line 13015 configure
 #include confdefs.h
 #include ./tests/summary.c
 
 The library lber.h is in /usr/include along with ldap.h. It appers to
 find one but not the other. I don't know why this is so. Or even if this
 is the root of the error. Any suggestions???

This is fixed now in the latest Samba 2.2 cvs.  However, if you use Sun's
LDAP library, you will not be able to use any SSL (or StartTLS) calls.





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





[Samba] Welcome to the Linux Magazine newsletter

2002-06-06 Thread Lyris ListManager


*PLEASE SAVE THIS WELCOME MESSAGE! *


Welcome to linux-mag-news!

This list is for the monthly Linux Magazine newsletter.

SUBSCRIBING: 

Send a blank message to:
[EMAIL PROTECTED]
 
UNSUBSCRIBING:

Send a message to your personal unsubscribe address included in each
message or send a message to:
[EMAIL PROTECTED]

WEB INTERFACE:

http://sand.lyris.net/cgi-bin/lyris.pl?site=sandenter=linux-mag-news

You can change your subscription email address,  unsubscribe, or change
your settings at any time.

LIST OWNER:

If you have any questions or problems with your subscription please
contact the list owner at:

[EMAIL PROTECTED]

**
**
* LINUX MAGAZINE SUBSCRIPTIONS:  *
**
* To subscribe to Linux Magazine itself, use this link:  *
**
* https://www.linux-mag.com/centrobe_us.html *
**
**

Thanks for joining the newsletter!

- The editors of Linux Magazine


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



[Samba] Welcome to the Linux Magazine newsletter

2002-06-06 Thread Lyris ListManager


*PLEASE SAVE THIS WELCOME MESSAGE! *


Welcome to linux-mag-news!

This list is for the monthly Linux Magazine newsletter.

SUBSCRIBING: 

Send a blank message to:
[EMAIL PROTECTED]
 
UNSUBSCRIBING:

Send a message to your personal unsubscribe address included in each
message or send a message to:
[EMAIL PROTECTED]

WEB INTERFACE:

http://sand.lyris.net/cgi-bin/lyris.pl?site=sandenter=linux-mag-news

You can change your subscription email address,  unsubscribe, or change
your settings at any time.

LIST OWNER:

If you have any questions or problems with your subscription please
contact the list owner at:

[EMAIL PROTECTED]

**
**
* LINUX MAGAZINE SUBSCRIPTIONS:  *
**
* To subscribe to Linux Magazine itself, use this link:  *
**
* https://www.linux-mag.com/centrobe_us.html *
**
**

Thanks for joining the newsletter!

- The editors of Linux Magazine


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



Re: [Samba] Act! database on a Samba server

2002-06-06 Thread Mac

Subject: RE: [Samba] Act! database on a Samba server
From: C. Linus Hicks [EMAIL PROTECTED]
To: Yannick Tousignant [EMAIL PROTECTED]
Date: 05 Jun 2002 13:37:04 -0400

On Wed, 2002-06-05 at 13:13, Yannick Tousignant wrote:
 
 We are running act! databases on a samba share since the beginning
 of the year and we had no problem since then.
 
 As long as the database files are owned by the user who open them.

Your message suggests by virture of your ownership constraint that your
Act! databases are single-user. I have multiple users in a single
database all at the same time. Do you have experience with multiple
users in one database?


I don't use Act!, but we do make use of quite a bit of Access databases.
I use 'force user' all over the place in my smb.conf and that seems to
solve quite a few problems.

What I generally do is to invent a UNIX user specifically for the
purpose of owning files in Samba shares and set 'force user' to that.  It
does mean that users can't (easily) get access to the files directly on
the UNIX box (when telneting in for example), but with Access databases,
this usually isn't a problem.


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

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



Re: [Samba] using @group_name in smb.conf

2002-06-06 Thread rvt


It properly the best to use force group in this case aswell.

 [accts]
comment = Accounts Dept Share
path = /usr/local/share/accounts
valid users = @accounts
public = no
writable = yes
printable = no
create mask = 0765
force group = accounts

so when a user drops a file there and the primary group of that user is not 
accounts then a other user might not beable to open the file as RW. And to 
disable other users there you might use 'create mask = 0660'. which disables 
reading of the files using a unix account aswell.


just a tought, it all depends on your setup ofcourse

Ries



 
Citeren Anthony J. Breeds-Taurima [EMAIL PROTECTED]:

 On Thu, 6 Jun 2002, Darryl Harvey wrote:
 
  Hi all,
  
  I need to give a group of users access to a file share that I am sharing
  via samba.
  
  In smb.conf I am using something similar to;
  
  [accts]
 comment = Accounts Dept Share
 path = /usr/local/share/accounts
 valid users = @accounts
 public = no
 writable = yes
 printable = no
 create mask = 0765
  
  
  The valid users line says who can access this share:  @accounts.
  I know the @accounts  = the accounts group.  
  
  How/where do I add the actual valid usernames to this group? Within
  smb.conf, or as a file (Where does the file sit and what is it called
  (accounts ?)
  
  I can't find the answer in the docs, I did try :-(
 
 Assuming accounts is a local group just
 vigr 
 and append the users you need comma seperated.
 
 ie:
 
 account:x:1004:daryl,root
 
 
 Yours Tony
 
 Jan 22-26 2003  Linux.Conf.AU   http://conf.linux.org.au/
  The Australian Linux Technical Conference!
 
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 

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



Re: [Samba] samba through a firewall

2002-06-06 Thread Klaus Zahradnik

Well that would be:
901
139
138
137
I think those are all of them. I am not excately sure if you really need all of 
them open

Klaus

On 6 Jun 2002 at 9:52, Paul Blackaller wrote:

 Hi
 I have samba installed  running successfully on a Solaris 8 server.
 directory shares were working as expected until the machine was put on a
 DMZ, and now it's stopped working.  I can ping from my PC to the server, and
 telnet, but samba seems to have no route through the firewall - possibly the
 firewall needs to have different ports opened up to allow samba traffic
 through?  I need to know which port numbers smbd  nmbd use.
 Appreciate any ideas to help solve my problem.
 
 Thanks  regards
 
 Paul Blackaller
 Technical Analyst
 Lynx Financial Systems
 Tel: 01582 845137
 e-mail:  [EMAIL PROTECTED]
 
 This email is intended only for the use of the addressees named above and
 may be confidential or legally privileged.  If you are not an addressee you
 must not read it and must not use any information contained in it, nor copy
 it, nor inform any person other than Lynx Financial Systems or the
 addressees of its existence or contents.  If you have received this email
 and are not a named addressee, please delete it and notify the Lynx
 Financial Systems IT Department on 01582 845000.
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 


Klaus Zahradnik
GO-PUBLIC.COM


GO-PUBLIC.COM Internet Relations GmbH

A-2500 Baden, Weilburgstrasse 4
http://GO-PUBLIC.com/   [EMAIL PROTECTED]
Phone: +43(0)2252-490 10-0  Fax: +43(0)2252-490 15





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



[Samba] Setting ACLs from Win 98 Clients

2002-06-06 Thread James Jeffrey

Hello,

I have samba installed on an updated installation of Debian 2.2. Using 
kernel 2.4.18 with the ext2 ACL and EA patches. Samba is configured to 
support ACLs. Win2k clients can update the ACLs on the server.

I have installed the Windows NT4 Server tools for Windows 95 onto a couple 
of our Windows 98 clients. However, when we right click on an object, go to 
the security tag and click the permissions button, nothing happens.

Anyone have any ideas how I can  a) Find docs on this
b) Find an updated client OR
c) Fix the server?

thanks,

James Jeffrey
System Administrator
TechnoPhobia Ltd



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



Re: [Samba] Logon scripting for W95/98

2002-06-06 Thread Martin Sapsed

Cates, Brett wrote:
 
 Has anyone tried using Kixtart from a Samba PDC?
 http://www.kixtart.org/

Yup - would be lost without it. Brilliant for login scripts for 9x boxes.
Has access to machine name, ip address, username, registry, ini files etc
etc. Not so good for groups on 9x though but there are workarounds.

How anyone copes with .bat files for login scripts I don't know!!! ;-)

Cheers,

Martin

-- 
Martin Sapsed   To have no errors
Information ServicesWould be life without meaning
University of Wales, Bangor, LL57 2UX   No struggle, no joy.
Fax: +44 (0)1248 383826

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



Re: [Samba] smbmount and 2GB limit.

2002-06-06 Thread Jason Stewart

Did the Linux Distro originally come with 2.4.x? The problem that you 
describe sounds like you have an old version of fileutils hanging around on 
your box.

Good Luck,
Jason

At 05:33 PM 6/5/2002 -0700, Niranjan Ghate wrote:
Hi,

I am mounting a windows 2000 share on a linux box (2.4.18) using smbmount 
(2.2.2). I can create files 2Gb on both the systems, but I can't copy a 
file 2Gb from the linux box over the smbmount. The file size limit is 
exceeded and the cp command core-dumps.

Has anyone solved this problem?
I had installed the samba binary rpms; is there a patch-n-compile solution 
available ?

Thanks,

Niranjan P. Ghate


_
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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

Jason Stewart
Systems Administrator/Programmer
Right to Life of Michigan
Tel: (616)532-2300
Fax: (616)532-3461

To find out where Michigan Gubernatorial Candidate Jennifer Granholm really 
stands, please visit http://www.granholmgarble.com/


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



[Samba] Welcome to the Linux Magazine newsletter

2002-06-06 Thread Lyris ListManager


*PLEASE SAVE THIS WELCOME MESSAGE! *


Welcome to linux-mag-news!

This list is for the monthly Linux Magazine newsletter.

SUBSCRIBING: 

Send a blank message to:
[EMAIL PROTECTED]
 
UNSUBSCRIBING:

Send a message to your personal unsubscribe address included in each
message or send a message to:
[EMAIL PROTECTED]

WEB INTERFACE:

http://sand.lyris.net/cgi-bin/lyris.pl?site=sandenter=linux-mag-news

You can change your subscription email address,  unsubscribe, or change
your settings at any time.

LIST OWNER:

If you have any questions or problems with your subscription please
contact the list owner at:

[EMAIL PROTECTED]

**
**
* LINUX MAGAZINE SUBSCRIPTIONS:  *
**
* To subscribe to Linux Magazine itself, use this link:  *
**
* https://www.linux-mag.com/centrobe_us.html *
**
**

Thanks for joining the newsletter!

- The editors of Linux Magazine


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



[Samba] Loosing Samba Shares Across Segments

2002-06-06 Thread Kimsey-Hickman, Brian

I have two Samba servers configure similarly.  One shares fine across our
entire network and the other only works within its own segment.  I have
poured over the smb.conf files and cannot see what it preventing the one
from crossing segments.  These both are Debian 2.2 boxes and I am just
modifying the default smb.conf files.  I am hoping a fresh pair of eyes will
help.  Any help would be greatly appreciated.

Thanks,

Brian



Good Server with shares that cross the segment:

;
; /etc/smb.conf
;
; Sample configuration file for the Samba suite for Debian GNU/Linux
;
; Please see the manual page for smb.conf for detailed description of
;   every parameter.
;

[global]
   printing = bsd
   printcap name = /etc/printcap
   load printers = yes
   guest account = nobody
   invalid users = root

; security = user is always a good idea. This will require a Unix account
;   in this server for every user accessing the server.
;  security = user
   security = domain

   password server = compt-401p

; Change this for the workgroup your Samba server will part of
   workgroup = COMPTROLLER

server string = Debian GNU/Linux
;   server string = %h server (Samba %v)

; If you want Samba to log though syslog only then set the following
;   parameter to 'yes'. Please note that logging through syslog in
;   Samba is still experimental.
   syslog only = no

; We want Samba to log a minimum amount of information to syslog. Everything
;   should go to /var/log/{smb,nmb} instead. If you want to log through
;   syslog you should set the following parameter to something higher.
   syslog = 0;

; This socket options really speed up Samba under Linux, according to my
;   own tests.
   socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096

; Passwords are encrypted by default. This way the latest Windows 95 and NT
;   clients can connect to the Samba server with no problems.
   encrypt passwords = yes

; It's always a good idea to use a WINS server. If you want this server
;   to be the WINS server for your network change the following
parameter
;   to yes. Otherwise leave it as no and specify your WINS server
;   below (note: only one Samba server can be the WINS server).
;   Read BROWSING.txt for more details.
   wins support = no

; If this server is not the WINS server then specify who is it and uncomment
;   next line.
   wins server = 172.30.4.8

; Please read BROWSING.txt and set the next four parameters according
;   to your network setup. There is no valid default so they are
commented
;   out.
;   os level = 0
;   domain master = no
;   local master = no
;   preferred master = no

; What naming service and in what order should we use to resolve host names
;   to IP addresses
   name resolve order = lmhosts host wins bcast

; This will prevent nmbd to search for NetBIOS names through DNS.
   dns proxy = no

; Name mangling options

   preserve case = yes
   short preserve case = yes

; This boolean parameter controlls whether Samba attempts to sync. the Unix
;   password with the SMB password when the encrypted SMB password in
the
;   /etc/samba/smbpasswd file is changed.
   unix password sync = false

; For Unix password sync. to work on a Debian GNU/Linux system, the
following
;   parameters must be set (thanks to Augustin Luton
;   [EMAIL PROTECTED] for sending the correct chat script for
;   the passwd program in Debian Potato).
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword:* %n\n .

; The following parameter is useful only if you have the linpopup package
;   installed. The samba maintainer and the linpopup maintainer are
;   working to ease installation and configuration of linpopup and
samba.
;   message command = /bin/sh -c '/usr/bin/linpopup %f %m %s; rm %s' 

; The default maximum log file size is 5 MBytes. That's too big so this
;   next parameter sets it to 1 MByte. Currently, Samba rotates log
;   files (/var/log/{smb,nmb} in Debian) when these files reach 1000
KBytes.
;   A better solution would be to have Samba rotate the log file upon
;   reception of a signal, but for now on, we have to live with this.
   max log size = 1000


[homes]
   comment = Home Directories
   browseable = no

; By default, the home directories are exported read only. Change next
;   parameter to no if you want to be able to write to them.
   read only = yes

; File creation mask is set to 0700 for security reasons. If you want to
;   create files with group=rw permissions, set next parameter to 0775.
   create mask = 0700

; Directory creation mask is set to 0700 for security reasons. If you want
to
;   create dirs. with group=rw permissions, set next parameter to 0775.
   directory mask = 0700

[printers]
   comment = All Printers
   browseable = no
   path = /tmp
   printable = yes
   public = no
   writable = no
   

[Samba] Welcome to the Linux Magazine newsletter

2002-06-06 Thread Lyris ListManager


*PLEASE SAVE THIS WELCOME MESSAGE! *


Welcome to linux-mag-news!

This list is for the monthly Linux Magazine newsletter.

SUBSCRIBING: 

Send a blank message to:
[EMAIL PROTECTED]
 
UNSUBSCRIBING:

Send a message to your personal unsubscribe address included in each
message or send a message to:
[EMAIL PROTECTED]

WEB INTERFACE:

http://sand.lyris.net/cgi-bin/lyris.pl?site=sandenter=linux-mag-news

You can change your subscription email address,  unsubscribe, or change
your settings at any time.

LIST OWNER:

If you have any questions or problems with your subscription please
contact the list owner at:

[EMAIL PROTECTED]

**
**
* LINUX MAGAZINE SUBSCRIPTIONS:  *
**
* To subscribe to Linux Magazine itself, use this link:  *
**
* https://www.linux-mag.com/centrobe_us.html *
**
**

Thanks for joining the newsletter!

- The editors of Linux Magazine


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



RE: [Samba] Loosing Samba Shares Across Segments

2002-06-06 Thread Kimsey-Hickman, Brian

Thanks, for the fast reply.  Yes, I can ping the WINS server from the bad
Samba server.  Actually, I have two NT WINS servers that have a PUSH / PULL
relationship set up.  I have checked the database on the WINS server that is
on the segment that cannot see the shares from the bad server.  It has an
entry with the correct IP for the bad server.  I can see the bad server in
the browser list from the segment but when I click on it under I get a:

\\Device is not accessible

The network path was not found


I can also see the good server but I can open it's shares.

Thanks,

Brian 

-Original Message-
From: Jason Stewart [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 06, 2002 8:45 AM
To: Kimsey-Hickman, Brian; '[EMAIL PROTECTED]'
Subject: Re: [Samba] Loosing Samba Shares Across Segments


Can you ping the WINS server from the 'bad' Samba server? Can you actually 
see the 'bad' machine while broswing the network and just cant connect to 
the share, or is it not visible at all from the other network segment?


Good Luck,
Jason


At 08:41 AM 6/6/2002 -0400, Kimsey-Hickman, Brian wrote:
I have two Samba servers configure similarly.  One shares fine across our
entire network and the other only works within its own segment.  I have
poured over the smb.conf files and cannot see what it preventing the one
from crossing segments.  These both are Debian 2.2 boxes and I am just
modifying the default smb.conf files.  I am hoping a fresh pair of eyes
will
help.  Any help would be greatly appreciated.

Thanks,

Brian



Good Server with shares that cross the segment:

;
; /etc/smb.conf
;
; Sample configuration file for the Samba suite for Debian GNU/Linux
;
; Please see the manual page for smb.conf for detailed description of
;   every parameter.
;

[global]
printing = bsd
printcap name = /etc/printcap
load printers = yes
guest account = nobody
invalid users = root

; security = user is always a good idea. This will require a Unix account
;   in this server for every user accessing the server.
;  security = user
security = domain

password server = compt-401p

; Change this for the workgroup your Samba server will part of
workgroup = COMPTROLLER

 server string = Debian GNU/Linux
;   server string = %h server (Samba %v)

; If you want Samba to log though syslog only then set the following
;   parameter to 'yes'. Please note that logging through syslog in
;   Samba is still experimental.
syslog only = no

; We want Samba to log a minimum amount of information to syslog.
Everything
;   should go to /var/log/{smb,nmb} instead. If you want to log through
;   syslog you should set the following parameter to something higher.
syslog = 0;

; This socket options really speed up Samba under Linux, according to my
;   own tests.
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096
SO_RCVBUF=4096

; Passwords are encrypted by default. This way the latest Windows 95 and NT
;   clients can connect to the Samba server with no problems.
encrypt passwords = yes

; It's always a good idea to use a WINS server. If you want this server
;   to be the WINS server for your network change the following
parameter
;   to yes. Otherwise leave it as no and specify your WINS server
;   below (note: only one Samba server can be the WINS server).
;   Read BROWSING.txt for more details.
wins support = no

; If this server is not the WINS server then specify who is it and
uncomment
;   next line.
wins server = 172.30.4.8

; Please read BROWSING.txt and set the next four parameters according
;   to your network setup. There is no valid default so they are
commented
;   out.
;   os level = 0
;   domain master = no
;   local master = no
;   preferred master = no

; What naming service and in what order should we use to resolve host names
;   to IP addresses
name resolve order = lmhosts host wins bcast

; This will prevent nmbd to search for NetBIOS names through DNS.
dns proxy = no

; Name mangling options

preserve case = yes
short preserve case = yes

; This boolean parameter controlls whether Samba attempts to sync. the Unix
;   password with the SMB password when the encrypted SMB password in
the
;   /etc/samba/smbpasswd file is changed.
unix password sync = false

; For Unix password sync. to work on a Debian GNU/Linux system, the
following
;   parameters must be set (thanks to Augustin Luton
;   [EMAIL PROTECTED] for sending the correct chat script for
;   the passwd program in Debian Potato).
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword:* %n\n .

; The following parameter is useful only if you have the linpopup package
;   installed. The samba maintainer and the linpopup maintainer are
;   working to ease installation and configuration of linpopup and
samba.
;   message command = /bin/sh 

Re: [Samba] Powerpoint and modification time

2002-06-06 Thread Markus Kummer

Hi again,

the problem described below is a powerpoint 97 problem only.
after an upgrade to powerpoint 2000 everything works fine.
I know know that it is no samba problem but this won't help
much because a general upgrade of powerpoint is not possible. 
The thousands of windows pc's are administrated by another
company and they  don't care about our sambaserver for about
30 users.
So we have to use powerpoint 97.

If anybody knows how to solve the problem or where to find a 
document that I'm not aware about please let me know.

Any hint is welcome !!!

greetings

markus
 Hi all,
 
 I'm new to the list, so please be patient with me.
 Samba 2.0.7 is running on a compaq alpha server es40 with
 tru64 4.D.
 
 We got a problem with powerpoint files on a samba share. 
 As soon as I open a powerpoint file on a samba share the
 modification time of the file changes, even if I'm not
 changing anything whithin the file. This only happens if
 I open *.ppt files which where created by others.
 We got the same problem with excel files, but this stopped
 after setting the option
 dos filetimes = yes
 in the smb.conf.
 The modification time still changes with opening an excel file
 but as soon as I'm not changing anything the modification time
 is set back after closing the file. (normal procedure,I suppose !?)
 
 An upgrade to version 2.2.3a did not help either.
 Here is our smb.conf:
 [global]
 server string = Fileserver
 workgroup = WORK
 interfaces = 192.168.100.1/255.255.192.0
 netbios name = SAMBSERVER
 encrypt passwords = yes
 character set = ISO8859-1
 username map = /appl/local/samba/samba-2.0.7/lib/users.map
 logfile = /var/log/samba-log.%m
 log level = 10
 debug level = 2
 max log size = 50
 passwd program = /bin/passwd %u
 passwd chat = *New*password* %n\n *Retype*new*password* %n\n *
 announce as = NT Workstation
 name resolve order = host bcast
 lm announce = False
 local master = No
 browse list = No
 printing=bsd
 printcap = /etc/printcap
 dos filetimes = yes
 dos filetimeresolution = yes
 [homes]
 comment = Users
 path = /user/%S
 valid users = horst,dirk,markus
 guest ok = no
 read only = no
 writable = yes
 browsable = no
 create mask = 0700
 force create mode = 0700
 security mask = 0700
 force security mode = 00
 directory mask = 0700
 force directory mode = 0700
 directory security mask = 0700
 force directory security mode = 00
 
 ...
 ...
 ...
 If I forgot giving you any other important information please
 let me know.
 
 Thanks for your help in advance.
 
 Markus Kummer
 
 -- 
 GMX - Die Kommunikationsplattform im Internet.
 http://www.gmx.net
 
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


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



[Samba] Maybe OT, but need help

2002-06-06 Thread Ricker, Tony

All,
The powers that be are going to buy a win2k server that will have a
Compaq TL891DLX tape library. I have been trying to get one for my samba box
as well. My question is can I back up the samba box to the win2k tape
library? I know that you would have to mount the tape library on the
linux/samba box, could this be done through samba? IF anyone needs more
info, please let me know. Thanks for the help.

Cheers,

Tony Ricker
SLUCare-PMO
Technology Coordinator
St. Louis University
Phone: 314.977.6844
Pager: 314.491.0730
--
Technical knowledge is not
enough. One must transcend
techniques so that the art
becomes an artless art, growing
out of the unconscious.
--
Think Different
--





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



Re: [Samba] Mounting shares using fstab at bootup

2002-06-06 Thread Urban Widmark

On Wed, 5 Jun 2002, Tom Ansley wrote:

 Hi all,
 
 I have changed my workstation fstab file to include 3 shares on the server 
 that I want to mount during boot up.  But, I had to include my username and 
 password inside the fstab file.  Does anybody have any other ways of doing 
 this considering that the fstab file is readable by anybody?

man smbmount, see the credentials option for a way to put the info in a 
separate file that can be made root readonly.

/Urban


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



Re: [Samba] smbmount and 2GB limit.

2002-06-06 Thread Urban Widmark

On Wed, 5 Jun 2002, Niranjan Ghate wrote:

 Hi,
 
 I am mounting a windows 2000 share on a linux box (2.4.18) using smbmount 
 (2.2.2). I can create files 2Gb on both the systems, but I can't copy a 
 file 2Gb from the linux box over the smbmount. The file size limit is 
 exceeded and the cp command core-dumps.

Get the LFS kernel patches for smbfs and the samba patch from:
http://www.hojdpunkten.ac.se/054/samba/

/Urban


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



[Samba] problem joining the domain

2002-06-06 Thread Michael Rasmussen

We've encountered a problem with getting a newly installed Samba based
machine to join the domain.

Here's the command line and error response:

   [root@chain samba]# smbpasswd -j COLUMBIA -r cmc-bkup -U murphyn
   Password:
   error creating domain user: NT_STATUS_INVALID_DOMAIN_ROLE
   Unable to join domain COLUMBIA.
   [root@chain samba]#

Installation is a RedHat 7.2 (from KRUD) box with freshly installed Samba
RPMs version 2.2.3a-6.  smb.conf was created by a cut and paste from a
working installation on another box on our network, changing the server name
and share paths as necessary.

murphyn is a domain admin for COLUMBIA, the PDC (cmc-bkup) and the BDC are
NT4 boxes.

As the Linux guy I don't know what this error message means.  The NT admins
are at a loss to explain the problem.

Curiosities:

I've used the same software version to add a box to our domain
Essentially the same config is used on the working and non-working
boxes, so I'm puzzled about what configuration issue could be causing this.

Bottom Line Question:

  do you know what causes this error and how I can resolve this issue and
have the machine chain join the COLUMBIA domain?

  Where did I miss whatever it is in the documentation?

--  
  Michael Rasmussen - Network Engineer, Columbia Management
  voice:  971-925-6723  cell:  503-807-1447  [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] http://www.columbiafunds.com

NOTICE:  This communication may contain confidential or other privileged information.  
If you are not the intended recipient, or believe that you have received this 
communication in error, please do not print, copy, retransmit, disseminate, or 
otherwise use the information.  Also, please indicate to the sender that you have 
received this email in error, and delete the copy you received.  Any communication 
that does not relate to official Columbia business is that of the sender and is 
neither given nor endorsed by Columbia.  Thank you.



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



RE: [Samba] problem joining the domain

2002-06-06 Thread Van Sickler, Jim

Did you create the Computer in the Domain first?
Try that (without the -U murphyn).

Jim

 -Original Message-
 From: Michael Rasmussen [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 06, 2002 8:15 AM
 To: [EMAIL PROTECTED]
 Cc: IT Server Group
 Subject: [Samba] problem joining the domain
 
 
 We've encountered a problem with getting a newly installed Samba based
 machine to join the domain.
 
 Here's the command line and error response:
 
[root@chain samba]# smbpasswd -j COLUMBIA -r cmc-bkup -U murphyn
Password:
error creating domain user: NT_STATUS_INVALID_DOMAIN_ROLE
Unable to join domain COLUMBIA.
[root@chain samba]#
 
 Installation is a RedHat 7.2 (from KRUD) box with freshly 
 installed Samba
 RPMs version 2.2.3a-6.  smb.conf was created by a cut and paste from a
 working installation on another box on our network, changing 
 the server name
 and share paths as necessary.
 
 murphyn is a domain admin for COLUMBIA, the PDC (cmc-bkup) 
 and the BDC are
 NT4 boxes.
 
 As the Linux guy I don't know what this error message means.  
 The NT admins
 are at a loss to explain the problem.
 
 Curiosities:
 
   I've used the same software version to add a box to our domain
   Essentially the same config is used on the working and 
 non-working
 boxes, so I'm puzzled about what configuration issue could be 
 causing this.
 
 Bottom Line Question:
 
   do you know what causes this error and how I can resolve 
 this issue and
 have the machine chain join the COLUMBIA domain?
 
   Where did I miss whatever it is in the documentation?
 
 --  
   Michael Rasmussen - Network Engineer, Columbia Management
   voice:  971-925-6723  cell:  503-807-1447  
 [EMAIL PROTECTED]
   mailto:[EMAIL PROTECTED] http://www.columbiafunds.com
 
 NOTICE:  This communication may contain confidential or other 
 privileged information.  If you are not the intended 
 recipient, or believe that you have received this 
 communication in error, please do not print, copy, 
 retransmit, disseminate, or otherwise use the information.  
 Also, please indicate to the sender that you have received 
 this email in error, and delete the copy you received.  Any 
 communication that does not relate to official Columbia 
 business is that of the sender and is neither given nor 
 endorsed by Columbia.  Thank you.
 
 
 
 -- 
 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] problem joining the domain

2002-06-06 Thread Yannick Tousignant


Did you add your linux machine into the WindowsNT PDC?

I belive it's in Server manager into Administration menus.

Yannick


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Michael Rasmussen
 Sent: Thursday, June 06, 2002 11:15 AM
 To: [EMAIL PROTECTED]
 Cc: IT Server Group
 Subject: [Samba] problem joining the domain


 We've encountered a problem with getting a newly installed Samba based
 machine to join the domain.

 Here's the command line and error response:

[root@chain samba]# smbpasswd -j COLUMBIA -r cmc-bkup -U murphyn
Password:
error creating domain user: NT_STATUS_INVALID_DOMAIN_ROLE
Unable to join domain COLUMBIA.
[root@chain samba]#

 Installation is a RedHat 7.2 (from KRUD) box with freshly installed Samba
 RPMs version 2.2.3a-6.  smb.conf was created by a cut and paste from a
 working installation on another box on our network, changing the
 server name
 and share paths as necessary.

 murphyn is a domain admin for COLUMBIA, the PDC (cmc-bkup) and the BDC are
 NT4 boxes.

 As the Linux guy I don't know what this error message means.  The
 NT admins
 are at a loss to explain the problem.

 Curiosities:

   I've used the same software version to add a box to our domain
   Essentially the same config is used on the working and non-working
 boxes, so I'm puzzled about what configuration issue could be
 causing this.

 Bottom Line Question:

   do you know what causes this error and how I can resolve this issue and
 have the machine chain join the COLUMBIA domain?

   Where did I miss whatever it is in the documentation?

 --
   Michael Rasmussen - Network Engineer, Columbia Management
   voice:  971-925-6723  cell:  503-807-1447  [EMAIL PROTECTED]
   mailto:[EMAIL PROTECTED] http://www.columbiafunds.com

 NOTICE:  This communication may contain confidential or other
 privileged information.  If you are not the intended recipient,
 or believe that you have received this communication in error,
 please do not print, copy, retransmit, disseminate, or otherwise
 use the information.  Also, please indicate to the sender that
 you have received this email in error, and delete the copy you
 received.  Any communication that does not relate to official
 Columbia business is that of the sender and is neither given nor
 endorsed by Columbia.  Thank you.



 --
 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] Problem running dejaGNU testsuites for samba.

2002-06-06 Thread Eugene Makarov

Hi,

I have some problem with running testsuites for samba. 
I use the dejaGNU 1.4.2 and latest 2.2.4 samba sources.

What's wrong with my settings ?

When I running runtest in testsuites directory I got:

WARNING: Couldn't find the global config file.
WARNING: No tool specified
Test Run By eugene on Thu Jun  6 18:37:13 2002
Native configuration is sparc-sun-solaris2.8

===  tests ===

Schedule of variations:
unix

Running target unix
Using /opt/dejagnu-1.4.2/share/dejagnu/baseboards/unix.exp as board description file 
for target.
Using /opt/dejagnu-1.4.2/share/dejagnu/config/unix.exp as generic interface file for 
target.
Using ./config/unix.exp as tool-and-target-specific interface file.
Running ./nsswitch/bigfd.exp ...
Running ./nsswitch/envvar.exp ...
FAIL: no domain users in getent
FAIL: no domain groups in getent group
Running ./nsswitch/finger.exp ...
FAIL: error running wbinfo
Running ./nsswitch/getent.exp ...
FAIL: no domain users in getent passwd
Running ./nsswitch/getgrent_r.exp ...
ERROR: compile getgrent_r
nsswitch/getgrent_r.c: In function `dump_grent':
nsswitch/getgrent_r.c:26: `sys_errlist' undeclared (first use in this function)
nsswitch/getgrent_r.c:26: (Each undeclared identifier is reported only once
nsswitch/getgrent_r.c:26: for each function it appears in.)

Running ./nsswitch/getgrgid.exp ...
ERROR: No domain groups returned from getent
Running ./nsswitch/getgrnam.exp ...
Running ./nsswitch/getpwent_r.exp ...
ERROR: compile getpwent_r
nsswitch/getpwent_r.c: In function `dump_pwent':
nsswitch/getpwent_r.c:26: `sys_errlist' undeclared (first use in this function)
nsswitch/getpwent_r.c:26: (Each undeclared identifier is reported only once
nsswitch/getpwent_r.c:26: for each function it appears in.)

ERROR: Can't find ./nsswitch/getpwent_r
ERROR: run getpwent_r


Best regards,
 Eugene.

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



[Samba] WINS Retention

2002-06-06 Thread Mike Black

How does one get rid of machines from the WINS database?

They seem to hang around foreverand a restart doesn't solve it because the WINS 
data just gets passed around...

Michael D. Black [EMAIL PROTECTED]
http://www.csihq.com/
http://www.csihq.com/~mike
321-676-2923, x203
Melbourne FL


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



[Samba] FreeBSD 4.5, Samba 2.2.4_1,W2K client printer properties cannot be displayed

2002-06-06 Thread Kevin Long

  
 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic15176.pcx)
  








 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic21246.pcx)








Hello, I have a FreeBSD 4.5-RELEASE box running the SAMBA 2.2.4_1 port. I
have successfully added a printer driver to the unit, and when connecting
from a Windows 2000 client, I get the driver successfully installed. I then
converted the system to a PDC and added a test machine to it's domain. I can
connect to the printer, it downloads drivers, but when I choose printer
properties, I get:

Printer properties cannot be displayed. Operation could not be completed

Oddly enough, when this SAMBA unit was a domain member, in a hybrid W2K/NT
domain, I could get the printer properties.

I can get the server properties correctly, and access shares, save
profiles.

Kevin Long.

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



pic21246.pcx
Description: Binary data


pic15176.pcx
Description: Binary data


[Samba] FreeBSD 4.5, Samba 2.2.4_1,W2K client printer properties cannot be displayed

2002-06-06 Thread Kevin Long

  
 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic25467.pcx)
  








 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic15176.pcx)









 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic21246.pcx)








Hello, I have a FreeBSD 4.5-RELEASE box running the SAMBA 2.2.4_1 port. I
have successfully added a printer driver to the unit, and when connecting
from a Windows 2000 client, I get the driver successfully installed. I then
converted the system to a PDC and added a test machine to it's domain. I can
connect to the printer, it downloads drivers, but when I choose printer
properties, I get:

Printer properties cannot be displayed. Operation could not be completed

Oddly enough, when this SAMBA unit was a domain member, in a hybrid W2K/NT
domain, I could get the printer properties.

I can get the server properties correctly, and access shares, save
profiles.

Kevin Long.

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



pic21246.pcx
Description: Binary data


pic15176.pcx
Description: Binary data


pic25467.pcx
Description: Binary data


Re: [Samba] bug for printing with Win2000

2002-06-06 Thread Gerald (Jerry) Carter

On Thu, 6 Jun 2002, Nicolas RICHARD wrote:

 Hello
 
 First excuse me for my poor english but I'm french! Then my problem... I
 use samba 2.2.3a with Red Hat 7.2. I want to share a lan printer. I have
 define it with cups and I can print correctly on Linux. I share it on
 samba to use it on Windows. It works on Win95,98 but not with NT,2000
 The error message is Accès refusé,impossible de se connecter. In
 english acces denied,enable to connect

Please see the Printing chapter in the Samba-HOWTO-Collection.pdf
file.  Also see the use client driver parameter in smb.conf(5).





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


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



[Samba] FreeBSD 4.5, Samba 2.2.4_1,W2K client printer properties cannot be displayed

2002-06-06 Thread Kevin Long

  
 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic02593.pcx)
  








 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic09078.pcx)









 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic25467.pcx)









 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic15176.pcx)









 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic21246.pcx)








Hello, I have a FreeBSD 4.5-RELEASE box running the SAMBA 2.2.4_1 port. I
have successfully added a printer driver to the unit, and when connecting
from a Windows 2000 client, I get the driver successfully installed. I then
converted the system to a PDC and added a test machine to it's domain. I can
connect to the printer, it downloads drivers, but when I choose printer
properties, I get:

Printer properties cannot be displayed. Operation could not be completed

Oddly enough, when this SAMBA unit was a domain member, in a hybrid W2K/NT
domain, I could get the printer properties.

I can get the server properties correctly, and access shares, save
profiles.

Kevin Long.

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



pic21246.pcx
Description: Binary data


pic15176.pcx
Description: Binary data


pic25467.pcx
Description: Binary data


pic09078.pcx
Description: Binary data


pic02593.pcx
Description: Binary data


[Samba] FreeBSD 4.5, Samba 2.2.4_1,W2K client printer properties cannot be displayed

2002-06-06 Thread Kevin Long

  
 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic29929.pcx)
  








 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic02593.pcx)









 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic09078.pcx)









 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic25467.pcx)









 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic15176.pcx)









 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic21246.pcx)








Hello, I have a FreeBSD 4.5-RELEASE box running the SAMBA 2.2.4_1 port. I
have successfully added a printer driver to the unit, and when connecting
from a Windows 2000 client, I get the driver successfully installed. I then
converted the system to a PDC and added a test machine to it's domain. I can
connect to the printer, it downloads drivers, but when I choose printer
properties, I get:

Printer properties cannot be displayed. Operation could not be completed

Oddly enough, when this SAMBA unit was a domain member, in a hybrid W2K/NT
domain, I could get the printer properties.

I can get the server properties correctly, and access shares, save
profiles.

Kevin Long.

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



pic21246.pcx
Description: Binary data


pic15176.pcx
Description: Binary data


pic25467.pcx
Description: Binary data


pic09078.pcx
Description: Binary data


pic02593.pcx
Description: Binary data


pic29929.pcx
Description: Binary data


RE: [Samba] FreeBSD 4.5, Samba 2.2.4_1, W2K client printer properties cannot be displayed

2002-06-06 Thread Klopf, Tom


I've experienced something like this, as well. Though I don't know if this
will help, I would make sure that your NT username(s) are appropriately
mapped to unix users.  You may not be able to view the properties because
the permissions/mapped user are mixed up. You can check this by doing a
smbstatus - the user names listed as connected are the unix usernames that
have been mapped to.  

NT error messages are usually red herrings or too vague when trying to
figure things out.  (Hence one of a gazillion reasons I'm a unix
administrator and not an NT one :) ).


Additionally, I would do frequent backups of your samba directory (once
things are working), so you can revert to that in a worst case scenario.
This is especially important when you have a drivers database (tdb file)
that cannot be hacked back together.

-t
 

-Original Message-
From: Kevin Long [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, June 06, 2002 12:15 PM
To: '[EMAIL PROTECTED]'
Subject: [Samba] FreeBSD 4.5, Samba 2.2.4_1, W2K client printer properties
cannot be displayed

  
 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic25467.pcx)
  








 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic15176.pcx)









 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic21246.pcx)








Hello, I have a FreeBSD 4.5-RELEASE box running the SAMBA 2.2.4_1 port. I
have successfully added a printer driver to the unit, and when connecting
from a Windows 2000 client, I get the driver successfully installed. I then
converted the system to a PDC and added a test machine to it's domain. I can
connect to the printer, it downloads drivers, but when I choose printer
properties, I get:

Printer properties cannot be displayed. Operation could not be completed

Oddly enough, when this SAMBA unit was a domain member, in a hybrid W2K/NT
domain, I could get the printer properties.

I can get the server properties correctly, and access shares, save
profiles.

Kevin Long.

--
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] FreeBSD 4.5, Samba 2.2.4_1,W2K client printer prope rties cannot be displayed

2002-06-06 Thread Klopf, Tom

  
 (Embedded
 image moved   Klopf, Tom [EMAIL PROTECTED]   
 to file:  06/06/2002 01:44 PM
 pic16966.pcx)
  








I've experienced something like this, as well. Though I don't know if this
will help, I would make sure that your NT username(s) are appropriately
mapped to unix users.  You may not be able to view the properties because
the permissions/mapped user are mixed up. You can check this by doing a
smbstatus - the user names listed as connected are the unix usernames that
have been mapped to.

NT error messages are usually red herrings or too vague when trying to
figure things out.  (Hence one of a gazillion reasons I'm a unix
administrator and not an NT one :) ).


Additionally, I would do frequent backups of your samba directory (once
things are working), so you can revert to that in a worst case scenario.
This is especially important when you have a drivers database (tdb file)
that cannot be hacked back together.

-t


-Original Message-
From: Kevin Long [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 06, 2002 12:15 PM
To: '[EMAIL PROTECTED]'
Subject: [Samba] FreeBSD 4.5, Samba 2.2.4_1, W2K client printer properties
cannot be displayed


 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic25467.pcx)









 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic15176.pcx)









 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic21246.pcx)








Hello, I have a FreeBSD 4.5-RELEASE box running the SAMBA 2.2.4_1 port. I
have successfully added a printer driver to the unit, and when connecting
from a Windows 2000 client, I get the driver successfully installed. I then
converted the system to a PDC and added a test machine to it's domain. I can
connect to the printer, it downloads drivers, but when I choose printer
properties, I get:

Printer properties cannot be displayed. Operation could not be completed

Oddly enough, when this SAMBA unit was a domain member, in a hybrid W2K/NT
domain, I could get the printer properties.

I can get the server properties correctly, and access shares, save
profiles.

Kevin Long.

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



pic16966.pcx
Description: Binary data


[Samba] FreeBSD 4.5, Samba 2.2.4_1,W2K client printer properties cannot be displayed

2002-06-06 Thread Kevin Long

  
 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic19628.pcx)
  








 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic25828.pcx)









 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic29929.pcx)









 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic02593.pcx)









 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic09078.pcx)









 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic25467.pcx)









 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic15176.pcx)









 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic21246.pcx)








Hello, I have a FreeBSD 4.5-RELEASE box running the SAMBA 2.2.4_1 port. I
have successfully added a printer driver to the unit, and when connecting
from a Windows 2000 client, I get the driver successfully installed. I then
converted the system to a PDC and added a test machine to it's domain. I can
connect to the printer, it downloads drivers, but when I choose printer
properties, I get:

Printer properties cannot be displayed. Operation could not be completed

Oddly enough, when this SAMBA unit was a domain member, in a hybrid W2K/NT
domain, I could get the printer properties.

I can get the server properties correctly, and access shares, save
profiles.

Kevin Long.

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



pic21246.pcx
Description: Binary data


pic15176.pcx
Description: Binary data


pic25467.pcx
Description: Binary data


pic09078.pcx
Description: Binary data


pic02593.pcx
Description: Binary data


pic29929.pcx
Description: Binary data


pic25828.pcx
Description: Binary data


pic19628.pcx
Description: Binary data


RE: [Samba] FreeBSD 4.5, Samba 2.2.4_1,W2K client printer prope rties cannot be displayed

2002-06-06 Thread WEBSTER, Greg

  
 (Embedded
 image moved   WEBSTER, Greg [EMAIL PROTECTED] 
 to file:  06/06/2002 01:39 PM
 pic04242.pcx)
  








Could you please not send emails with 6 bloody useless pics attached to
clutter by inbox? It's rather rude.

Greg


 -Original Message-
 From: Kevin Long [mailto:[EMAIL PROTECTED]]
 Sent: June 6, 2002 10:15 AM
 To: '[EMAIL PROTECTED]'
 Subject: [Samba] FreeBSD 4.5, Samba 2.2.4_1, W2K client printer
 properties cannot be displayed



  (Embedded
  image moved   Kevin Long [EMAIL PROTECTED]
  to file:  06/06/2002 01:15 PM
  pic29929.pcx)









  (Embedded
  image moved   Kevin Long [EMAIL PROTECTED]
  to file:  06/06/2002 01:15 PM
  pic02593.pcx)









  (Embedded
  image moved   Kevin Long [EMAIL PROTECTED]
  to file:  06/06/2002 01:15 PM
  pic09078.pcx)









  (Embedded
  image moved   Kevin Long [EMAIL PROTECTED]
  to file:  06/06/2002 01:15 PM
  pic25467.pcx)









  (Embedded
  image moved   Kevin Long [EMAIL PROTECTED]
  to file:  06/06/2002 01:15 PM
  pic15176.pcx)









  (Embedded
  image moved   Kevin Long [EMAIL PROTECTED]
  to file:  06/06/2002 01:15 PM
  pic21246.pcx)








 Hello, I have a FreeBSD 4.5-RELEASE box running the SAMBA
 2.2.4_1 port. I
 have successfully added a printer driver to the unit, and
 when connecting
 from a Windows 2000 client, I get the driver successfully
 installed. I then
 converted the system to a PDC and added a test machine to
 it's domain. I can
 connect to the printer, it downloads drivers, but when I
 choose printer
 properties, I get:

 Printer properties cannot be displayed. Operation could not
 be completed

 Oddly enough, when this SAMBA unit was a domain member, in a
 hybrid W2K/NT
 domain, I could get the printer properties.

 I can get the server properties correctly, and access shares, save
 profiles.

 Kevin Long.

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



pic04242.pcx
Description: Binary data


RE: [Samba] problem joining the domain

2002-06-06 Thread Tom . Klopf

Michael:
  You said  Yes, the machine pre-existed in the domain.

This implies that there was a pre-existing machine account that was
in use for the server.  Every time you want to add a samba server to a
domain, the MACHINE ACCOUNT HAS TO BE DELETED AND READDED. In other words,
every time you run smbpasswd -j mydomain (or something like that), the
machine account on the PDC has to be deleted and readded. This should really
be added to the samba documentation.  The reason I put it in caps is that NT
admins have a hard time believing this. 

Also, make sure that your PDC machine account (which is now called
a domain controller) has the option called allow pre-Windows 2000 computers
to use/join/whatever checked off.  Samba spoofs a NT 4.0 server, so this
option needs to be used. ALSO: make sure your Domain Controller can do PDC
emulation (it's some service that's run).

Futz around with the options you're giving smbpasswd, too.  I would
just try smbpasswd -j domain first, so long as your password server is
set to the right one in your smb.conf.



Hope that helps.

-t



Thomas Klopf
MMS - Gulf Region (ACS-GS contractor)
Phone: 504.736.2444
Mobile: 504.319.2600
 

-Original Message-
From: Michael Rasmussen [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, June 06, 2002 10:32 AM
To: Yannick Tousignant
Cc: [EMAIL PROTECTED]
Subject: RE: [Samba] problem joining the domain

Yes, the machine pre-existed in the domain.  As in, Domain Admin, please
add chain so I can have it join the domain. Which domain admin did.  

In truth, we tried joining the domain first, that failed so we had the admin
add chain to the domain they tried to join and . . . 

--  
  Michael Rasmussen - Network Engineer, Columbia Management
  voice:  971-925-6723  cell:  503-807-1447  [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] http://www.columbiafunds.com


 -Original Message-
 From: Yannick Tousignant [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 06, 2002 8:24 AM
 To: Michael Rasmussen
 Cc: [EMAIL PROTECTED]
 Subject: RE: [Samba] problem joining the domain
 
 
 
 Did you add your linux machine into the WindowsNT PDC?
 
 I belive it's in Server manager into Administration menus.
 
 Yannick
 
 
  -Original Message-
  From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]]On
  Behalf Of Michael Rasmussen
  Sent: Thursday, June 06, 2002 11:15 AM
  To: [EMAIL PROTECTED]
  Cc: IT Server Group
  Subject: [Samba] problem joining the domain
 
 
  We've encountered a problem with getting a newly installed 
 Samba based
  machine to join the domain.
 
  Here's the command line and error response:
 
 [root@chain samba]# smbpasswd -j COLUMBIA -r cmc-bkup -U murphyn
 Password:
 error creating domain user: NT_STATUS_INVALID_DOMAIN_ROLE
 Unable to join domain COLUMBIA.
 [root@chain samba]#
 
  Installation is a RedHat 7.2 (from KRUD) box with freshly 
 installed Samba
  RPMs version 2.2.3a-6.  smb.conf was created by a cut and 
 paste from a
  working installation on another box on our network, changing the
  server name
  and share paths as necessary.
 
  murphyn is a domain admin for COLUMBIA, the PDC (cmc-bkup) 
 and the BDC are
  NT4 boxes.
 
  As the Linux guy I don't know what this error message means.  The
  NT admins
  are at a loss to explain the problem.
 
  Curiosities:
 
  I've used the same software version to add a box to our domain
  Essentially the same config is used on the working and 
 non-working
  boxes, so I'm puzzled about what configuration issue could be
  causing this.
 
  Bottom Line Question:
 
do you know what causes this error and how I can resolve 
 this issue and
  have the machine chain join the COLUMBIA domain?
 
Where did I miss whatever it is in the documentation?
 
  --
Michael Rasmussen - Network Engineer, Columbia Management
voice:  971-925-6723  cell:  503-807-1447  
 [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] http://www.columbiafunds.com
 
  NOTICE:  This communication may contain confidential or other
  privileged information.  If you are not the intended recipient,
  or believe that you have received this communication in error,
  please do not print, copy, retransmit, disseminate, or otherwise
  use the information.  Also, please indicate to the sender that
  you have received this email in error, and delete the copy you
  received.  Any communication that does not relate to official
  Columbia business is that of the sender and is neither given nor
  endorsed by Columbia.  Thank you.
 
 
 
  --
  To unsubscribe from this list go to the following URL and read the
  instructions:  http://lists.samba.org/mailman/listinfo/samba
 
 
 

NOTICE:  This communication may contain confidential or other privileged
information.  If you are not the intended recipient, or believe that you
have received this communication in error, please do not print, copy,
retransmit, disseminate, or otherwise use the 

RE: [Samba] FreeBSD 4.5, Samba 2.2.4_1,W2K client printer prope rties cannot be displayed

2002-06-06 Thread Klopf, Tom

  
 (Embedded
 image moved   Klopf, Tom [EMAIL PROTECTED]   
 to file:  06/06/2002 01:44 PM
 pic17085.pcx)
  








 (Embedded
 image moved   Klopf, Tom [EMAIL PROTECTED]
 to file:  06/06/2002 01:44 PM
 pic16966.pcx)









I've experienced something like this, as well. Though I don't know if this
will help, I would make sure that your NT username(s) are appropriately
mapped to unix users.  You may not be able to view the properties because
the permissions/mapped user are mixed up. You can check this by doing a
smbstatus - the user names listed as connected are the unix usernames that
have been mapped to.

NT error messages are usually red herrings or too vague when trying to
figure things out.  (Hence one of a gazillion reasons I'm a unix
administrator and not an NT one :) ).


Additionally, I would do frequent backups of your samba directory (once
things are working), so you can revert to that in a worst case scenario.
This is especially important when you have a drivers database (tdb file)
that cannot be hacked back together.

-t


-Original Message-
From: Kevin Long [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 06, 2002 12:15 PM
To: '[EMAIL PROTECTED]'
Subject: [Samba] FreeBSD 4.5, Samba 2.2.4_1, W2K client printer properties
cannot be displayed


 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic25467.pcx)









 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic15176.pcx)









 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic21246.pcx)








Hello, I have a FreeBSD 4.5-RELEASE box running the SAMBA 2.2.4_1 port. I
have successfully added a printer driver to the unit, and when connecting
from a Windows 2000 client, I get the driver successfully installed. I then
converted the system to a PDC and added a test machine to it's domain. I can
connect to the printer, it downloads drivers, but when I choose printer
properties, I get:

Printer properties cannot be displayed. Operation could not be completed

Oddly enough, when this SAMBA unit was a domain member, in a hybrid W2K/NT
domain, I could get the printer properties.

I can get the server properties correctly, and access shares, save
profiles.

Kevin Long.

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



pic16966.pcx
Description: Binary data


pic17085.pcx
Description: Binary data


Re: [Samba] swat seems broken in HEAD

2002-06-06 Thread Bradley W. Langhorst

i've just recompiled and tested - looks good
both swat and testparm seem to work correctly

brad
On Wed, 2002-06-05 at 22:48, Billy O'Connor wrote:
 The swat/testparm bug is in lp_save_defaults(), a little used
 (swat/testparm only) function.  An attempted strdup() of a NULL
 string is segfaulting.  I gave Brad a patch to try, I'll test it some
 more, there're 2 other string conditions I want to test, then I'll
 send the patch in.
 
 --
 Billy O'Connor
 
 
 



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



Re: [Samba] swat seems broken in HEAD

2002-06-06 Thread Bradley W. Langhorst

  
 (Embedded
 image moved   Bradley W. Langhorst [EMAIL PROTECTED]
 to file:  06/06/2002 01:30 PM
 pic07625.pcx)
  







i've just recompiled and tested - looks good
both swat and testparm seem to work correctly

brad
On Wed, 2002-06-05 at 22:48, Billy O'Connor wrote:
 The swat/testparm bug is in lp_save_defaults(), a little used
 (swat/testparm only) function.  An attempted strdup() of a NULL
 string is segfaulting.  I gave Brad a patch to try, I'll test it some
 more, there're 2 other string conditions I want to test, then I'll
 send the patch in.

 --
 Billy O'Connor






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



pic07625.pcx
Description: Binary data


Re: [Samba] Trust Domains ...

2002-06-06 Thread C.Lee Taylor

Greetings ...

After a little research (somebody did a bit or work ;-O ) with google and 
the replies to my questions, this what I think I understand and will test 
very soon ( Hope not to make an ass of myself. )

Andrew Bartlett wrote:
 Samba 2.2 supports being trusted by NT.  Its a bit odd, and mainly works
 due to the fact that domain logons and interdomain logons are almost
 exactly the same.  Not 'supported', and only works for NT domains with
 just a PDC.
Okay, I asked this question before, but got no responce, so I am going to 
ask again, but this time with a little more details from my side.

NT4sp6 PDC with Exchange 5.5sp4 host the mail ( and other resouces ) for my 
Linux domain.  I wish to setup a Trust domain.

If I understand this correctly, the NT4 domain needs to trust my Samba domain.

Now according to http://mordor.clayton.edu/samba-tng/tng-pdc-trust.html as 
my reference, I will need to setup a machine account for the DOMAIN, PDC 
and each of the BDC's and then in the User Manager setup the trust 
relationship.

This feel like I am missing something, because when a machine joins the 
domain, it normally needs root password ( which I don't wish to give to NT4 
Admin ) and now I don't see any password been setup here ... it just does 
not seem secure.  If I set my root password to something easy for the trust 
setup and make it secure afterwards would that not break the trust ...

As I said, it feel like I am missing something.  I have a funny feeling that 
my Samba server should join the NT4 domain, but then I don't see anything 
that says I have too.  What should the security option set too, because I 
have see a few errors in one of my domains that have a LDAP SAM, which I 
had to change the option until the errors went away without kill my 
network.  Once I get this right, I will get a friend to help document what 
I have done, maybe it could be tha basis for mini-howto or something. This 
all seems like too much.

Thanks for all the help everybody has given me.

Mailed
Lee


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



[Samba] FreeBSD 4.5, Samba 2.2.4_1,W2K client printer properties cannot be displayed

2002-06-06 Thread Kevin Long

  
 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic00802.pcx)
  








 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic19628.pcx)









 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic25828.pcx)









 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic29929.pcx)









 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic02593.pcx)









 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic09078.pcx)









 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic25467.pcx)









 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic15176.pcx)









 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic21246.pcx)








Hello, I have a FreeBSD 4.5-RELEASE box running the SAMBA 2.2.4_1 port. I
have successfully added a printer driver to the unit, and when connecting
from a Windows 2000 client, I get the driver successfully installed. I then
converted the system to a PDC and added a test machine to it's domain. I can
connect to the printer, it downloads drivers, but when I choose printer
properties, I get:

Printer properties cannot be displayed. Operation could not be completed

Oddly enough, when this SAMBA unit was a domain member, in a hybrid W2K/NT
domain, I could get the printer properties.

I can get the server properties correctly, and access shares, save
profiles.

Kevin Long.

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



pic21246.pcx
Description: Binary data


pic15176.pcx
Description: Binary data


pic25467.pcx
Description: Binary data


pic09078.pcx
Description: Binary data


pic02593.pcx
Description: Binary data


pic29929.pcx
Description: Binary data


pic25828.pcx
Description: Binary data


pic19628.pcx
Description: Binary data


pic00802.pcx
Description: Binary data


Re: [Samba] swat seems broken in HEAD

2002-06-06 Thread Bradley W. Langhorst

  
 (Embedded
 image moved   Bradley W. Langhorst [EMAIL PROTECTED]
 to file:  06/06/2002 01:30 PM
 pic09284.pcx)
  








 (Embedded
 image moved   Bradley W. Langhorst [EMAIL PROTECTED]
 to file:  06/06/2002 01:30 PM
 pic07625.pcx)








i've just recompiled and tested - looks good
both swat and testparm seem to work correctly

brad
On Wed, 2002-06-05 at 22:48, Billy O'Connor wrote:
 The swat/testparm bug is in lp_save_defaults(), a little used
 (swat/testparm only) function.  An attempted strdup() of a NULL
 string is segfaulting.  I gave Brad a patch to try, I'll test it some
 more, there're 2 other string conditions I want to test, then I'll
 send the patch in.

 --
 Billy O'Connor






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



pic07625.pcx
Description: Binary data


pic09284.pcx
Description: Binary data


RE: [Samba] FreeBSD 4.5, Samba 2.2.4_1,W2K client printer prope rties cannot be displayed

2002-06-06 Thread Klopf, Tom

  
 (Embedded
 image moved   Klopf, Tom [EMAIL PROTECTED]   
 to file:  06/06/2002 01:44 PM
 pic22433.pcx)
  








 (Embedded
 image moved   Klopf, Tom [EMAIL PROTECTED]
 to file:  06/06/2002 01:44 PM
 pic17085.pcx)









 (Embedded
 image moved   Klopf, Tom [EMAIL PROTECTED]
 to file:  06/06/2002 01:44 PM
 pic16966.pcx)









I've experienced something like this, as well. Though I don't know if this
will help, I would make sure that your NT username(s) are appropriately
mapped to unix users.  You may not be able to view the properties because
the permissions/mapped user are mixed up. You can check this by doing a
smbstatus - the user names listed as connected are the unix usernames that
have been mapped to.

NT error messages are usually red herrings or too vague when trying to
figure things out.  (Hence one of a gazillion reasons I'm a unix
administrator and not an NT one :) ).


Additionally, I would do frequent backups of your samba directory (once
things are working), so you can revert to that in a worst case scenario.
This is especially important when you have a drivers database (tdb file)
that cannot be hacked back together.

-t


-Original Message-
From: Kevin Long [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 06, 2002 12:15 PM
To: '[EMAIL PROTECTED]'
Subject: [Samba] FreeBSD 4.5, Samba 2.2.4_1, W2K client printer properties
cannot be displayed


 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic25467.pcx)









 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic15176.pcx)









 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic21246.pcx)








Hello, I have a FreeBSD 4.5-RELEASE box running the SAMBA 2.2.4_1 port. I
have successfully added a printer driver to the unit, and when connecting
from a Windows 2000 client, I get the driver successfully installed. I then
converted the system to a PDC and added a test machine to it's domain. I can
connect to the printer, it downloads drivers, but when I choose printer
properties, I get:

Printer properties cannot be displayed. Operation could not be completed

Oddly enough, when this SAMBA unit was a domain member, in a hybrid W2K/NT
domain, I could get the printer properties.

I can get the server properties correctly, and access shares, save
profiles.

Kevin Long.

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



pic16966.pcx
Description: Binary data


pic17085.pcx
Description: Binary data


pic22433.pcx
Description: Binary data


[Samba] FreeBSD 4.5, Samba 2.2.4_1,W2K client printer properties cannot be displayed

2002-06-06 Thread Kevin Long

  
 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic15436.pcx)
  








 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic00802.pcx)









 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic19628.pcx)









 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic25828.pcx)









 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic29929.pcx)









 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic02593.pcx)









 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic09078.pcx)









 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic25467.pcx)









 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic15176.pcx)









 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic21246.pcx)








Hello, I have a FreeBSD 4.5-RELEASE box running the SAMBA 2.2.4_1 port. I
have successfully added a printer driver to the unit, and when connecting
from a Windows 2000 client, I get the driver successfully installed. I then
converted the system to a PDC and added a test machine to it's domain. I can
connect to the printer, it downloads drivers, but when I choose printer
properties, I get:

Printer properties cannot be displayed. Operation could not be completed

Oddly enough, when this SAMBA unit was a domain member, in a hybrid W2K/NT
domain, I could get the printer properties.

I can get the server properties correctly, and access shares, save
profiles.

Kevin Long.

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



pic21246.pcx
Description: Binary data


pic15176.pcx
Description: Binary data


pic25467.pcx
Description: Binary data


pic09078.pcx
Description: Binary data


pic02593.pcx
Description: Binary data


pic29929.pcx
Description: Binary data


pic25828.pcx
Description: Binary data


pic19628.pcx
Description: Binary data


pic00802.pcx
Description: Binary data


pic15436.pcx
Description: Binary data


RE: [Samba] FreeBSD 4.5, Samba 2.2.4_1,W2K client printer prope rties cannot be displayed

2002-06-06 Thread WEBSTER, Greg

  
 (Embedded
 image moved   WEBSTER, Greg [EMAIL PROTECTED] 
 to file:  06/06/2002 01:39 PM
 pic16158.pcx)
  








 (Embedded
 image moved   WEBSTER, Greg [EMAIL PROTECTED]
 to file:  06/06/2002 01:39 PM
 pic10625.pcx)









 (Embedded
 image moved   WEBSTER, Greg [EMAIL PROTECTED]
 to file:  06/06/2002 01:39 PM
 pic04242.pcx)









Could you please not send emails with 6 bloody useless pics attached to
clutter by inbox? It's rather rude.

Greg


 -Original Message-
 From: Kevin Long [mailto:[EMAIL PROTECTED]]
 Sent: June 6, 2002 10:15 AM
 To: '[EMAIL PROTECTED]'
 Subject: [Samba] FreeBSD 4.5, Samba 2.2.4_1, W2K client printer
 properties cannot be displayed



  (Embedded
  image moved   Kevin Long [EMAIL PROTECTED]
  to file:  06/06/2002 01:15 PM
  pic29929.pcx)









  (Embedded
  image moved   Kevin Long [EMAIL PROTECTED]
  to file:  06/06/2002 01:15 PM
  pic02593.pcx)









  (Embedded
  image moved   Kevin Long [EMAIL PROTECTED]
  to file:  06/06/2002 01:15 PM
  pic09078.pcx)









  (Embedded
  image moved   Kevin Long [EMAIL PROTECTED]
  to file:  06/06/2002 01:15 PM
  pic25467.pcx)









  (Embedded
  image moved   Kevin Long [EMAIL PROTECTED]
  to file:  06/06/2002 01:15 PM
  pic15176.pcx)









  (Embedded
  image moved   Kevin Long [EMAIL PROTECTED]
  to file:  06/06/2002 01:15 PM
  pic21246.pcx)








 Hello, I have a FreeBSD 4.5-RELEASE box running the SAMBA
 2.2.4_1 port. I
 have successfully added a printer driver to the unit, and
 when connecting
 from a Windows 2000 client, I get the driver successfully
 installed. I then
 converted the system to a PDC and added a test machine to
 it's domain. I can
 connect to the printer, it downloads drivers, but when I
 choose printer
 properties, I get:

 Printer properties cannot be displayed. Operation could not
 be completed

 Oddly enough, when this SAMBA unit was a domain member, in a
 hybrid W2K/NT
 domain, I could get the printer properties.

 I can get the server properties correctly, and access shares, save
 profiles.

 Kevin Long.

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



pic04242.pcx
Description: Binary data


pic10625.pcx
Description: Binary data


pic16158.pcx
Description: Binary data


Re: [Samba] swat seems broken in HEAD

2002-06-06 Thread Bradley W. Langhorst

  
 (Embedded
 image moved   Bradley W. Langhorst [EMAIL PROTECTED]
 to file:  06/06/2002 01:30 PM
 pic08942.pcx)
  








 (Embedded
 image moved   Bradley W. Langhorst [EMAIL PROTECTED]
 to file:  06/06/2002 01:30 PM
 pic09284.pcx)









 (Embedded
 image moved   Bradley W. Langhorst [EMAIL PROTECTED]
 to file:  06/06/2002 01:30 PM
 pic07625.pcx)








i've just recompiled and tested - looks good
both swat and testparm seem to work correctly

brad
On Wed, 2002-06-05 at 22:48, Billy O'Connor wrote:
 The swat/testparm bug is in lp_save_defaults(), a little used
 (swat/testparm only) function.  An attempted strdup() of a NULL
 string is segfaulting.  I gave Brad a patch to try, I'll test it some
 more, there're 2 other string conditions I want to test, then I'll
 send the patch in.

 --
 Billy O'Connor






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



pic07625.pcx
Description: Binary data


pic09284.pcx
Description: Binary data


pic08942.pcx
Description: Binary data


RE: [Samba] problem joining the domain

2002-06-06 Thread Tom . Klopf

  
 (Embedded
 image moved   [EMAIL PROTECTED]  
 to file:  06/06/2002 01:59 PM
 pic18794.pcx)
  








 (Embedded
 image moved   [EMAIL PROTECTED]
 to file:  06/06/2002 01:59 PM
 pic00941.pcx)








Michael:
  You said  Yes, the machine pre-existed in the domain.

 This implies that there was a pre-existing machine account that was
in use for the server.  Every time you want to add a samba server to a
domain, the MACHINE ACCOUNT HAS TO BE DELETED AND READDED. In other words,
every time you run smbpasswd -j mydomain (or something like that), the
machine account on the PDC has to be deleted and readded. This should really
be added to the samba documentation.  The reason I put it in caps is that NT
admins have a hard time believing this.

 Also, make sure that your PDC machine account (which is now called
a domain controller) has the option called allow pre-Windows 2000 computers
to use/join/whatever checked off.  Samba spoofs a NT 4.0 server, so this
option needs to be used. ALSO: make sure your Domain Controller can do PDC
emulation (it's some service that's run).

 Futz around with the options you're giving smbpasswd, too.  I would
just try smbpasswd -j domain first, so long as your password server is
set to the right one in your smb.conf.



Hope that helps.

-t



Thomas Klopf
MMS - Gulf Region (ACS-GS contractor)
Phone: 504.736.2444
Mobile: 504.319.2600


-Original Message-
From: Michael Rasmussen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 06, 2002 10:32 AM
To: Yannick Tousignant
Cc: [EMAIL PROTECTED]
Subject: RE: [Samba] problem joining the domain

Yes, the machine pre-existed in the domain.  As in, Domain Admin, please
add chain so I can have it join the domain. Which domain admin did.

In truth, we tried joining the domain first, that failed so we had the admin
add chain to the domain they tried to join and . . .

--
  Michael Rasmussen - Network Engineer, Columbia Management
  voice:  971-925-6723  cell:  503-807-1447  [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] http://www.columbiafunds.com


 -Original Message-
 From: Yannick Tousignant [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 06, 2002 8:24 AM
 To: Michael Rasmussen
 Cc: [EMAIL PROTECTED]
 Subject: RE: [Samba] problem joining the domain



 Did you add your linux machine into the WindowsNT PDC?

 I belive it's in Server manager into Administration menus.

 Yannick


  -Original Message-
  From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On
  Behalf Of Michael Rasmussen
  Sent: Thursday, June 06, 2002 11:15 AM
  To: [EMAIL PROTECTED]
  Cc: IT Server Group
  Subject: [Samba] problem joining the domain
 
 
  We've encountered a problem with getting a newly installed
 Samba based
  machine to join the domain.
 
  Here's the command line and error response:
 
 [root@chain samba]# smbpasswd -j COLUMBIA -r cmc-bkup -U murphyn
 Password:
 error creating domain user: NT_STATUS_INVALID_DOMAIN_ROLE
 Unable to join domain COLUMBIA.
 [root@chain samba]#
 
  Installation is a RedHat 7.2 (from KRUD) box with freshly
 installed Samba
  RPMs version 2.2.3a-6.  smb.conf was created by a cut and
 paste from a
  working installation on another box on our network, changing the
  server name
  and share paths as necessary.
 
  murphyn is a domain admin for COLUMBIA, the PDC (cmc-bkup)
 and the BDC are
  NT4 boxes.
 
  As the Linux guy I don't know what this error message means.  The
  NT admins
  are at a loss to explain the problem.
 
  Curiosities:
 
   I've used the same software version to add a box to our domain
   Essentially the same config is used on the working and
 non-working
  boxes, so I'm puzzled about what configuration issue could be
  causing this.
 
  Bottom Line Question:
 
do you know what causes this error and how I can resolve
 this issue and
  have the machine chain join the COLUMBIA domain?
 
Where did I miss whatever it is in the documentation?
 
  --
Michael Rasmussen - Network Engineer, Columbia Management
voice:  971-925-6723  cell:  503-807-1447
 [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] http://www.columbiafunds.com
 
  NOTICE:  This communication may contain confidential or other
  privileged information.  If you are not the intended recipient,
  or believe that you have received this communication in error,
  please do not print, copy, retransmit, disseminate, or otherwise
  use the information.  Also, please indicate to the sender that
  you have received this email in error, and delete the copy you
  received.  Any communication that does not relate to official
  Columbia business is that of the sender and is neither given nor
  endorsed 

RE: [Samba] FreeBSD 4.5, Samba 2.2.4_1,W2K client printer prope rties cannot be displayed

2002-06-06 Thread Klopf, Tom

  
 (Embedded
 image moved   Klopf, Tom [EMAIL PROTECTED]   
 to file:  06/06/2002 01:44 PM
 pic16700.pcx)
  








 (Embedded
 image moved   Klopf, Tom [EMAIL PROTECTED]
 to file:  06/06/2002 01:44 PM
 pic22433.pcx)









 (Embedded
 image moved   Klopf, Tom [EMAIL PROTECTED]
 to file:  06/06/2002 01:44 PM
 pic17085.pcx)









 (Embedded
 image moved   Klopf, Tom [EMAIL PROTECTED]
 to file:  06/06/2002 01:44 PM
 pic16966.pcx)









I've experienced something like this, as well. Though I don't know if this
will help, I would make sure that your NT username(s) are appropriately
mapped to unix users.  You may not be able to view the properties because
the permissions/mapped user are mixed up. You can check this by doing a
smbstatus - the user names listed as connected are the unix usernames that
have been mapped to.

NT error messages are usually red herrings or too vague when trying to
figure things out.  (Hence one of a gazillion reasons I'm a unix
administrator and not an NT one :) ).


Additionally, I would do frequent backups of your samba directory (once
things are working), so you can revert to that in a worst case scenario.
This is especially important when you have a drivers database (tdb file)
that cannot be hacked back together.

-t


-Original Message-
From: Kevin Long [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 06, 2002 12:15 PM
To: '[EMAIL PROTECTED]'
Subject: [Samba] FreeBSD 4.5, Samba 2.2.4_1, W2K client printer properties
cannot be displayed


 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic25467.pcx)









 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic15176.pcx)









 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic21246.pcx)








Hello, I have a FreeBSD 4.5-RELEASE box running the SAMBA 2.2.4_1 port. I
have successfully added a printer driver to the unit, and when connecting
from a Windows 2000 client, I get the driver successfully installed. I then
converted the system to a PDC and added a test machine to it's domain. I can
connect to the printer, it downloads drivers, but when I choose printer
properties, I get:

Printer properties cannot be displayed. Operation could not be completed

Oddly enough, when this SAMBA unit was a domain member, in a hybrid W2K/NT
domain, I could get the printer properties.

I can get the server properties correctly, and access shares, save
profiles.

Kevin Long.

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



pic16966.pcx
Description: Binary data


pic17085.pcx
Description: Binary data


pic22433.pcx
Description: Binary data


pic16700.pcx
Description: Binary data


WARNING! Re: [Samba] ASSISTANCE NEEDED

2002-06-06 Thread Geert Jansen

  
 (Embedded
 image moved   Geert Jansen [EMAIL PROTECTED]  
 to file:  06/06/2002 01:55 PM
 pic20654.pcx)
  







People be carefull, the people behind this mail do not deserve the light in
their eyes! They are just merely filthy lowlife thiefs that have no respect
for human life at all.

They make millions of $ by ripping off bankaccounts wordlwide claiming to be
freedomfighters or the like.

Don't believe a word they say! As soon as you give away any bankaccount
information you're money will be gone.

FYI:

http://rhodesian.server101.com/mrs_abacha_letter.htm
http://www.freemaninstitute.com/419abacha.htm


Sqlerror

- Original Message -
From: mariam zanab ishatu [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, June 01, 2002 12:47 AM
Subject: [Samba] ASSISTANCE NEEDED





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



pic20654.pcx
Description: Binary data


Re: [Samba] Problem with Samba

2002-06-06 Thread long-nguyen


I do not remember that I sent you an email yesterday?   What you may need
is to add linux server name to the windows lmhosts and hosts and hosts.txt
in the \winnt\system32\drivers\etc  directory,  you then define a
userid (using the name of the operating system where your samba server is)
on W2k .
operating system.  You may have to reboot W2k system, then go to dos prompt
and donet use   x: \\x\x.

Good luck


   
   
Arnold, Dave 
   
Dave.Arnold@fcpsTo: [EMAIL PROTECTED]   
   
.educc:   
   
Sent by: Subject: [Samba] Problem with Samba   
   
samba-admin@lists  
   
.samba.org 
   
   
   
   
   
06/06/2002 10:41   
   
AM 
   
   
   
   
   




Hi,

I am running samba version 2.2.4 on Solaris 8.  I am trying to configure
samba to allow users on the windows platform see home directories.  We are
running Windows 2k Professional.

I ran the tests in the DIAGNOSIS.txt file and everything up to TEST 8
worked
properly, but on test 8 I received an error access is denied.  I did not
see
this error in the DIAGNOSIS.txt file so I was wondering if you could help
me?

Thanks,
David Arnold

--
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] Trust Domains ...

2002-06-06 Thread C.Lee Taylor

  
 (Embedded
 image moved   C.Lee Taylor [EMAIL PROTECTED]  
 to file:  06/06/2002 01:54 PM
 pic26037.pcx)
  








 (Embedded
 image moved   C.Lee Taylor [EMAIL PROTECTED]
 to file:  06/06/2002 01:54 PM
 pic01468.pcx)








Greetings ...

 After a little research (somebody did a bit or work ;-O ) with google and
the replies to my questions, this what I think I understand and will test
very soon ( Hope not to make an ass of myself. )

Andrew Bartlett wrote:
 Samba 2.2 supports being trusted by NT.  Its a bit odd, and mainly works
 due to the fact that domain logons and interdomain logons are almost
 exactly the same.  Not 'supported', and only works for NT domains with
 just a PDC.
 Okay, I asked this question before, but got no responce, so I am going to
ask again, but this time with a little more details from my side.

 NT4sp6 PDC with Exchange 5.5sp4 host the mail ( and other resouces ) for my
Linux domain.  I wish to setup a Trust domain.

 If I understand this correctly, the NT4 domain needs to trust my Samba
domain.

 Now according to http://mordor.clayton.edu/samba-tng/tng-pdc-trust.html as
my reference, I will need to setup a machine account for the DOMAIN, PDC
and each of the BDC's and then in the User Manager setup the trust
relationship.

 This feel like I am missing something, because when a machine joins the
domain, it normally needs root password ( which I don't wish to give to NT4
Admin ) and now I don't see any password been setup here ... it just does
not seem secure.  If I set my root password to something easy for the trust
setup and make it secure afterwards would that not break the trust ...

 As I said, it feel like I am missing something.  I have a funny feeling
that
my Samba server should join the NT4 domain, but then I don't see anything
that says I have too.  What should the security option set too, because I
have see a few errors in one of my domains that have a LDAP SAM, which I
had to change the option until the errors went away without kill my
network.  Once I get this right, I will get a friend to help document what
I have done, maybe it could be tha basis for mini-howto or something. This
all seems like too much.

 Thanks for all the help everybody has given me.

Mailed
Lee


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



pic01468.pcx
Description: Binary data


pic26037.pcx
Description: Binary data


Re: [Samba] swat seems broken in HEAD

2002-06-06 Thread Bradley W. Langhorst

hey - what's up with those embedded images - i didn't send those.
looks like the same thing happened to some other guy a few minutes ago.

something fishy here...

i'm using evolution 1.0.3 for mua

brad
On Thu, 2002-06-06 at 13:30, Bradley W. Langhorst wrote:
   
  (Embedded
  image moved   Bradley W. Langhorst [EMAIL PROTECTED]
  to file:  06/06/2002 01:30 PM
  pic09284.pcx)
   
 
 
 
 
 
 
 
 
  (Embedded
  image moved   Bradley W. Langhorst [EMAIL PROTECTED]
  to file:  06/06/2002 01:30 PM
  pic07625.pcx)
 
 
 
 
 
 
 
 
 i've just recompiled and tested - looks good
 both swat and testparm seem to work correctly
 
 brad
 On Wed, 2002-06-05 at 22:48, Billy O'Connor wrote:
  The swat/testparm bug is in lp_save_defaults(), a little used
  (swat/testparm only) function.  An attempted strdup() of a NULL
  string is segfaulting.  I gave Brad a patch to try, I'll test it some
  more, there're 2 other string conditions I want to test, then I'll
  send the patch in.
 
  --
  Billy O'Connor
 
 
 
 
 
 
 --
 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] swat seems broken in HEAD

2002-06-06 Thread Bradley W. Langhorst

  
 (Embedded
 image moved   Bradley W. Langhorst [EMAIL PROTECTED]
 to file:  06/06/2002 01:30 PM
 pic04173.pcx)
  








 (Embedded
 image moved   Bradley W. Langhorst [EMAIL PROTECTED]
 to file:  06/06/2002 01:30 PM
 pic08942.pcx)









 (Embedded
 image moved   Bradley W. Langhorst [EMAIL PROTECTED]
 to file:  06/06/2002 01:30 PM
 pic09284.pcx)









 (Embedded
 image moved   Bradley W. Langhorst [EMAIL PROTECTED]
 to file:  06/06/2002 01:30 PM
 pic07625.pcx)








i've just recompiled and tested - looks good
both swat and testparm seem to work correctly

brad
On Wed, 2002-06-05 at 22:48, Billy O'Connor wrote:
 The swat/testparm bug is in lp_save_defaults(), a little used
 (swat/testparm only) function.  An attempted strdup() of a NULL
 string is segfaulting.  I gave Brad a patch to try, I'll test it some
 more, there're 2 other string conditions I want to test, then I'll
 send the patch in.

 --
 Billy O'Connor






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



pic07625.pcx
Description: Binary data


pic09284.pcx
Description: Binary data


pic08942.pcx
Description: Binary data


pic04173.pcx
Description: Binary data


Re: [Samba] samba AIX / NT network issue

2002-06-06 Thread tony lay

I'm not big on replying to myself but I wanted to at least in case somebody 
else ever runs into this problem.

After trying to recreate the issue we discovered that there was a link that 
someone had placed in the filesystem that went through the WAN to a now 
defunct machine.  After removing the link everything is running better than 
ever.

I'd like to take the time to thank the only person that tried to help me 
over the last few weeks...Thierry ITTY.

Regards,

Tony

Original Message Follows
From: tony lay [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [Samba] samba AIX / NT network issue
Date: Wed, 05 Jun 2002 12:32:44 -0400
MIME-Version: 1.0
X-Originating-IP: [208.1.175.66]
Received: from hotmail.com ([65.54.236.46]) by hotmail.com with Microsoft 
SMTPSVC(5.0.2195.4905); Wed, 5 Jun 2002 09:44:08 -0700
Received: from lists.samba.org ([198.186.203.85]) by hotmail.com with 
Microsoft SMTPSVC(5.0.2195.4905); Wed, 5 Jun 2002 09:33:38 -0700
Received: from va.samba.org (localhost [127.0.0.1])by lists.samba.org 
(Postfix) with ESMTPid AA0AC4567; Wed,  5 Jun 2002 09:37:09 -0700 (PDT)
Received: from hotmail.com (f144.law8.hotmail.com [216.33.241.144])by 
lists.samba.org (Postfix) with ESMTP id 01E464196for 
[EMAIL PROTECTED]; Wed,  5 Jun 2002 09:36:23 -0700 (PDT)
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; 
Wed, 5 Jun 2002 09:32:44 -0700
Received: from 208.1.175.66 by lw8fd.law8.hotmail.msn.com with HTTP;Wed, 05 
Jun 2002 16:32:44 GMT
Delivered-To: [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
X-OriginalArrivalTime: 05 Jun 2002 16:32:44.0939 (UTC) 
FILETIME=[9EE425B0:01C20CAE]
Sender: [EMAIL PROTECTED]
Errors-To: [EMAIL PROTECTED]
X-BeenThere: [EMAIL PROTECTED]
X-Mailman-Version: 2.0.8
Precedence: bulk
List-Help: mailto:[EMAIL PROTECTED]?subject=help
List-Post: mailto:[EMAIL PROTECTED]
List-Subscribe: 
http://lists.samba.org/mailman/listinfo/samba,mailto:[EMAIL PROTECTED]?subject=subscribe
List-Id: General questions regarding Samba samba.lists.samba.org
List-Unsubscribe: 
http://lists.samba.org/mailman/listinfo/samba,mailto:[EMAIL PROTECTED]?subject=unsubscribe
List-Archive: http://lists.samba.org/pipermail/samba/
X-Original-Date: Wed, 05 Jun 2002 12:32:44 -0400
Return-Path: [EMAIL PROTECTED]

I'm running samba on an AIX 4.3.3 server which has NT4.0 SP6a clients 
connecting.  Since I've had so much trouble with it I compiled 2.2.4 with 
GCC on the server and it didn't do any good.  Grasping for straws I had our 
netadmin come over and help me interpet what kinds of errors we were 
receiving.

The symptom of the problem first off is that when the clients are browsing 
the shares they initially take 30-60 seconds to come up (if even at all).  
Everything works fine once connected (but is still way too slow).

I was hoping that some common issues could be detected from at least some of 
these errors so that I can try to get this sorted out.  Any information on 
any part of this would be helpful, really.

Here are some of the notes from our pow-wow...this is traffic between my 
client and the server while trying to open up a share off of the samba 
server.

no such file desktop.ini
srvsvc starts

account was null and the domain was null dest AIX - source ing-nt-dc
Negotiated
connected
disconnected .02 seconds later

pulled desktop.ini

ACK took too long to respond
possibly insufficient buffer space on one side or the other
2 alerts

WINS lookup performed
tried to connect null again
tried to to connect ing-nt-dc/IPC$
tried to pull netlogon - SUCCESS

RPC 5.0 BIND
Lots of peramaters transferred

netlogon called - requests challange
three way handshake request and response

connects and disconnects.

Some NetBIOS traffic is detected but cannon be encoded
at the same time/soon after we get a window frozen error

Then oddly enough a NetBIOS session request and confirmation

negotiation begins
connection is made to share as proper user

WINS traffic
TCP stuff

NETBIOS 76 bytes of user data
confirms session
Negotiates anon

three way handshake is asked for again and then closes down
-

# Global parameters
[global]
client code page = 437
code page directory = /usr/local/lib/codepages
workgroup = OURDOMAINNAME
netbios name = THESERVERNAME
server string = Samba %v
interfaces = 208.1.175.144/255.255.255.128
security = DOMAIN
encrypt passwords = Yes
update encrypted = Yes
password server = OURPDC OURBDC ANOTHERBDC
smb passwd file = /var/samba/private/smbpasswd
passwd program = /bin/yppasswd
username map = /usr/local/lib/users.map
unix password sync = Yes
log file = /var/samba/log/log.%m
max log size = 50
name resolve order = wins host bcast
deadtime = 15
max disk size = 7199
socket options = TCP_NODELAY TCP_NODELAY SO_SNDBUF=32768 SO_RCVBUF=32768
load printers = No

RE: [Samba] FreeBSD 4.5, Samba 2.2.4_1,W2K client printer prope rties cannot be displayed

2002-06-06 Thread Klopf, Tom

  
 (Embedded
 image moved   Klopf, Tom [EMAIL PROTECTED]   
 to file:  06/06/2002 01:44 PM
 pic10940.pcx)
  








 (Embedded
 image moved   Klopf, Tom [EMAIL PROTECTED]
 to file:  06/06/2002 01:44 PM
 pic16700.pcx)









 (Embedded
 image moved   Klopf, Tom [EMAIL PROTECTED]
 to file:  06/06/2002 01:44 PM
 pic22433.pcx)









 (Embedded
 image moved   Klopf, Tom [EMAIL PROTECTED]
 to file:  06/06/2002 01:44 PM
 pic17085.pcx)









 (Embedded
 image moved   Klopf, Tom [EMAIL PROTECTED]
 to file:  06/06/2002 01:44 PM
 pic16966.pcx)









I've experienced something like this, as well. Though I don't know if this
will help, I would make sure that your NT username(s) are appropriately
mapped to unix users.  You may not be able to view the properties because
the permissions/mapped user are mixed up. You can check this by doing a
smbstatus - the user names listed as connected are the unix usernames that
have been mapped to.

NT error messages are usually red herrings or too vague when trying to
figure things out.  (Hence one of a gazillion reasons I'm a unix
administrator and not an NT one :) ).


Additionally, I would do frequent backups of your samba directory (once
things are working), so you can revert to that in a worst case scenario.
This is especially important when you have a drivers database (tdb file)
that cannot be hacked back together.

-t


-Original Message-
From: Kevin Long [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 06, 2002 12:15 PM
To: '[EMAIL PROTECTED]'
Subject: [Samba] FreeBSD 4.5, Samba 2.2.4_1, W2K client printer properties
cannot be displayed


 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic25467.pcx)









 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic15176.pcx)









 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:15 PM
 pic21246.pcx)








Hello, I have a FreeBSD 4.5-RELEASE box running the SAMBA 2.2.4_1 port. I
have successfully added a printer driver to the unit, and when connecting
from a Windows 2000 client, I get the driver successfully installed. I then
converted the system to a PDC and added a test machine to it's domain. I can
connect to the printer, it downloads drivers, but when I choose printer
properties, I get:

Printer properties cannot be displayed. Operation could not be completed

Oddly enough, when this SAMBA unit was a domain member, in a hybrid W2K/NT
domain, I could get the printer properties.

I can get the server properties correctly, and access shares, save
profiles.

Kevin Long.

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



pic16966.pcx
Description: Binary data


pic17085.pcx
Description: Binary data


pic22433.pcx
Description: Binary data


pic16700.pcx
Description: Binary data


pic10940.pcx
Description: Binary data


RE: [Samba] problem joining the domain

2002-06-06 Thread Tom . Klopf

  
 (Embedded
 image moved   [EMAIL PROTECTED]  
 to file:  06/06/2002 01:59 PM
 pic06895.pcx)
  








 (Embedded
 image moved   [EMAIL PROTECTED]
 to file:  06/06/2002 01:59 PM
 pic18794.pcx)









 (Embedded
 image moved   [EMAIL PROTECTED]
 to file:  06/06/2002 01:59 PM
 pic00941.pcx)








Michael:
  You said  Yes, the machine pre-existed in the domain.

 This implies that there was a pre-existing machine account that was
in use for the server.  Every time you want to add a samba server to a
domain, the MACHINE ACCOUNT HAS TO BE DELETED AND READDED. In other words,
every time you run smbpasswd -j mydomain (or something like that), the
machine account on the PDC has to be deleted and readded. This should really
be added to the samba documentation.  The reason I put it in caps is that NT
admins have a hard time believing this.

 Also, make sure that your PDC machine account (which is now called
a domain controller) has the option called allow pre-Windows 2000 computers
to use/join/whatever checked off.  Samba spoofs a NT 4.0 server, so this
option needs to be used. ALSO: make sure your Domain Controller can do PDC
emulation (it's some service that's run).

 Futz around with the options you're giving smbpasswd, too.  I would
just try smbpasswd -j domain first, so long as your password server is
set to the right one in your smb.conf.



Hope that helps.

-t



Thomas Klopf
MMS - Gulf Region (ACS-GS contractor)
Phone: 504.736.2444
Mobile: 504.319.2600


-Original Message-
From: Michael Rasmussen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 06, 2002 10:32 AM
To: Yannick Tousignant
Cc: [EMAIL PROTECTED]
Subject: RE: [Samba] problem joining the domain

Yes, the machine pre-existed in the domain.  As in, Domain Admin, please
add chain so I can have it join the domain. Which domain admin did.

In truth, we tried joining the domain first, that failed so we had the admin
add chain to the domain they tried to join and . . .

--
  Michael Rasmussen - Network Engineer, Columbia Management
  voice:  971-925-6723  cell:  503-807-1447  [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] http://www.columbiafunds.com


 -Original Message-
 From: Yannick Tousignant [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 06, 2002 8:24 AM
 To: Michael Rasmussen
 Cc: [EMAIL PROTECTED]
 Subject: RE: [Samba] problem joining the domain



 Did you add your linux machine into the WindowsNT PDC?

 I belive it's in Server manager into Administration menus.

 Yannick


  -Original Message-
  From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On
  Behalf Of Michael Rasmussen
  Sent: Thursday, June 06, 2002 11:15 AM
  To: [EMAIL PROTECTED]
  Cc: IT Server Group
  Subject: [Samba] problem joining the domain
 
 
  We've encountered a problem with getting a newly installed
 Samba based
  machine to join the domain.
 
  Here's the command line and error response:
 
 [root@chain samba]# smbpasswd -j COLUMBIA -r cmc-bkup -U murphyn
 Password:
 error creating domain user: NT_STATUS_INVALID_DOMAIN_ROLE
 Unable to join domain COLUMBIA.
 [root@chain samba]#
 
  Installation is a RedHat 7.2 (from KRUD) box with freshly
 installed Samba
  RPMs version 2.2.3a-6.  smb.conf was created by a cut and
 paste from a
  working installation on another box on our network, changing the
  server name
  and share paths as necessary.
 
  murphyn is a domain admin for COLUMBIA, the PDC (cmc-bkup)
 and the BDC are
  NT4 boxes.
 
  As the Linux guy I don't know what this error message means.  The
  NT admins
  are at a loss to explain the problem.
 
  Curiosities:
 
   I've used the same software version to add a box to our domain
   Essentially the same config is used on the working and
 non-working
  boxes, so I'm puzzled about what configuration issue could be
  causing this.
 
  Bottom Line Question:
 
do you know what causes this error and how I can resolve
 this issue and
  have the machine chain join the COLUMBIA domain?
 
Where did I miss whatever it is in the documentation?
 
  --
Michael Rasmussen - Network Engineer, Columbia Management
voice:  971-925-6723  cell:  503-807-1447
 [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] http://www.columbiafunds.com
 
  NOTICE:  This communication may contain confidential or other
  privileged information.  If you are not the intended recipient,
  or believe that you have received this communication in error,
  please do not print, copy, retransmit, disseminate, or otherwise
  use the information.  Also, please indicate to the sender that
  you have received this email in error, and delete the copy you
  received.  Any communication that 

[Samba] attachment test - IGNORE

2002-06-06 Thread Kevin Long

  
 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:55 PM
 pic01812.pcx)
  








 (Embedded
 image moved   Kevin Long [EMAIL PROTECTED]
 to file:  06/06/2002 01:55 PM
 pic31266.pcx)








I always avoid attachments, and use plain text mail. This is a test to
establish what caused all these freakin' pcx files.

Kevin Long.

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



pic31266.pcx
Description: Binary data


pic01812.pcx
Description: Binary data


WARNING! Re: [Samba] ASSISTANCE NEEDED

2002-06-06 Thread Geert Jansen

  
 (Embedded
 image moved   Geert Jansen [EMAIL PROTECTED]
 to file:  06/06/2002 01:55 PM
 pic18844.pcx)
  








 (Embedded
 image moved   Geert Jansen [EMAIL PROTECTED]
 to file:  06/06/2002 01:55 PM
 pic20654.pcx)








People be carefull, the people behind this mail do not deserve the light in
their eyes! They are just merely filthy lowlife thiefs that have no respect
for human life at all.

They make millions of $ by ripping off bankaccounts wordlwide claiming to be
freedomfighters or the like.

Don't believe a word they say! As soon as you give away any bankaccount
information you're money will be gone.

FYI:

http://rhodesian.server101.com/mrs_abacha_letter.htm
http://www.freemaninstitute.com/419abacha.htm


Sqlerror

- Original Message -
From: mariam zanab ishatu [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, June 01, 2002 12:47 AM
Subject: [Samba] ASSISTANCE NEEDED





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



pic20654.pcx
Description: Binary data


pic18844.pcx
Description: Binary data


Re: [Samba] Trust Domains ...

2002-06-06 Thread C.Lee Taylor

  
 (Embedded
 image moved   C.Lee Taylor [EMAIL PROTECTED]  
 to file:  06/06/2002 01:54 PM
 pic05180.pcx)
  








 (Embedded
 image moved   C.Lee Taylor [EMAIL PROTECTED]
 to file:  06/06/2002 01:54 PM
 pic26037.pcx)









 (Embedded
 image moved   C.Lee Taylor [EMAIL PROTECTED]
 to file:  06/06/2002 01:54 PM
 pic01468.pcx)








Greetings ...

 After a little research (somebody did a bit or work ;-O ) with google and
the replies to my questions, this what I think I understand and will test
very soon ( Hope not to make an ass of myself. )

Andrew Bartlett wrote:
 Samba 2.2 supports being trusted by NT.  Its a bit odd, and mainly works
 due to the fact that domain logons and interdomain logons are almost
 exactly the same.  Not 'supported', and only works for NT domains with
 just a PDC.
 Okay, I asked this question before, but got no responce, so I am going to
ask again, but this time with a little more details from my side.

 NT4sp6 PDC with Exchange 5.5sp4 host the mail ( and other resouces ) for my
Linux domain.  I wish to setup a Trust domain.

 If I understand this correctly, the NT4 domain needs to trust my Samba
domain.

 Now according to http://mordor.clayton.edu/samba-tng/tng-pdc-trust.html as
my reference, I will need to setup a machine account for the DOMAIN, PDC
and each of the BDC's and then in the User Manager setup the trust
relationship.

 This feel like I am missing something, because when a machine joins the
domain, it normally needs root password ( which I don't wish to give to NT4
Admin ) and now I don't see any password been setup here ... it just does
not seem secure.  If I set my root password to something easy for the trust
setup and make it secure afterwards would that not break the trust ...

 As I said, it feel like I am missing something.  I have a funny feeling
that
my Samba server should join the NT4 domain, but then I don't see anything
that says I have too.  What should the security option set too, because I
have see a few errors in one of my domains that have a LDAP SAM, which I
had to change the option until the errors went away without kill my
network.  Once I get this right, I will get a friend to help document what
I have done, maybe it could be tha basis for mini-howto or something. This
all seems like too much.

 Thanks for all the help everybody has given me.

Mailed
Lee


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



pic01468.pcx
Description: Binary data


pic26037.pcx
Description: Binary data


pic05180.pcx
Description: Binary data


RE: [Samba] FreeBSD 4.5, Samba 2.2.4_1,W2K client printer prope rties cannot be displayed

2002-06-06 Thread Hall, Ken (ECSS)

  
 (Embedded
 image moved   Hall, Ken (ECSS) [EMAIL PROTECTED]
 to file:  06/06/2002 01:57 PM
 pic16789.pcx)
  








 (Embedded
 image moved   Hall, Ken (ECSS) [EMAIL PROTECTED]
 to file:  06/06/2002 01:57 PM
 pic05107.pcx)









 (Embedded
 image moved   Hall, Ken (ECSS) [EMAIL PROTECTED]
 to file:  06/06/2002 01:57 PM
 pic27385.pcx)








Looks like there's some kind of loop going.  The list admin needs to take a
look.

 -Original Message-
 From: WEBSTER, Greg [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 06, 2002 1:39 PM
 To: 'Kevin Long'; '[EMAIL PROTECTED]'
 Subject: RE: [Samba] FreeBSD 4.5, Samba 2.2.4_1, W2K client printer
 prope rties cannot be displayed



 Could you please not send emails with 6 bloody useless pics
 attached to
 clutter by inbox? It's rather rude.

 Greg


  -Original Message-
  From: Kevin Long [mailto:[EMAIL PROTECTED]]
  Sent: June 6, 2002 10:15 AM
  To: '[EMAIL PROTECTED]'
  Subject: [Samba] FreeBSD 4.5, Samba 2.2.4_1, W2K client printer
  properties cannot be displayed
 
 
 
   (Embedded
   image moved   Kevin Long [EMAIL PROTECTED]
   to file:  06/06/2002 01:15 PM
   pic29929.pcx)
 
 
 




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



pic27385.pcx
Description: Binary data


pic05107.pcx
Description: Binary data


pic16789.pcx
Description: Binary data


Mail Loop (Was: Re: WARNING! Re: [Samba] ASSISTANCE NEEDED)

2002-06-06 Thread Damian Gerow

All these messages seem to have this in common (apologies for formatting -- 
gots to love Windows clients):

-
Received: from va.samba.org (localhost [127.0.0.1])
by lists.samba.org (Postfix) with ESMTP
id 1C38D4655; Thu,  6 Jun 2002 11:10:37 -0700 (PDT)
Delivered-To: [EMAIL PROTECTED]
Received: from pm03sm.rst.cw.net (PM03SM.RST.CW.NET [204.71.247.138])
by lists.samba.org (Postfix) with ESMTP
id 3D02F4C7E; Thu,  6 Jun 2002 11:09:33 -0700 (PDT)
Received: from Blackfoot.patapsco (mail.patapsco.com [206.99.206.98])
  by PM03SM.RST.CW.NET (PMDF V6.0-24 #47873)
  with ESMTP id [EMAIL PROTECTED]; Thu,
  06 Jun 2002 18:05:49 + (GMT)
Received: from patapsco.com (bendigo.patapsco [192.9.200.190])
by Blackfoot.patapsco (8.9.3/8.8.7) with SMTP id OAA10845; Thu,
  06 Jun 2002 14:05:50 -0400
Received: by patapsco.com(Lotus SMTP MTA v4.6.5  (863.2 5-20-1999))
   id 85256BD0.00636819 ; Thu, 06 Jun 2002 14:05:47 -0400
-

Perhaps 204.71.247.138 can be blocked until the sender figures this out?


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



Re: [Samba] Problem with Samba

2002-06-06 Thread long-nguyen

  
 (Embedded
 image moved   [EMAIL PROTECTED]  
 to file:  06/06/2002 02:17 PM
 pic30582.pcx)
  








I do not remember that I sent you an email yesterday?   What you may need
is to add linux server name to the windows lmhosts and hosts and hosts.txt
in the \winnt\system32\drivers\etc  directory,  you then define a
userid (using the name of the operating system where your samba server is)
on W2k .
operating system.  You may have to reboot W2k system, then go to dos prompt
and donet use   x: \\x\x.

Good luck



Arnold, Dave
Dave.Arnold@fcpsTo: [EMAIL PROTECTED]
.educc:
Sent by: Subject: [Samba] Problem with
Samba
samba-admin@lists
.samba.org


06/06/2002 10:41
AM






Hi,

I am running samba version 2.2.4 on Solaris 8.  I am trying to configure
samba to allow users on the windows platform see home directories.  We are
running Windows 2k Professional.

I ran the tests in the DIAGNOSIS.txt file and everything up to TEST 8
worked
properly, but on test 8 I received an error access is denied.  I did not
see
this error in the DIAGNOSIS.txt file so I was wondering if you could help
me?

Thanks,
David Arnold

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



pic30582.pcx
Description: Binary data


Re: [Samba] swat seems broken in HEAD

2002-06-06 Thread Bradley W. Langhorst

  
 (Embedded
 image moved   Bradley W. Langhorst [EMAIL PROTECTED]
 to file:  06/06/2002 02:20 PM
 pic00216.pcx)
  







hey - what's up with those embedded images - i didn't send those.
looks like the same thing happened to some other guy a few minutes ago.

something fishy here...

i'm using evolution 1.0.3 for mua

brad
On Thu, 2002-06-06 at 13:30, Bradley W. Langhorst wrote:

  (Embedded
  image moved   Bradley W. Langhorst [EMAIL PROTECTED]
  to file:  06/06/2002 01:30 PM
  pic09284.pcx)









  (Embedded
  image moved   Bradley W. Langhorst [EMAIL PROTECTED]
  to file:  06/06/2002 01:30 PM
  pic07625.pcx)








 i've just recompiled and tested - looks good
 both swat and testparm seem to work correctly

 brad
 On Wed, 2002-06-05 at 22:48, Billy O'Connor wrote:
  The swat/testparm bug is in lp_save_defaults(), a little used
  (swat/testparm only) function.  An attempted strdup() of a NULL
  string is segfaulting.  I gave Brad a patch to try, I'll test it some
  more, there're 2 other string conditions I want to test, then I'll
  send the patch in.
 
  --
  Billy O'Connor
 
 
 



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



pic00216.pcx
Description: Binary data


Mail Loop (Was: Re: WARNING! Re: [Samba] ASSISTANCE NEEDED)

2002-06-06 Thread Damian Gerow

  
 (Embedded
 image moved   Damian Gerow [EMAIL PROTECTED]   
 to file:  06/06/2002 02:44 PM
 pic01020.pcx)
  







All these messages seem to have this in common (apologies for formatting --
gots to love Windows clients):

-
Received: from va.samba.org (localhost [127.0.0.1])
 by lists.samba.org (Postfix) with ESMTP
 id 1C38D4655; Thu,  6 Jun 2002 11:10:37 -0700 (PDT)
Delivered-To: [EMAIL PROTECTED]
Received: from pm03sm.rst.cw.net (PM03SM.RST.CW.NET [204.71.247.138])
 by lists.samba.org (Postfix) with ESMTP
 id 3D02F4C7E; Thu,  6 Jun 2002 11:09:33 -0700 (PDT)
Received: from Blackfoot.patapsco (mail.patapsco.com [206.99.206.98])
  by PM03SM.RST.CW.NET (PMDF V6.0-24 #47873)
  with ESMTP id [EMAIL PROTECTED]; Thu,
  06 Jun 2002 18:05:49 + (GMT)
Received: from patapsco.com (bendigo.patapsco [192.9.200.190])
 by Blackfoot.patapsco (8.9.3/8.8.7) with SMTP id OAA10845; Thu,
  06 Jun 2002 14:05:50 -0400
Received: by patapsco.com(Lotus SMTP MTA v4.6.5  (863.2 5-20-1999))
   id 85256BD0.00636819 ; Thu, 06 Jun 2002 14:05:47 -0400
-

Perhaps 204.71.247.138 can be blocked until the sender figures this out?


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



pic01020.pcx
Description: Binary data


Re: [Samba] Problem with Samba

2002-06-06 Thread long-nguyen

  
 (Embedded
 image moved   [EMAIL PROTECTED]  
 to file:  06/06/2002 02:17 PM
 pic28778.pcx)
  








 (Embedded
 image moved   [EMAIL PROTECTED]
 to file:  06/06/2002 02:17 PM
 pic30582.pcx)









I do not remember that I sent you an email yesterday?   What you may need
is to add linux server name to the windows lmhosts and hosts and hosts.txt
in the \winnt\system32\drivers\etc  directory,  you then define a
userid (using the name of the operating system where your samba server is)
on W2k .
operating system.  You may have to reboot W2k system, then go to dos prompt
and donet use   x: \\x\x.

Good luck



Arnold, Dave
Dave.Arnold@fcpsTo: [EMAIL PROTECTED]
.educc:
Sent by: Subject: [Samba] Problem with
Samba
samba-admin@lists
.samba.org


06/06/2002 10:41
AM






Hi,

I am running samba version 2.2.4 on Solaris 8.  I am trying to configure
samba to allow users on the windows platform see home directories.  We are
running Windows 2k Professional.

I ran the tests in the DIAGNOSIS.txt file and everything up to TEST 8
worked
properly, but on test 8 I received an error access is denied.  I did not
see
this error in the DIAGNOSIS.txt file so I was wondering if you could help
me?

Thanks,
David Arnold

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



pic30582.pcx
Description: Binary data


pic28778.pcx
Description: Binary data


WARNING! Re: [Samba] ASSISTANCE NEEDED

2002-06-06 Thread Geert Jansen

  
 (Embedded
 image moved   Geert Jansen [EMAIL PROTECTED]
 to file:  06/06/2002 01:55 PM
 pic04528.pcx)
  








 (Embedded
 image moved   Geert Jansen [EMAIL PROTECTED]
 to file:  06/06/2002 01:55 PM
 pic18844.pcx)









 (Embedded
 image moved   Geert Jansen [EMAIL PROTECTED]
 to file:  06/06/2002 01:55 PM
 pic20654.pcx)








People be carefull, the people behind this mail do not deserve the light in
their eyes! They are just merely filthy lowlife thiefs that have no respect
for human life at all.

They make millions of $ by ripping off bankaccounts wordlwide claiming to be
freedomfighters or the like.

Don't believe a word they say! As soon as you give away any bankaccount
information you're money will be gone.

FYI:

http://rhodesian.server101.com/mrs_abacha_letter.htm
http://www.freemaninstitute.com/419abacha.htm


Sqlerror

- Original Message -
From: mariam zanab ishatu [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, June 01, 2002 12:47 AM
Subject: [Samba] ASSISTANCE NEEDED





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



pic20654.pcx
Description: Binary data


pic18844.pcx
Description: Binary data


pic04528.pcx
Description: Binary data


Re: [Samba] swat seems broken in HEAD

2002-06-06 Thread Bradley W. Langhorst

  
 (Embedded
 image moved   Bradley W. Langhorst [EMAIL PROTECTED]
 to file:  06/06/2002 02:20 PM
 pic07488.pcx)
  








 (Embedded
 image moved   Bradley W. Langhorst [EMAIL PROTECTED]
 to file:  06/06/2002 02:20 PM
 pic00216.pcx)








hey - what's up with those embedded images - i didn't send those.
looks like the same thing happened to some other guy a few minutes ago.

something fishy here...

i'm using evolution 1.0.3 for mua

brad
On Thu, 2002-06-06 at 13:30, Bradley W. Langhorst wrote:

  (Embedded
  image moved   Bradley W. Langhorst [EMAIL PROTECTED]
  to file:  06/06/2002 01:30 PM
  pic09284.pcx)









  (Embedded
  image moved   Bradley W. Langhorst [EMAIL PROTECTED]
  to file:  06/06/2002 01:30 PM
  pic07625.pcx)








 i've just recompiled and tested - looks good
 both swat and testparm seem to work correctly

 brad
 On Wed, 2002-06-05 at 22:48, Billy O'Connor wrote:
  The swat/testparm bug is in lp_save_defaults(), a little used
  (swat/testparm only) function.  An attempted strdup() of a NULL
  string is segfaulting.  I gave Brad a patch to try, I'll test it some
  more, there're 2 other string conditions I want to test, then I'll
  send the patch in.
 
  --
  Billy O'Connor
 
 
 



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



pic00216.pcx
Description: Binary data


pic07488.pcx
Description: Binary data


Re: [Samba] swat seems broken in HEAD

2002-06-06 Thread Billy O'Connor

   From: Bradley W. Langhorst [EMAIL PROTECTED]
   Cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
   Date: 06 Jun 2002 14:34:25 -0400

   i spoke too soon...
   the log level parameter is missing from swat
   when i apply your patch...

   i saw on technical that alexander mentions
   that the problem came up when log level was changed to a pickable list

I'm looking at the list stuff now.  I thought that was too easy.

Billy



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



[Samba] 2.2.3a - buggy homedir mapping with profiles for 9x/winxp

2002-06-06 Thread Thomas Bork

Hi all,

I'm using version 2.2.3a (because the patch for printingproblems in
2.2.4 is not working for me) as a PDC for Win9x- and WinXP-Clients. I
want to set up different profile directories for Win9x and WinXP. This
seemed not a problem with

logon home = \\%N\%U\profile_9x_me
logon path = \\%N\%U\profile_nt_xp

I have a client with Win98 and WinXP on it. If I log on first with
WinXP and the user tb, the profile directory

/home/tb/profile_nt_xp

creates correct, my homedir is mapped to x: (logon drive = x:). All is
working fine.
Then I boot Win98 as tb and log on. The profile directory

/home/tb/profile_9x_me

creates correct, my homedir is mapped to x: (logon drive = x:). All is
working fine.
Both profiles are in their different directories.

But:
When I boot WinXP the 2nd time, the profile directory is not found and
drive x: is

/home/tb/profile_9x_me

What's that?

When I use the preferences

logon home = \\%N\%U\
logon path = \\%N\%U\

the profile of Win2K is in

/home/tb/profile

and the profile of Win98 is laying around in my homedir

/home/tb

(I don't like this...), but the homedir-mapping is ok.
Has anybody a solution for this? Can I configure it before compiling
samba? I don't understand, why it works only correct, if the
Win9x-profile is not in his own directory. I read the
Samba-PDC-HOWTO.html. Here is a trick explained:

By using the logon home parameter, you are restricted to putting Win9X
profiles in the user's home directory. But wait! There is a trick you
can use. If you set the following in the [global] section of your
smb.conf file:


logon home = \\%L\%U\.profiles

then your Win9X clients will dutifully put their clients in a
subdirectory of your home directory called .profiles (thus making them
hidden).

Not only that, but 'net use/home' will also work, because of a feature
in Win9X. It removes any directory stuff off the end of the home
directory area and only uses the server and share portion. That is, it
looks like you specified \\%L\%U for logon home.



Did anybody test this? What is so completely different between

logon home = \\%N\%U\profile_9x_me

and

logon home = \\%L\%U\.profiles

?

Here is my smb.conf:



[global]
   workgroup = TOMMAIK
   serverstring = eis samba 1.0.4, samba %v on linux
   security = user
   os level = 255
   local master = yes
   preferred master = yes
   domain logons = yes
   domain master = yes
   admin users = root eis
   domain admin group = root eis
   add user script = /var/install/bin/samba-add-workstation %u 777
machine_account /dev/null /bin/false
   logon script = %U.bat
   logon drive = x:
   debug level = 0
   encrypt passwords = yes
   update encrypted = yes
   username level = 2
   username map = /etc/user.map
   public = no
   browseable = yes

   interfaces = 127.0.0.1/8 192.168.0.3/255.255.255.0
   bind interfaces only = yes
   wins support = no
   time server = yes
   hosts allow = 127.0.0. 192.168.0.0/255.255.255.0
   guest account = nobody
   keep alive = 30
   printing = lprng
   printcap name = /etc/printcap
   load printers = no
   print command = chmod 666 %s; /usr/bin/lpr -P%p -J%J %s; rm %s
   lpq command = /usr/bin/lpq -P%p -L
   lpq cache time = 4
   lprm command = /usr/bin/lprm -P%p %j
   lppause command = /usr/sbin/lpc hold -P%p %j
   lpresume command = /usr/sbin/lpc release -P%p %j
   queuepause command = /usr/sbin/lpc -P%p stop
   queueresume command = /usr/sbin/lpc -P%p start
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   mangle case = yes
   case sensitive = no
   default case = lower
   preserve case = yes
   short preserve case = yes
   dos filetimes = yes
   dos filetime resolution = yes
   deadtime = 10
   max log size = 1000
   smb passwd file = /etc/smbpasswd
   oplocks = no
   kernel oplocks = no
   dfree command = /usr/local/bin/dfree
   message command = /bin/mail -s 'message from %f on %m' root  %s; rm
%s
   unix password sync = yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter*new*UNIX*password:* %n\n
*Retype*new*UNIX*password:* %n\n
*passwd:*password*updated*successfully*

   passwd chat debug = no

   passwd chat debug = no
   pam password change = yes
   min password length = 1
   character set = iso8859-1
   client code page = 850

[netlogon]
   comment = netlogon-service on linux
   path = /netlogon
   writeable = no
   write list = root eis
   public = no
   locking = no
   browseable = yes

[homes]
   comment = homedirectory on linux
   path = %H
   writeable = yes
   valid users = %S
   locking = no
   create mode = 0600
   directory mode = 0700
   browseable = no

[root]
   comment = root directory on linux
   read only = no
   browseable = no
   path = /
   valid users = root eis
   create mode = 0700
   directory mode = 0700

[public]

   comment = public directory on linux
   path = /public
   public = yes
   create mode = 0777
   directory mode = 0777
   browseable = yes
   writable = yes
   printable = no

[lp0]
   comment = local printer lp0 on %h
   

[Samba] unscribe

2002-06-06 Thread Keith Lynn

unscribe


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



[Samba] admin users' file is owned by root

2002-06-06 Thread Weixing . Hao
Title: admin users' file is owned by root





Hi there,


I just found that if an user is assigned in the admin users, and if the user grab a file from window to samba share, the file will be owned by root from unix view. I am believing this is a bug. 

The samba version I am using is 2.2.4.


Weixing Hao
(631) 858-6341
Forest Labs






RE: [Samba] admin users' file is owned by root

2002-06-06 Thread WEBSTER, Greg
Title: admin users' file is owned by root



Look 
into 'force user', 'force group', and 'create mask' in 
smb.conf.

GregW

  -Original Message-From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]Sent: June 6, 2002 2:52 
  PMTo: [EMAIL PROTECTED]Subject: [Samba] admin users' 
  file is owned by root
  Hi there, 
  I just found that if an user is assigned in the 
  "admin users", and if the user grab a file from window to samba share, the 
  file will be owned by root from unix view. I am believing this is a bug. 
  
  The samba version I am using is 2.2.4. 
  Weixing Hao (631) 858-6341 Forest Labs  


Re: [Samba] admin users' file is owned by root

2002-06-06 Thread Gerald Carter

On Thu, 6 Jun 2002 [EMAIL PROTECTED] wrote:

 Hi there,
 
 I just found that if an user is assigned in the admin users, and if
 the user grab a file from window to samba share, the file will be owned
 by root from unix view. I am believing this is a bug.
 
 The samba version I am using is 2.2.4.

No this is by design.  Please reread the smb.conf(5) man page.










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


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



[Samba] Re: Domain SID for BDC

2002-06-06 Thread Gerald Carter

On Thu, 6 Jun 2002 [EMAIL PROTECTED] wrote:

 One thing that struck me today is the fact that if you copy the
 secrets.tdb to another machine, smbd will generate a new SID for the
 machine and hand this out on lsaquery. The only way to create a working
 BDC with 2.2.5 is to manually generate a MACHINE.SID from the PDC with
 rpcclient/lsaquery, copy this over to the BDC with no secrets.tdb and
 then start smbd on the BDC. It will then suck the MACHINE.SID into a
 secrets.tdb and delete MACHINE.SID. This should at least be documented

I just added a -S switch to smbpasswd in SAMBA_2_2 to suck the sid
from a DC.  My tests show up ok.  Can you test this?  I'll update 
the man page shortly.

smbpasswd -S [-r machine]

It's a little awkward in that it grabs the domain from smb.conf
in case it needs to look up a pdc.  However, if the -r option is used,
it will grab the sid from that machine regardless of the domain.
I'll try to clean this up some.

Please test and let me know.

Note that you can also do this to suck the SID from a Windows 
NT PDC for migration purposes. :-)

 if not fixed. It's also a bit annoying that you have to manually add the
 LDAP admin password on each BDC after the secrets.tdb is created. Ok,
 you should have a separate admin password for each LDAP replica, but how
 practial is that? ;-)

I think this is ok.  With the new smbpasswd option, you should be able 
to simply copy the secrets.tdb file and set the domain sid in it.
The ldap admin pw should remain ok as long as you don't change the 
ldap admin dn.






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



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



[Samba] Authentication levels in samba

2002-06-06 Thread Lucas Albers

Does smbd support all forms of windows authentication?
Does it support NTLM and NTMLv2 ?
Or does it only support LANMAN?
--Luke
CS Admin
Bozeman,MT 59715


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



[Samba] NetBIOS

2002-06-06 Thread JJoh1460

Hi,

Can someone please help with my little problem?  I am new to samba and have 
just set it up on my Linux server. The problem is that I can see my server 
name david on my windows 98 network neighbourhood but I cannot asses it. I 
have already created some shares but still cannot asses my server

I can ping the server IP address and get a positive response, but when I ping 
the server name I get unknown host response (david.greek.net) and when I do a 
net view  \\david on my dos computer I get  Error 53: The computer name 
specified in the network path cannot be located……

I think this is a NetBIOS problem, but do not know how to solve it.

Please help  

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



Re: [Samba] Linux and Printing via smbprint

2002-06-06 Thread Joel Hammer

This sounds like a password problem, or somthin'.
What is an intel printerserver?
Joel

On Thu, Jun 06, 2002 at 01:18:42PM +0200, [EMAIL PROTECTED] wrote:
 Hi there
 
 Looking at the archives I didn't find a solution to the following problem
 we have here:
 
 Printing from our linux-server (wagner) to an intel printserver (PS652D8F)
 doesn't work.
 
 Here's the stuff we know/tried:
 
 wagner:~ # smbclient -L //PS652D8F -N
 added interface ip=10.0.0.10 bcast=10.0.0.255 nmask=255.255.255.0
 Got a positive name query response from 10.0.0.40 ( 10.0.0.40 )
 
 Sharename  Type  Comment
 -    ---
 Printer1   Printer   SZH-Chopin
 Printer2   Printer   SZH-Chopin 3
 IPC$   IPC
 
 wagner:~ # echo -en \rHallo\r\f | smbclient //PS652D8F/Printer1  -c
 'print -' -N
 added interface ip=10.0.0.10 bcast=10.0.0.255 nmask=255.255.255.0
 Got a positive name query response from 10.0.0.40 ( 10.0.0.40 )
 ERRSRV - ERRaccess (The requester does not have  the  necessary  access
 rights  within  the specified  context for the requested function. The
 context is defined by the TID or the UID.) opening remote file stdin-15811
 wagner:~ #
 
 Samba Version is 2.2.1a.
 
 Any hints, pointers or clues?
 
 Greets,
 
 Remo Pini
 
 -
 Remo Pini (mailto:[EMAIL PROTECTED])
 Mobile: +41 (0)79 216 15 51, Fax: +41 (0)1 383 77 17
 ProBIT AG (http://www.probit.ch)
 Professionelle Business-IT
 Drahtzugstr. 18, CH-8008 Zürich
 -
 
 
 
 
 -- 
 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] NetBIOS

2002-06-06 Thread Tom Ansley

How are you conducting your authentication?

I found that I couldn't net use from my Windows 98 machines but I could 
access the shares through network neighborhood.

Also, check your share and global configuration to make sure they are not read 
only.

Cheers

Tom

On Thursday 06 June 2002 05:15 pm, [EMAIL PROTECTED] wrote:
 Hi,

 Can someone please help with my little problem?  I am new to samba and have
 just set it up on my Linux server. The problem is that I can see my server
 name david on my windows 98 network neighbourhood but I cannot asses it. I
 have already created some shares but still cannot asses my server

 I can ping the server IP address and get a positive response, but when I
 ping the server name I get unknown host response (david.greek.net) and when
 I do a net view  \\david on my dos computer I get  Error 53: The computer
 name specified in the network path cannot be located……

 I think this is a NetBIOS problem, but do not know how to solve it.

 Please help


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



RE: [Samba] Linux and Printing via smbprint

2002-06-06 Thread Van Sickler, Jim

NetPort Pro/10, others may vary:

/etc/printcap entry, for LPRng:

LPT 1
:rm=10.0.0.40
:rp=LPT1_PASSTHRU

LPT 2
:rm=10.0.0.40
:rp=LPT2_PASSTHRU

Jim

 -Original Message-
 From: Joel Hammer [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 06, 2002 4:17 PM
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: Re: [Samba] Linux and Printing via smbprint
 
 
 This sounds like a password problem, or somthin'.
 What is an intel printerserver?
 Joel
 
 On Thu, Ju
n 06, 2002 at 01:18:42PM +0200, [EMAIL PROTECTED] wrote:
  Hi there
  
  Looking at the archives I didn't find a solution to the 
 following problem
  we have here:
  
  Printing from our linux-server (wagner) to an intel 
 printserver (PS652D8F)
  doesn't work.
  
  Here's the stuff we know/tried:
  
  wagner:~ # smbclient -L //PS652D8F -N
  added interface ip=10.0.0.10 bcast=10.0.0.255 nmask=255.255.255.0
  Got a positive name query response from 10.0.0.40 ( 10
.0.0.40 )
  
  Sharename  Type  Comment
  -    ---
  Printer1   Printer   SZH-Chopin
  Printer2   Printer   SZH-Chopin 3
  IPC$   IPC
  
  wagner:~ # echo -en \rHallo\r\f | smbclient 
 //PS652D8F/Printer1  -c
  'print -' -N
  added interface ip=10.0.0.10 bcast=10.0.0.255 nmask=255.255.255.0
  Got a positive name query response from 10.0.0.40 ( 10.0.0.40 )
  ERRSRV - ERRaccess (
The requester does not have  the  
 necessary  access
  rights  within  the specified  context for the requested 
 function. The
  context is defined by the TID or the UID.) opening remote 
 file stdin-15811
  wagner:~ #
  
  Samba Version is 2.2.1a.
  
  Any hints, pointers or clues?
  
  Greets,
  
  Remo Pini
  
  -
  Remo Pini (mailto:[EMAIL PROTECTED])
  Mobile: +41 (0)79 216 15 51, Fax:
 +41 (0)1 383 77 17
  ProBIT AG (http://www.probit.ch)
  Professionelle Business-IT
  Drahtzugstr. 18, CH-8008 Zürich
  -
  
  
  
  
  -- 
  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/samb
a
 
{

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



Re: [Samba] WinXP joining a samba PDC

2002-06-06 Thread Lee Leahu

From what I understand when I setup a WinXP domain using Samba PDC,
You need to be running 2.2.4 or later of samba.

The reason behind this is that 2.2.4 provides support for Windows XP in a domain 
environment.

On Friday 31 May 2002 18:20, Sergio Gusmao wrote:
 In fact, I've just got the same problem with WinXP on a Samba 2.2.3 server.
 I've followed the same procedure Fernando did but, unfortunately, got a
 message concerning a RPC failure.

 My Windows is in Portuguese and I've got no idea of what should it be in
 english, but I supose it's something like Remote Procedure Failure.

 If somebody's got any other idea of what could this problem be, please drop
 me a reply.


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



Re: [Samba] What is so bad about primaryGroupID=513?

2002-06-06 Thread Gerald Carter

On Mon, 3 Jun 2002, Florian Hars wrote:

 I try to set up Samba 2.2.4 / LDAP as a PDC and it almost works. The
 only thing I don't understand is why a domain user can't have a
 primaryGroupID of 513 (which looks like it should be a safe default).
 But if I set it, login is denied with an error C078 on the client,
 and something like

All users have the Domain Users group set automatically
(on a Samba PDC).  The domain group support in 2.2.x
is incomplete to put it nicely. :-)  I wou;dn't even bother setting 
this.  Let the posixGroup membership handle it.

A correct solution will be implemented in 3.0


 PS: isn't there a return(True) missing in uid.c/change_to_user:
 
 if((lp_security() == SEC_SHARE)  (current_user.conn == conn) 
 (current_user.uid == conn-uid)) {
  DEBUG(4,(change_to_user: Skipping user change - already user\n));
  return(True);
  } else if ((current_user.conn == conn) 
 (vuser != 0)  (current_user.vuid == vuid) 
 (current_user.uid == vuser-uid)) {
  DEBUG(4,(change_to_user: Skipping user change - already user\n));
 /** HERE ??? ***/
  }

Looks that way.  Thanks.






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


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



Re: [Samba] winbind storing PID-1 in winbind.pid file. Cannot usewbinfo.

2002-06-06 Thread Gerald Carter

On Sun, 2 Jun 2002, Mike Lee wrote:

   I did some frustrating troubleshooting and noticed that the PID
 stored in the winbind.pid file is always one less than the actual PID
 for winbind.  I have restarted winbind many times to verify.

Confirmed.  Will fix for 2.2.5.  Thanks.  Should not be affacting 
winbind operating though.





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


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



Re: [Samba] Dangers of oplock break wait time

2002-06-06 Thread Andrey Y. Mosienko


On Tue, Jun 04, 2002 at 10:06:45PM +0200, Peter Schuller wrote:
  What version of Samba. What clients ? What are the symptoms ?
 
 Various versions, including the latest stable release as of this moment.
 Win2k on the clients. Symptoms are long delays when opening Word/Excel
 documents; along with (sometimes) error messages about file permissions
 after the delay is over.

I presume that is 2.2.4 ? Or are you testing the SAMBA_2_2 CVS ?
If not, I'd recommend doing that as we're preparing for a 2.2.5
release soon and extra feedback would be good.

 As far as I can tell I'm experiencing a known issue (I've seen people
 talk about this in various mailinglist archives). I'm just wondering
 what dangerous side effects changing the oplock break wait time
 parameter might have - it's supposedly a possible fix. But the man page
 makes it sound pretty dangerous to fiddle with that particular option,
 so I am hesitant to try it.

No, not really a known issue with the Samba code as such. Many
people experience this problem when they're having networking
problems. Samba reports these problems in the log files, WinNT
and above just silently ignore them (the network goes a bit
slower when it happens) so people report it more to us.

I've often been tempted to just supress the error messages
so people don't report it :-) :-). That's the Microsoft solution
here :-).

I have the same problem.
I am using Samba 2.2.4. I think problem is not to reports errors in log files.
Microsoft NT server doesn't slow file opening but Samba does! I thing it would 
be very good when this problem will be solved.

I think all people don't need Active directiory and other lesser features. 
But all of them need VERY STABLE AND ROBUST file server. 
If it will work as well as NT 4.0 it will be the greatest thing you would do.

-- 
with respection Andrey Feofilactovich.
e-mail: [EMAIL PROTECTED], [EMAIL PROTECTED]
ICQ: 28073807

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



[Samba] [] samba .

2002-06-06 Thread
Title: ±¹¹ÎÄ«µå

 

 


 
 

   
	
		  
¼º¸í  
  
  Á÷ÀåÀüÈ­  
  
  ÈÞ´ëÆù 
  
  	
		
	  	  
¼ö½Å°ÅºÎ 
  
  	
	





[Samba] samba with ldap

2002-06-06 Thread Kalpit Jain


Hello ,


Does Samba 2.2 has support for LDAP 
I want to use LDAP for user authentication instead of smbpasswd 

Any help in this regard would be highly appreciated


Thanks  Regards
Kalpit Jain
Vice President-Technology
Email:  [EMAIL PROTECTED]

Netcore Solutions Pvt Ltd
402, Peninsula Chambers (Morarjee Mills Compound)
Ganpat Rao Kadam Marg (Behind Piramal Hospital)
Near A-Z Industrial Estate
Lower Parel
Mumbai 400 013.
Phone: 462 8000 (Board)

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



[Samba] Problems with Samba 2.2.x under FreeBSD with Win2k Clients

2002-06-06 Thread Matt Hook

Hi,

Has anyone had the following problem.

Under Win2000 I copy a file from Windows Explorer
to a share running samba 2.2.x.  The file does not
yet exist on the share however windows pops up a
warning that the file already exists and it asks me
to replace it.  The thing is, the file has a size of 
0 bytes.  If I click no to not replace I end up with
an empty file, otherwise it copies ok.

Another problem I'm having occurs occasionally under
WinNT 4 (we have service pack 6a installed for the
record). It also happens every time under Win2000.
The problem is that under many of the MS applications
if you try to save a file directly to a share or edit
one and save it, your system will hang there.  Beneath
the scenes there are about 5000+ temorary files
created on the share where you saved the file.  This
only happens to a samba share.  I'm guessing it's
related to bugs in MS products and a bug or
configuration issue (that I've found nothing about) in
samba or at least the FreeBSD port.  Maybe it's
related
to the previous issue.

Has anyone else experienced this problem?
The weird thing is I've made it happen on 2 systems
but I haven't experienced this on a one other system
with the same setup.

I can send a detailed log if required  (it's a bit
large to post here at the moment.

Regards -Matt

http://www.sold.com.au - The Sold.com.au Big Brand Sale
- New PCs, notebooks, digital cameras, phones and more ... Sale ends June 12

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



AW: [Fwd: smbd 2.2.4 Solaris 8 on intel (PR#24507)]

2002-06-06 Thread Klein . Roman

Hello,

I am using for some years Samba on a Sun Enterprise 450 with 4 processors.
There are only a couple of users for the samba-system an that machine, but
we never faced problems.
Actual version of Samba is 2.2.4 on Solaris 2.6 SPARC.

I do not use:
pam,acl,automount,quotas on that machine.

Best Regards

Roman

 -Ursprüngliche Nachricht-
 Von:  Simo Sorce [SMTP:[EMAIL PROTECTED]]
 Gesendet am:  Mittwoch, 5. Juni 2002 18:45
 An:   [EMAIL PROTECTED]
 Betreff:  [Fwd: smbd 2.2.4 Solaris 8 on intel (PR#24507)]
 
 Better forward this bug to the technical list.
 
 Anyone using samba on 2 processors machine?
 
 
 -Forwarded Message-
 
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: smbd 2.2.4 Solaris 8 on intel (PR#24507)
 Date: 05 Jun 2002 09:29:30 -0700
 
 
 I am not even sure how to describe this issue.
 
 We have a University labratory environment with 150 or so Windows
 computers that connect to our samba server. We have smbd 2.2.2
 running on a Solaris 8 Sparc computer without an issue :-)
 
 We wish to move the smb services to a quad intel machine running
 Solaris 8. We first started with 2.2.4 compiled with the
 same options as on the sparc machine.
 
 Sparc options
 ./configure --prefix=/public/sparc/samba-2.2.2
 --sysconfdir=/etc/localhost/samba-2.2.2
 --with-configdir=/etc/localhost/samba-2.2.2
 --with-privatedir=/etc/localhost/samba-2.2.2/private
 --with-lockdir=/var/run
 --with-pam
 --with-acl-support
 --with-quotas
 --with-automount
 
 But we got hundreds of Signal 11 (segmentation faults).
 Even the nmbd died from this.
 
 We then switched back to 2.2.2, but had the same results.
 
 After some extensive trouble shooting, it appeared to be
 the --with-quotas option that was causing the problem,
 so we recompiled 2.2.4 with the following options
 
  env CFLAGS='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=i686
   -O2 -funroll-loops -fexpensive-optimizations' \
  CPPFLAGS='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=i686 -O2
   -funroll-loops -fexpensive-optimizations' \
  ./configure  --prefix=/package/samba-2.2.4 \
  --sysconfdir=/etc/localhost/samba-2.2.4 \
  --with-configdir=/etc/localhost/samba-2.2.4 \
  --with-privatedir=/etc/localhost/samba-2.2.4/private \
  --with-logfilebase=/var/log/samba-2.2.4 \
  --with-lockdir=/var/log/samba-2.2.4/locks \
  --with-piddir=/var/log/samba-2.2.4 \
  --with-acl-support \
  --with-automount \
  --with-pam \
  --sharedstatedir=/var/samba-2.2.4
 
 With only two Win2k machines using this server, we were unable to
 reproduce the segmentation faults. We fineshed the configuration, and
 then we switched smb services to this machine.
 
 1. stop nmbd on current server
 2. start smbd on new server
 3. start nmbd on new server
 
 As clients connect to the netbios name, they gradually learn of
 the new server. The connections to the old server taper off,
 and the connections to the new server start to build.
 
 Almost immediately, the logs include the segmentation fault error
 message (signal 11).
 
 Incidentally, compiling without any CFLAGS, CPPFLAGS
 does not make any difference to this problem, nor does using
 Suns supplied gcc with the Sun as/ld or if we use gcc3.0.4 with
 gnu as/ld.
 
 I have a level 3 logs at
 http://remora.csc.uvic.ca/smbbug/c-oswego.log
 http://remora.csc.uvic.ca/smbbug/c-cooper.log
 http://remora.csc.uvic.ca/smbbug/smb.conf
 
 Any assistance/test we can do to help out is of course available.
 
 thanks,
 
 --
 Evan Rempel [EMAIL PROTECTED]  250.721.8296
 Senior Programmer Analyst
 University of Victoria
 
 
 
 -- 
 Simo Sorce
 --
 Una scelta di liberta': Software Libero.
 A choice of freedom: Free Software.
 http://www.softwarelibero.it
 




bug for printing with win2000

2002-06-06 Thread Nicolas RICHARD

Hello

First excuse me for my poor english but I'm french!
Then my problem...
I use samba 2.2.3a with Red Hat 7.2.
I want to share a lan printer.
I have define it with cups and I can print correctly on
Linux.
I share it on samba to use it on Windows.
It works on Win95,98 but not with NT,2000
The error message is Accès refusé,impossible de se
connecter.
In english acces denied,enable to connect

How can I solve this problem please?
Samba is a very good product but I want to print on my
network...

Can you help me ?

Nicolas RICHARD
__
Boîte aux lettres - Caramail - http://www.caramail.com




problem with samba 2.2.4

2002-06-06 Thread Pranay Tembhekar

Hi,

  I'm having Sun Solaris 2.6 installed on SPARC Ultra5. Before
installing samba everything runs smooth. After installing Samba 2.2.4,
when I reboot my machine it doesn't recognise the IP address  gives bad
address error. Is there any compatibility issues of Samba 2.2.4 with
Solaris 2.6?

any help will be most welcome
thanx,

Regards,

Pranay





help needed

2002-06-06 Thread lv brahmam
Hi Friends,
Iam a new user to Samba. Kindly give me the info / url's where can i get information about samba server
Thanx
Brahmam.Do You Yahoo!?
Sign-up for Video Highlights of 2002 FIFA World Cup

Re: Fw: Printing via RPC Calls in 2.2.5-pre -- drum roll -- it works:)

2002-06-06 Thread Gerald Carter

On Thu, 6 Jun 2002, Steven J Mackenzie wrote:

 All this has made me brave enough to put my shiny new rpms on to a test
 server sharing an HP laser to NT4 clients. I'll report back tomorrow.

Steven,

Thanks for the feedback.  Always good to hear when things work :-)






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





Byte Range Locking

2002-06-06 Thread Andrew Esh

How well does Samba 2.2 support byte range locking? I have a report
that there were problems with it in Samba 2.0.7. I wonder if it has
been fixed?

-- 
Andrew C. Esh  mail:[EMAIL PROTECTED]
Tricord Systems, Inc.
2905 Northwest Blvd., Suite 20   763-557-9005 (main)
Plymouth, MN 55441-2644 USA  763-551-6418 (direct)
http://www.tricord.com - Tricord Home Page




Re: Fw: Printing via RPC Calls in 2.2.5-pre -- drum roll -- it works :)

2002-06-06 Thread Steven J Mackenzie

More 2.2.5-pre printing RPC testing:

I've upgraded a 2.2.4-pre server to 2.2.5-pre (Last Sundays CVS).

This print server is a member of a Samba controlled domain, and uses domain
level security.

Printer drivers for an HP2200dn are shared for NT and for 2000 by the
server.

I've tested printing from Windows 2000 client (as a member of the same
domain as the print server), and from a Windows NT 4.0 client (which used
guest privs to download the drivers and access the printer). AOK.

I also tested setting printing defaults, which were set and respected.

I'll be able to upgrade my 2.2.2 servers now :)

 Thanks for the feedback.  Always good to hear when things work :-)

Thanks for the software -- when it works, it's great ;)







RE: WINS static entry support (Re: WINS again ;-))

2002-06-06 Thread Walter Jaeger

TAKAHASHI Motonobu [EMAIL PROTECTED]
Thu Sep 20 00:30:02 2001

 Previous message: WINS again ;-)
 Next message: WINS static entry support (Re: WINS again ;-))
 Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]



Sanvir Singh Jham wrote:
I have checked the wins.dat file and there is no entry for this debian
mailserver. I tried to manually put an entry, but then this does not
last for long.

wins.dat file is read when nmbd starts and write-back when nmbd stops.
So, if you modify wins.dat manually, first you should stop nmbd.
And then please add entries like:

SAMBA#1c 0 192.168.10.67 192.168.10.43 e4R
   | ~~~ -- means NetBIOS group name
   | ~~~ -- multiple IP addresses is
   | seperated with a space
   +-- TTL = 0 means forever

DONAU#20 0 192.168.10.67 64R
   ~~~ -- means NetBIOS unique name
   ~~ -- suffix must be written with lower case.

and restart nmbd.

This probably works well, but not much tested.
Please examine and I want a report from you :-)

-
TAKAHASHI, Motonobu(monyo) [EMAIL PROTECTED]
Personal - http://home.monyo.com/
Samba Team - http://samba.org/ Samba-JP - http://www.samba.gr.jp/
JWNTUG - http://www.jwntug.or.jp/  Analog-JP - http://www.jp.analog.cx/
MCSE+I, SCNA, CCNA, Turbo-CI




RE: Problem copying files from Win2k Novell client to Samba (repost)

2002-06-06 Thread Dan Barrett

The problem I reported would occur with Samba 2.2.4, but not 2.2.2.  set_sd() in 2.2.4 
returns False if the sd_len passed by the client is 0.  This would be okay, except 
Novell clients apparently set sd_len=0. 

To fix the novell problem, I changed set_sd() to return True, not False if sd_len==0.  
I never got a response on why this code was added to 2.2.4.

-Dan Barrett

static BOOL set_sd(files_struct *fsp, char *data, uint32 sd_len, uint32 
security_info_sent, int *pdef_class,uint32 *pdef_code)
{
prs_struct pd;
SEC_DESC *psd = NULL;
TALLOC_CTX *mem_ctx;
BOOL ret;


/* Stock Samba fails if sd_len==0, but some Novell client copies pass SMB 
requests with valid EA info, but no SD.  We want to allow these types of opens.*/  
if (sd_len == 0) {
DEBUG(5,(set_sd: sd_len==0. Allowing anyway.\n));
*pdef_class = 0;
*pdef_code = 0;
return True;
}

.

-Original Message-
From: Wade Turland [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 05, 2002 10:44 PM
To: [EMAIL PROTECTED]
Subject: Problem copying files from Win2k Novell client to Samba
(repost)


The original message was posted by Dan Barrett:
http://lists.samba.org/pipermail/samba-technical/2002-May/036397.html

I'm getting reports of similar problems. Nobody responded before - can
anyone help?

Wade.

-- 
/==\
|  Wade Turland  | Locked Bag 1797 |
|  Unix Administrator| Penrith South DC NSW 1797   |
|  University of Western Sydney  | Phone: +61 2 4736 0806  |
|  Room V137 (Kingswood) | Fax:   +61 2 4736 0010  |
\==/
When I heated my home with oil, I used an average of 800 gallons a
year.  I have found that I can keep comfortably warm for an entire
winter with slightly over half that quantity of beer.
-- Dave Barry, Postpetroleum Guzzler






Re: known BUG multi-byte character set in usernames

2002-06-06 Thread Juergen Hasch

Am Donnerstag, 6. Juni 2002 01:19 schrieb Jeremy Allison:
 On Thu, Jun 06, 2002 at 12:12:45AM +0200, Juergen Hasch wrote:
  the patch works fine for except for one thing. In the acl security
  selection list (showing a list of all available users and groups) the
  german umlaut characters are wrong. This is because the unix charset is
  sent to the windows client, as no conversion back takes place.
  The acl dialogue itself is ok.
 
  I haven't found out yet, where the conversion back to dos code page
  should take place. Do you have an idea ?

 Can you CVS update SAMBA_2_2 - I've just applied a patch I think
 should fix this.

not yet :-)

The diff below shows what I changed to make it work AFAICS:

--- srv_lsa_nt.c.orig   Wed Jun  5 23:52:45 2002
+++ srv_lsa_nt.cThu Jun  6 20:53:05 2002
 -152,6 +152,8 
/* Split name into domain and user component */

pstrcpy(full_name, dos_unistr2_to_str(name[i]));
+   dos_to_unix(full_name);
split_domain_name(full_name, dom_name, user);

/* Lookup name */
--- srv_samr_nt.c.orig  Fri Mar 29 22:53:33 2002
+++ srv_samr_nt.c   Thu Jun  6 20:40:50 2002
 -660,6 +660,8 
int len = strlen(grp[i].name)+1;

init_sam_entry(sam[i], len, grp[i].rid);
+   unix_to_dos(grp[i].name);
init_unistr2(uni_name[i], grp[i].name, len);
}

--- winbindd_rpc.c.orig Wed Jun  5 23:52:44 2002
+++ winbindd_rpc.c  Thu Jun  6 20:22:23 2002
 -206,6 +206,7 
DOM_SID *sids = NULL;
uint32 *types = NULL;
const char *full_name;
+   fstring dos_name;

if (!(mem_ctx = talloc_init_named(name_to_sid[rpc] for [%s]\\[%s], 
domain-name, name))) {
DEBUG(0, (talloc_init failed!\n));
 -216,8 +217,9 
talloc_destroy(mem_ctx);
return NT_STATUS_UNSUCCESSFUL;
}
-
-   full_name = talloc_asprintf(mem_ctx, %s\\%s, domain-name, name);
+fstrcpy(dos_name,name);
+   unix_to_dos(dos_name);
+   full_name = talloc_asprintf(mem_ctx, %s\\%s, domain-name, 
dos_name);

if (!full_name) {
DEBUG(0, (talloc_asprintf failed!\n));

The conversion in srv_samr_nt.c is needed to show the correct group list in 
the ACL-add dialogue. The conversion in lsa_srv_nt.c is needed to set a new 
ACL entry in unix codepage after selecting it from the list.
The change in winbind_rpc.c is needed to get wbinfo -n working.

...Juergen





Samba 2_2 CVS w/ Linux 2.4.18 Oplock Hangup... Help!

2002-06-06 Thread Richard Bollinger

Test scenerio:

Server:  Samba 2_2 CVS as of morning of 6/4/2002.  Linux 2.4.18 ext2 file system.  AMD 
Athlon
processor.

On PC...
net use f: \\server\share
type hi.txt

On Server...
smbstatusshows the file oplocked
cat hi.txthangs until control C hit

On PC...
net use f: /d

On Server...
smbstatusshows the connection still in effect and file still oplocked!
cat hi.txtstill hangs until control C hit

smbstatus output:

Samba version 2.2.5-pre #1 Tue Jun 4 14:03:39 EDT 2002
Service  uid  gid  pid machine
--
u_tmprab  tcs  30240   p139 (128.1.3.139) Thu Jun  6 15:22:51 2002

Locked files:
PidDenyMode   Access  R/WOplock   Name
--
30240  DENY_NONE  0x1 RDONLY EXCLUSIVE+BATCH  /u/tmp/hi.txt   Thu Jun  6 
15:23:28 2002



debug session to see where it is:


root@LS04:/u/tmp/samba_2_2/samba-2.2.5-pre/source.Linux# gdb bin/smbd
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-slackware-linux...
(gdb) attach 30240
Attaching to program: /usr/local/tmp/samba_2_2/samba-2.2.5-pre/source.Linux/bin/smbd, 
Pid 30240
0x4012cd8e in ?? ()
(gdb) where
#0  0x4012cd8e in ?? ()
#1  0x8149c46 in receive_local_message (buffer=0x401c9009 ,
buffer_len=131137, timeout=1) at smbd/oplock.c:100
#2  0x80a0355 in async_processing (buffer=0x401c9009 , buffer_len=131137)
at smbd/process.c:121
#3  0x80a05fe in receive_message_or_smb (buffer=0x401c9009 ,
buffer_len=131137, timeout=6) at smbd/process.c:245
#4  0x80a17c6 in smbd_process () at smbd/process.c:1250
#5  0x806a098 in main (argc=2, argv=0xbae4) at smbd/server.c:835
#6  0x400842eb in ?? ()
(gdb) quit
The program is running.  Quit anyway (and detach it)? (y or n) s y
Detaching from program: 
/usr/local/tmp/samba_2_2/samba-2.2.5-pre/source.Linux/bin/smbd, Pid 30240



strace oddly enough just loops???


root@LS04:/u/tmp/samba_2_2/samba-2.2.5-pre/source.Linux# strace -p 30240
select(21, [12 20], NULL, NULL, {0, 1}) = 0 (Timeout)
select(21, [5 12 20], NULL, NULL, {60, 0}) = 1 (in [5], left {60, 0})
time(NULL)  = 1023392251
select(21, [12 20], NULL, NULL, {0, 1000}) = 0 (Timeout)
select(21, [5 12 20], NULL, NULL, {60, 0}) = 1 (in [5], left {60, 0})
time(NULL)  = 1023392251
select(21, [12 20], NULL, NULL, {0, 1000}) = 0 (Timeout)
select(21, [5 12 20], NULL, NULL, {60, 0}) = 1 (in [5], left {60, 0})
time(NULL)  = 1023392251
select(21, [12 20], NULL, NULL, {0, 1000}) = 0 (Timeout)
select(21, [5 12 20], NULL, NULL, {60, 0}) = 1 (in [5], left {60, 0})
time(NULL)  = 1023392251
select(21, [12 20], NULL, NULL, {0, 1000}) = 0 (Timeout)
select(21, [5 12 20], NULL, NULL, {60, 0}) = 1 (in [5], left {60, 0})
time(NULL)  = 1023392251
select(21, [12 20], NULL, NULL, {0, 1000}) = 0 (Timeout)
select(21, [5 12 20], NULL, NULL, {60, 0}) = 1 (in [5], left {60, 0})
time(NULL)  = 1023392251
select(21, [12 20], NULL, NULL, {0, 1000}) = 0 (Timeout)
select(21, [5 12 20], NULL, NULL, {60, 0}) = 1 (in [5], left {60, 0})
time(NULL)  = 1023392251






Re: known BUG multi-byte character set in usernames

2002-06-06 Thread Jeremy Allison

On Thu, Jun 06, 2002 at 09:03:05PM +0200, Juergen Hasch wrote:
 
 The conversion in srv_samr_nt.c is needed to show the correct group list in 
 the ACL-add dialogue. The conversion in lsa_srv_nt.c is needed to set a new 
 ACL entry in unix codepage after selecting it from the list.
 The change in winbind_rpc.c is needed to get wbinfo -n working.

I accepted all of these except the winbindd ones - I fixed those
instead by making cli_lsa_loopupnames() take UNIX charset, not
DOS codepage.

Please CVS checkout and test. Thanks a *lot* !

Jeremy.




Re: Domain SID for BDC

2002-06-06 Thread Gerald Carter

On Thu, 6 Jun 2002 [EMAIL PROTECTED] wrote:

 One thing that struck me today is the fact that if you copy the
 secrets.tdb to another machine, smbd will generate a new SID for the
 machine and hand this out on lsaquery. The only way to create a working
 BDC with 2.2.5 is to manually generate a MACHINE.SID from the PDC with
 rpcclient/lsaquery, copy this over to the BDC with no secrets.tdb and
 then start smbd on the BDC. It will then suck the MACHINE.SID into a
 secrets.tdb and delete MACHINE.SID. This should at least be documented

I just added a -S switch to smbpasswd in SAMBA_2_2 to suck the sid
from a DC.  My tests show up ok.  Can you test this?  I'll update 
the man page shortly.

smbpasswd -S [-r machine]

It's a little awkward in that it grabs the domain from smb.conf
in case it needs to look up a pdc.  However, if the -r option is used,
it will grab the sid from that machine regardless of the domain.
I'll try to clean this up some.

Please test and let me know.

Note that you can also do this to suck the SID from a Windows 
NT PDC for migration purposes. :-)

 if not fixed. It's also a bit annoying that you have to manually add the
 LDAP admin password on each BDC after the secrets.tdb is created. Ok,
 you should have a separate admin password for each LDAP replica, but how
 practial is that? ;-)

I think this is ok.  With the new smbpasswd option, you should be able 
to simply copy the secrets.tdb file and set the domain sid in it.
The ldap admin pw should remain ok as long as you don't change the 
ldap admin dn.






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






Re: problem lsa-lookupnames does not look at pdb-rid

2002-06-06 Thread Gerald Carter

Volker,

So the bottom line is that if you set the rid attribute to be something
that does not match the algorithm, things break?  This little code resuse 
would be one problem :-\  Should be a full search based on the rid value.
I'll look into it.

and before bartlt says anythingi realize that things like 
already work in HEAD :-)


/***
 run the search by rid.
**/
static int ldap_search_one_user_by_rid (LDAP * ldap_struct, uint32 rid,
LDAPMessage ** result)
{
pstring filter;
int rc;

/* check if the user rid exsists, if not, try searching on the uid 
*/

snprintf(filter, sizeof(filter) - 1, rid=%i, rid);
rc = ldap_search_one_user(ldap_struct, filter, result);

if (rc != LDAP_SUCCESS)
rc = ldap_search_one_user_by_uid(ldap_struct,
pdb_user_rid_to_uid(rid), result);


return rc;
}






jerry




On Wed, 5 Jun 2002 [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
  Can you give more details. I don't understand the problem from
  this description. I'd like to ensure the ldap backend works
  correctly for PDC/BDC purposes in 2.2.5.
 
 Sorry for being vague.
 
 PDC/BDC is not the problem. w2kwks is my Windows 2000 Workstation that
 wants to join the domain. Look at the rid field. It does *not* match
 the algorithmic mapping from uid=1004, which would give 3008. I set
 the rid by accident to 3005. I thought this should work, but it does
 not seem to, as the algorithmic setup is spread around everywhere
 except for example in srv_samr_nt.c/line 1400 (SAMR_OPEN_USER) where
 the rid is looked up in LDAP.
 
...
 
 Now I do a rpcclient against a PDC that works against this LDAP backend:
 
 rpcclient $ lookupnames w2kwks$
 w2kwks$ S-1-5-21-1893519152-2010502013-2030181751-3008 (1)
 rpcclient $ samlookuprids 3005
 rid 0xbbd: unix_group.1002 (4)
 rpcclient $ samlookuprids 3008
 rid 0xbc0: w2kwks$ (1)
 
 The workstation tries to change its password by doing a SAMR_OPEN_USER
 on the rid it obtained from an lsalookupnames call. This fails.





ANSI C (was RE: Access control to SAM / _samr_query_sec_obj)

2002-06-06 Thread Matt Seitz

From: Tim Potter [mailto:[EMAIL PROTECTED]]
On Thu, Jun 06, 2002 at 09:01:45PM +1000, Andrew Bartlett wrote:

 Secondly, I have some further style nit-picks:
  - We can't use \\ as a comment in Samba, as many C compilers don't
 understand it.

It's actually not ANSI C!  
Another one I found recently was having a comma on the last element of 
an enum is not ANSI C. 

Actually, both single line comments (//) and trailing commas in
enumeration declarations have been legal in ANSI C since 1999.




Re: Samba 2_2 CVS w/ Linux 2.4.18 Oplock Hangup... Help!

2002-06-06 Thread Jeremy Allison

On Thu, Jun 06, 2002 at 03:39:59PM -0400, Richard Bollinger wrote:
 Test scenerio:
 
 Server:  Samba 2_2 CVS as of morning of 6/4/2002.  Linux 2.4.18 ext2 file system.  
AMD Athlon
 processor.
 
 On PC...
 net use f: \\server\share
 type hi.txt
 
 On Server...
 smbstatusshows the file oplocked
 cat hi.txthangs until control C hit
 
 On PC...
 net use f: /d
 
 On Server...
 smbstatusshows the connection still in effect and file still oplocked!
 cat hi.txtstill hangs until control C hit
 
 smbstatus output:
 
 Samba version 2.2.5-pre #1 Tue Jun 4 14:03:39 EDT 2002
 Service  uid  gid  pid machine
 --
 u_tmprab  tcs  30240   p139 (128.1.3.139) Thu Jun  6 15:22:51 
2002
 
 Locked files:
 PidDenyMode   Access  R/WOplock   Name
 --
 30240  DENY_NONE  0x1 RDONLY EXCLUSIVE+BATCH  /u/tmp/hi.txt   Thu Jun  6 
15:23:28 2002

I think I have just fixed this. Could you please try
CVS updating on the SAMBA_2_2 branch and testing again ?

Thanks,

Jeremy.




Re: Samba 2_2 CVS w/ Linux 2.4.18 Oplock Hangup... Help!

2002-06-06 Thread Richard Bollinger

Lookin' good now.  Same test results in correct behavior... that is, when the unix 
side attempts
access, the oplock is broken.

Thanks!, Rich Bollinger, Elliott Company

- Original Message -
From: Jeremy Allison [EMAIL PROTECTED]
To: Richard Bollinger [EMAIL PROTECTED]
Cc: Samba Technical [EMAIL PROTECTED]
Sent: Thursday, June 06, 2002 8:07 PM
Subject: Re: Samba 2_2 CVS w/ Linux 2.4.18 Oplock Hangup... Help!


On Thu, Jun 06, 2002 at 03:39:59PM -0400, Richard Bollinger wrote:
 Test scenerio:

 Server:  Samba 2_2 CVS as of morning of 6/4/2002.  Linux 2.4.18 ext2 file system.  
AMD Athlon
 processor.

 On PC...
 net use f: \\server\share
 type hi.txt

 On Server...
 smbstatusshows the file oplocked
 cat hi.txthangs until control C hit

 On PC...
 net use f: /d

 On Server...
 smbstatusshows the connection still in effect and file still oplocked!
 cat hi.txtstill hangs until control C hit

 smbstatus output:

 Samba version 2.2.5-pre #1 Tue Jun 4 14:03:39 EDT 2002
 Service  uid  gid  pid machine
 --
 u_tmprab  tcs  30240   p139 (128.1.3.139) Thu Jun  6 15:22:51 
2002

 Locked files:
 PidDenyMode   Access  R/WOplock   Name
 --
 30240  DENY_NONE  0x1 RDONLY EXCLUSIVE+BATCH  /u/tmp/hi.txt   Thu Jun  6 
15:23:28
2002

I think I have just fixed this. Could you please try
CVS updating on the SAMBA_2_2 branch and testing again ?

Thanks,

Jeremy.






  1   2   >