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

2002-09-18 Thread Thierry ITTY

A 08:35 17/09/2002 +0100, Ash Green a écrit :
Thanks to the archive of this list, I've managed to work out that
everythings working on my winbind installation, but getent passwd 
getent group do NOT return the Domain entries, although wbinfo -u and -g
work fine.  All copies of smb.conf etc posted yesterday … anyone any
ideas?

did you try

passwd: files winbind nisplus nis  
shadow: files winbind nisplus nis  
group:  files winbind nisplus nis  

in /etc/nsswitch.conf ?
- * - * - * - * - * - * -
Bien sûr que je suis perfectionniste !
Mais ne pourrais-je pas l'être mieux ?
Thierry ITTY
eMail : [EMAIL PROTECTED]   FRANCE
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] recursive permissions?

2002-09-18 Thread Kenneth Simpson


Hi - I'm trying to set different permissions on server shares 

/home/meche
/home/meche/users

but the later directory is inheriting the permissions from the top
directory.

Is this normal? 

Is there a work around?

Am I just doing something stupid? 

Any help would appreciated.

-- Ken


[MechE]
   path = /home/meche
   create mask = 0660
   directory mask = 0770
   browseable = yes
   writeable = yes
   public = yes

[Meche User]
   path = /home/meche/users
   create mask = 0640
   force create mask = 0640
   directory mask = 0750
   browseable = no
   writeable = yes
   public = yes
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



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

2002-09-18 Thread Michael Neff

Hello,

SWAT is not automatically installed under RedHat 7.3, you must install SWAT, you find 
it on the 3. DISC

Buy,

Michael

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



Re: [Samba] smbmount?

2002-09-18 Thread Urban Widmark

On Tue, 17 Sep 2002, John Anderson wrote:

 Hi,
 
 I installed Samba from source, and the smbmount utility didn't install
 (atleast it's not where it's supposed to be.)  A find / -name smbm*
 -print, turns up 2 C files (smbmount.c and smbmnt.c) in the source
 directory.
 
 My question is, how can I configure / make just the smbmount programs?

You need to ./configure --with-smbmount, and it only builds on linux.

The recommended way to install is make install, but after make the files
are in the bin directory and you could just copy them, any codepage
definitions you need and set up a smb.conf.

But just 'make install' ...

/Urban

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



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

2002-09-18 Thread Urban Widmark

On Wed, 18 Sep 2002, Edoardo Causarano wrote:

 ACL enabled network filesystem, where is it? I can't go with alpha code nfs4, 
 so is there a patch to the smb kernel modules that provides support to ACLs? 
 (I mean... the server does!!) Even a userland daemon will do... I'm ready to 
 patch, test, anything to get NT4 off my back.

There are no patches I am aware of that adds ACLs to smbfs.
(how does an ACL enabled client help you with NT4?)


I have no intention of touching that until the ACL patches are accepted in
the main kernel (last I heard there was still some discussion on what the
right way(tm) to do it was). I simply don't have to time for that.

If someone else wants to, I do accept smbfs patches. Preferrably vs 2.5
for something this experimental.

/Urban

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



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

2002-09-18 Thread Ash Green

Tried that ... To no joy though.  The key thing seems to be that the
pam_winbind.so module is authenticating the logon, but the following
part is blocking it, this is logged as :

Sep 18 09:14:44 LTSP pam_winbind[1596]: user 'DOMAIN+test' granted
access
Sep 18 09:14:44 LTSP login[1596]: Permission denied

There's only one line in my /etc/pam.d/login after the auth winbind
section, which is (now) :
auth required /lib/security/pam_pwdb.so use_first_pass shadow nullok
debug

The system was using pam_stack throughout, but I've changed to
pam_pwdb.so now.

Tried threatening it with a rusty screwdriver, but that didn't work
either ...

 -Original Message-
 From: Thierry ITTY [mailto:[EMAIL PROTECTED]] 
 Sent: 18 September 2002 09:53
 To: Ash Green; Samba
 Subject: Re: [Samba] Getent passwd (WAS Winbind breaking my head)
 
 
 A 08:35 17/09/2002 +0100, Ash Green a écrit :
 Thanks to the archive of this list, I've managed to work out that 
 everythings working on my winbind installation, but getent passwd  
 getent group do NOT return the Domain entries, although 
 wbinfo -u and 
 -g work fine.  All copies of smb.conf etc posted yesterday … 
 anyone any 
 ideas?
 
 did you try
 
 passwd: files winbind nisplus nis  
 shadow: files winbind nisplus nis  
 group:  files winbind nisplus nis  
 
 in /etc/nsswitch.conf ?
   - * - * - * - * - * - * -
 Bien sûr que je suis perfectionniste !
 Mais ne pourrais-je pas l'être mieux ?
   Thierry ITTY
 eMail : [EMAIL PROTECTED] FRANCE
 

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



[Samba] Information about the default port used by Samba required

2002-09-18 Thread Gaurav Gupta

Dear Authorities,

Could you please inform me the default port used by the Samba. I think I am facing 
some error using Samba due to the default port used by Samba being unavilable on my 
Unix Server. 
Thanks


Warm Regds
Gaurav Gupta

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



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



Re: [Samba] nobody smbpasswd

2002-09-18 Thread Andrew Bartlett

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

For a number of things, yes.  Many basic functions of a Samba server -
partiulcarly as a PDC or master browser - must occour as guest.  This
setting is really only of value on a per-share basis.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] samba problems with FreeBSD

2002-09-18 Thread Jonathan Dean

Add the user without the '$' at the end then after it has
been added correctly use 'vipw' to edit the passwd file by hand and add
the '$' to the end of that users entry. 
At 17:05 17/09/2002 -0700, Unix Rookie wrote:
i'm trying to setup a PDC with my
FreeBSD box.
i'm following the directions in Samba Unleashed by
SAMS.
in it they mention the creation of a server user account.
this is the example they give:
useradd -c Samba PDC fir MYDOMAIN -M -s /bin/false -n
PERSEUS$
other than the fact FreeBSD doesn't use useradd and that pw useradd
doesn't
have a -M option, i'm having a problem with the $ at the end
of the username.
i get the following error:
pw: invalid character `$' in field
is there a work around?
any any all help will be greatly appreciated.


oh yeah... and one more thing... is the client-side setup in Samba the
same
with W2k as it is for WinXP? if it isn't i might as well take this
book back. :/
__
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:
http://lists.samba.org/mailman/listinfo/samba

---
Jonathan Dean
[EMAIL PROTECTED]
www.jondean.com
Dept. Computer Science, University of Exeter, UK.
[EMAIL PROTECTED]
www.dcs.ex.ac.uk
Network Manager, Dean UK Networks.
[EMAIL PROTECTED]
www.deanuk.net


Re: [Samba] nobody smbpasswd

2002-09-18 Thread Andrew Bartlett

Andrew Bartlett wrote:
 
 [EMAIL PROTECTED] wrote:
 
  Dear all,
 
  I find that for smbpasswd to work it is necessary to include nobody (or the
  guest account) in the valid users list under section [Global]. This
  requirement is not mentioned in documentations (or I've overlooked). Is this
  absolutely necessary ?
 
 For a number of things, yes.  Many basic functions of a Samba server -
 partiulcarly as a PDC or master browser - must occour as guest.  This
 setting is really only of value on a per-share basis.

To clarify this further, when smbpasswd is invoked as a normal user, it
does not modify the smbpasswd file directly.  Instead, (and to avoid all
the issues surrounding setuid root binaries) it contacts the local samba
server on 127.0.0.1.

The remote 'change password' call is invoked by logging into the server
as guest - allowing expired passwords etc to be changed.  

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] W2k can't recognise Samba ldap groups of users

2002-09-18 Thread Thomas SECHET

Hello,

We recently install a Samba PDC for linux and W2k clients. 
I don't find how to apply security policies editing with Poledit to
users-groups defined by ldap organisation units. Policies are only
working with default user and individual user. 
I see with poledit on the domain two groups named domain users or
admin users but I don't understand what they are. I don't see groups
defined with ldap tools.

My question is how can I configure groups to be able to be recognized
and managed by poledit ?

Thanks for contributions.

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



Re: [Samba] Information about the default port used by Sambarequired

2002-09-18 Thread Wolfgang

On Wed, 2002-09-18 at 10:40, Gaurav Gupta wrote:
 Dear Authorities,
 
 Could you please inform me the default port used by the Samba. I think I am facing 
some error using Samba due to the default port used by Samba being unavilable on my 
Unix Server. 
 Thanks
use google :)
http://www.google.com/search?q=samba+related+ports
third link leads to 
http://www.mail-archive.com/news@mandrakesoft.com/msg00145.html

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



[Samba] bind interface and WINS ...

2002-09-18 Thread C.Lee Taylor

Greetings ...

I am seeing a funny and would just to point it out ... I have a Samba 2.2.5 
running in a server with two ethernet interfaces.

I have in my smb.conf

interfaces = eth1:1
 bind interfaces only = Yes

But I am still seeing traffic over port 137 ( wins ) from eth0.

Other than firewalling off the eth0 137,138,139, why is Samba responding to 
traffic on eth0 with the above settings? ... Or does nmbd respond to all 
interfaces?

Mailed
Lee

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



[Samba] [ smbfs ] Does it support ACLS?

2002-09-18 Thread Edoardo Causarano

Fisrt thing, excuse me for replying with OE, I'm not  my PC  the moment
;-)


 ACL enabled network filesystem, where is it? I can't go with alpha code
nfs4,
 so is there a patch to the smb kernel modules that provides support to
ACLs?
 (I mean... the server does!!) Even a userland daemon will do... I'm ready
to
 patch, test, anything to get NT4 off my back.

There are no patches I am aware of that adds ACLs to smbfs.
(how does an ACL enabled client help you with NT4?)


I have no intention of touching that until the ACL patches are accepted in
the main kernel (last I heard there was still some discussion on what the
right way(tm) to do it was). I simply don't have to time for that.

If someone else wants to, I do accept smbfs patches. Preferrably vs 2.5
for something this experimental.

/Urban

The ACL client would allow us to ditch NT4 and go UNIX from server to
workstation. In such an environment one would use nfs3 but that's not enough
for desktop use as ACLs are easier to maintain and work with rather than UGO
permissions. NFS4 isn't up to snuff yet so I thought that if smbd supports
ACLs on XFS, ACL_ext3 one could add the code to fetch these extended
attributes to the smb filesystem module (I understand that such patches
would require the presence of the bestbits patches). Usually one would use
smb.o to interoperate with M$, in my case I'd like to use it as an
interim/definitive alternative to nfs in a fully UNIX shop.

Ciao,
Edo

--
No uptime sig from here sigh!

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



Re: [Samba] vorkomg on vmware virtual machine

2002-09-18 Thread Andrew Bartlett

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

Yes, the VMware guys make good use of Samba like that.  They are very
supportive of the Samba Team - VMware provides us with licences, which
makes debugging *so* much easier.  They also seem to be pretty good with
keeping up with the GPL obligations - one of the few companies I've seen
that actually includes the 'written offer' when not bundling sources.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



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

2002-09-18 Thread Andrew Bartlett

Andy wrote:
 
 I succussfully got Samba 2.2.5 to join an NT 4.0 Domain.
 
 Can Samba integrate with Netware 4.2 ???

Simple answer is no.  More complex answer is 'depends' - and it's very
much a matter of which compromises you chose.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Samba and XP professional- system policy issue

2002-09-18 Thread balagopal

Hi,

A question on windows xp professional and samba. The samba version is 2.2.5. 
After putting an entry for samba pdc in lmhosts and disabling sign or seal in 
the registry, the xp client successfully logged on to the samba domain. But 
ntconfig.pol placed in netlogon,doesnt get applied. But if the remote update 
option is set manually to the netlogon path, the policy gets applied. So the 
nt 4 policy file is still valid for xp, but xp simply doesnt download the 
system policy. In the event viewer, every time the xp machine logs on to the 
domain, an error message appears. According to the message, the xp machine is 
looking for
a group policy object in an active directory domain. Another win2000 client 
works perfectly in the samba domain and downloads system policies. I have 
tried both samba head and tng, in both cases, xp logs on to the domain 
successfully .

So, my doubt is- obviously xp doesnt seem to be supporting mixed mode domains 
by default, or else it wont look for a group policy object as it resides only 
in an active directory domain. Is it possible to somehow make xp download nt 4 
style policies from a samba domain? Does xp professional actually support 
mixed mode?

Another interesting thing- when xp logs on to the samba domain, by default a 
restrictive set of system policies apply, havent seen that with win2000. For 
example- program files and winnt directories have write access disabled, 
system, network etc applets in control panel have all the important settings 
disabled for editing. Quite weird-almost everything that I wanted to with 
system policies from the server, seems to be done by default. xp is driving me 
crazy.

Thank You

Balagopal


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



[Samba] configuration cups

2002-09-18 Thread PJourdan

Resubmitting, as, apparently the attachment was messed up. It is in the 
message at the end.

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

netstat -a  (o;n Win2k client

Active Connections

  Proto Local Address   kForeign addressSate
  TCP   pippo: epmappippo:0 LISTENING
  
  TCP   pippo:1036  biggie2:netbios-ssn TIME_WAIT
  UDP   ...

So, we know I'm connected.
But no matter what username password combination I try to use, I cannot 
connect from Network Neighborhood.
Obviously, I don't understand what the username/password use is between the 
machines.
I probably do not have the right users set up in the correct manner on the 
Unix box or a user for the Unix box on Win2k. I have this set up correctly 
on another box, but for the life of me I do not remember exactly how or 
what I did to make it work.

Please help.

Apparently, the smb.conf file is not readable. Here it is:
[global]
workgroup = KITCHEN
server string = Samba Server
hosts allow = 192.168.1. 127.
load printers = yes
printcap name = cups
printing = cups
   guest account = pcguest
log file = /var/log/log.%m
max log size = 50
security = user
   encrypt passwords = yes
socket options = TCP_NODELAY
os level = 99
domain master = yes
preferred master = yes
dns proxy = no
[homes]
comment = Home Directory for : %u
browseable = no
writeable = yes
path = /home/samba/%u
valid users = %u administrator
force user = %u
create mask = 0644
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
public = yes
create mask = 0777
guest ok = yes
writeable = no
printable = yes
[tmp]
comment = Temporary file space
path = /tmp
read only = no
public = yes
[cdrom]
comment = Unix CD-ROM
path = /cdrom
guest ok = yes
volume = cdrom
[www]
comment = WWW System
path = /usr/www
read only = no
create mask = 0775
volume = www_system
[pippo]
comment = Phil's home dir.
path = /home/pippo
valid users = pippo,administrator,smb
force user = pippo
force group = smb
read only = no
[print$]
path = /tmp
write list = root,guest,ntadmin 


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



[Samba] Printing to file

2002-09-18 Thread Sander van Vliet



Hello does anyone have an example 
printcapconfig to print to a file?
I need this because I use the pdfprint script 
posted here earlier but if you print to that printer the program that prints 
hangs until the program finishes.

TIA Maxor


Re: [Samba] Novell vs Linux.

2002-09-18 Thread Bruno Gimenes Pereti

  This the attribute and object definition from samba.schema from
  samba2.2.6pre CVS couple of weeks ago:
  attributetype ( 1.3.6.1.4.1.7165.2.1.1 NAME 'lmPassword'
 [samba.schema]
  [...]
 
  What does that mean?
  I can connect, search LDAP from NDS with the tools provided by redhat
7.1
  distribution...
 
  Sorry if I´m being boring but I really need Samba to work with NDS
  eDirectory.

 You have to 'import' this definiton to your ldap server/nds server. There
 must be a way to import this schema.

 After that, you must be able to fill in data in ldap/nds.

I forgot to mention, I can import the definition from the file
rfc2307-usergroup.sch but I can´t import from the samba.schema. Certanly you
saw that the sintaxe of this files are completly different. NDS provides two
applications to import schema, they are ndssch and ldapmodify. ndssch
can´t import samba.schema and ldapmodify uses another kind of file (ldif).

Do you know how can I do this?

Thank´s
Bruno Pereti.

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



[Samba] trackdown user login/logout

2002-09-18 Thread Glasswalker

Hello everybody,

I´m trying to figure out how to trackdown users
login/logout at my Samba PDC.

I was thinking to use the preexec and postexec
functions at a sharing, but this seems to be ugly: if
a user disconnects the sharing, I lose the logout
information.

anybody have any idea? any hint would help me a lot.

thanks,
Alceu

___
Yahoo! GeoCities
Tudo para criar o seu site: ferramentas fáceis de usar, espaço de sobra e acessórios.
http://br.geocities.yahoo.com/
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] trackdown user login/logout

2002-09-18 Thread Yura Pismerov

Glasswalker wrote:
 
 Hello everybody,
 
 I´m trying to figure out how to trackdown users
 login/logout at my Samba PDC.
 
 I was thinking to use the preexec and postexec
 functions at a sharing, but this seems to be ugly: if
 a user disconnects the sharing, I lose the logout
 information.
 
 anybody have any idea? any hint would help me a lot.
 


preexec in netlogon share will give you login time.
Not sure how to track the logoff... but try postexec in netlogon.


 thanks,
 Alceu
 
 ___
 Yahoo! GeoCities
 Tudo para criar o seu site: ferramentas fáceis de usar, espaço de sobra e acessórios.
 http://br.geocities.yahoo.com/
 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba

-- 

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



[Samba] PDC backup server

2002-09-18 Thread Hermes Collini

Just a simple goal!

I have a linux RH7.1 server with Samba 2.2.2 configured as a 
in-prodduction PDC. I want to move Samba domain to another server.

How I can do this without reconfigure everything?

Thanks to everyone.

Hermes collini

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



[Samba] Please assist in examination my samba log

2002-09-18 Thread Andrew Khlebutin

Hello,

I  have 2.2.6.p2 installed as a PDC and there are around ten PCs(Win2k
sp2  and 3) in this domain. Everything works fine and recently I tried
to  add  two extra PCs in this domain, but Win2k PC generates an error
message  saying  The  following error occurred attempting to join the
domain  hm:  No  mapping  between account names and security IDs was
done.

As  usual  I  added  those  PCs as Machine Trust Account'ed into samba
passwd  file by executing smbpasswd -am hm3 so now there are records
for _each_ PC in the /usr/local/private/smbpasswd file:
=cut smbpasswd
...
hm3$:20006:66FD7474B2A116C1AAD3B435B51404EE:6761A1A8AE44999D976C26FCCEDDC0E1:[W
  ]:LCT-3D886D4D:
...
=cut smbpasswd

I  tried  to localize the problem by examining samba logs (log level =
10), but I couldn't :-(.

I have not found any errors except this one:
[2002/09/18 18:45:40, 0] smbd/password.c:domain_client_validate(1549)
  domain_client_validate: could not fetch trust account password for domain HM

What can cause this problem?
Are there any ideas of how can I localize the problem?

P.S:  FreeBSD  4.7-PRERELEASE  #0:  Tue  Sep  3  19:31:22  YEKST 2002,

Full log of joining a PC to the domain can be found here
http://hm.perm.ru/Andrew/log.hm3.bz2, size 17894. 
log.hm3==
[2002/09/18 18:45:35, 3] smbd/negprot.c:reply_negprot(426)
  Selected protocol NT LM 0.12
...
[2002/09/18 18:45:40, 5] smbd/uid.c:change_to_root_user(217)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2002/09/18 18:45:40, 3] smbd/reply.c:reply_sesssetup_and_X(858)
  Domain=[hm]  NativeOS=[Windows 2000 2195] NativeLanMan=[Windows 2000 5.0]
[2002/09/18 18:45:40, 3] smbd/reply.c:reply_sesssetup_and_X(868)
  sesssetupX:name=[root]
[2002/09/18 18:45:40, 6] param/loadparm.c:lp_file_list_changed(2285)
  lp_file_list_changed()
  file /usr/local/etc/smb.conf - /usr/local/etc/smb.conf  last mod_time: Wed Sep 18 
18:35:18 2002

[2002/09/18 18:45:40, 0] smbd/password.c:domain_client_validate(1549)
  domain_client_validate: could not fetch trust account password for domain HM
[2002/09/18 18:45:40, 10] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1344)
  pdb_getsampwnam: search by name: root
[2002/09/18 18:45:40, 10] passdb/pdb_smbpasswd.c:startsmbfilepwent(167)
  startsmbfilepwent_internal: opening file /usr/local/private/smbpasswd
[2002/09/18 18:45:40, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(436)
  getsmbfilepwent: returning passwd entry for user root, uid 0
[2002/09/18 18:45:40, 7] passdb/pdb_smbpasswd.c:endsmbfilepwent(256)
  endsmbfilepwent_internal: closed password file.
[2002/09/18 18:45:40, 10] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1386)
  pdb_getsampwnam: found by name: root
[2002/09/18 18:45:40, 4] smbd/password.c:smb_password_ok(475)
  smb_password_ok: Checking SMB password for user root
[2002/09/18 18:45:40, 5] smbd/password.c:smb_password_ok(489)
  smb_password_ok: challenge received
[2002/09/18 18:45:40, 4] smbd/password.c:smb_password_ok(499)
  smb_password_ok: Checking NT MD4 password
[2002/09/18 18:45:40, 4] smbd/password.c:smb_password_ok(501)
  smb_password_ok: NT MD4 password check succeeded
[2002/09/18 18:45:40, 7] param/loadparm.c:lp_servicenumber(3581)
  lp_servicenumber: couldn't find root
[2002/09/18 18:45:40, 7] param/loadparm.c:lp_servicenumber(3581)
  lp_servicenumber: couldn't find root
log.hm3==

-- 
Best regards,
Andrew Khlebutin

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



Re: [Samba] Novell vs Linux.

2002-09-18 Thread Frank Matthieß

Mittwoch den 18.09.2002 um 14:46 CEST  +0200, schrieb Bruno Gimenes Pereti:
 
 I forgot to mention, I can import the definition from the file
 rfc2307-usergroup.sch but I can´t import from the samba.schema. Certanly you
 saw that the sintaxe of this files are completly different. NDS provides two
 applications to import schema, they are ndssch and ldapmodify. ndssch
 can´t import samba.schema and ldapmodify uses another kind of file (ldif).
 
 Do you know how can I do this?

A search on novell's website point me to
http://www.novell.com/products/edirectory/schema/

There i find some schemas. A look inside this files give me the idea to
convert the samba.schema to ldif format. It seems, that the
objectdefiniton should be in _one_ line prepend by objectclass:  This
should be similar to attributetype.

If you setup a correct ldif file from samba.schema, than announce this
to this list. I think this could be intressting for other novellix' es.
;-)

-- 
Frank Matthieß  [EMAIL PROTECTED]

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



[Samba] Window Host Resolution

2002-09-18 Thread Joseph Loo

I have a Linux system at work running Mandrake 8.0 running Samba 2.2.4 
(compiled). It is not part of  the domain but it broadcast itself to a 
wins server with no problem. They have decided to use dhcp with wins at 
this time with various machines.

I need to have the Linux machine resolve the host names for various user 
machines. Is it possible for samba to provide this capabilty?

-- 
Joseph Loo
[EMAIL PROTECTED]

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



Re: [Samba] W2k can't recognise Samba ldap groups of users

2002-09-18 Thread Bradley W. Langhorst

On Wed, 2002-09-18 at 05:45, Thomas SECHET wrote:
 Hello,
 
 We recently install a Samba PDC for linux and W2k clients. 
 I don't find how to apply security policies editing with Poledit to
 users-groups defined by ldap organisation units. Policies are only
 working with default user and individual user. 
 I see with poledit on the domain two groups named domain users or
 admin users but I don't understand what they are. I don't see groups
 defined with ldap tools.
you can use the domain users and admin users parameters in smb.conf
to map unix groups to these groups.
 
 My question is how can I configure groups to be able to be recognized
 and managed by poledit ?
you can't with samba2
samba3 has the group mapping.

brad

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



[Samba] The Ghost Queue of Summer

2002-09-18 Thread Jordan Glogau



Hi:

I have a problem with my Samba print queue, I 
think. I started a print job back in June and the queue seemed to get 
overloaded. Since that time I can't print 
to that printer through the Samba queue.Even stranger, every couple 
of days random pages print out from that job! This has been going on all 
Summer.

I would like to clear the queue and get Samba's 
printing queues up and running again. I've restart and rebooted the 
Samba/server to no avail. I am beginning to wonder if I need a Samba guru 
or an exorcist, anyone have a suggestion?

If you have a suggestion feel free to write 
directly and/or to the list.

Thanks in Advance,
Jordan Glogau


Re: [Samba] The Ghost Queue of Summer

2002-09-18 Thread daniel . jarboe



What print subsystem do you use? If lprng, what does
#lpq -Pprintqueue
tell you, where printqueue is the name of the offending print queue?

Anything in your samba print spool directory? It might be set as path =
in the share for that print queue in smb.conf.

Don't know enough to help you, but these might be good places to start.

~ Daniel

[EMAIL PROTECTED] wrote:

  
  
  Hi:
  
  I have a problem with my Samba print queue,
I  think. I started a print job back in June and the queue seemed to get
 overloaded. Since that time I can't
print  to that printer through the Samba queue.Even stranger, every couple
 of days random pages print out from that job! This has been going on all
 Summer.
  
  I would like to clear the queue and get
Samba's  printing queues up and running again. I've restart and rebooted
the  Samba/server to no avail. I am beginning to wonder if I need a Samba
guru  or an exorcist, anyone have a suggestion?
  
  If you have a suggestion feel free to
write  directly and/or to the list.
  
  Thanks in Advance,
  Jordan Glogau
  
  
  
  


[Samba] Print Problem

2002-09-18 Thread Wendell Dingus

I looked through the mailing list archives and tried some queries
against the searchable with no success. I've got a strange problem...

Customer calls up unable to print. Everything else is working fine,
nobody made any Samba or other changes just suddenly no PC can print to
a Samba-shared printer. Server is AIX, Samba is 2.2.3a compiled by IBM
from the IBM Toolbox site. Same config I have running on 10 sites and
this one for a long time up until now.

Have rebooted PCs, rebooted the server, etc...

I found a way to reproduce the error SSH'ed into their server from
remote though:

# echo test | smbclient server\\printer rootspwd -N -P -c 'print
-'
added interface ip=192.168.100.10 bcast=192.168.100.255
nmask=255.255.255.0
Domain=[DOM] OS=[Unix] Server=[Samba 2.2.3a]
NT_STATUS_NO_SUCH_FILE opening remote file stdin-23850

Here's a snippet of the log file with debug=4:

[2002/09/18 12:49:46, 3] smbd/dosmode.c:unix_mode(111)
  unix_mode(stdin-26128) returning 0744
[2002/09/18 12:49:46, 3] printing/printing.c:print_cache_expired(772)
  print cache expired for queue las1 (last_cache = 1032371363, time now
= 1032371386, qcachetime = 10)
[2002/09/18 12:49:46, 3] printing/print_generic.c:print_run_command(88)
  Running the command `lpq -Plas1' gave 0
[2002/09/18 12:49:46, 3] printing/printing.c:print_queue_update(396)
  0 jobs in queue for las1
[2002/09/18 12:49:47, 3] printing/printing.c:print_job_start(936)
  print_job_start: either jobid (6956)==next_jobid(6956) or
print_job_store failed.
[2002/09/18 12:49:47, 3] printing/printing.c:print_job_start(985)
  print_job_start: returning fail. Error = No such file or directory
[2002/09/18 12:49:47, 3] smbd/error.c:error_packet(91)
  error string = No such file or directory
[2002/09/18 12:49:47, 3] smbd/error.c:error_packet(103)
  error packet at smbd/reply.c(1650) cmd=45 (SMBopenX)
NT_STATUS_NO_SUCH_FILE
[2002/09/18 12:49:47, 3] smbd/process.c:timeout_processing(1092)
  receive_smb error (Error 0) exiting
[2002/09/18 12:49:47, 3] smbd/sec_ctx.c:set_sec_ctx(314)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002/09/18 12:49:47, 2] smbd/server.c:exit_server(458)
  Closing connections

I've tried changing the path= in [printers] thinking it couldn't create
a file for some reason. No luck... 

Thanks in advance for any suggestions!


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



[Samba] Soalris to NT not connecting

2002-09-18 Thread Jeff Hoevenaar

I have a Samba share on a Solaris 8 server that is being accessed from a NT
server.  It works most all of the time except every night it will fail for
about 25mins before it works.  The log.smbd file is filled with several
messages that repeat over and over.  The connection seems to work all other
times.

Jeff


[2002/09/17 21:41:41, 0] lib/util_sock.c:write_socket_data(542)
  write_socket_data: write failure. Error = Broken pipe
[2002/09/17 21:41:41, 0] lib/util_sock.c:write_socket(565)
  write_socket: Error writing 190 bytes to socket 22: ERRNO = Broken pipe
[2002/09/17 21:41:41, 0] libsmb/clientgen.c:cli_send_smb(88)
  Error writing 190 bytes to client. -1
[2002/09/17 21:42:01, 0] lib/util_sock.c:read_socket_with_timeout(300)
  read_socket_with_timeout: timeout read. read error = Connection reset by
peer.
[2002/09/17 21:42:01, 0] lib/util_sock.c:write_socket_data(542)
  write_socket_data: write failure. Error = Broken pipe
[2002/09/17 21:42:01, 0] lib/util_sock.c:write_socket(565)
  write_socket: Error writing 168 bytes to socket 24: ERRNO = Broken pipe
[2002/09/17 21:42:01, 0] libsmb/clientgen.c:cli_send_smb(88)
  Error writing 168 bytes to client. -1
[2002/09/17 21:42:01, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(171)
  startsmbfilepwent_internal: unable to open file
/usr/local/samba/private/smbpasswd. Error was No such file or directory
[2002/09/17 21:42:01, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1368)
  unable to open passdb database.
[2002/09/17 21:48:59, 0] lib/util_sock.c:write_socket_data(542)
  write_socket_data: write failure. Error = Broken pipe




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

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



Re: [Samba] smbmount?

2002-09-18 Thread Urban Widmark

On Wed, 18 Sep 2002, John Anderson wrote:

 Thanks, that made it work.
 
 Quick question, I am mounting a remote NT folder.   I tried passing username
 and password in the smbmount command line, but it still asked fore a
 password.

You probably didn't set both, like this:  username=a,password=b


 I have 1 user on the remote end and about 12 users locally (logging into an
 NT domain).  How do I setup the users so they can map the drive on the
 Windows side.

This depends on what you want to do. One smbfs mount acts to the server as
one NT user (the one you give username/password for).

If it's ok for all 12 to share permissions then you can do like this. If
you want each local user to have different permission on the server, then
you need one NT user for each (and one mount for each, possibly with the
help of autofs or making smbmnt setuid root).


 For example, when I tried to map the drive, using my standard username /
 pass windows came back and said The network folder specified is currently
 mapped using a different username and password.  The mapped network drive
 could not be created because the following error has occurred:  The
 credentials supplied conflict with an existing set of credentials.  I tried
 the user/pass for the remote nt system (the same I used to authenticate
 with) and I got the same error.

Don't know what this is.

/Urban

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



[Samba] Client timeout problems.

2002-09-18 Thread jason . valenzuela

I'm using Samba 2.2.5 with Win2k(and a couple of WinXP) clients. For a month
everything has been running fine. Just recently I have started having problems
with what seems to be the clients dropping their TCP connections. If you let the
client sit for a while, even if it has a file open but don't save it, it will
lose it's connection to the server. Running netstat on the client shows the TCP
no longer connection exists to the server, and the log.smbd says:
lib/util_sock.c:read_data(436)
read_data : read_failure for 4. Error connection reset by peer.
If the client was working on a file, that program pretty much crashes and
changes are lost.
I took a look at the function in util_sock, and it seems that a read() from the
file descriptor is returning the 'Error connection reset by peer'. I at first
thought that maybe a 'socket options = SO_KEEPALIVE' or 'keepalive = 60' might
work. But it doesn't.
If I run tcpdump on the server and have a share open in the client, I see data
going back and forth once and a while. But the connection still gets reset for
some reason.
Any ideas? 

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



Re: [Samba] File locking problem continues.

2002-09-18 Thread Urban Widmark

On Wed, 11 Sep 2002, Kris Kelley wrote:

 About a month ago, the email inbox directory for one parituclar user
 experienced a curious problem where the last (most recent) message file
 in the directory became locked.  Any attempt to move or rename the
 file resulted in error messages like these:
 
   mv: cannot unlink `1030570088.21768.server1,S=655@2,': Text file busy
   mv: cannot remove `1030570088.21768.server1,S=655@2,': Text file busy

This is the server not allowing the move. Someone has the file open 
(possibly the linux smbfs client ...?).


 This morning, before using the lock-breaking trick with SERVER2, this
 time I first tried moving the file locally, on the Windows box.  I got a
 sharing violation error, saying the file was in use.  So, Windows saw
 a problem, too, but again, moving the file with SERVER2 brok the lock.
 I am wondering if there is a process, perhaps related to smbfs, on
 SERVER2 that is instigating this problem, but I am at a loss on what it
 could be.  The same programs (qmail and Courier IMAP) that access the

If it only happens for one user, compare with other users. Perhaps he has 
some special rule, or is the last one in some list to be delivered to, or 
...


It could be something with multiple file openers. smbfs doesn't work all 
that well when multiple processes on different machines open the same 
file. Also, if a program on the linux box keeps the file open then it will 
be open (and busy/locked) on the windows machine.

This patch should be considered experimental. It changes how smbfs opens
files and if you can trigger the problem without risking people's email it
might be worth trying.

http://www.hojdpunkten.ac.se/054/samba/smbfs-2.4.19-rc1-ALL.patch.gz

But I would not recommend installing this on the servers without some
offline/off-hours testing first.

/Urban

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



Re: [Samba] The Ghost Queue of Summer

2002-09-18 Thread Gerald Carter

On Wed, 18 Sep 2002, Jordan Glogau wrote:

 Hi:
 
 I have a problem with my Samba print queue, I think.  I started a print
 job back in June and the queue seemed to get overloaded.  Since that
 time I can't print to that printer through the Samba queue.  Even
 stranger, every couple of days random pages print out from that job!  
 This has been going on all Summer.
 
 I would like to clear the queue and get Samba's printing queues up and
 running again.  I've restart and rebooted the Samba/server to no avail.  
 I am beginning to wonder if I need a Samba guru or an exorcist, anyone
 have a suggestion?

did you change the time on the server?  Try deleting the volatile tdbs
such as printing.tdb and restart Samba.




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] Print Problem

2002-09-18 Thread Gerald Carter

On Wed, 18 Sep 2002, Wendell Dingus wrote:

 [2002/09/18 12:49:47, 3] printing/printing.c:print_job_start(936)
   print_job_start: either jobid (6956)==next_jobid(6956) or
 print_job_store failed.
 [2002/09/18 12:49:47, 3] printing/printing.c:print_job_start(985)
   print_job_start: returning fail. Error = No such file or directory
 [2002/09/18 12:49:47, 3] smbd/error.c:error_packet(91)
   error string = No such file or directory

Are you below the min print space ?

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] Dependecies problem

2002-09-18 Thread Aaron Axelsen

I cannot for the life of my get this to work.   Here is my problem:

libc.so.6(GLIBC_2.3)   is needed by samba-2.2.5-10
libc.so.6(GLIBC_2.3)   is needed by samba-client-2.2.5-10
libc.so.6(GLIBC_2.3)   is needed by samba-common-2.2.5-10
libc.so.6(GLIBC_2.3)   is needed by samba-swat-2.2.5-10

I tired it with these files

glibc-2.2.90-26.i386.rpm
glibc-common-2.2.90-26.i386.rpm
glibc-debug-2.2.90-26.i386.rpm
glibc-debug-static-2.2.90-26.i386.rpm
glibc-devel-2.2.90-26.i386.rpm
glibc-utils-2.2.90-26.i386.rpm

Then I need this one

libpng12.so.0   is needed by glibc-utils-2.2.90-26

But when I add these two
libpng-1.2.2-6.i386.rpm
libpng-devel-1.2.2-6.i386.rpm

I get a huge list of required dependencies

A little help would be very much appreciated.  Thanks in advance

---
Aaron Axelsen
AIM: AAAK2
Email: [EMAIL PROTECTED]
URL: www.amadmax.com
 
It said, Insert disk #3, but only two will fit!
One picture is worth 128K words.


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



Re: [Samba] Printing to file

2002-09-18 Thread Joel Hammer

What format do you want the file to be converted into?
Joel
On Wed, Sep 18, 2002 at 08:53:50PM +0200, Sander van Vliet wrote:
 The print jobs arrive in PostScript. (apple laserwriter)
 
 Greetz Maxor
 
 - Original Message -
 From: Joel Hammer [EMAIL PROTECTED]
 To: Sander van Vliet [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Wednesday, September 18, 2002 6:13 PM
 Subject: Re: [Samba] Printing to file
 
 
  I use lprng.
 
  text:\
  :sd=/var/spool/lpd/text:\
  mx#0:\
  :lp=/var/spool/lpd/text/textprint:\
  :if=/var/spool/lpd/text/filter:\
  :sh:
 
  This works for me.
  Make sure the file is permissive. Your printer daemon has to be able to
  print to it.
  The filter is a question. Since you aren't printing to a printer, you
 woon't
  use the same filter you would use for a real print queue. What format will
  the print job arrive in? What format do you want it to be once it is in
 the
  file?
  Run  checkpc -f to make sure things look right.
  Don't forget, after you make these changes, you have to restart lpd.
  Joel
 
 
  On Wed, Sep 18, 2002 at 02:10:06PM +0200, Sander van Vliet wrote:
   Hello does anyone have an example printcap config to print to a file?
   I need this because I use the pdfprint script posted here earlier but if
 you print to that printer the program that prints hangs until the program
 finishes.
  
   TIA Maxor
  --
  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] Error log?

2002-09-18 Thread Ricker, Tony

Jason,
You can set a parameter in the smb.conf `max log size = ` that will
ease at least it consuming all of /var partition. I think. man smb.conf to
make sure that is the right syntax. Good luck. 

Cheers

Tony

-Original Message-
From: Jason Naughton [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 18, 2002 12:26 PM
To: [EMAIL PROTECTED]
Subject: [Samba] Error log?


Hi,

I'm getting the following errors from smbd every night...  The error log
will grow to consume all the file space on the system.

Sep 18 06:00:00 seawolf smbd[2257]: [2002/09/18 06:00:00, 0]
lib/util_str.c:string_sub(1188)
Sep 18 06:00:00 seawolf smbd[2252]: [2002/09/18 06:00:00, 0]
lib/util_str.c:string_sub(1188)
Sep 18 06:00:00 seawolf smbd[2251]: [2002/09/18 06:00:00, 0]
lib/util_str.c:string_sub(1188)
Sep 18 06:00:00 seawolf smbd[2257]:   ERROR: string overflow by 5 in
string_sub(%u, 7)
Sep 18 06:00:00 seawolf smbd[2252]:   ERROR: string overflow by 5 in
string_sub(%u, 7)
Sep 18 06:00:00 seawolf smbd[2251]:   ERROR: string overflow by 5 in
string_sub(%u, 7)
Sep 18 06:00:00 seawolf smbd[2257]: [2002/09/18 06:00:00, 0]
lib/util_str.c:string_sub(1188)


-- 
  Cheers
 Jason

Jason Naughton,  Lead Engineer,
Department of Electrical Engineering,   Ryerson University
87 Gerrard St. E., Toronto, Ontario, M5B 2K3
Office:  (416)-979-5000 x7168   Fax:  (416)-979-5280



-- 
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] Dependecies problem

2002-09-18 Thread Aaron Axelsen

I am using RedHat 7.3 and don't want to build it from source unless it
is a very last result

---
Aaron Axelsen
AIM: AAAK2
Email: [EMAIL PROTECTED]
URL: www.amadmax.com
 
It said, Insert disk #3, but only two will fit!
One picture is worth 128K words.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of Nikolas Hagelstein
Sent: Wednesday, September 18, 2002 1:00 PM
To: [EMAIL PROTECTED]
Subject: Re: [Samba] Dependecies problem


hi,

what distribution are you using ?
GLIBC_2.3 is'nt necessary for samba-2.2.5-10

in case of doubt try to build it from the src.tar.gz...

bye,
niko

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



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



[Samba] Samba NT/POSIACL's: Too many ACE entries

2002-09-18 Thread DONAHUE,BILL (HP-USA,ex1)



I have been 
trying to get ACL's to work with Samba 2.2.5 but have run into a 
problem.

I am using 
RedHat 7.3 with the POSIX ACL patches from http://acl.bestbits.at/. Following 
installation of the patches I am able to view and modify ACL's from the bash 
command line using the getfacl and setfacl commands. Authenticiation is 
configured with winbind and domain security. It seems to be working 
fine.

The Samba code 
is was downloaded as an RPM from samba.org. I did not rebuild the code as 
it seemed to already have acl support in it as evidenced by the many ACL 
releated messages in the log files.

When I try to 
add/change an ACL from theclient Iam getting the following message 
in the client log file: 

 [2002/09/18 14:13:59, 3] 
smbd/posix_acls.c:convert_canon_ace_to_posix_perms(1809) 
convert_canon_ace_to_posix_perms: Too many ACE entries for file AUTOEXEC.BAT to 
convert to posix perms.

When I view 
the log files it appears that the client is passing an ACE file list that 
containsfour ACE entries, while the source code seems to limit the number 
to three (USER, GROUP, OTHER). This doesn't make sense. It seems 
that there sould be the three default entries plus as many more entries as the 
user wants to set.

Has anyone 
solved this problem? Any help is appreciated.

My smb.conf 
and an excerpt from my log file are listed below.

Thanks,

Bill


smb.conf

# Samba 
config file created using SWAT# from atlwebcache1.core.hp.com 
(15.10.155.2)# Date: 2002/09/18 10:11:50

# Global 
parameters[global] workgroup = 
SAMBA server string = Samba 
Server security = 
DOMAIN encrypt passwords = 
Yes password server = 
* log file = 
/var/log/samba/log.%m max log size 
= 50 socket options = TCP_NODELAY 
SO_RCVBUF=8192 SO_SNDBUF=8192 dns 
proxy = No winbind uid = 
1000-2000 winbind gid = 
1000-2000

[homes] 
comment = Home Directories read 
only = No browseable = 
No

[printers] 
comment = All Printers path = 
/var/spool/samba printable = 
Yes browseable = 
No

[tmp] 
path = /tmp read only = 
No guest ok = 
Yes



client.log

[2002/09/18 16:04:17, 10] 
smbd/posix_acls.c:print_canon_ace_list(146) print_canon_ace_list: file 
ace - before valid canon_ace index 0. Type = allow SID = 
S-1-5-21-1838633764-1922773823-188441444-1013 winbind_lookup_sid: SUCCESS: 
SID S-1-5-21-1838633764-1922773823-188441444-1013 - SAMBA 
TestUsr uid 1006 (SAMBA\TestUsr) SMB_ACL_USER perms r-x 
canon_ace index 1. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER perms 
r-- canon_ace index 2. Type = allow SID = 
S-1-5-21-1838633764-1922773823-188441444-513 winbind_lookup_sid: SUCCESS: 
SID S-1-5-21-1838633764-1922773823-188441444-513 - SAMBA Domain 
Users gid 1000 (SAMBA\Domain Users) SMB_ACL_GROUP_OBJ perms 
r-- canon_ace index 3. Type = allow SID = 
S-1-5-21-1838633764-1922773823-188441444-1004 winbind_lookup_sid: SUCCESS: 
SID S-1-5-21-1838633764-1922773823-188441444-1004 - SAMBA 
smbuser uid 1005 (SAMBA\smbuser) SMB_ACL_USER_OBJ perms 
r-x[2002/09/18 16:04:17, 10] 
smbd/posix_acls.c:print_canon_ace_list(146) print_canon_ace_list: dir 
ace - before valid[2002/09/18 16:04:17, 3] 
smbd/dosmode.c:unix_mode(111) unix_mode(TestFile) returning 
0744[2002/09/18 16:04:17, 10] 
smbd/posix_acls.c:print_canon_ace_list(146) print_canon_ace_list: file 
ace - return canon_ace index 0. Type = allow SID = 
S-1-5-21-1838633764-1922773823-188441444-1013 winbind_lookup_sid: SUCCESS: 
SID S-1-5-21-1838633764-1922773823-188441444-1013 - SAMBA 
TestUsr uid 1006 (SAMBA\TestUsr) SMB_ACL_USER perms r-x 
canon_ace index 1. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER perms 
r-- canon_ace index 2. Type = allow SID = 
S-1-5-21-1838633764-1922773823-188441444-513 winbind_lookup_sid: SUCCESS: 
SID S-1-5-21-1838633764-1922773823-188441444-513 - SAMBA Domain 
Users gid 1000 (SAMBA\Domain Users) SMB_ACL_GROUP_OBJ perms 
r-- canon_ace index 3. Type = allow SID = 
S-1-5-21-1838633764-1922773823-188441444-1004 winbind_lookup_sid: SUCCESS: 
SID S-1-5-21-1838633764-1922773823-188441444-1004 - SAMBA 
smbuser uid 1005 (SAMBA\smbuser) SMB_ACL_USER_OBJ perms 
r-x[2002/09/18 16:04:17, 10] 
smbd/posix_acls.c:print_canon_ace_list(146) print_canon_ace_list: dir 
ace - return canon_ace index 0. Type = allow SID = S-1-1-0 other 
SMB_ACL_OTHER perms r-- canon_ace index 1. Type = allow SID = 
S-1-5-21-1838633764-1922773823-188441444-513 winbind_lookup_sid: SUCCESS: 
SID S-1-5-21-1838633764-1922773823-188441444-513 - SAMBA Domain 
Users gid 1000 (SAMBA\Domain Users) SMB_ACL_GROUP_OBJ perms 
r-- canon_ace index 2. Type = allow SID = 
S-1-5-21-1838633764-1922773823-188441444-1004 winbind_lookup_sid: SUCCESS: 
SID S-1-5-21-1838633764-1922773823-188441444-1004 - SAMBA 
smbuser uid 1005 (SAMBA\smbuser) SMB_ACL_USER_OBJ perms 
rwx[2002/09/18 16:04:17, 3] 
smbd/posix_acls.c:convert_canon_ace_to_posix_perms(1809) 
convert_canon_ace_to_posix_perms: Too many ACE entries for file TestFile to 
convert to posix perms.[2002/09/18 16:04:17, 3] 

RE: [Samba] Dependecies problem

2002-09-18 Thread Ricker, Tony

Aaron,
You can force it to ignore the dependencies if it becomes a major
stumbling block. Do a man on rpm to find the flag to ignore. Hope this
helps.

Cheers

Tony

-Original Message-
From: Aaron Axelsen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 18, 2002 12:55 PM
To: [EMAIL PROTECTED]
Subject: [Samba] Dependecies problem


I cannot for the life of my get this to work.   Here is my problem:

libc.so.6(GLIBC_2.3)   is needed by samba-2.2.5-10
libc.so.6(GLIBC_2.3)   is needed by samba-client-2.2.5-10
libc.so.6(GLIBC_2.3)   is needed by samba-common-2.2.5-10
libc.so.6(GLIBC_2.3)   is needed by samba-swat-2.2.5-10

I tired it with these files

glibc-2.2.90-26.i386.rpm
glibc-common-2.2.90-26.i386.rpm
glibc-debug-2.2.90-26.i386.rpm
glibc-debug-static-2.2.90-26.i386.rpm
glibc-devel-2.2.90-26.i386.rpm
glibc-utils-2.2.90-26.i386.rpm

Then I need this one

libpng12.so.0   is needed by glibc-utils-2.2.90-26

But when I add these two
libpng-1.2.2-6.i386.rpm
libpng-devel-1.2.2-6.i386.rpm

I get a huge list of required dependencies

A little help would be very much appreciated.  Thanks in advance

---
Aaron Axelsen
AIM: AAAK2
Email: [EMAIL PROTECTED]
URL: www.amadmax.com
 
It said, Insert disk #3, but only two will fit!
One picture is worth 128K words.


-- 
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] Dependecies problem

2002-09-18 Thread Nikolas Hagelstein

Hi,
 I am using RedHat 7.3 and don't want to build it from source unless it
 is a very last result
ok ...you did try the rawhide version did you ?
try on of this:
http://de.samba.org/samba/ftp/Binary_Packages/redhat/RPMS/
they should fit.
don't care about the 2.2.5-x ...
x is just the packaging lvl ;)


bye,
niko


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



RE: [Samba] Print Problem

2002-09-18 Thread Wendell Dingus

I do not know, but I have since resolved it... IBM compiles lots of open
source apps and makes them available for AIX in RPM format. Initially
before sending my mailing list message I had done rpm -Uvh samb*
--force --nodeps just to freshen the files. After trying tons of
other things to no avail I removed all the RPM packages and re-installed
them. Started working immediately... Very strange.

Thanks for helping though!


-Original Message-
From: Gerald Carter [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, September 18, 2002 3:00 PM
To: Wendell Dingus
Cc: [EMAIL PROTECTED]
Subject: Re: [Samba] Print Problem

On Wed, 18 Sep 2002, Wendell Dingus wrote:

 [2002/09/18 12:49:47, 3] printing/printing.c:print_job_start(936)
   print_job_start: either jobid (6956)==next_jobid(6956) or
 print_job_store failed.
 [2002/09/18 12:49:47, 3] printing/printing.c:print_job_start(985)
   print_job_start: returning fail. Error = No such file or directory
 [2002/09/18 12:49:47, 3] smbd/error.c:error_packet(91)
   error string = No such file or directory

Are you below the min print space ?

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] Samba NT/POSIACL's: Too many ACE entries

2002-09-18 Thread jra

On Wed, Sep 18, 2002 at 12:34:50PM -0700, DONAHUE,BILL (HP-USA,ex1) wrote:
 I have been trying to get ACL's to work with Samba 2.2.5 but have run into a
 problem.
  
 I am using RedHat 7.3 with the POSIX ACL patches from
 http://acl.bestbits.at/ http://acl.bestbits.at/ .  Following installation
 of the patches I am able to view and modify ACL's from the bash command line
 using the getfacl and setfacl commands.  Authenticiation is configured with
 winbind and domain security.  It seems to be working fine.
  
 The Samba code is was downloaded as an RPM from samba.org.  I did not
 rebuild the code as it seemed to already have acl support in it as evidenced
 by the many ACL releated messages in the log files.

No, you are incorrect. It hasn't been built with ACL support. The ACL
related messages in the log files are Samba trying to do ACL conversion
to standard unix tuple permissions.

You need to rebuild Samba with ACL support.

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



[Samba] XP Logon and Samba PDC - another part of the puzzle

2002-09-18 Thread Noel Kelly

Hi,

It seems a common problem that after successfully joining a domain (Samba
2.2.5/6pre PDC), the XP Pro client has a bizarre time trying to logon.  The
XP clients flatly refuse to even try and talk to the same PDC they just
negotiated the domain membership with!

I have read many postings (the signorseal registry hack is a must) but no
solid answer as to how to get the client and PDC to talk.  Here is something
I have found which might help complete the puzzle:

It seems that one of the 'exciting new features' M$ have given us in XP is
the default IP Security Policies (Control Panel/Admin Tools/Local Security
Policy).  These by default have a filter for all IP traffic which 'Require
Security' (Accepts unsecured communications, but always requires clients to
establish trust and security methods.)

This, I think, means that all XP clients will only allow traffic if they are
talking to an AD server.  A Samba PDC (and NT PDC?) is not good enough
(Kerberos required) so no traffic will be allowed to pass between the client
and the PDC - hence the flat refusal to even attempt a login.

Edit these policies and set them to Permit.  Now traffic can flow freely and
a sense of normality will return to your network.

Hope this helps get some people up and running.


Whilst I am here, I'll relay the results of a discussion I was having
yesterday about Samba and ADS.  Soon (next year?) M$ will be discontinuing
support of NT4.  Windows 2000 cannot act as a simple NT domain controller -
it can emulate an NT domain controller but you are obliged to use ADS -
ouch.

Now ADS is way behind NDS as we all know for true enterprise operations.  It
is also complete overkill and unnecessarily complex for small to medium
businesses.  If it corrupts you are in trouble and you had better have more
than one AD server, etc

So what is a small business to do in 18 months time?  All they need is a
small domain model (which might not be the greatest design but it is
definitely documented and proven).  ADS is way too complex and NT
unsupported/sold.  Surely Samba is their only solution with Windoze clients?

Cheers,
Noel



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.384 / Virus Database: 216 - Release Date: 21/08/2002
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Dependecies problem

2002-09-18 Thread Nikolas Hagelstein

hi,

that is what i said before ...
this binaeries are linked against glibc 2.3...
use the ones at http://de.samba.org/samba/ftp/Binary_Packages/redhat/RPMS/
or build them from the source

bye,
niko

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



Re: [Samba] Dependecies problem

2002-09-18 Thread Nikolas Hagelstein

Hi,
 Maybe you can run up2date on the Linux box if you have that service, if
you
 don't then ftp to red hat and manually grab thge updated packages and try
 again. Good luck.
keep in mind that updating the glibc is a very risky taks 
remember: almost every binary is linked against the old 2.2.x
upgrading to 2.3 would result in much much more updates !!!
bye,
niko


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



[Samba] POSSIBLE BUG IN 2.2.5

2002-09-18 Thread Carlos Azevedo



I've set up Samba 2.2.5 on Linux 2.4.19-rc3 as a NT 
PDC. After a bit of banging I got my Win2K clients to connect to it, but my 
portable running Win95 just won't log on.
It keeps telling "The domain password you supplied is not correct, or access to your logon 
server has been denied".
But the bug part is that if I raise Samba's log 
level to 10 or 100 then it logs on immediately. That is, having 'log level = 1' 
up to 'log level = 9' prevents Win95 from logging on; but with 'log level = 10' 
or 'log level = 100' it works.
I'vefound this by doing :
1. vi smb.conf
2. change the log level (just that)
3. kill -1 nmbd's pid and kill -1 
smbd's pid
4. rm * the log directory
5. Attempt to log on at the Win95 
client.

This behaviour must be a bug, or isn't it 
?
I've included Tarred+Gzip copies of the logs at 
level 9 and 10 and a Gzip of smb.conf.

Please CC any thoughs to [EMAIL PROTECTED] 
as I'm not subscribed to this list.

Thanks,

Carlos A. R. Azevedo


smb.conf.gz
Description: GNU Zip compressed data


log_files_at_log_level_9.tar.gz
Description: GNU Zip compressed data


log_files_at_log_level_10.tar.gz
Description: GNU Zip compressed data


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

2002-09-18 Thread Carl B. Constantine

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

What's the link to the KB article?

Also, this patch doesn't produce a single connect/disconnect like NT
does. This is unfortunate. However, the log files show that there is
always one over-riding connection with many connect/disconnect messages.
You can count them to determine amount of time people are logged on. Bit
of a pain, but it works.

-- 
Carl B. Constantine University of Victoria
Programmer Analyst  http://www.uvic.ca
UNIX System Administrator   Victoria, BC, Canada
[EMAIL PROTECTED]ELW A220, 721-8753
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Samba Log file format

2002-09-18 Thread Carl B. Constantine

The samba log files leave something to be desired in both format and
management. I'd like to propose a change if I could.

Format:

Previously, a log entry is cut with date and timestamp and action on a
SINGLE line. Now the date and timestamp is on a separate line from the
information that you'd look for in a log file (machine name, ip address,
connection status for service, etc.) This is really awkward when you are
searching log files for information. You can't use standard tools very
easily. I'm using a custom perl script myself.

The logs in 2.2.* are not very UNIX like at all. They seem more geared
to the programmer, and not the admin. A Programmer version of a log is
fine to send back to the samba team for debugging, but the admin should
be kept in mind when writting log output.


Management:

It would be nice if samba gave up management of the logs to syslog and
the like. syslog could then control WHEN logs should roll over, where
they are stored, and so forth. Samaba should not be controlling this at
all.


It would also be nice to have the flexability to have samba produce a
single log for all machines connecting to the samba server instead of or
as well as separate log.netbiosname files.



any comments?

-- 
Carl B. Constantine University of Victoria
Programmer Analyst  http://www.uvic.ca
UNIX System Administrator   Victoria, BC, Canada
[EMAIL PROTECTED]ELW A220, 721-8753
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] unlink data file in cups_job_submit

2002-09-18 Thread Paul Janzen

With samba-2.2.5, cups-1.1.14, and printcap=cups, I find that I have
to explicitly clean up old print data files in /var/spool/samba with a
cron job.

With a traditional LPR, we use -r to tell lpr to remove the file for
us after the file is spooled.  With cups, we send it over ipp, and I
think we should then unlink the data file ourselves.

Does this seem right?

--- print_cups.c~Thu May  2 18:03:31 2002
+++ print_cups.c Wed Sep 18 13:17:08 2002
 -663,6 +663,9 
 ippErrorString(cupsLastError(;
 
httpClose(http);

+   if (ret == 0)
+   unlink(pjob-filename); 
+   /* else print_job_end will do it for us */ 
return (ret);


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



Re: [Samba] Samba Log file format

2002-09-18 Thread jra

On Wed, Sep 18, 2002 at 11:42:08AM -0700, Carl B. Constantine wrote:
 The samba log files leave something to be desired in both format and
 management. I'd like to propose a change if I could.
 
 Format:
 
 Previously, a log entry is cut with date and timestamp and action on a
 SINGLE line. Now the date and timestamp is on a separate line from the
 information that you'd look for in a log file (machine name, ip address,
 connection status for service, etc.) This is really awkward when you are
 searching log files for information. You can't use standard tools very
 easily. I'm using a custom perl script myself.
 
 The logs in 2.2.* are not very UNIX like at all. They seem more geared
 to the programmer, and not the admin. A Programmer version of a log is
 fine to send back to the samba team for debugging, but the admin should
 be kept in mind when writting log output.
 
 
 Management:
 
 It would be nice if samba gave up management of the logs to syslog and
 the like. syslog could then control WHEN logs should roll over, where
 they are stored, and so forth. Samaba should not be controlling this at
 all.
 
 
 It would also be nice to have the flexability to have samba produce a
 single log for all machines connecting to the samba server instead of or
 as well as separate log.netbiosname files.

Look at the parameter lp_admin_log() and the calls to sys_adminlog().
These should be expanded to be the kind of log you want. The Samba log
files look like programmer info because they *are* programmer info.
We need them when tracking down bugs.

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



[Samba] CSC-policy and offline files

2002-09-18 Thread Lydia Scharon

I have not been able to find anything similar to this in the archives...

So, can anyone help me out with the csc-policy?  What version of SAMBA was
this introduced in?  I am currently running 2.2.3 and am finding that some
of my XP users as well as one W2K user are running out of disk space on
their machines - their client side caches are filling up.  The folders that
they are syncing to on the server are small compared to how much of their
cache is being eaten up (compare 500MB to 10's of GB's!).

Anyone see anything similar to this?  

Thanks!
Lydia Scharon
The Zipatoni Co.

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



[Samba] Help!

2002-09-18 Thread eu2

Hello samba.org!

  I'm working with Samba 2.0 and got a problem. I'm using ipchains as
  firewall, and cannot set valid settings. Trying open ports 139 udp,
  137 tcp and 138 tcp doesn't work, users cannot access samba servises
  from other ethernet. It's not a bug, but following documentation
  does not contain an answer. Could You help?

-- 
Best regards,
 eu2 [EMAIL PROTECTED]

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



RE: [Samba] Dependecies problem

2002-09-18 Thread Aaron Axelsen

I got this one .. Installed .. All is good so your help was helpful

---
Aaron Axelsen
AIM: AAAK2
Email: [EMAIL PROTECTED]
URL: www.amadmax.com
 
It said, Insert disk #3, but only two will fit!
One picture is worth 128K words.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of Nikolas Hagelstein
Sent: Wednesday, September 18, 2002 1:30 PM
To: [EMAIL PROTECTED]
Subject: Re: [Samba] Dependecies problem


hi,

that is what i said before ...
this binaeries are linked against glibc 2.3...
use the ones at
http://de.samba.org/samba/ftp/Binary_Packages/redhat/RPMS/
or build them from the source

bye,
niko

-- 
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] Mailing List

2002-09-18 Thread Aaron Axelsen

Can someone please tell me why I receive 2 of every message on the list?

---
Aaron Axelsen
AIM: AAAK2
Email: [EMAIL PROTECTED]
URL: www.amadmax.com
 
It said, Insert disk #3, but only two will fit!
One picture is worth 128K words.


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



Re: [Samba] pam_winbind

2002-09-18 Thread Andrew Bartlett

cj wrote:
 
 Would any one know what these errors are and how they are created?
 I am using pam_winbind in my system-auth file.
 But when I try and telnet onto the machine, I get this error message in the
 log.
 
 Sep 18 16:41:47 yamin pam_winbind[1160]: request failed, PAM error was 4, NT
 error was NT_STATUS_INVALID_PARAMETER
 Sep 18 16:41:47 yamin pam_winbind[1160]: internal module error (retval = 4,
 user = `cj'

You must use 'domain\username' with winbind in 2.2.  Samba HEAD supports
'winbind use default domain', invoking code that works around this
restriction.  (While the option is present in 2.2, it has known flaws
and is not supported).

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] XP + SP1 + roaming profiles, working at our site

2002-09-18 Thread Andrew Bartlett

Bradley W. Langhorst wrote:
 
 On Mon, 2002-09-16 at 02:48, Marc Berenschot wrote:
 
  Can someone help a beleagured (windows ignorant) unix nerd who is
  forced
  to support a couple of odd windows machines out? Where do I find this
  on a windows 2000 professional machine? Alternatively, if this just
  twiddles some reg key, can someone tell me what to do via regedit to
  acheive the same thing?
 
 
  You do not need this on windows 2000. To get roaming profiles working
  there you need to add nt acl support = yes to the profile share.
  This is only for Win XP with SP1, since Microsoft made some changes
  there (asking for a SID when opening a profile).
 I think you may have this backwards...
 
 If I understand this correctly there are two possibilities
 Samba domain controller
 nt acl support must be yes if you are using XPsp1.
 nt acl support can be yes if you are using XPrelease
 nt acl support can be yes if you are using win2kSP2
 No samba domain controller
If not using winbind:
 nt acl support = no for win2ksp2 and XPrelease
 for XPsp1 you must apply the group policy change to log on.
If using winbind:
nt acl support can be yes for all known versions, no reason to turn it
off.

Andrew Bartlett


-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] Error log?

2002-09-18 Thread Jason Naughton


 Jason,
   You can set a parameter in the smb.conf `max log size = ` that will
 ease at least it consuming all of /var partition. I think. man smb.conf
 to make sure that is the right syntax. Good luck.

 Cheers

Hi Tony,

The odd thing is that it's set to 5000...  But it seems not to stop
generating a whole lot more...

-- 
  Cheers
 Jason

Jason Naughton,  Lead Engineer,
Department of Electrical Engineering,   Ryerson University
87 Gerrard St. E., Toronto, Ontario, M5B 2K3
Office:  (416)-979-5000 x7168   Fax:  (416)-979-5280



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



[Samba] disconnection of network drives in xp and 2000

2002-09-18 Thread Dominic Deferia


Can someone please verify if this is the solution for disconnection of
network drives
for xp and 2000 after a period of time as seen by a red mark in the logical
drive letters ? I tried this but still it does not work.

Locate and then click the following key in the registry:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanworkstation\param
eters
 On the Edit menu, click Add Value, and then add the following registry
value:
 Value name: EnableDownLevelLogOff
 Data type: REG_DWORD
 Radix: Hexadecimal
 Value data: 1
 Quit Registry Editor.


Sincerely,

Dominic Y. Deferia


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



Re: [Samba] Mailing List

2002-09-18 Thread John Benedetto

Are you sure you are not receiving two of every message that are simply 
responses to your own posting to the list?

Most mail programs will send a reply to both the original poster AND the 
list address.  My program did that, too, so you should be seeing my message 
twice as well!  It is normal behavior.

- john

--On Wednesday, September 18, 2002 3:52 PM -0500 Aaron Axelsen 
[EMAIL PROTECTED] wrote:

 Can someone please tell me why I receive 2 of every message on the list?

 ---
 Aaron Axelsen
 AIM: AAAK2
 Email: [EMAIL PROTECTED]
 URL: www.amadmax.com

 It said, Insert disk #3, but only two will fit!
 One picture is worth 128K words.


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



 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  John Thomas Benedetto, Analyst/Programmer   [EMAIL PROTECTED]
  UNM General Library   (505)277-7202/277-8945
  Library IT Department   http://eLibrary.unm.edu/
  University of New Mexicohttp://www.unm.edu/~lithelp/
  Albuquerque, NM  87131-1496
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Printing problem - Spooled files won't print

2002-09-18 Thread P-O Yliniemi

Hi,

I have some trouble getting files printed on my Solaris 8 machine running
Samba 2.0.5.

The client is a winxp installed laptop, the printer is configured as a
postscript printer (Minolta PagePro 12 PS), although it is a PCL printer
(Minolta PagePro 6).

From the client side, everything works as it is supposed to, and when I check
in the selected spool directory for Samba printers, I find the spooled printouts:

solarisbox-1:[/var/spool/samba]# ls -l
total 176
-rwxr--r--   1 sambaother  28851 Sep 19 03:23 SAMBA.2Wa40i
-rwxr--r--   1 sambaother  60073 Sep 19 03:22 SAMBA.9HayZi
solarisbox-1:[/var/spool/samba]#

I can print the files manually using the command

/usr/bin/lp -c -o nobanner -T postscript -d pagepro6 SAMBA.2Wa40i

or, as I have found somewhere (this is in my smb.conf)
/usr/bin/nawk '/^%!PS/, /^%%EOF/' SAMBA.2Wa40i | /usr/bin/lp -c -o nobanner -T 
postscript -d pagepro6

.. the only problem is that it seems like the print command is never executed
once a print request arrives.

The complete contents of my smb.conf (that has to do with printing) follows:

[global]
debug level = 2
...
log file=/var/log/samba.%m
...
printing = bsd
printcap name = /etc/printers.conf
load printers = yes
...
...disk shares...
[printers]
comment = All printers
path = /var/spool/samba
browseable = no
printable = yes
public = yes
writable = no
create mode = 0700
[pagepro6]
path = /var/spool/samba
printer name = pagepro6
writable = yes
public = yes
printable = yes
print command = /usr/bin/nawk '/^%!PS/, /^%%EOF/' %s | /usr/bin/lp -c -o 
nobanner -T postscript -d %p; rm -f %s


Any suggestion besides sett ing up a cron job to print everything in
the spool directory every minute or so, but this isn't the optimal
solution to the problem ?

/PeO


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



Re: [Samba] Printing problem - Spooled files won't print

2002-09-18 Thread Joel Hammer

Is there a reason you don't use the simpler command in your smb.conf?
Could this be a permissions problem? (nawk won't work for your smb user).
What do you see in your smb logs?
I forget my nawk, but, it seems that nawk is just deleting any extraneous
lines in your postscript print files. Is that necessary?

Joel



On Thu, Sep 19, 2002 at 03:51:16AM +0200, P-O Yliniemi wrote:
 Hi,
 
 I have some trouble getting files printed on my Solaris 8 machine running
 Samba 2.0.5.
 
 The client is a winxp installed laptop, the printer is configured as a
 postscript printer (Minolta PagePro 12 PS), although it is a PCL printer
 (Minolta PagePro 6).
 
 From the client side, everything works as it is supposed to, and when I check
 in the selected spool directory for Samba printers, I find the spooled printouts:
 
 solarisbox-1:[/var/spool/samba]# ls -l
 total 176
 -rwxr--r--   1 sambaother  28851 Sep 19 03:23 SAMBA.2Wa40i
 -rwxr--r--   1 sambaother  60073 Sep 19 03:22 SAMBA.9HayZi
 solarisbox-1:[/var/spool/samba]#
 
 I can print the files manually using the command
 
 /usr/bin/lp -c -o nobanner -T postscript -d pagepro6 SAMBA.2Wa40i
 
 or, as I have found somewhere (this is in my smb.conf)
 /usr/bin/nawk '/^%!PS/, /^%%EOF/' SAMBA.2Wa40i | /usr/bin/lp -c -o nobanner -T 
postscript -d pagepro6
 
 .. the only problem is that it seems like the print command is never executed
 once a print request arrives.
 
 The complete contents of my smb.conf (that has to do with printing) follows:
 
 [global]
 debug level = 2
 ...
 log file=/var/log/samba.%m
 ...
 printing = bsd
 printcap name = /etc/printers.conf
 load printers = yes
 ...
 ...disk shares...
 [printers]
 comment = All printers
 path = /var/spool/samba
 browseable = no
 printable = yes
 public = yes
 writable = no
 create mode = 0700
 [pagepro6]
 path = /var/spool/samba
 printer name = pagepro6
 writable = yes
 public = yes
 printable = yes
 print command = /usr/bin/nawk '/^%!PS/, /^%%EOF/' %s | /usr/bin/lp -c -o 
nobanner -T postscript -d %p; rm -f %s
 
 
 Any suggestion besides sett ing up a cron job to print everything in
 the spool directory every minute or so, but this isn't the optimal
 solution to the problem ?
 
 /PeO
 
 
 -- 
 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] Request For Help With Samba Connectivity

2002-09-18 Thread Shaun Bramley



Hello,

My name is Shaun Bramley and I am currently having 
trouble accessing my Samba share.

System 1: Red Hat 7.3 
Samba version = whatever is shipped with 
RH7.3

System 2: Windows 2000 SP2

The Problem:
I am currently unable to access my Samba shares 
with my windows 2000 machine. Currently I can view the RH7.3 machine on 
teh network through 'Network Neighbourhood'. However when I select the 
RH7.3 machine, I am prompted for a username and password. It appears as 
though any valid Linux and windows username/password combination I use never 
grant me access to the system. The prompt returns with the message 
"Incorrect password or unknown username for \\Linux" (Linux is the name of my 
linux box.

Valid Windows 2000 users:
- shaunb
- administrator
- guest

Valid Linux users
- Shaun
- Shea
- Markus
- root

Copy of my smb.conf file:
# This is the main Samba configuration file. You 
should read the# smb.conf(5) manual page in order to understand the options 
listed# here. Samba has a huge number of configurable options (perhaps 
too# many!) most of which are not shown in this example## Any line 
which starts with a ; (semi-colon) or a # (hash) # is a comment and is 
ignored. In this example we will use a ## for commentry and a ; for parts of 
the config file that you# may wish to enable## NOTE: Whenever you 
modify this file you should run the command "testparm"# to check that you 
have not made any basic syntactic errors. ##=== 
Global Settings =[global]

# workgroup = NT-Domain-Name or 
Workgroup-Name workgroup = WORKGROUP

# server string is the equivalent of the NT 
Description field server string = Samba Server

# This option is important for security. It allows 
you to restrict# connections to machines which are on your local network. 
The# following example restricts access to two C class networks and# the 
"loopback" interface. For more examples of the syntax see# the smb.conf man 
page; hosts allow = 192.168.1. 192.168.2. 127.

# if you want to automatically load your printer 
list rather# than setting them up individually then you'll need 
this; printcap name = /etc/printcap; load 
printers = yes

# It should not be necessary to spell out the print 
system type unless# yours is non-standard. Currently supported print systems 
include:# bsd, sysv, plp, lprng, aix, hpux, qnx; printing = 
lprng

# Uncomment this if you want a guest account, you 
must add this to /etc/passwd# otherwise the user "nobody" is used 
guest account = pcguest

# this tells Samba to use a separate log file for 
each machine# that connects log file = 
/var/log/samba/%m.log

# Put a capping on the size of the log files (in 
Kb). max log size = 10

# Security mode. Most people will want user level 
security. See# security_level.txt for details. security = 
user

# Use password server option only with security = 
server# The argument list may include:# password server = 
My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]# or to auto-locate the domain 
controller/s# password server = *; password 
server = NT-Server-Name

# Password Level allows matching of _n_ characters 
of the password for# all combinations of upper and lower case.; 
password level = 8; username level = 8

# You may wish to use password encryption. Please 
read# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba 
documentation.# Do not enable this option unless you have read those 
documents encrypt passwords = yes smb passwd 
file = /etc/samba/smbpasswd

# The following is needed to keep smbclient from 
spouting spurious errors# when Samba is built with support for 
SSL.; ssl CA certFile = 
/usr/share/ssl/certs/ca-bundle.crt

# The following are needed to allow password 
changing from Windows to# update the Linux sytsem password also.# NOTE: 
Use these with 'encrypt passwords' and 'smb passwd file' above.# NOTE2: You 
do NOT need these to allow workstations to change 
only# the encrypted SMB passwords. 
They allow the Unix password# to 
be kept in sync with the SMB password.; unix password sync = 
Yes; passwd program = /usr/bin/passwd %u; passwd 
chat = *New*password* %n\n *Retype*new*password* %n\n 
*passwd:*all*authentication*tokens*updated*successfully*

# You can use PAM's password change control flag 
for Samba. If# enabled, then PAM will be used for password changes when 
requested# by an SMB client instead of the program listed in passwd 
program.# It should be possible to enable this without changing your 
passwd# chat parameter for most setups.

; pam password change = 
yes

# Unix users can map to different SMB User 
names username map = /etc/samba/smbusers

# Using the following line enables you to customise 
your configuration# on a per machine basis. The %m gets replaced with the 
netbios name# of the machine that is connecting; include = 
/etc/samba/smb.conf.%m

# This parameter will control whether or not Samba 
should obey PAM's# account and session management directives. The default 

Re: [Samba] Request For Help With Samba Connectivity

2002-09-18 Thread John Benedetto

When you post your smb.conf, it is nice to DELETE ANY COMMENTS, to save on 
bandwith...

That said, you don't say that you have added the users to your smbpassword 
file.  Do a man smbpasswd for more details.

Oh, and it can be confusing, but there are two things we're talking about 
here... there is the smbpasswd command, which puts entries into the 
smbpasswd file.  There are a number of useful docs that shipped with your 
Samba distro; you may want to check them out if you have not already done 
so...

- john

--On Wednesday, September 18, 2002 10:37 PM -0400 Shaun Bramley 
[EMAIL PROTECTED] wrote:


 Hello,

 My name is Shaun Bramley and I am currently having trouble accessing my
 Samba share.
 System 1:  Red Hat 7.3
 Samba version = whatever is shipped with RH7.3

 System 2:  Windows 2000 SP2

 The Problem:
 I am currently unable to access my Samba shares with my windows 2000
 machine.  Currently I can view the RH7.3 machine on teh network through
 'Network Neighbourhood'.  However when I select the RH7.3 machine, I am
 prompted for a username and password.  It appears as though any valid
 Linux and windows username/password combination I use never grant me
 access to the system.  The prompt returns with the message Incorrect
 password or unknown username for \\Linux (Linux is the name of my linux
 box.
 Valid Windows 2000 users:
 - shaunb
 - administrator
 - guest

 Valid Linux users
 - Shaun
 - Shea
 - Markus
 - root


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



Re: [Samba] Request For Help With Samba Connectivity

2002-09-18 Thread Michael Heironimus

It's generally unnecessary to set the guest account unless you have a
good reason. Normally the default of nobody is fine, and if you
specify the guest account you'll have to create it.

On Wed, Sep 18, 2002 at 08:59:36PM -0600, John Benedetto wrote:
 When you post your smb.conf, it is nice to DELETE ANY COMMENTS, to save on 
 bandwith...

You'll also make more friends on mailing lists if you configure your
mail client to send plain text (no enormous HTML attachment) and to wrap
lines in a conventional manner (usually around 72 columns).

-- 
Michael Heironimus



msg04551/pgp0.pgp
Description: PGP signature


[Samba] SAMBA and 'net send user'

2002-09-18 Thread Greg Vickers

Hi all,
I was wondering if there is a method under Samba by which you can send a 
message to a user in a domain and have that message appear on their 
desktop, no matter which machine that user is logged in to?

TIA,

=
Greg Vickers
Computer Systems Officer
Student Support and Systems
Teaching and Learning Support Systems, QUT
Kelvin Grove Campus, CRICOS No 00213J

Ph: 07 3864 8276 Fax: 07 3864 5425
Mob: 0416 001 674 SD: x6147

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



[Samba] Printing to Unix Printer from Win2K access denied

2002-09-18 Thread Terrence Martin

I am trying to set up a samba printer from windows to print to a Unix printer without
much success.
The printer is an Okidata 410e/PS connected to a Linux system (RedHat 7.3) via a
parallel cable. The server is RH7.3 running samba 2.2.3a.
The printer is working from the local Unix system (lpd) as well as from another linux
workstation. ie I can print from mozilla on my linux workstation to the printer on my
Unix server. I am just using Unix printing in this case.
In windows I can browse to the printer Okidata as well as my other shares. I can add
the driver for the printer in win2k (I am not storing the driver on the samba server, 
it
is installed on the client). However in the printer browser in Windows 2K all I get is
an access denied, unable to connect message.
Attempts to print to the printer from within Win2K result in nothing being queued in 
the
unix lpd queue and no additional error messages in Win2K. There was nothing obvious in
the
I am letting samba grab the printer out of the /etc/printcap file.

I have read references to making sure your samba spool directory has the correct perms,
and mine is word writable.
drwxrwxrwt2 root root 4096 Sep 18 21:59 /var/spool/samba//

Any ideas? Trouble shooting suggestions welcome. :)

Anything I should check? Permissions etc?

Thanks in advance.

Terrence


-- 



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



RE: [Samba] pam_winbind

2002-09-18 Thread cj

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 19 September 2002 7:49 AM
To: [EMAIL PROTECTED]
Cc: Samba List (E-mail)
Subject: Re: [Samba] pam_winbind


cj wrote:

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

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

You must use 'domain\username' with winbind in 2.2.
Where must I use 'domain\username'?
When I logon? or is there another spot I use 'domain\username'
I have added the appropiate winbind settings in the smb.con file,


Thanks

Samba HEAD supports 'winbind use default domain', invoking code that works
around this
restriction.  (While the option is present in 2.2, it has known flaws
and is not supported).

Andrew Bartlett

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

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



[PATCH] NTLMSSP DNS domain name

2002-09-18 Thread Stefan (metze) Metzmacher

Hi Andrew,

I found out something strange...
If we have a realm in smb.conf, it is send as DNS domain name in NTLMSSP.
This causes XP (and I think w2k too) to think our samba is an ADS DC and 
try to find it via DNS and other ADS stuff later.
The domain join works fine but, if someone try to login the domain is 
unavailable.
It all works fine, if 'realm = ' is emty at domain join time.
I would preferr that we make it depend on lp_security() == SEC_ADS if we 
should send lp_realm() or  as DNS Domain.

This patch should solve this problem.


metze
-
Stefan metze Metzmacher [EMAIL PROTECTED]

diff -Npur --exclude=CVS --exclude=*.bak --exclude=*.o --exclude=*.po --exclude=.#* 
HEAD/source/smbd/sesssetup.c HEAD-fix/source/smbd/sesssetup.c
--- HEAD/source/smbd/sesssetup.cSat Sep  7 18:02:02 2002
+++ HEAD-fix/source/smbd/sesssetup.cWed Sep 18 09:53:23 2002
@@ -322,12 +322,12 @@ static int reply_spnego_negotiate(connec
  U,
  lp_workgroup());
 
-   fstrcpy(dnsdomname, lp_realm());
+   fstrcpy(dnsdomname, (SEC_ADS == lp_security())?lp_realm():);
strlower(dnsdomname);
 
fstrcpy(dnsname, global_myname);
fstrcat(dnsname, .);
-   fstrcat(dnsname, lp_realm());
+   fstrcat(dnsname, dnsdomname);
strlower(dnsname);
 
msrpc_gen(struct_blob, a,



Patch for Samba 2.2 -- fixes NIS auto.home problem

2002-09-18 Thread Jon. Hallett

Hi,

Attached is a patch for SAMBA_2_2 that fixes a problem that I think 
appeared in Samba 2.2.2.

The problem is with the user home directory existence check in the 
lp_add_home function in param/loadparm.c, and it stops users without proper 
passwd entries from be able to connect to Samba.

(The background to this is that our Samba servers only have stub passwd 
entries for non-administrators. As a result, the home directory existence 
check will always fail, despite the fact that our configuration later 
assigns each user a valid directory using path = %p and the NIS auto.home 
feature.)

Jon.



loadparm.c.patch
Description: Binary data


logon problem

2002-09-18 Thread Shane Tapper

Im desperate.  I have set the appropriate path for a logon script and
assured the .cmd file is located there.  It however does not run at all.
The file itself can be executed successfully on a W2k machine.  It does not
appear samba is even attempting to run it.  Any suggestions?
Troubleshooting tips?

Shane






Re: logon problem

2002-09-18 Thread Simo Sorce

Samba never runs scripts!!

From my memory I remember that you have to teel win2k you want to run a
sript at startup, I think you can do that modifying the user profile.

Simo.

On Wed, 2002-09-18 at 16:13, Shane Tapper wrote:
 Im desperate.  I have set the appropriate path for a logon script and
 assured the .cmd file is located there.  It however does not run at all.
 The file itself can be executed successfully on a W2k machine.  It does not
 appear samba is even attempting to run it.  Any suggestions?
 Troubleshooting tips?
 
 Shane
 
 
-- 
Simo Sorce - [EMAIL PROTECTED]
Xsec s.r.l.
via Durando 10 Ed. G - 20158 - Milano
tel. +39 02 2399 7130 - fax: +39 02 700 442 399



signature.asc
Description: This is a digitally signed message part


RE: rpcclient/samlogon in Samba 3.0alpha9

2002-09-18 Thread Vijay Kota








Pushing a 0x006B006B just before the Neg_flags in the Netlogon
Authenticate2 request fixed this for me.



Here are the diffs
(w.r.t 3.0 alpha19 *not*
9) in case anyone is interested:



diff include/rpc_netlogon.h include/rpc_netlogon.my

359a360

 uint32 magic; 



diff rpc_parse/parse_net.c rpc_parse/parse_net.my

678a679

  q_a-magic = 0x006b006b;

710c711,712

  ps-align = old_align;

---

  if(!prs_uint32(auth2_magic, ps,
depth, q_a-magic))

  return
False;



Vijay





-Original Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Vijay Kota
Sent: Monday, September 16, 2002 10:58 AM
To:
[EMAIL PROTECTED]
Subject: RE: rpcclient/samlogon in
Samba 3.0alpha9



I tried this with samba
3.0 alpha 19 as well  with the same results. Wouldnt this cause a
problem in a network where there are Win2K clients as well as NT4 clients?
Everybody would be forced to use NTLM then.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Vijay Kota
Sent: Friday, September 13, 2002 1:19 PM
To:
[EMAIL PROTECTED]
Subject: rpcclient/samlogon in
Samba 3.0alpha9



Hi,



I am seeing a strange problem with
samba 3.0 alpha9. I joined my Linux box to a Win2K realm. After this, I used
rpcclient to do a samlogon. The samlogon was successful but after this, the
servicePrincipalName attribute for the samba-server in the Active
Directory was gone. Heres what I tried:



 net ads
join U administrator

 ldapsearch
Y gssapi X u:administrator samaccountname=SAMBA3$
serviceprincipalname

 
output was HOST/samba3

 rpcclient
testpdc U administrator (and then samlogon foo bar at the
rpcclient prompt)

 ldapsearch
Y gssapi X u:administrator samaccountname=SAMBA3$
serviceprincipalname

  no
output



Any ideas as to why this
doesnt work?



Regards,

Vijay



== My smb.conf file ==



[globals]

 netbios name = SAMBA3

 server string = Running samba 3.0-alpha9

 workgroup = TESTDOM

 security = domain

 realm = REALM.COM

 ads server = testpdc

 interfaces = 10.1.1.135 127.0.0.1

 debuglevel = 10

 encrypt passwords = yes

 password server = testpdc








Re: logon problem

2002-09-18 Thread Jay Ts

On Wed, Sep 18, 2002 at 09:13:02AM -0500, Shane Tapper wrote:
 Im desperate.  I have set the appropriate path for a logon script and
 assured the .cmd file is located there.  It however does not run at all.
 The file itself can be executed successfully on a W2k machine.  It does not
 appear samba is even attempting to run it.  Any suggestions?
 Troubleshooting tips?

First, the .cmd extension will only work for Windows NT/2000/XP clients.
If you have Windows 95/98/Me clients, use a .bat extension, which works
for all of them.

Next, set up your smb.conf file with the following parameters:

[global]
# logon.bat is the name of the logon script:
logon script = logon.bat

[netlogon]
# User your own directory for path
path = /usr/local/samba/lib/netlogon
writable = no
browsable = no

Finally, you need to make sure that the logon script is located
in the directory you are using for [netlogon].  In this case, it
would be /usr/local/samba/lib/netlogon/logon.bat.

Make sure that the [netlogon] directory exists, that both the
directory and logon script are readable, etc.

When the Windows 2000 system logs onto the domain, you should
see a message on the screen saying that it is executing the
logon script.  You may see a Command Prompt window appear, and
maybe turn into an button on the taskbar.  These will disappear
when the script finishes.

Jay Ts
-- 
This electronic transmission and any files attached to it are strictly
confidential and are not intended for the addressee. If you are
the intended addressee, you must not disclose, copy or take any action
in reliance of this transmission. If you have received this
transmission in error, please notify us and delete the same.
Thank you.



broken link

2002-09-18 Thread Robert Stanford

On page http://au1.samba.org/samba/whatsnew/


* (2nd May, 2002) Samba 2.2.4 released

  The Samba Team has released Samba 2.2.4

  See the WHATSNEW for a list of bug fixes and changes.

WHATSNEW points to
http://au1.samba.org/samba/whatsnew/whatsnew/samba-2.2.4.html

instead of
http://au1.samba.org/samba/whatsnew/samba-2.2.4.html

Kindest Regards
Robert Stanford






Re: unknown RPC opcodes during join+logon

2002-09-18 Thread Luke Howard


The return code always follows the last top-level [out] value, but there
is an additional [out] ULONG in NetrServerAuthenticate3.

The algorithm for calculating credentials is the same.

Actually, I'm no longer sure this is the case. It seems that the
algorithm for NetrServerAuthenticate3 is the same if the client
thinks the domain is an NT4 domain (in which case it talks to it
over SMB), but it looks like the algorithm is different in a 
Windows 2000 domain (where the RPC is made over ncacn_ip_tcp),
as unlikely as this seems (given they are the same RPC). Note
that the flags are ostensibly irrelevant, because the client
sends the authenticator before it receives the flags from the
server.

-- Luke

--
Luke Howard | PADL Software Pty Ltd | www.padl.com



Samba VMS 2.2.4 : some new fixes

2002-09-18 Thread jean-yves.collot

There is a new kit for Samba/VMS version 2.2.4, as usual at
www.pi-net.dyndns.org/anonymous/jyc/
The new files are dated 18-sep-2002.

This new kit fixes a number of things that were told to me (mostly thru this
list).

First, I included the fixes that Mr George Watson was kind enough to send to
me. They deal with starting SWAT, with SMBCLIENT, and a minor correction in
INSTALL.COM. More information can be found from his messages in this list a
couple of days ago.

The problem given by Mr Aleksander Sinigoj was far more tricky. He told us
this :
 There is a bug when rewriting a file which is truncated.
 The EOF position on a OpenVMS file is not
 decreased. Try a simple test:
 - Create a text file with notepad and fill in some records
 - Save the file on a VMS Samba served path
 - delete some records or characters in notepad
 - save the file again
 - reopen the file and position to EOF, there are some null bytes
 corresponding to the size of the first save

This is perfectly true. The reason is that the ftruncate() function of the
DECC library does not work properly. It seems to, but at fclose() time, the
file goes back to its previous size !!! I had to truncate the file myself
using direct calls to RMS...
Anyway, even if This bug has been in Samba VMS forever, as Mr Michael D.
Ober remarks, it's now gone (or so I hope).
This is the second problem I have with ftruncate() : it was also ftruncate()
that made impossible to copy big files (80 Mb or more) to a Samba VMS
server.

Another problem is corrected in this release. It deals with editing and
modifying variable-record files with Notepad or other tools. I don't know if
you tried it, but it did not work. You could visualize the file, but you
could not properly save it after having made changes. The new version now
deals with this correctly, just like Pathworks do : when you save the
modified file, its record format is changed to stream. I guess that correct
processing of variable-record files is another bug that was in Samba VMS
forever...

Thanks again to all of you testing and helping.






CVS update: sambaweb

2002-09-18 Thread jerry


Date:   Wed Sep 18 12:44:41 2002
Author: jerry

Update of /data/cvs/sambaweb
In directory dp.samba.org:/tmp/cvs-serv12391

Modified Files:
books.html 
Log Message:
correct error in publisher for the latest Open Source book.


Revisions:
books.html  1.36 = 1.37
http://www.samba.org/cgi-bin/cvsweb/sambaweb/books.html?r1=1.36r2=1.37



CVS update: samba/source/bin

2002-09-18 Thread jelmer


Date:   Wed Sep 18 13:16:07 2002
Author: jelmer

Update of /home/cvs/samba/source/bin
In directory dp.samba.org:/tmp/cvs-serv15406

Modified Files:
.cvsignore 
Log Message:

samtest and vfstest binaries shouldn't go into CVS...


Revisions:
.cvsignore  1.27 = 1.28
http://www.samba.org/cgi-bin/cvsweb/samba/source/bin/.cvsignore?r1=1.27r2=1.28



CVS update: sambaweb/devel

2002-09-18 Thread jelmer


Date:   Wed Sep 18 14:09:13 2002
Author: jelmer

Update of /home/cvs/sambaweb/devel
In directory dp.samba.org:/tmp/cvs-serv19702

Added Files:
Samba-Developers-Guide.html index.html 
Log Message:

Add initial pages for devel.samba.org - only contains links to 
other places so far...


Revisions:
Samba-Developers-Guide.html NONE = 1.1

http://www.samba.org/cgi-bin/cvsweb/sambaweb/devel/Samba-Developers-Guide.html?rev=1.1
index.html  NONE = 1.1
http://www.samba.org/cgi-bin/cvsweb/sambaweb/devel/index.html?rev=1.1



CVS update: sambaweb/GUI

2002-09-18 Thread jelmer


Date:   Wed Sep 18 17:53:04 2002
Author: jelmer

Update of /home/cvs/sambaweb/GUI
In directory dp.samba.org:/tmp/cvs-serv10044

Modified Files:
index.html 
Log Message:

Comment out LiveServer SMB Browser and SambaSentinel (both obsolete  bad links)
Add gnosamba, gnomba, komba2, jags, tksmb, konqueror


Revisions:
index.html  1.19 = 1.20
http://www.samba.org/cgi-bin/cvsweb/sambaweb/GUI/index.html?r1=1.19r2=1.20



CVS update: samba/source/printing

2002-09-18 Thread jerry


Date:   Wed Sep 18 18:47:37 2002
Author: jerry

Update of /data/cvs/samba/source/printing
In directory dp.samba.org:/tmp/cvs-serv16722/printing

Modified Files:
  Tag: APPLIANCE_HEAD
nt_printing.c printfsp.c printing.c 
Log Message:
save the devmode in the OpenPrinter() call so we can associate it
with a print job later on.  Need to display the correct job properties
on a Windows NT+ client.  Fix for CR #26.



Revisions:
nt_printing.c   1.83.2.104 = 1.83.2.105

http://www.samba.org/cgi-bin/cvsweb/samba/source/printing/nt_printing.c?r1=1.83.2.104r2=1.83.2.105
printfsp.c  1.5.2.7 = 1.5.2.8

http://www.samba.org/cgi-bin/cvsweb/samba/source/printing/printfsp.c?r1=1.5.2.7r2=1.5.2.8
printing.c  1.66.2.80 = 1.66.2.81

http://www.samba.org/cgi-bin/cvsweb/samba/source/printing/printing.c?r1=1.66.2.80r2=1.66.2.81



CVS update: samba/source/lib

2002-09-18 Thread jra


Date:   Wed Sep 18 19:01:13 2002
Author: jra

Update of /data/cvs/samba/source/lib
In directory dp.samba.org:/tmp/cvs-serv18630/lib

Modified Files:
  Tag: APPLIANCE_HEAD
util_str.c 
Log Message:
Tidyups  add const.
Jeremy.


Revisions:
util_str.c  1.19.2.11 = 1.19.2.12

http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/util_str.c?r1=1.19.2.11r2=1.19.2.12



CVS update: samba/source/rpc_server

2002-09-18 Thread jerry


Date:   Wed Sep 18 19:06:58 2002
Author: jerry

Update of /data/cvs/samba/source/rpc_server
In directory dp.samba.org:/tmp/cvs-serv18968/rpc_server

Modified Files:
srv_spoolss_nt.c 
Log Message:
printjob merge from APP_HEAD regarding device modes


Revisions:
srv_spoolss_nt.c1.344 = 1.345

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_server/srv_spoolss_nt.c?r1=1.344r2=1.345



CVS update: samba/source/include

2002-09-18 Thread jra


Date:   Wed Sep 18 20:07:56 2002
Author: jra

Update of /data/cvs/samba/source/include
In directory dp.samba.org:/tmp/cvs-serv24789/include

Modified Files:
config.h.in 
Log Message:
HPUX sendfile is now detected correctly.
Jeremy.


Revisions:
config.h.in 1.183 = 1.184

http://www.samba.org/cgi-bin/cvsweb/samba/source/include/config.h.in?r1=1.183r2=1.184



CVS update: samba/source/lib

2002-09-18 Thread jra


Date:   Wed Sep 18 20:07:56 2002
Author: jra

Update of /data/cvs/samba/source/lib
In directory dp.samba.org:/tmp/cvs-serv24789/lib

Modified Files:
sendfile.c 
Log Message:
HPUX sendfile is now detected correctly.
Jeremy.


Revisions:
sendfile.c  1.8 = 1.9
http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/sendfile.c?r1=1.8r2=1.9



CVS update: samba/source/smbd

2002-09-18 Thread jra


Date:   Wed Sep 18 20:36:50 2002
Author: jra

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

Modified Files:
reply.c 
Log Message:
Added use sendfile per share option.
Jeremy.


Revisions:
reply.c 1.400 = 1.401
http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/reply.c?r1=1.400r2=1.401



CVS update: samba/source/param

2002-09-18 Thread jra


Date:   Wed Sep 18 20:36:50 2002
Author: jra

Update of /data/cvs/samba/source/param
In directory dp.samba.org:/tmp/cvs-serv27716/param

Modified Files:
loadparm.c 
Log Message:
Added use sendfile per share option.
Jeremy.


Revisions:
loadparm.c  1.447 = 1.448

http://www.samba.org/cgi-bin/cvsweb/samba/source/param/loadparm.c?r1=1.447r2=1.448



CVS update: samba/source/python

2002-09-18 Thread tpot


Date:   Thu Sep 19 00:14:01 2002
Author: tpot

Update of /data/cvs/samba/source/python
In directory dp.samba.org:/tmp/cvs-serv10749

Modified Files:
printerdata.py 
Log Message:
Implement printerdata_ex as Python dictionary.  Read only at the moment.


Revisions:
printerdata.py  1.2 = 1.3

http://www.samba.org/cgi-bin/cvsweb/samba/source/python/printerdata.py?r1=1.2r2=1.3



CVS update: samba/source/python

2002-09-18 Thread tpot


Date:   Thu Sep 19 05:29:14 2002
Author: tpot

Update of /data/cvs/samba/source/python
In directory dp.samba.org:/tmp/cvs-serv905/python

Modified Files:
py_spoolss_printerdata.c 
Log Message:
Fixed bug in keyword args for enumprinterdataex


Revisions:
py_spoolss_printerdata.c1.10 = 1.11

http://www.samba.org/cgi-bin/cvsweb/samba/source/python/py_spoolss_printerdata.c?r1=1.10r2=1.11



CVS update: samba/source/python

2002-09-18 Thread tpot


Date:   Thu Sep 19 05:39:03 2002
Author: tpot

Update of /data/cvs/samba/source/python
In directory dp.samba.org:/tmp/cvs-serv1612/python

Modified Files:
py_spoolss_printers_conv.c 
Log Message:
Bong!  The devmode could be NULL.  Don't crash if this is the case.


Revisions:
py_spoolss_printers_conv.c  1.9 = 1.10

http://www.samba.org/cgi-bin/cvsweb/samba/source/python/py_spoolss_printers_conv.c?r1=1.9r2=1.10