Re: Fw: Samba 3 Binaries

2004-02-11 Thread Volker . Lendecke
Hi!

On Wed, Feb 11, 2004 at 08:53:05AM +0200, Hannu Virtanen wrote:
 Now You have Samba 3.0.2, but no UNIX Samba 3 binaries. Are these binaries
 coming and when. Why do You not answer. I am interesting of SGI IRIX
 version.

The problem is that none of us uses IRIX on a daily basis, so we personally
don't have a strong enough need to create those packages.

When you have problems compiling it yourself that can be tracked down to bad
Samba code, you will definitely find help here or on the other mailing lists.
We always want to make sure that Samba compiles on as many platforms as
possible.

Volker Lendecke


pgp0.pgp
Description: PGP signature


Re: Fw: Samba 3 Binaries

2004-02-11 Thread Hannu Virtanen
Volker,
I feel this is, what i imagined, Samba is Linux software in the
future(version 3). My problem is, i do not have compilers, nor do i want to
learn all the compile options. I feel to base my samba use for binary
packages and think that it is not good development(Billy Gates loves things
like this) not to have binary packages(none after version 2). Have to ask
SGIs(somekind sponsor of samba.org) opinion.
Best regards
Hannu Virtanen
- Original Message - 
From: [EMAIL PROTECTED]
To: Hannu Virtanen [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, February 11, 2004 10:29 AM
Subject: Re: Fw: Samba 3 Binaries




Re: Fw: Samba 3 Binaries

2004-02-11 Thread Jeremy Allison
On Wed, Feb 11, 2004 at 09:29:07AM +0100, [EMAIL PROTECTED] wrote:
 
 The problem is that none of us uses IRIX on a daily basis, so we personally
 don't have a strong enough need to create those packages.

SGI create a Samba for IRIX product based on the main Samba code tree,
once it has passed their internal Q/A. Similar to what HP do with CIFS/9000.

Jeremy.


[Samba] Thank you for your comments!

2004-02-11 Thread SparkNotes.com
Thank you for writing to SparkNotes! Emails like yours have helped make
SparkNotes the most popular study guides on the planet.

With your input in mind, we constantly try to improve our website and our
books. We actually read all of your emails and pay attention to what you
tell us.

So, thanks for supporting SparkNotes!

The SparkNotes Team


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


Re: [Samba] Samba PDC 3.0.2 + Win 2K SP4

2004-02-11 Thread Collen
try running testparm -v
is it configured as server role: pdc or bdc ??

also, try the add machine script = script
for adding machines..

what password backend do you use (passwd??)

it a little bit vage..

-
Collen Blijenberg (Systeem/Netwerk Beheerder)

Montessori Lyceum 
Herman Jordan
Zeist


Tuesday, February 10, 2004, 9:48:43 PM, you wrote:

TFGF Hello there,

TFGF   I´m trying to configure my server to be a PDC for my LAN, but I´m having
TFGF troubles to join to domain.

TFGF   My smb.conf:

TFGF # Global parameters
TFGF [global]
TFGF   workgroup = SAOPAULO
TFGF   netbios aliases = SERVERSP
TFGF   server string = Servidor de Arquivos Sao Paulo(PDC) - Samba server %v
TFGF   hosts equiv = /etc/hosts
TFGF   smb passwd file = /etc/smbpasswd
TFGF   username map = /etc/samba/smbusers
TFGF   log level = 1
TFGF   log file = /var/log/samba/log.%m
TFGF   max log size = 100
TFGF   name resolve order = host wins bcast
TFGF   time server = Yes
TFGF   socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
TFGF   hostname lookups = Yes
TFGF   load printers = No
TFGF   printcap name = cups
TFGF   add user script = /usr/sbin/adduser -n -g w2k -c Estacao -d /dev/null -s
TFGF /bin/false %m$
TFGF   delete user script = /usr/sbin/userdel %m$ | /usr/sbin/smbpasswd -x %m$
TFGF   logon path = \\%L\profiles
TFGF   logon drive = Z:
TFGF   logon home = \\%L\profiles
TFGF   domain logons = Yes
TFGF   os level = 200
TFGF   domain master = Yes
TFGF   dns proxy = No
TFGF   wins support = Yes
TFGF   admin users = root
TFGF   hosts allow = 192.168.1., 127.

TFGF [netlogon]
TFGF   comment = Network Logon Service
TFGF   path = /home/netlogon
TFGF   read only = No
TFGF   create mask = 0777
TFGF   force create mode = 0777
TFGF   guest ok = Yes

TFGF [profiles]
TFGF   comment = %u
TFGF   path = /home/%u/profile
TFGF   read only = No
TFGF   create mask = 0777
TFGF   force create mode = 0770

TFGF [publico]
TFGF   comment = Arquivos pblicos
TFGF   path = /home/pulico
TFGF   valid users = @users
TFGF   write list = @users
TFGF   read only = No
TFGF   create mask = 0777
TFGF   force create mode = 0777
TFGF   force directory mode = 0777
TFGF   guest ok = Yes

TFGF   I already created the machine account(machine$) added to smbpasswd -a -m
TFGF machine$ but my W2k does not join to the domain.

TFGF   The W2K error:
TFGF The specified error occured when trying to join to domain SAOPAULO:
TFGF The specified domain does not exists or it cannot be contacted.

TFGF This message was translated from Portuguese, maybe have some divergences.

TFGF Thanks a lot,

TFGF Tercio F. Gaudencio Filho
TFGF Cosa Intermáquinas - São Paulo - Brasil




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


Re[2]: [Samba] Login time logging?

2004-02-11 Thread Collen
hmm.. i just made the utmp (who, last)

it show's the online users, but it doesn't
resolve the ip adress to netbios name.. ??

also (maybe same prob here), when i use /log.%m
the log files appear whith machine names (this is normal)
but it also generate logfile's with ip nr's (eg. log.192.168.2.50)

i use wins en bcast to resolve names..

is there still some bug where hostnames don't resolve correct ??
and how can i make utmp show netbios names ??
l8r
-
Collen Blijenberg (Systeem/Netwerk Beheerder)

Montessori Lyceum 
Herman Jordan
Zeist


Monday, February 2, 2004, 9:16:14 AM, you wrote:

RB I just tried using the netlogon share to see whether certain machines come
RB up on the net.

RB The problem is that only machines that are running Win9x appear, anything
RB more modern like XP clients do not seem to connect to netlogon? There is
RB no entry in the log at least.


RB On Sun, 1 Feb 2004 [EMAIL PROTECTED] wrote:

  On Fri, 2004-01-30 at 23:49, Remco Barendse wrote:
  Hi all!
 
  I need a setup that will log exactly when a user has logged in or out of
  samba.
 
  Preferably I would like to have a separate list per user, but this can
  also be achieved with grep.
 
  I found some solutions that rely on login script processing which is
  nice
  if your clients are running Win95/Win98 but for anything else it won't
  work.
 
  Anybody know of a solution?
 
  Many people enable utmp support on the server for this.
 
 I have in [netlogon] a
 root preexec = /usr/local/samba/bin/netlogon-preexec.sh %u %I %m %T
 shell-script which does:
 #!/bin/sh
 #Parameters:
 #1.: user, %u
 #2.: Client-IP, %I
 #3.: NetBIOS Machine name, %m
 #4/5.: Timestamp, %T
 #6.: Group, %g
 #4/5 (Timestamp) are no longer used
 /samba/netlogon/generateLoginBatch $1 $2 $3
 echo insert into logins (user, host, ip, date, time) values ('$1', '$3',
 '$2', curdate(), curtime() ); | /usr/bin/mysql -u mysqlUser sambaLogins
 
 Windows does (AFAIK) not have the concept of logout-scripts, so you'll
 never know when people log out. When I have spare time I sometimes
 generate a little machine-usage report from that data.
 
 




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


Re: [Samba] massive performance problems if transferring many small files

2004-02-11 Thread Steffen Kauka
   Are all/many of these files in the same directory?
  
  Yes, it's a flat directory hierarchy.
 
 Because unix is case sensitive, and windows is not, this is almost a
 pathalogical case for Samba.
 
 Samba must scan the *entire* directory, to see if there is a matching
 file (of potentially different case), so it can say 'sorry, file by that
 name already'.  Naturally, this isn't exactly fast as you approach 27000
 files...
 
   I would suggest that Samba 3.0 might handle this situation better, or
   in 2.2 set 'mangle method = hash2'.  
  
  I'll try it 
 
 The hash2 method is not only much faster, it has a much lower collision
 rate.  This helps if for some reason, the 8.3 names are being used.

 If you can put the files into a hierarchy, then things will be *much*
 better.  Or, for this copy only, you might want to turn 'case sensitive
 = yes' on in your smb.conf - however the implications of that are nasty
 for normal windows operations (and perhaps even the copy, depending on
 what you use).

You did suggest to try Samba 3 - I did it. My test environment consists of a
PC (Pentium 4 2.4 GHz CPU and 512 MB RAM), a SUN Blade 100 (500 MHz CPU, 256
MB RAM) and between both a switched network at a speed of 100 MBit/s. The
smb.conf is the same as I mentioned in my initially posting. Unfortunately I
couldn't recognize any significant difference between Samba 2.2.8a and Samba
3.0.1 :-( Now the good news! If I change the option 'preserve case' to 'yes'
the transfer rate increases by about 550% and that's really ok.  I don't expect
any problems in this case because the source data I want to transfer are
lower case at all and UNIX-like. What do you mean with nasty implications? At
the moment I can't imagine a case. 
 

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


[Samba] PAM_unix[171]: (samba) session closed for user taisan

2004-02-11 Thread taisan
Hi,
1 I got  message The specified network name is no longer available show on 
PC/Win2000 when copy  large files to ARM9 base NAS(with SAMBA 2.2.8 + Linux Kennel 
2.4.18)
file size is correct but content appended with all 0 in ARM9 NAS HDD.

2. At the console of ARM9 NAS show :
.
[EMAIL PROTECTED]:/var# .
smbd[170]: PAM _pam_init_handlers: no default config /etc/pam.d/other
PAM_unix[170]: (samba) session closed for user taisan
smbd[171]: PAM _pam_init_handlers: no default config /etc/pam.d/other
PAM_unix[171]: (samba) session closed for user taisan
PAM_unix[218]: (samba) session opened for user taisan by (uid=0)
PAM_unix[219]: (samba) session opened for user taisan by (uid=0)

[EMAIL PROTECTED]:/var# 


seems session closed  re open a new session make file copy incomplete (appended with 
0)
could help ?

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


[Samba] lp_servicenumber: couldn't find qstpfbl

2004-02-11 Thread stephane . purnelle
Hello,

Some questions :

- Can anyone could explain this message :

[2004/01/26 12:40:57, 7] param/loadparm.c:lp_servicenumber(4060)
  lp_servicenumber: couldn't find qstpfbl
[2004/01/26 12:40:57, 3] param/loadparm.c:lp_add_printer(2394)
  adding printer service qstpfbl


qstpfbl is a printer

- Why sometimes a windows 2000 server (SP4)  which is a member server of my
DOMAIN could not be available on network (Internal server error) ?
- When I restart smb daemon (/etc/rc.d/init.d/smb restart), the system not
restart correctly, but if i do : /etc/rc.d/init.d/smb stop, wait 1 second,
/etc/rc.d/init.d/smb stop, samba work fine !  The message asked in my first
question can be the answer ?

Thank you


 Stéphane Purnelle



---
Stéphane PURNELLE [EMAIL PROTECTED]
Service Informatique   Corman S.A.   Tel : 00 32 087/342467

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


[Samba] Samba 2.2.3a + Win 2K

2004-02-11 Thread Marcin Wasilewski
I'm new to the list, so at the begining I'd like to say Hello to all of You.

I'm using Samba 2.2.3a and rather cannot upgrade it to new version. I want
to set up sambafax (http://www.purpel3.com/sambafax/ ) tool to allow my
windows users to send fax.
Actually my smb.conf looks like this:
security = share
guest ok = true
guest account = test

[printers]
comment = All Printers
path = /var/spool/lpd/lp
browseable = no
printable = yes
public = yes
writeable = no
create mode = 0700
directory = /tmp

[folder]
# shared folder
path = /var/folder
volume = Share
writeable = no
guest ok = true
comment = Shared folder
browseable = yes

...and it's all that I needed till now.
When windows user print on fax printer, he is authenticated as test and
cannot get the notification about his job.
I know that I should change security=user, but the problem is that my
windows users work on terminal servers and are authenticated by radius
server and have dynamic passwords (generated by token).
What should I do to get the correct username, and allow only selected users
to print on that printer.
Best regards
Marcin

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


[Samba] re SAMBA

2004-02-11 Thread geralds
HI,

i cant log on as a normal user to samba server. when i logon in the logon- 
dialog box instead it brings back the logon-dialog box.. i can't find any 
error log abt this.
ANY advice is highly appreciated.
Thanks for yo attention.
Rgds,
Segie
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] re SAMBA

2004-02-11 Thread geralds
Hi,

documents created using open office on SuSE can't be read on a windows 
machine. instead you see characters that are not user friendly
AM waitingto hear from you.

I appriciate your advice.
Rgds.
Segie
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Problem with samba at startup

2004-02-11 Thread patrice raby
Hi all,

I have configured samba as a PDC server, and it works fine, but when the server 
restart, samba was launched, but
if i do an nmblookup on my PDC server, it doesn't find it

I think the problem is from nmb, but i didn't find why...

If i restart samba, every think works fine...

Any idea?

Thanks.
_
Patrice RABY-Email: [EMAIL PROTECTED]
GARGUL STUDIO - 20 Av d'Aquitaine 13600 La Ciotat
Tél (+33) 612 583 594  -  Fax (+33) 442 081 605
http://www.gargul-studio.com
_
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] machine account with strange behaviour

2004-02-11 Thread oliver . brockmann
I'm running samba-3.0.1-2 on a redhat machine. it acts as a pdc
for our domain. clients are w2k machines. 

when administering the w2k boxes via the mmc one of the machine
accounts shows up in the domain users list. it is shown together
with it's ending $. I removed the machine from the domain and
added it back however the effect stays.

Additionally it is *sometimes* not possible to map drives to shares
on that machine. Users receive a message that no error message was
found or sometimes that an unknown internal windows 2000 error has
occured.

The machine account was created manually just the same way all the
others were made. It's line in /etc/passwd is completely unsuspicous.

Any help would be appreciated!

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


[Samba] groups mapping problem

2004-02-11 Thread Frederic Descamps
Hi the list,


I have a samba 2.2.8a running with ldap authentication.

but when I'm browsing the domain account I can see all the users but only
2 groups : Domain Admins and Domain users...

How can I add all my other groups on the domain too ?


[EMAIL PROTECTED] root]# rpcclient //SAMBA-FS -U administrator -c enumdomgroups
Password:
cmd = enumdomgroups
group:[Domain Admins] rid:[0x200]
group:[Domain Users] rid:[0x201]



[EMAIL PROTECTED] root]# rpcclient //SPAMBA-FS -U administrator -c
enumalsgroups dom
ain
Password:
cmd = enumalsgroups domain
group:[sys] rid:[0x3ef]
group:[tty] rid:[0x3f3]
group:[disk] rid:[0x3f5]
group:[mem] rid:[0x3f9]
group:[kmem] rid:[0x3fb]
group:[wheel] rid:[0x3fd]
group:[man] rid:[0x407]
group:[dip] rid:[0x439]
group:[lock] rid:[0x455]
group:[users] rid:[0x4b1]
group:[utmp] rid:[0x415]
group:[floppy] rid:[0x40f]
group:[slocate] rid:[0x413]
group:[ARCserve] rid:[0x1775]
group:[uagent] rid:[0x1771]
group:[Domain Admins] rid:[0x579]
group:[Domain Users] rid:[0x57b]
group:[Domain Computers] rid:[0x83b]
group:[Printers] rid:[0x226cb]
group:[Operators] rid:[0x226c9]
group:[BCH_Users] rid:[0xc73d]


Thanks in advance,



Best regards,

Fred.

-
(o-
//\Linux Rules
V_/_ No HTML in emails
-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Fwd: [Samba] machine account with strange behaviour

2004-02-11 Thread geralds

Hi Oliver,
My opinion is that try delleting the machine name using the 'control center' 
and delete the machine account in the passwd file. Then add the machine name 
again using control center, edit  creat users , then In console add the 
machine using: # smbpasswd -a -m machinename.  Note i managed to do this on 
SuSE 8.1. Please send me an email if u're  thru
Rgds,
Segie.
--  Forwarded Message  --

Subject: [Samba] machine account with strange behaviour
Date: 11 Feb 2004 08:59:53 UT
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]

I'm running samba-3.0.1-2 on a redhat machine. it acts as a pdc
for our domain. clients are w2k machines.

when administering the w2k boxes via the mmc one of the machine
accounts shows up in the domain users list. it is shown together
with it's ending $. I removed the machine from the domain and
added it back however the effect stays.

Additionally it is *sometimes* not possible to map drives to shares
on that machine. Users receive a message that no error message was
found or sometimes that an unknown internal windows 2000 error has
occured.

The machine account was created manually just the same way all the
others were made. It's line in /etc/passwd is completely unsuspicous.

Any help would be appreciated!

best regards, Oliver
--
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] Fwd: samba problem

2004-02-11 Thread geralds

Hi samba-technical,

 i installed samba propely and configured it as a domain server of my LAN ,
and at the same time as a gateway (with a firewall) to the Internet.

Initially before configuring the firewall and connecting to the internet,
samba was working properly. But after connecting to the intrenet and
activating the firewall samba couldn't work

i'll be gratefull for your advice
Thanks
Rgds,  Segie

---

---

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


[Samba] Winbind problems

2004-02-11 Thread John Simovic
Can someone please send me a copy of their /etc/pam.d/login, system-auth
files for redhat/fedora. I need to get winbind working and when I upgraded
to samba 3 I forgot to copy them and now I can no longer auith via winbind.
wbinfo -u works fine as does -g but my login files are wrong.

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


[Samba] SLES8 + SAMBA + LDAP conf files

2004-02-11 Thread Ruslanas Cechovskis
Hi Samba folks,
Im new for linux and samba so sorry if i ask to much, but can anyone send me
working config files for %subj ?
Thanks in advice

WBR,

Ruslanas Cechovskis
UAB Forbis

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


Re: Fwd: [Samba] machine account with strange behaviour

2004-02-11 Thread oliver . brockmann
thanks for the hint! I did the following: In smbpasswd
the machine account had flags WU. I removed the U flag and
now it's no longer listed in the mmc. I'm monitoring the problem
with the shares and will report later on...

cheers, Oliver






 Original Message 
Subject: Fwd: [Samba] machine account with strange behaviour (11-Feb-2004 11:14)
From:[EMAIL PROTECTED]
To:  [EMAIL PROTECTED]

 
 Hi Oliver,
 My opinion is that try delleting the machine name using the 'control center'
  
 and delete the machine account in the passwd file. Then add the machine 
 name 
 again using control center, edit  creat users , then In console add the 
 machine using: # smbpasswd -a -m machinename.  Note i managed to do this 
 on 
 SuSE 8.1. Please send me an email if u're  thru
 Rgds,
 Segie.
 --  Forwarded Message  --
 
 Subject: [Samba] machine account with strange behaviour
 Date: 11 Feb 2004 08:59:53 UT
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 
 I'm running samba-3.0.1-2 on a redhat machine. it acts as a pdc
 for our domain. clients are w2k machines.
 
 when administering the w2k boxes via the mmc one of the machine
 accounts shows up in the domain users list. it is shown together
 with it's ending $. I removed the machine from the domain and
 added it back however the effect stays.
 
 Additionally it is *sometimes* not possible to map drives to shares
 on that machine. Users receive a message that no error message was
 found or sometimes that an unknown internal windows 2000 error has
 occured.
 
 The machine account was created manually just the same way all the
 others were made. It's line in /etc/passwd is completely unsuspicous.
 
 Any help would be appreciated!
 
 best regards, Oliver
 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 
 ---
 
 


To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]


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


[Samba] Error starting samba

2004-02-11 Thread Jonathan Willcock
Dear All,

I am about as basic a user as you can get, so I apologise for my ignorance.

I have been running samba happily for three years or so, but now suddenly I
have a problem at boot.  I get an error message neighbour table overflow,
and samba refuses then to function.  I can still ping other computers on the
network.

This may not be a samba problem, but if I restart the samba service, I get
the same errors immediately.

Has anyone seen this before or have any idea how to cure it?

Many thanks for any help received.

Yours

Jonathan
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.580 / Virus Database: 367 - Release Date: 06/02/2004

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


[Samba] Re: school PDC questions

2004-02-11 Thread Ivo Dancet
Thanks for the many answers.

Do you also have an idea of the hardware needed?
(100 pc's, maybe 150, for 600+ students who only need to d/l profiles 
and who need to access shares (print, files, home dir).
Maybe intranet server too.

What hardware would do a great job for this (with or without the apache 
for intranet)

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


[Samba] 3.0.1-member-server-printing

2004-02-11 Thread Manfred Odenstein
hello list,
after successfully playing around to get a working samba
3.0.1-PDC-LDAP-Suse9 configuration a new challenge takes place :

scenario:
suse9 with samba 3.0.1 as a member server in a NT4 controlled domain.
winbind works as expected (thanks to documention authors). There seems
to be no problem with file sharing, ACL is working properly (I'm using
xfs filesystem). :-)

so, now the problem : printing

1.) sharing the printer(s) works ok, the only problem occurs with long
and short names of Printer shares, I've named the printer queues with
short names and load all printers for sharing, then gave additional
shares with log names referencing the proper queue. My question, is this
a passable solution ??
extract of smb.conf:
...
[printers]
comment = All printers
printable = yes
path = /var/spool/samba
browseable = no
guest ok = yes
public = yes
read only = yes
writable = no
printer admin = @ntadmin,DOMAIN+Administrator
   
   [hp LaserJet 2200 Series PCL6-2]
printable = yes
path = /var/spool/samba
browseable = yes
guest ok = yes
public = yes
read only = yes
writable = no
printer name = laser2200
printer admin = @ntadmin,DOMAIN+Administrator
...


2.) driver installation :
I've tried to install the printer drivers for clients (win9x/2000/xp)
via the APW (add printer wizard), but I've failed with access denied.
If I changed the filesystem permissions in the [print$]-path in the way
that the DOMAIN+Administrator is allowed to create directories and
files, the driver files were copied on to the samba box. But the driver
installation failed (maybe for the default properties).
My question, are there other files where I've to change the permission
to allow DOMAIN+Administrator write access, e.g.
/var/lib/samba/ntprinters.tdb or the the subdirectory containing the
*.tdb(s) for the shared printers (e.g. /var/lib/samba/printing/hp
LaserJet 2200 Series PCL6-2.tdb) ??

extract of smb.file
...
[print$]
comment = Printer Driver Download Area
path = /var/lib/samba/drivers
browsable = no
guest ok = yes
read only = yes
write list = @ntadmin,DOMAIN+Administrator,root


thanks in advanced
regards odi

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


RE: [Samba] Winbind problems

2004-02-11 Thread Ganguly, Sapan

I posted my Redhat 9.0 ones on the list a while ago, have a search for them.

-Original Message-
From: John Simovic [mailto:[EMAIL PROTECTED] 
Sent: 11 February 2004 10:14
To: [EMAIL PROTECTED]
Subject: [Samba] Winbind problems


Can someone please send me a copy of their /etc/pam.d/login, system-auth
files for redhat/fedora. I need to get winbind working and when I upgraded
to samba 3 I forgot to copy them and now I can no longer auith via winbind.
wbinfo -u works fine as does -g but my login files are wrong.

Kind Regards
-- 
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] 3.0.1-member-server-printing

2004-02-11 Thread Bertrand Maugain
I guess your smb.conf is correct.

I'm using cups on freebsd.
I install cups( very easy) and I add a printer thanks to the webinterface.
I print a test page.

After that I upload the drivers in the print$ share by a little bit tricky way.
I log to my domain with root (added with pdbedit...-u root) on my Windows 2000 client 
( It is the only case you shoul do it!!).
I browse the network, the sambaserver and go to the printers section.
I right click on the printers , and properties
I'm asked if I want to download the drivers on my client since no drivers are 
installed.
You have to click no
Then you go the drivers section and do as if you install new drivers. You choose in 
the list and it will upload the drivers on your sambaserver.

It works fine!!

Hope it helps
Bertrand

-Message d'origine-
De : Manfred Odenstein [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 11 février 2004 12:01
À : [EMAIL PROTECTED]
Objet : [Samba] 3.0.1-member-server-printing


hello list,
after successfully playing around to get a working samba
3.0.1-PDC-LDAP-Suse9 configuration a new challenge takes place :

scenario:
suse9 with samba 3.0.1 as a member server in a NT4 controlled domain.
winbind works as expected (thanks to documention authors). There seems
to be no problem with file sharing, ACL is working properly (I'm using
xfs filesystem). :-)

so, now the problem : printing

1.) sharing the printer(s) works ok, the only problem occurs with long
and short names of Printer shares, I've named the printer queues with
short names and load all printers for sharing, then gave additional
shares with log names referencing the proper queue. My question, is this
a passable solution ??
extract of smb.conf:
...
[printers]
comment = All printers
printable = yes
path = /var/spool/samba
browseable = no
guest ok = yes
public = yes
read only = yes
writable = no
printer admin = @ntadmin,DOMAIN+Administrator
   
   [hp LaserJet 2200 Series PCL6-2]
printable = yes
path = /var/spool/samba
browseable = yes
guest ok = yes
public = yes
read only = yes
writable = no
printer name = laser2200
printer admin = @ntadmin,DOMAIN+Administrator
...


2.) driver installation :
I've tried to install the printer drivers for clients (win9x/2000/xp)
via the APW (add printer wizard), but I've failed with access denied.
If I changed the filesystem permissions in the [print$]-path in the way
that the DOMAIN+Administrator is allowed to create directories and
files, the driver files were copied on to the samba box. But the driver
installation failed (maybe for the default properties).
My question, are there other files where I've to change the permission
to allow DOMAIN+Administrator write access, e.g.
/var/lib/samba/ntprinters.tdb or the the subdirectory containing the
*.tdb(s) for the shared printers (e.g. /var/lib/samba/printing/hp
LaserJet 2200 Series PCL6-2.tdb) ??

extract of smb.file
...
[print$]
comment = Printer Driver Download Area
path = /var/lib/samba/drivers
browsable = no
guest ok = yes
read only = yes
write list = @ntadmin,DOMAIN+Administrator,root


thanks in advanced
regards odi

-- 
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] 3.0.1-member-server-printing

2004-02-11 Thread Manfred Odenstein
Thanks for the fast reply, but the problem is that the server is a
member server in a NT4 controlled domain, there is no user root (uid=0)
in the domain, if there would be a samba PDC, there should be no problem
with your solution.

regards odi


Am Mi, den 11.02.2004 schrieb Bertrand Maugain um 12:09:
 I guess your smb.conf is correct.
 
 I'm using cups on freebsd.
 I install cups( very easy) and I add a printer thanks to the webinterface.
 I print a test page.
 
 After that I upload the drivers in the print$ share by a little bit tricky way.
 I log to my domain with root (added with pdbedit...-u root) on my Windows 2000 
 client ( It is the only case you shoul do it!!).
 I browse the network, the sambaserver and go to the printers section.
 I right click on the printers , and properties
 I'm asked if I want to download the drivers on my client since no drivers are 
 installed.
 You have to click no
 Then you go the drivers section and do as if you install new drivers. You choose in 
 the list and it will upload the drivers on your sambaserver.
 
 It works fine!!
 
 Hope it helps
 Bertrand
 
 -Message d'origine-
 De : Manfred Odenstein [mailto:[EMAIL PROTECTED]
 Envoyé : mercredi 11 février 2004 12:01
 À : [EMAIL PROTECTED]
 Objet : [Samba] 3.0.1-member-server-printing
 
 
 hello list,
 after successfully playing around to get a working samba
 3.0.1-PDC-LDAP-Suse9 configuration a new challenge takes place :
 
 scenario:
 suse9 with samba 3.0.1 as a member server in a NT4 controlled domain.
 winbind works as expected (thanks to documention authors). There seems
 to be no problem with file sharing, ACL is working properly (I'm using
 xfs filesystem). :-)
 
 so, now the problem : printing
 
 1.) sharing the printer(s) works ok, the only problem occurs with long
 and short names of Printer shares, I've named the printer queues with
 short names and load all printers for sharing, then gave additional
 shares with log names referencing the proper queue. My question, is this
 a passable solution ??
 extract of smb.conf:
 ...
 [printers]
 comment = All printers
 printable = yes
 path = /var/spool/samba
 browseable = no
 guest ok = yes
 public = yes
 read only = yes
 writable = no
 printer admin = @ntadmin,DOMAIN+Administrator
  
  [hp LaserJet 2200 Series PCL6-2]
 printable = yes
 path = /var/spool/samba
 browseable = yes
 guest ok = yes
 public = yes
 read only = yes
 writable = no
 printer name = laser2200
 printer admin = @ntadmin,DOMAIN+Administrator
 ...
 
 
 2.) driver installation :
 I've tried to install the printer drivers for clients (win9x/2000/xp)
 via the APW (add printer wizard), but I've failed with access denied.
 If I changed the filesystem permissions in the [print$]-path in the way
 that the DOMAIN+Administrator is allowed to create directories and
 files, the driver files were copied on to the samba box. But the driver
 installation failed (maybe for the default properties).
 My question, are there other files where I've to change the permission
 to allow DOMAIN+Administrator write access, e.g.
 /var/lib/samba/ntprinters.tdb or the the subdirectory containing the
 *.tdb(s) for the shared printers (e.g. /var/lib/samba/printing/hp
 LaserJet 2200 Series PCL6-2.tdb) ??
 
 extract of smb.file
 ...
 [print$]
 comment = Printer Driver Download Area
 path = /var/lib/samba/drivers
 browsable = no
 guest ok = yes
 read only = yes
 write list = @ntadmin,DOMAIN+Administrator,root
 
 
 thanks in advanced
 regards odi

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


[Samba] decode_pw_buffer: incorrect password length

2004-02-11 Thread Reinke Bonte
Dear list,

I have a pretty small samba setup with one samba server acting as PDC
and 6 pretty diverse clients. I had no problem joining two win98 clients
and one XP client and two win2000 clients to the domain. There is only
one win2000 client which I simply can't join. In the samba logs I find 

decode_pw_buffer: incorrect password length

whenever I try to join this PC using the root user. When I use just a
normal domain admin user I have nothing in the Samba logs. In any case
windows tells me that the user either doesn't exist or the password is
incorrect. Even though I have just minutes before added two other
win2000 machines with the same user.

I use a tdbsam password backend. And I have tried everything I can
imagine. I have changed the security channel settings of the client PC
to all possible values, I have removed the passwd.tdb and secrets.tdb
files, remapped groups on the server, I have even changed the IP address
of the samba server.

I'm using samba 3.01 on a Debian Linux Sid system. If you want to see
logs or smb.conf files I will post them.

I am lost please help me with new suggestions.


Thank you


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


Re: [Samba] A samba locking question

2004-02-11 Thread Patrik Gustavsson

Let me the try to communicate in a different way.

The only thing I want to know if byte range locks
or file share reservation are propagated to or from UNIX.

That is:

a) When a external program is doing a byte range lock through
   fcntl on file, will that be checked before Samba is 
   opening the file ?

   My findings tells me it does.


b) When a external program is doing file share reservation
   through on a file fcntl will that be checked before Samba is opening
   the file ?

   My findings tells me it don't.
 
   The test-program did file share reservation through fcntl on file
   with the parameters:
f_access=F_RWACC (Set a  file  share  reservation  for  read 
  and  write access)
f_deny=F_RWDNY   (Set a file share reservation to deny  read 
  and  write)

   The client could through Samba open and write in that file.

c) If/When Samba is doing a byte range lock on file will that byte
   range lock be propagated externaly to UNIX ?

   I believe it will not.

d) If/When Samba is doing a file share reservation on file will that
   be propagated externaly to UNIX ?

   My findings tells me it don't.


I don't this good or bad. I just want to know.

/Patrik



On Tue, 2004-02-10 at 19:18, Jeremy Allison wrote:
 On Tue, Feb 10, 2004 at 09:39:01AM +0100, Patrik Gustavsson wrote:
  Well, you should know.
  
  But if Samba is doing byte ranged lock using fcntl, then
  I don't understand why my tests failed.
  
  The first test I did was:
  
  I simulated a NFS client and did byte range lock on a file,
  a document in this case 8K in size, and tried to open that from
  client using Samba and it failed becuse is was locked.
  
  The second test I did was:
  
  When  a client opened the file using samba, with a
  DENY_WRITE lock (output from smbstatus) and I used the same simulated
  NFS client that did a byte range write lock using fcntl() on that
  document.
  I would assume that the byte range lock would fail, but it didn't it 
  succeeded.
  
  That surprised me.
 
 You're confusing share modes with byte range locks. Read up on share
 modes - smbstatus doesn't report byte range locks, only share modes.
 
 Until you understand the difference we're not really communicating :-). At all :-).
 
 Jeremy.
-- 
In a world without fences who needs Gates
Patrik Gustavsson, Senior Technical Consultant
[EMAIL PROTECTED] Telephone: +46 60 671540
http://glen.swedenMobile: +46 70 3551040
SUN MICROSYSTEMS  Fax: +46 60 671550
--


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


[Samba] Hi

2004-02-11 Thread samba-bugs
The message contains Unicode characters and has been sent as a binary attachment.

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

[Samba] Samba access problem with Windows 98

2004-02-11 Thread raphael
Here is my problem. I have inside a WAN a samba server with IP 192.168.10.34 and
all my remote clientes use network address like 172.20.120.0 mask 255.255.255.0. 

When I use a Windows NT client, there's no problem to map all the shared
directories under the samba server. But, when I try to do the same thing using a
W98 clients, there is no response giving me  a timeout message. There is no
problem wth conections between the client and the server, because ping command
works.

Has anyone overthere know what is wrong?

Thanks in advance,



_
MSc. Raphael Palomino Valverde
Red Hat Certified Engineer (RHCE)

---
Banco de Crédito BCP - Dedicados a hacerte la Banca más simple.
Visita nuestra Banca por Internet http://www.viabcp.com
---
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Quota question

2004-02-11 Thread Matthew Daubenspeck
What do you use as a script?

On Wed, Feb 11, 2004 at 08:59:51AM +0100, Collen wrote:
 i know, just make a script and link it with
 dfree command = script path here
 in your smb.conf...
 
 works quite fine for me...
 l8r
 -
 Collen Blijenberg (Systeem/Netwerk Beheerder)
 
 Montessori Lyceum 
 Herman Jordan
 Zeist
 
 
 Tuesday, February 10, 2004, 5:31:40 PM, you wrote:
 
 R I am having problems with quotas on a RH8 server.  I have compiled samba
 R with the --with-quotas and --with-sys-quotas.  If I leave the default kernel
 R on rh8, which is 2.4.18-4, and set the user's quota, eg 10MB, the capacity
 R is shown as 10MB.  I compiled the newest kernel with the quota options:
 
 R CONFIG_QUOTA=y
 R CONFIG_QFMT_V2=y
 
 R The quotas still work, however the disk size reported as the entire capacity
 R of the drive.  Is there a kernel option or patch or something that I can use
 R so that the quota is reported as the capacity.  I am using samba 3.0.1.  The
 R user's quota was reported with the default 2.4.18-3 kernel but not the
 R compiled 2.4.20, 2.4.21 and 2.4.23.
 
 R Please help.
 
 
 
 
 
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba

-- 
:wq!

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


[Samba] Access to Files on Unix host from Windows2K Host

2004-02-11 Thread Kairam, Raj
I needed to find a way for a user, on a Windows 2000 host,  to be able to access files 
in a filesystem on a unix host running HP-UX 11 (and Apache webserver) both of which 
are on the same network.

The files in the directory on the unix host are open for all to read.

An application on the Windows host expects to have the path for the file system (on 
the unix host) defined in an .ini file as follows.
[Options]
XREFPATHS=Drive Letter\Directory Path
The Directory Path above refers to the filesystem on the unix host where the files are 
located.

The user on the Windows host should be able to see the unix directory as a shared 
directory in the typical windows fashion (with Drive Letter).
MyComputer - Public on 'Unix Host Name'(Drive Letter)

I was recommended Samba for this purpose by the application vendor.

I, therefore, downloaded and installed the following depot on the unix machine. The 
installation with 'swinstall' went without a hitch. 
samba_2.2.8a_HPUX_withwinbind.depot

I created a user 'kairamr' on the unix host. This user, using network login userid and 
password, is on the windows host.

While trying to configure Samba on HP-UX to use encrypted passwords, the following was 
done.
The file /usr/local/samba/smbpasswd was created using the mksmbpasswd.sh script.
Permissions to that file set at 600 ( only for root to read and write )
Tried to set Samba password ( separate from the unix password ) for user kairamr with 
smbpasswd command.
I get following error message on the screen ...

load_unicode_map: filename /usr/local/samba/lib/codepages/unicode_map.850 does not 
exist
load_unicode_map: filename /usr/local/samba/lib/codepages/unicode_map.ISO8859-1 does 
not exist
New SMB Password:   ( I enter a value )
Retype new SMB Password:  ( I enter the same value as above ) -- get these errors
unable to open passdb database.
Failed to find entry for user kairamr.
Failed to modify password entry for user kairamr
--
What should I do ? How can I resolve the passdb database issue ?

Any help from list members working with Samba on HP-UX platform will be appreciated.

Thanks
Raj Kairam

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


RE: [Samba] Rejoining domain after cluster failover

2004-02-11 Thread ww m-pubsyssamba
I haven't implemented this myself but I would assume you need to have the private 
directory either on a cluster shared disk or manually syncronised on each cluster 
node. And also hard code the netbios name and ip address that samba uses on all 
cluster nodes like,

[global]

netbios name = mysambaserver
interfaces = 192.168.10.10/24   #virtual ip address

thanks Andy.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Patrik Gustavsson
Posted At: 11 February 2004 13:33
Posted To: Samba
Conversation: [Samba] Rejoining domain after cluster failover
Subject: Re: [Samba] Rejoining domain after cluster failover


My guess you have to upgrade to Samba 3 ?

I don't think you need, if you don't want to, use the LDAP backend for
 SIDs?

I have developed the Sun support agent for Samba on Sun Cluster (The
agent should work the same way). 
There is no problem with Samba 3 as ADS member when the you have failover
or a manully switch.

/Patrik


On Tue, 2004-02-10 at 22:54, [EMAIL PROTECTED] wrote:
 Hello. We're having issues running Samba 2.2.8-a1, on Solaris 8 (SPARC) under 
 Veritas VCS 3.5 clustering (HA active-passive).
 
 Every time we have a cluster failover (we're testing), we have to re-join the domain 
 [ADS not NT] (e.g., 'smbpasswd -j XYZ -r XYZPDC -UAdminRightsUser%password'). 
 Otherwise, we cannot connect to the shares, and 'wbinfo -t' returns 'Secret is bad'. 
 Re-joining the domain fixes the problem.
 
 It's easily enough scripted, however I don't like the idea of having a domain user's 
 password with administrative rights in a text file.
 
 Are there other ways (HOWTO pointers welcome), or do I have to upgrade to Samba 
 3.0.x and use the LDAP backend for SIDs?
 
 Thanks in advance.
 
 Ken Gotsch
-- 
In a world without fences who needs Gates
Patrik Gustavsson, Senior Technical Consultant
[EMAIL PROTECTED] Telephone: +46 60 671540
http://glen.swedenMobile: +46 70 3551040
SUN MICROSYSTEMS  Fax: +46 60 671550
--


-- 
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] Welcome to DM Direct

2004-02-11 Thread Lyris ListManager
Thank you for subscribing to DM Direct!

You have been subscribed to DM Direct with the following information
MS Corporation Public Services [EMAIL PROTECTED]


To unsubscribe, send a blank email to
[EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Welcome to spam / Windows '98SE usr-lev-sec problem

2004-02-11 Thread Radu - Eosif Mihailescu
:) cool :D

/me ROTFL



Coming back to the point, I will ask a (maybe?) naughty question:

Has any of you, Ladies and Gentlemen, seen (and presumably knows HOW-TO 
get that) a SaMBa server behaving nicely to WindowsXP PRO SP1 clients?

I could join them in a domain using 2.2.8a and 3.0.1 but not using 
3.0.0, 3.0.2rc1, 3.0.2rc2 and 3.0.2 :(

The message given by the WindowsXP workstation is the one concerning 
multiple connections to a shared resource with different credentials -- 
BUUUT, I do not have any mapped drives whatsoever while trying to join 
the domain (let alone the fact that it is the same machine and same 
setup as for 2.2.8a and 3.0.1 where it worked) ...
Hay ANYONE got any idea whatsoever? Code pointers welcome (I speak C :) 
) ... anything?

--

The second problem relates with '98SE and '95OSR2 which cannot enumerate 
the list of domain users when creating a share. The error message is 
You cannot view the list of users at this time, SaMBa reports 
something like INVALID PIPE HANDLE: 0 on the logs ...
I _have already_ done the mapi32.dll maneouver but to nu avail.
Again, has anyone got any hints?

It isn't that urgent ... but it is quite important ... as I'm using 
SaMBa at work on a quite large network ... and people started getting 
annoyed by this disfunctionalities in SaMBa ... and sooner or later 
they'll propose we switch to a native Microsoft solution :((



Thanks in advance,
Radu - Eosif Mihailescu
Lyris ListManager wrote:

Thank you for subscribing to DM Direct!

You have been subscribed to DM Direct with the following information
MS Corporation Public Services [EMAIL PROTECTED]
To unsubscribe, send a blank email to
[EMAIL PROTECTED]
 

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


Re: [Samba] 3.0.1-member-server-printing

2004-02-11 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Manfred Odenstein wrote:

| I've tried to install the printer drivers for clients
| (win9x/2000/xp) via the APW (add printer wizard), but
| I've failed with access denied. If I changed the
| filesystem permissions in the [print$]-path in the way
| that the DOMAIN+Administrator is allowed to create
| directories and files, the driver files were copied on to
| the samba box. But the driver installation failed (maybe
| for the default properties).
put 'printer admin' in the gloabl section and this should
the final piece.


cheers, jerry
- --
Hewlett-Packard- http://www.hp.com
SAMBA Team -- http://www.samba.org
GnuPG Key   http://www.plainjoe.org/gpg_public.asc
If we're adding to the noise, turn off this song --Switchfoot (2003)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAKktlIR7qMdg1EfYRAlDXAJ4pCNm6O+tdYdku9A3q/JN7n+dd7wCgomcQ
g2xf7vr6jecbx5pBGM16XJU=
=l336
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Transparently replacing a 2.2.7 PDC with 3.0

2004-02-11 Thread Etienne Goyer
Hi,

I sent this post yesterday morning for a first time, but apparently 
Gmane ate it as it never showed up.  I am reposting.  All my apologies 
if you receive this port in duplicate.

I tried to replace a Samba 2.2.7 PDC to a 3.0 transparently, and it did 
not work.  For my explanation, we will call the Samba 2.2.7 PDC samba2, 
the new Samba 3 server samba3 and the domain DOMAIN.

First, I migrate (by hand) all the users from samba2 to samba3; I copied 
smbpasswd, then cut-n-pasted the users and workstations account in 
/etc/passwd with vipw.  Tested it, it seem to work well.  At this point, 
samba3 is PDC for a temporary domain I called TEST.

Then I retrieved the SID of DOMAIN by doing net getlocalsid DOMAIN. 
Kept it for later.

I shutted down samba2.  I edited smb.conf on samba3 to set the same 
workgroup name, netbios name, various config and share definition. 
Restart Samba on samba3.  Set the SID to the one previously retrieved 
with net setlocalsid SID previously retrieved.  Restarted samba3 again.

Win9x clients worked correctly, no problems (as expected).  NT-based 
clients complained about not finding the domain.  I guessed I screwed up 
the SID change, so I copied secrets.tdb from samba2 to samba3 and 
restart Samba on samba3.  It still did not work.

Finally, I joined the NT-based clients by hand (fortunately, there was 
not many) and it worked.

Since I have many Samba 2.2.x - 3.0 PDC migration coming in near-term 
future, I was wondering what I did wrong and if there is a work around 
it.  Is it possible to change a Samba PDC in a totally transparent 
fashion for the clients ?  Are there any known issue doing it from Samba 
2.2.x to 3.0 ?

Thanks for your answer !

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


Re: [Samba] Samba 3.0.1 - 3.0.2 upgrade problem

2004-02-11 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
amrito wrote:

| Basic effect:
| when attaching a network drive, the system asked for a password and
| afterwards rejected the service with a message like
| 'invalid user or password'
Is the last change time on the password set to 0 by chance?
Please provide more details.




cheers, jerry
- --
Hewlett-Packard- http://www.hp.com
SAMBA Team -- http://www.samba.org
GnuPG Key   http://www.plainjoe.org/gpg_public.asc
If we're adding to the noise, turn off this song --Switchfoot (2003)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAKkwEIR7qMdg1EfYRAjdBAKCDBXBa0aIF839EAaTB/mAQD05eZwCcDB2e
Qs4MbSKAPM7CU6WjVlFnvY8=
=1U0K
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] A bug in smb.conf argument parsing, or the documentation is inconsistent ?

2004-02-11 Thread Etienne Goyer
Hi,

This is a repost of a message I posted yesterday.  Apparently, Gmane ate 
it.  I apologize in advance if people receive it in duplicate.

I am running Samba 3 on Fedora Core 1.  I had problem with home dir and 
profiles using the following directive in smb.conf :

logon home  = \\%L\%U
logon path  = \\%L\%U
logon drive = u:
It worked when I removed the quote -- in the logon home and logon 
path directive such as :

logon home  = \\%L\%U
logon path  = \\%L\%U
logon drive = u:
The example in the smb.conf man page had quote.  In Samba  2.2.7, the 
quote did not pose any problems.

Is this a bug in Samba 3.0 in general, in the rpm from FC1 in 
particuliar or it's just that the behavior changed from 2.2.x to 3.0 and 
the doc had not been updated ?

Thanks !

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


[Samba] Welcome to DM Direct

2004-02-11 Thread Lyris ListManager
Thank you for subscribing to DM Direct!

You have been subscribed to DM Direct with the following information
MS Corporation Public Services [EMAIL PROTECTED]


To unsubscribe, send a blank email to
[EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba 3.0.1 - 3.0.2 upgrade problem

2004-02-11 Thread Barry Smoke
same thing here...

amrito wrote:

Michal Sladek wrote:
 This morning I tried to upgrade Samba from 3.0.1 to 3.0.2 final
 I had only few minutes to test it from Windows XP clients
 (we use Windows 98 and XP clients in our company) because we have
 hundreds of users connected and I had to go back to 3.0.1 immediately
 before the get angry:-)
Exactly the same happend with me.

After compiling 3.0.2 (which worked absolutely fine) and installing it,
the telephone started to ring, and I had to revert immediately.
Basic effect:
when attaching a network drive, the system asked for a password and
afterwards rejected the service with a message like
'invalid user or password'
I haven't got time to install 3.0.2 on a spare server to check what
went wrong without the threat of being thrown out of the window,
but if in between someone got some hints what might have gone wrong
and (even more interesting) how to fix it, I would greatly appreciate
to get the info, too.
Thanks
Regards
john
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] decode_pw_buffer: incorrect password length

2004-02-11 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Reinke Bonte wrote:

| decode_pw_buffer: incorrect password length

fixed in 3.0.2 (or install sp3 or later on the 2k client).



cheers, jerry
- --
Hewlett-Packard- http://www.hp.com
SAMBA Team -- http://www.samba.org
GnuPG Key   http://www.plainjoe.org/gpg_public.asc
If we're adding to the noise, turn off this song --Switchfoot (2003)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAKk7/IR7qMdg1EfYRAnXEAJ4t3u/cijABcY0NT3EXFB9nYecLLACg5srG
ucr+qAVezBLv7lL6ktzS8jM=
=t401
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] 3.0.1-member-server-printing

2004-02-11 Thread Manfred Odenstein
[global]
...
printer admin = DOMAIN+Administrator
...

doesn't help, sorry, it's already there.

I will try to chmod to 775 the /var/lib/samba (owner root.root)
directory and add DOMAIN+Administrator to group root, only for testing

will report success or failure

regards odi


Am Mi, den 11.02.2004 schrieb Gerald (Jerry) Carter um 16:33:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Manfred Odenstein wrote:
 
 | I've tried to install the printer drivers for clients
 | (win9x/2000/xp) via the APW (add printer wizard), but
 | I've failed with access denied. If I changed the
 | filesystem permissions in the [print$]-path in the way
 | that the DOMAIN+Administrator is allowed to create
 | directories and files, the driver files were copied on to
 | the samba box. But the driver installation failed (maybe
 | for the default properties).
 
 put 'printer admin' in the gloabl section and this should
 the final piece.
 
 
 
 
 cheers, jerry
 - --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 If we're adding to the noise, turn off this song --Switchfoot (2003)
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.1 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
 iD8DBQFAKktlIR7qMdg1EfYRAlDXAJ4pCNm6O+tdYdku9A3q/JN7n+dd7wCgomcQ
 g2xf7vr6jecbx5pBGM16XJU=
 =l336
 -END PGP SIGNATURE-

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


RE: [Samba] Samba / Networking trouble since latest windows update

2004-02-11 Thread John Snowdon
For additional info the patch only seems to be affecting Mac OS X
versions of Samba:

Mac OS X 10.3.2 Server Details (Apple Samba 3.0.0rc2)
Local user/group authentication
Workgroup
No WINS support
Server - Patched XP Client = random network hanging and dropouts while
browsing.
Server - Unpatched XP Client = Ok
Server - Patched 2K Client = Ok
Server - Unpatched 2K Client = Ok
Server - Non-Windows Client = Ok

Solaris 9 Server Details (Samba 2.2.x) 
Local user/group authentication
Workgroup
No WINS support
Server - Patched XP Client = Ok
Server - Unpatched XP Client = Ok
Server - Patched 2K Client = Ok
Server - Unpatched 2K Client = Ok

Linux Server Details (Samba 2.2.x  3)
ldap authentication
Server - Patched XP Client = Ok
Server - Unpatched XP Client = Ok
Server - Patched 2K Client = Ok
Server - Unpatched 2K Client = Ok

I've upped the log level to 10 and the output is exactly the same from
working and non-working clients; the log doesn't hang half way through
the operation either - it seems as if it completes everything ok, ie the
output of the log stops at the same place it does when the operation
completes successfully on a non-patched XP or 2K client. Network load is
pretty average; I've even turned off all WINS resolution (the resolve
list in smb.conf is simply lmhost and host now) to see if that was
causing problems; nope.

smbstatus shows everyone connected ok, files open etc. smbclient queries
the server and brings back the shares fine.

Do we have any idea as to what was in that Microsoft IE cumulative
update (MS04-004, KB832894) that could have caused this problem on XP?
It's bizarre; sometimes it will work fine and then only hang when
changing back up a directory, others it will hang for minutes when you
just first try to open a drive.

The problem has got to be client side, I'm almost certain of it.

-John

-Original Message-
From: John Snowdon [mailto:[EMAIL PROTECTED] 
Sent: 10 February 2004 16:08
To: [EMAIL PROTECTED]
Subject: [Samba] Samba / Networking trouble since latest windows update


This is not really a Samba problem, but it does relate to Samba, in a
fashion...

In regards to:

http://www.microsoft.com/technet/treeview/?url=/technet/securit
y/bulleti
n/MS04-004.asp

Since the latest security patch from Microsoft (last Thursday?) was
applied to common desktop machines within our school we have been
suffering from problems with network connections.

We run several Mac OS X Xserves (10.3.2; thus Samba would be 
Apples' own
3.0x release) as a workgroup within the medical school which 
are used as
samba file servers for the windows machines. However, since the last
security update, users have serious problems accessing the systems.
Authentication is against local users and groups on the machine - we
don't use ldap or active directory for the time being.

We still use the university WINS resolution, and access to other uni
shared drives 'seems' to be largely unaffected, however access to our
own servers is largely a hit and miss affair - users connect and then
will pause for a minute or more... access will then appear to be fine -
directory browsing, opening files etc.. , but then all of a sudden the
connection will hang again, taking down explorer and the desktop, thus
requiring a manual re-launch of explorer. While the system is connected
and not hung, all normal use is fine, but the hanging 
connection is, for
all intents and purposes, completely random - there are no 
errors in any
system or samba logs.

This occurs on every users machine that is on common desktop and thus
has had the update installed, and on non common desktop machines that
users have manually installed the security update (these users started
to see problems last Friday after applying the update). Those without
the update installed are completely unaffected.

Non-windows clients accessing our servers are unaffected (solaris,
mac-os, mac-os x), as is non-smb traffic (http/ftp, mysql, rsync, ssh
etc.). Servers have been running pretty much continuously without
problem since they were installed months ago. Bandwidth and cpu use at
our servers are all within normal levels and are not even 
close to 50% -
we routinely rsync several gigabytes of data from these servers to our
main Solaris box every day and this also seems to be unaffected.

Has anyone heard any other reports of network problems with 
this update?
I appreciate it's a bit of a difficult siutation to fully understand to
people outside of Newcastle University, but it would really help if
anyone had heard of anything related to this security update, or
problems it has caused.

I'm under the impression that this windows update has changed some
settings in or the registry on all client machines... as to what it
is... I'm at a loss.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] adding users from trusted domains into groups

2004-02-11 Thread Karel Kulhav
Hello

I have domain KEVF_D4 run by samba PDC that trusts domain
KEVF_D1 run by NT4 PDC. The trust is running judging according
to at least 3 independent signs it is really working.

However when I fire up usrmgrx.exe on a computer that is in KEVF_D4
(and is different from the PDC because PDC is Linux and there
are no Windows to run usrmgrx.exe on) and creat a local group
and then try to add someone from KEVF_D1 into the local group, I get
an error message User name cannot be found.

I also tried to add some group from KEVF_D1 into that KEVF_D4 local
group and it does the same: User name cannot be found.

I wonder what user name is it talking about when I am adding
one group into another and think no user names should be involved.

Are these operations supported? If not, is it difficult to hack
them up into the Samba?

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


[Samba] Re: Mail Transaction Failed

2004-02-11 Thread spam
...


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


[Samba] Writing to a ReExported NFS Share With A MAC

2004-02-11 Thread Paul Thomas
I ran into this problem and was unable to find a solution here or in 
google.  Thought I'd post it to the list so maybe it'll help someone out in 
the future.

Gentoo Linux running 2.4.22 and Samba 2.2.8a.  ReExporting an NFS mounted 
share on a NetAPP fileserver connected to eth1 via samba out eth0.  All PCs 
are able to write fine but when writing to the share via a mac using OSX 
the MAC errored out with permission denied and the samba logs showed the 
following

[2004/02/09 16:48:01, 0] locking/posix.c:posix_fcntl_lock(657) 
posix_fcntl_lock: WARNING: lock request at offset 0, length 4294967295 returned
[2004/02/09 16:48:01, 0] locking/posix.c:posix_fcntl_lock(658) an No locks 
available error. This can happen when using 64 bit lock offsets
[2004/02/09 16:48:01, 0] locking/posix.c:posix_fcntl_lock(659)  on 32 bit 
NFS mounted file systems.

The solution I was able to come up with was to add posix locking = no to 
the share in question.  If there is a better solution that I missed please 
let me know but otherwise this has been working without a hitch so far.

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

[Samba] Problem with integration samba in a domain with ActiveDirectory 2003

2004-02-11 Thread Octavian Ionescu
i need help about sending encrypted passwords in konqueror with samba. 
when i made this in command line it works very fine but if i want to do 
that in konqueror it send only plain passwords. I've got samba 3.0.0.15 
and the computer is member of a domain with ActiveDirectory 2003.

Thanks

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


[Samba] impossible to write

2004-02-11 Thread Etienne Pallier
I have a problem with writing files to a samba folder (kind of 
upload). I'm using Windows XP on a Dell laptop. Samba version 
2.2.7-3.7.2 is installed on a linux redhat 7.2 server.
I can read the files, copy them (kind of download) to my local hard 
disk on my laptop, but can't copy a file from my local hard disk to any 
samba folder, even a file as small as 30 KB !!!
When I try to do this, I get the samba folder frozen for about 2 
minutes, and then I get this message from windows :
Impossible to copy file name : The access path is too long,
which is my personal translation of what I really get in French :
Impossible de copier file name : Le chemin d'accès est trop long.
(file name is the name of the file I want to copy).

Please help !!! Thanks

Here is my /etc/smb.conf file :

[global]

# workgroup = NT-Domain-Name or Workgroup-Name
  workgroup = WORKGROUP
# server string is the equivalent of the NT Description field
  server string = Kronos Samba Server
  load printers = no

  log file = /var/log/samba/log.%m

# Put a capping on the size of the log files (in Kb).
  max log size = 50
# 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
;   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
  socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

  dns proxy = no

[homes]
  comment = Home Directories
  valid users = %S
  browseable = no
; this was writable (no e) before :
  writeable = yes
  create mode = 0664
  directory mode = 0775


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


Re: [Samba] massive performance problems if transferring many small files

2004-02-11 Thread Jeremy Allison
On Wed, Feb 11, 2004 at 09:29:47AM +0100, Steffen Kauka wrote:
 
 You did suggest to try Samba 3 - I did it. My test environment consists of a
 PC (Pentium 4 2.4 GHz CPU and 512 MB RAM), a SUN Blade 100 (500 MHz CPU, 256
 MB RAM) and between both a switched network at a speed of 100 MBit/s. The
 smb.conf is the same as I mentioned in my initially posting. Unfortunately I
 couldn't recognize any significant difference between Samba 2.2.8a and Samba
 3.0.1 :-( Now the good news! If I change the option 'preserve case' to 'yes'
 the transfer rate increases by about 550% and that's really ok.  I don't expect
 any problems in this case because the source data I want to transfer are
 lower case at all and UNIX-like. What do you mean with nasty implications? At
 the moment I can't imagine a case. 

Well this will work perfectly for your environment, where you have a read-only
data set whose filenames you control the case of. It won't work in the general
case where Windows apps create files though.

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


Re: [Samba] A samba locking question

2004-02-11 Thread Jeremy Allison
On Wed, Feb 11, 2004 at 02:11:07PM +0100, Patrik Gustavsson wrote:
 
 Let me the try to communicate in a different way.
 
 The only thing I want to know if byte range locks
 or file share reservation are propagated to or from UNIX.
 
 That is:
 
 a) When a external program is doing a byte range lock through
fcntl on file, will that be checked before Samba is 
opening the file ?
 
My findings tells me it does.

Yes it will.

 
 b) When a external program is doing file share reservation
through on a file fcntl will that be checked before Samba is opening
the file ?
 
My findings tells me it don't.
  
The test-program did file share reservation through fcntl on file
with the parameters:
   f_access=F_RWACC (Set a  file  share  reservation  for  read 
 and  write access)
   f_deny=F_RWDNY   (Set a file share reservation to deny  read 
 and  write)
 
The client could through Samba open and write in that file.

I have never heard of these f_access codes ? This is not POSIX.
I have no clue what system you are using that has these share modes. No
POSIX system has this.

So not suprisingly Samba doesn't know anything about this.

 c) If/When Samba is doing a byte range lock on file will that byte
range lock be propagated externaly to UNIX ?
 
I believe it will not.

Yes it will, you are incorrect.

 d) If/When Samba is doing a file share reservation on file will that
be propagated externaly to UNIX ?
 
My findings tells me it don't.

Only on Linux, where Samba is compiled with the parameter
HAVE_KERNEL_SHARE_MODES will share modes be understood by the kernel.

Share modes have *NOTHING* to do with byte range locks. The two
are completely orthoganal.

You really need to understand this before you can proceed.

Jeremy.

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


[Samba] samba 3.0.2 in production on file sever?

2004-02-11 Thread Dmitry Melekhov
Hello!

Do someone use Samba 3.0.2 in production on file server?
When I tired to migrate our fileserver to 3.0 from 2.2.8a with only 200 (or
300, hmm, I don't remember ;-) )
users, with about a 40-50 users, which use old dos clipper based
application, I had locking problems
(someone can say that this was not locking problem, but I think so).
Now I want to try migration to 3.0.2.
But, may be somebody already did such thing.
Oh, I forgot- OS is Linux, SLES8.


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


[Samba] Monitoring File Use

2004-02-11 Thread Bruce Kirkaldy
Hello,
I'm very new to Linux and have a basic question. I am using Debian. Is 
there a module I can load (either from dselect or from an outside 
source) the will allow me to monitor file use on the network? Can this 
be done within Webmin? Hope this is the right place for this question. 
Thanks.
Bruce

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


[Samba] Unable to join ADS domain

2004-02-11 Thread Joe Howell
I've installed Samba 3.0.2 (from the source) on a SuSE
8.2 system with MIT Kerberos 1.3.1 (I uninstalled the
Heimdal code) and the OpenLDAP 2.1.27 development
libraries installed on it.  I want to make this system
a domain member of a Win2K native-mode ADS domain but
can't get net ads join to work.  I've run kinit
[EMAIL PROTECTED] and I get at ticket, but when I do
net ads join -Umyid%mypswd I get no output from the
command and I don't get a machine account in the
domain.

My /etc/krb5.conf looks like:
logging]
default = FILE:/var/log/krb5libs.log
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmind.log

[libdefaults]
default_realm =MYDOMAIN.COM
clockskew = 300
default_tkt_enctypes = des-cbc-crc des-cbc-md5
default_tgs_enctypes = des-cbc-crc des-cbc-md5

[realms]
MYDOMAIN.COM = {
kdc = DCSRV1.MYDOMAIN.COM:88
admin_server = dcsrv1.mydomain.com:749
default_domain = mydomain.com
}
[domain_realm]
.mydomain.com = MYDOMAIN.COM
mydomain.com = MYDOMAIN.COM


My /usr/local/samba/lib/smb.conf looks like:

[global]
realm = MYDOMAIN.COM
security = ads
password server = 10.4.1.13
workgroup = MYDOMAIN
netbios name = susesrv
server string = SAMBA SERVER
encrypt passwords = yes

printcap name = /etc/printcap
load printers = yes
printing = cups

log file = /var/log/samba/%m.log
max log size = 1

socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192

local master = no
domain master = no
preferred master = no
wins server = 10.4.1.60
dns proxy = no

#===SHARE
DEFINITIONS===

[public]
path = /usr/public
browseable = yes
writeable = yes
guest ok = no

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

.COM
security = ads
password server = 10.4.1.13
workgroup = COLUMBIA
netbios name = susesrv
server string = IBM Aptiva in Joe's cube
encrypt passwords = yes

printcap name = /etc/printcap
load printers = yes
printing = cups

log file = /var/log/samba/%m.log
max log size = 1

socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192

local master = no
domain master = no
preferred master = no
wins server = 10.4.1.60
dns proxy = no

#===SHARE
DEFINITIONS===

[public]
path = /usr/public
browseable = yes
writeable = yes
guest ok = no

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



=
Joe Howell
Shelter Insurance Companies
Columbia, MO

__
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] WinXP sometimes is slow opening files / browsing directories

2004-02-11 Thread Louis Ong
Hi, I was reading your article. One question, do you have Norton antivirus
installed in your system? if so, there's a problem with both of them. We are
experiencing the same problem. Just have to wait for the next service pack
from Might Microsoft. Have a nice day.

Louis Ong
Summa Engineering Ltd.
[EMAIL PROTECTED]
(905) 678-3388 Ext. 241


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


Re: [Samba] NetBIOS via ssh tunnel: still getting nowhere

2004-02-11 Thread rruegner
I have good results with openvpn which exists
as client for windows too
Regards
- Original Message - 
From: Paul Gardiner [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, February 10, 2004 1:26 PM
Subject: [Samba] NetBIOS via ssh tunnel: still getting nowhere


 Hi,

 I'm still trying to open a Samba share from Windows XP, via an ssh tunnel.
From
 Linux, and RiscOS no problem, but Windows no.

 Surely someone here has needed to do this at some time or other.

 Please help.

 Cheers,
 Paul.

 -- 
 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] 3.0.1-member-server-printing

2004-02-11 Thread Manfred Odenstein
ok, failure :-(
I've changed permission on all *.tdb in /var/lib/samba, driver files
transfered correctly, samba noticed Added printer driver. Printer name
is blabla .
NT4-Server reported (translated from german) : could not changed to
given driver, previous settings will be restored.

after closing the dialog, an additional dialog pops up saying:
Printer properties couldn't be stored, Access denied. (also translated
from german)

I've raised the log level and noticed a lot of NT_STATUS messages like:
NT_STATUS_OBJECT_NAME_NOT_FOUND
NT_STATUS_NOT_A_DIRECTORY
NT_STATUS_NO_SUCH_FILE
NT_STATUS_INVALID_LEVEL

any suggestions ?

is this a solution ?
1.) create account named root on PDC (NT4), added to group Domain Admins
2.) changed uid in winbind_idmap.tdb to 0 (is there a way to do this ?
with the tdb utitlities ?)
3.) log on with this account and try ones more 

regards odi

Am Mi, den 11.02.2004 schrieb Manfred Odenstein um 16:48:
 [global]
 ...
 printer admin = DOMAIN+Administrator
 ...
 
 doesn't help, sorry, it's already there.
 
 I will try to chmod to 775 the /var/lib/samba (owner root.root)
 directory and add DOMAIN+Administrator to group root, only for testing
 
 will report success or failure
 
 regards odi
 
 
 Am Mi, den 11.02.2004 schrieb Gerald (Jerry) Carter um 16:33:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
  
  Manfred Odenstein wrote:
  
  | I've tried to install the printer drivers for clients
  | (win9x/2000/xp) via the APW (add printer wizard), but
  | I've failed with access denied. If I changed the
  | filesystem permissions in the [print$]-path in the way
  | that the DOMAIN+Administrator is allowed to create
  | directories and files, the driver files were copied on to
  | the samba box. But the driver installation failed (maybe
  | for the default properties).
  
  put 'printer admin' in the gloabl section and this should
  the final piece.
  
  
  
  
  cheers, jerry
  - --
  Hewlett-Packard- http://www.hp.com
  SAMBA Team -- http://www.samba.org
  GnuPG Key   http://www.plainjoe.org/gpg_public.asc
  If we're adding to the noise, turn off this song --Switchfoot (2003)
  -BEGIN PGP SIGNATURE-
  Version: GnuPG v1.2.1 (GNU/Linux)
  Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
  
  iD8DBQFAKktlIR7qMdg1EfYRAlDXAJ4pCNm6O+tdYdku9A3q/JN7n+dd7wCgomcQ
  g2xf7vr6jecbx5pBGM16XJU=
  =l336
  -END PGP SIGNATURE-

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


[Samba] Linux and AD

2004-02-11 Thread Delagarza, Gilbert
I am trying to replace all our NT 4.0 BDC's in our remote offices to Linux
with Samba 3.0. How would I get a workstation at the remote office to run
login scripts from the samba server w/o having a BDC at the remote office
anymore and the workstation's migrated to AD from NT? Is there somekind of
variable that needs to exist on each workstation?



Gilbert Delagarza
Network Computing Services
901-580-2351
901-351-8413 (Cell)
[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] Unable to join ADS domain

2004-02-11 Thread Joe Howell
No bueno.  I changed the enctypes and took the encrypt passwords=yes out, but still 
no reply and no computer account.


[EMAIL PROTECTED] wrote:




[libdefaults]
default_realm =MYDOMAIN.COM
clockskew = 300
default_tkt_enctypes = des-cbc-crc
default_tgs_enctypes = des-cbc-crc


Change the enctypes to: des-cbc-crc as shown above. Also, if you do a
testparam I'll bet that the encrypt passwords = yes entry is going to give
you grief. Besides kerberos is encrypted anyway. Another thing to consider
is flushing the NetBIOS cache on your wins and kdc server - don't know if
this does anything, but it makes me feel better (nbtstat -R).

Tracy Steven Brown
University of Arizona
Dept. Neurology
(520) 626-4660




Joe Howell 
o.com To 
Sent by: [EMAIL PROTECTED] 
samba-bounces+tsb cc 
[EMAIL PROTECTED] 
sts.samba.org Subject 
[Samba] Unable to join ADS domain 

02/11/2004 12:05 
PM 







I've installed Samba 3.0.2 (from the source) on a SuSE
8.2 system with MIT Kerberos 1.3.1 (I uninstalled the
Heimdal code) and the OpenLDAP 2.1.27 development
libraries installed on it. I want to make this system
a domain member of a Win2K native-mode ADS domain but
can't get net ads join to work. I've run kinit
[EMAIL PROTECTED] and I get at ticket, but when I do
net ads join -Umyid%mypswd I get no output from the
command and I don't get a machine account in the
domain.

My /etc/krb5.conf looks like:
logging]
default = FILE:/var/log/krb5libs.log
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmind.log

[libdefaults]
default_realm =MYDOMAIN.COM
clockskew = 300
default_tkt_enctypes = des-cbc-crc des-cbc-md5
default_tgs_enctypes = des-cbc-crc des-cbc-md5

[realms]
MYDOMAIN.COM = {
kdc = DCSRV1.MYDOMAIN.COM:88
admin_server = dcsrv1.mydomain.com:749
default_domain = mydomain.com
}
[domain_realm]
.mydomain.com = MYDOMAIN.COM
mydomain.com = MYDOMAIN.COM


My /usr/local/samba/lib/smb.conf looks like:

[global]
realm = MYDOMAIN.COM
security = ads
password server = 10.4.1.13
workgroup = MYDOMAIN
netbios name = susesrv
server string = SAMBA SERVER
encrypt passwords = yes

printcap name = /etc/printcap
load printers = yes
printing = cups

log file = /var/log/samba/%m.log
max log size = 1

socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192

local master = no
domain master = no
preferred master = no
wins server = 10.4.1.60
dns proxy = no

#===SHARE
DEFINITIONS===

[public]
path = /usr/public
browseable = yes
writeable = yes
guest ok = no

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

.COM
security = ads
password server = 10.4.1.13
workgroup = COLUMBIA
netbios name = susesrv
server string = IBM Aptiva in Joe's cube
encrypt passwords = yes

printcap name = /etc/printcap
load printers = yes
printing = cups

log file = /var/log/samba/%m.log
max log size = 1

socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192

local master = no
domain master = no
preferred master = no
wins server = 10.4.1.60
dns proxy = no

#===SHARE
DEFINITIONS===

[public]
path = /usr/public
browseable = yes
writeable = yes
guest ok = no

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



=
Joe Howell
Shelter Insurance Companies
Columbia, MO

__
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba




Joe Howell
Shelter Insurance Companies
Columbia, MO

-
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Unable to join ADS domain

2004-02-11 Thread Joe Howell
Great site with wonderful information.  Unfortunately, it still don't work.

John Simovic [EMAIL PROTECTED] wrote:have a look at 
www.wlug.org.nz/ActiveDirectorySamba

- Original Message - 
From: Joe Howell 
To: 
Sent: Thursday, February 12, 2004 7:32 AM
Subject: Re: [Samba] Unable to join ADS domain


 No bueno. I changed the enctypes and took the encrypt passwords=yes
out, but still no reply and no computer account.


 [EMAIL PROTECTED] wrote:




 [libdefaults]
 default_realm =MYDOMAIN.COM
 clockskew = 300
 default_tkt_enctypes = des-cbc-crc
 default_tgs_enctypes = des-cbc-crc


 Change the enctypes to: des-cbc-crc as shown above. Also, if you do a
 testparam I'll bet that the encrypt passwords = yes entry is going to give
 you grief. Besides kerberos is encrypted anyway. Another thing to consider
 is flushing the NetBIOS cache on your wins and kdc server - don't know if
 this does anything, but it makes me feel better (nbtstat -R).

 Tracy Steven Brown
 University of Arizona
 Dept. Neurology
 (520) 626-4660




 Joe Howell
 o.com To
 Sent by: [EMAIL PROTECTED]
 samba-bounces+tsb cc
 [EMAIL PROTECTED]
 sts.samba.org Subject
 [Samba] Unable to join ADS domain

 02/11/2004 12:05
 PM







 I've installed Samba 3.0.2 (from the source) on a SuSE
 8.2 system with MIT Kerberos 1.3.1 (I uninstalled the
 Heimdal code) and the OpenLDAP 2.1.27 development
 libraries installed on it. I want to make this system
 a domain member of a Win2K native-mode ADS domain but
 can't get net ads join to work. I've run kinit
 [EMAIL PROTECTED] and I get at ticket, but when I do
 net ads join -Umyid%mypswd I get no output from the
 command and I don't get a machine account in the
 domain.

 My /etc/krb5.conf looks like:
 logging]
 default = FILE:/var/log/krb5libs.log
 kdc = FILE:/var/log/krb5kdc.log
 admin_server = FILE:/var/log/kadmind.log

 [libdefaults]
 default_realm =MYDOMAIN.COM
 clockskew = 300
 default_tkt_enctypes = des-cbc-crc des-cbc-md5
 default_tgs_enctypes = des-cbc-crc des-cbc-md5

 [realms]
 MYDOMAIN.COM = {
 kdc = DCSRV1.MYDOMAIN.COM:88
 admin_server = dcsrv1.mydomain.com:749
 default_domain = mydomain.com
 }
 [domain_realm]
 .mydomain.com = MYDOMAIN.COM
 mydomain.com = MYDOMAIN.COM


 My /usr/local/samba/lib/smb.conf looks like:

 [global]
 realm = MYDOMAIN.COM
 security = ads
 password server = 10.4.1.13
 workgroup = MYDOMAIN
 netbios name = susesrv
 server string = SAMBA SERVER
 encrypt passwords = yes

 printcap name = /etc/printcap
 load printers = yes
 printing = cups

 log file = /var/log/samba/%m.log
 max log size = 1

 socket options = TCP_NODELAY SO_RCVBUF=8192
 SO_SNDBUF=8192

 local master = no
 domain master = no
 preferred master = no
 wins server = 10.4.1.60
 dns proxy = no

 #===SHARE
 DEFINITIONS===

 [public]
 path = /usr/public
 browseable = yes
 writeable = yes
 guest ok = no

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

 .COM
 security = ads
 password server = 10.4.1.13
 workgroup = COLUMBIA
 netbios name = susesrv
 server string = IBM Aptiva in Joe's cube
 encrypt passwords = yes

 printcap name = /etc/printcap
 load printers = yes
 printing = cups

 log file = /var/log/samba/%m.log
 max log size = 1

 socket options = TCP_NODELAY SO_RCVBUF=8192
 SO_SNDBUF=8192

 local master = no
 domain master = no
 preferred master = no
 wins server = 10.4.1.60
 dns proxy = no

 #===SHARE
 DEFINITIONS===

 [public]
 path = /usr/public
 browseable = yes
 writeable = yes
 guest ok = no

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



 =
 Joe Howell
 Shelter Insurance Companies
 Columbia, MO

 __
 Do you Yahoo!?
 Yahoo! Finance: Get your refund fast by filing online.
 http://taxes.yahoo.com/filing.html
 --
 To unsubscribe from this list go to the following URL and read the
 instructions: http://lists.samba.org/mailman/listinfo/samba




 Joe Howell
 Shelter Insurance Companies
 Columbia, MO

 -
 Do you Yahoo!?
 Yahoo! Finance: Get your refund fast by filing online
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions: http://lists.samba.org/mailman/listinfo/samba





Joe Howell
Shelter Insurance Companies
Columbia, MO

-
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] NTLMv2 in Samba 3.0

2004-02-11 Thread Chu, Dan
I tested NTLMv2 again using the newly created Samba 3.0.2 (I didn't test
3.0.1). It still doesn't seem to work. Has anyone successfully made
NTLMv2 work? If so, can I have a working sample of the smb.conf file? 

I have included below entries in my smb.conf (among other entries):
security = server
password server = NTDomainController
client ntlmv2 auth = yes

On both NTDomainController and W2k client, I have Imcompatibilitylevel
set to 3 or 5 from the Registry Editor for LSA. On NTDomainController,
it also has both NtlmMinClientSec and NtlmMinServerSec set to 0x0008
(to permit only NTLMv2 session security). I just cannot map a drive from
W2k client to the Samba server running Solaris 8.

Thanks a lot in advance.
Dan 

-Original Message-
From: Andrew Bartlett [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 25, 2003 11:29 PM
To: Chu, Dan [IT]
Cc: '[EMAIL PROTECTED]'
Subject: Re: [Samba] NTLMv2 in Samba 3.0


On Fri, 2003-10-24 at 06:53, Chu, Dan [IT] wrote:
 Hello,
 Has anyone successfully configured Samba 3.0 to authenticate using
NTLMv2
 only? I have below entry in smb.conf:
 password server = domain controller
 
 to use domain controller for user authentication and DC is configured
with
 Level 5 - DC refuses LM and NTLM authentication (accepts only NTLMv2).
So
 far I got: System error 1326 has occurred.
 Logon failure: unknown user name or bad password. errors. 
 
 I am not sure what option(s) to use in the smb.conf file to make it
work. My
 understanding is that Samba 3.0 defaults to NTLMv2 if password server
is
 configured to accept NTLMv2. 

As a server, Samba 3.0 implements NTLMv2 by default.  Samba also passes
on NTLMv2 authentication attempts to the DC without modification, so it
can validate them.  

As a client, you need to specify 'client ntlmv2 auth = yes' to force
Samba to use NTLMv2, as it is incompatible with older servers.

It is not possible to 'modify' an NTLM authentication request into
NTLMv2, so if your clients are not configured correctly, they will not
correctly talk to an NTLMv2 enforcing server/domain.

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 win 2000 permissions

2004-02-11 Thread Bruner, Andrew
I'm using SuSE 9 and Samba 2.28. Samba is config'd as a stand alone server
in a workgoup.
I want users to be able to create shares and add the users they want with
the permissions they want.
I've been testing this by, logging in as a user(Win2K), creating a folder,
right clicking on the folder, go to Properties,  Security Tab, click Add -
find another user, click ok, ok.
It then gives me this error:
Unable to save permission changes on folder that I created
Access denied.

Does anyone know how to fix this?
Do I have to config samba as a PDC in order to get this function?
Thanks
-Andrew


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


RE: [Samba] NTLMv2 in Samba 3.0

2004-02-11 Thread Chu, Dan
Andrew,
Thank you for your reply. I'm not sure what is not required. Do you mean
client ntlmv2 auth = yes ? Anyway, I've changed it to security = domain
in smb.conf (all other entries remain intact). I was able to join the samba
server to the NT domain using the net join utility. Then restarted the
samba daemons. When trying to map a drive from an W2k client, I got below
error:
Configuration information could not be read from the domain controller,
either because the machine is unavailable, or access has been denied. 

What did I miss here? 

Thanks,
Dan 

-Original Message-
From: Andrew Bartlett [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 11, 2004 4:35 PM
To: Chu, Dan
Cc: Andrew Bartlett; [EMAIL PROTECTED]
Subject: RE: [Samba] NTLMv2 in Samba 3.0


On Thu, 2004-02-12 at 08:27, Chu, Dan wrote:
 I tested NTLMv2 again using the newly created Samba 3.0.2 (I didn't test
 3.0.1). It still doesn't seem to work. Has anyone successfully made
 NTLMv2 work? If so, can I have a working sample of the smb.conf file? 
 
 I have included below entries in my smb.conf (among other entries):
 security = server
 password server = NTDomainController

 client ntlmv2 auth = yes

This is not required for pass-though NTLMv2 authentication.

 On both NTDomainController and W2k client, I have Imcompatibilitylevel
 set to 3 or 5 from the Registry Editor for LSA. On NTDomainController,
 it also has both NtlmMinClientSec and NtlmMinServerSec set to 0x0008
 (to permit only NTLMv2 session security). I just cannot map a drive from
 W2k client to the Samba server running Solaris 8.

Use 'security=domain'.  NTLM2 session security is not compatible with
'security=server'.

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 3.02 - problems in compilation Unixware 7.1.1

2004-02-11 Thread Luis Alberto Reyes R.
We need update our samba version in Unixware server (uw 7.1.1) to 3.02
version,  we have make:

./configure - that seems without any problem

but when we tried

./make

we had gotten this message:

../samba/samba-3.0.2/source
  LIBS = -lgen -lresolv -lsocket -lnsl
  LDSHFLAGS = -G
  LDFLAGS =
Compiling dynconfig.c
UX:acomp: WARNING: include/vfs.h, line 462: no macro replacement within a
string literal
Compiling smbd/build_options.c
UX:acomp: WARNING: smbd/build_options.c, line 1: empty translation unit
Linking bin/smbd
Undefined   first referenced
 symbol in file
__unsafe_string_function_usage_here__ msdfs/msdfs.o
build_options   smbd/server.o
UX:ld: ERROR: bin/smbd: fatal error: Symbol referencing errors. No output
writte
n to bin/smbd
make: *** [bin/smbd] Error 1

what we are doing wrong??

Thanks

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


Re: [Samba] NetBIOS via ssh tunnel: still getting nowhere

2004-02-11 Thread Paul Gardiner
From: rruegner [EMAIL PROTECTED]
 I have good results with openvpn which exists
 as client for windows too
 Regards

Thanks for info.  I probably can't use that.  I'm not in control of
the server.  The server has sshd running on it already, but I wouldn't
be able to arrange for a vpn server to be installed.

What's annoying is that port 139 forwarding is sufficient to make the
connection (as shown by other OS's), but Windows refuses to try
without first doing some sort of name resolution.

Cheers,
Paul.


 - Original Message - 
 From: Paul Gardiner [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, February 10, 2004 1:26 PM
 Subject: [Samba] NetBIOS via ssh tunnel: still getting nowhere
 
 
  Hi,
 
  I'm still trying to open a Samba share from Windows XP, via an ssh tunnel.
 From
  Linux, and RiscOS no problem, but Windows no.
 
  Surely someone here has needed to do this at some time or other.
 
  Please help.
 
  Cheers,
  Paul.
 
  -- 
  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] ACL LDAP

2004-02-11 Thread Norman Zhang
Hi,

I've been using Samba on XFS with ACL support for a while. But mapping 
the NT ACL to POSIX ACL is very hairy to maintain and often results are 
not what I expected. Would LDAP provide better solution for folder 
restrictions? Could someone recommend other alternatives?

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


Re: [Samba] NetBIOS via ssh tunnel: still getting nowhere

2004-02-11 Thread rruegner
Maybe you can use putty , a time ago i tunnel a few other ports
through putty but non smb , perhaps you should try
Regards
- Original Message - 
From: Paul Gardiner [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 12, 2004 12:57 AM
Subject: Re: [Samba] NetBIOS via ssh tunnel: still getting nowhere


 From: rruegner [EMAIL PROTECTED]
  I have good results with openvpn which exists
  as client for windows too
  Regards

 Thanks for info.  I probably can't use that.  I'm not in control of
 the server.  The server has sshd running on it already, but I wouldn't
 be able to arrange for a vpn server to be installed.

 What's annoying is that port 139 forwarding is sufficient to make the
 connection (as shown by other OS's), but Windows refuses to try
 without first doing some sort of name resolution.

 Cheers,
 Paul.


  - Original Message - 
  From: Paul Gardiner [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Tuesday, February 10, 2004 1:26 PM
  Subject: [Samba] NetBIOS via ssh tunnel: still getting nowhere
 
 
   Hi,
  
   I'm still trying to open a Samba share from Windows XP, via an ssh
tunnel.
  From
   Linux, and RiscOS no problem, but Windows no.
  
   Surely someone here has needed to do this at some time or other.
  
   Please help.
  
   Cheers,
   Paul.
  
   -- 
   To unsubscribe from this list go to the following URL and read the
   instructions:  http://lists.samba.org/mailman/listinfo/samba
  
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba


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


[Samba] still trying to get groupmap details worked through

2004-02-11 Thread Craig White
Red Hat AS 3 - samba 3.0.0

I am confused by the errors in these logs - can anyone clarify, what if
anything I am doing wrong?

PDC (LDAP Master - aka linserv2) /var/log/samba/dell-4348
[2004/02/10 08:17:29, 0] groupdb/mapping.c:init_group_mapping(139)
  Failed to open group mapping database
[2004/02/10 08:17:29, 0]
groupdb/mapping.c:get_domain_group_from_sid(509)

BDC (LDAP Slave - aka linserv1) /var/log/samba/dell-4348
[2004/02/11 16:34:31, 0]
passdb/pdb_ldap.c:ldapsam_search_one_group(1612)
  ldapsam_search_one_group: Problem during the LDAP search: LDAP error: 
(Insufficient access)smbldap_open: cannot access LDAP when not root..

Brief as possible - conf. data follows...

/etc/samba/smb.conf (PDC - LDAP master)
passdb backend = ldapsam:ldap://localhost/
ldap suffix = o=Domain,c=US
ldap passwd sync = Yes
ldap admin dn = cn=root,o=Domain,c=US

/etc/samba/smb.conf (BDC - LDAP slave)
passdb backend = ldapsam:ldap://localhost/
ldaps://linserv2.domain.com/
ldap suffix = o=Domain,c=US
ldap passwd sync = Yes
ldap admin dn = cn=admin,o=Domain,c=US

net groupmap list (output on both PDC  BDC is the same)
Super Admin (S-1-5-21-1292501092-333717336-619646970-1512) - root
Users All (S-1-5-21-1292501092-333717336-619646970-1500) - users-all
Users PR (S-1-5-21-1292501092-333717336-619646970-1502) - users-pr
Users ADV (S-1-5-21-1292501092-333717336-619646970-1503) - users-adv
Users Acctg (S-1-5-21-1292501092-333717336-619646970-1504) -
users-acctg
Users Web (S-1-5-21-1292501092-333717336-619646970-1505) - users-web
Users Remote (S-1-5-21-1292501092-333717336-619646970-1506) -
users-remote
MTS Impersonators (S-1-5-21-1292501092-333717336-619646970-1003) - MTS
Impersonators
WWW access (S-1-5-21-1292501092-333717336-619646970-1015) - WWW access
Account Operators (S-1-5-32-548) - Account Operators
Guests (S-1-5-32-546) - Guests
Server Operators (S-1-5-32-549) - Server Operators
Domain Admins (S-1-5-21-1292501092-333717336-619646970-512) - Domain
Admins
Domain Users (S-1-5-21-1292501092-333717336-619646970-513) - Domain
Users
Domain Guests (S-1-5-21-1292501092-333717336-619646970-514) - Domain
Guests
Accounting (S-1-5-21-1292501092-333717336-619646970-1008) - Accounting
Public Relations (S-1-5-21-1292501092-333717336-619646970-1021) -
Public Relations
Macintosh Users (S-1-5-21-1292501092-333717336-619646970-1049) -
Macintosh Users
Administrators (S-1-5-32-544) - Administrators
Print Operators (S-1-5-32-550) - Print Operators
Domain Computers (S-1-5-21-1292501092-333717336-619646970-553) - Domain
Computers
Replicator (S-1-5-32-552) - Replicator
Backup Operators (S-1-5-32-551) - Backup Operators

Users 'primary posix group' is users-all
Users 'primary samba group' is Domain Users

The user logged in at dell-4348 (typical of users) looks like this from
LDAP query:

# khageman, People, Domain, US
dn: uid=khageman,ou=People,o=Domain,c=US
gecos: System User
description: System User
displayName: Kelly Hageman
sambaPwdLastSet: 1074451596
sambaPwdCanChange: 1074451596
sambaPwdMustChange: 2147483647
sambaProfilePath: \\linserv1\profiles\khageman
sambaLogonScript: users-pr.bat
cn: Kelly Hageman
uidNumber: 1024
sambaPrimaryGroupSID: S-1-5-21-1292501092-333717336-619646970-513
sambaAcctFlags: [U  ]
mail: [EMAIL PROTECTED]
sambaLMPassword: ---REMOVED
uid: khageman
sambaHomePath: \\linserv2\homes\khageman
homeDirectory: /home/users/khageman
objectClass: top
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: sambaSamAccount
sambaDomainName: DOMAIN
gidNumber: 1000
sambaSID: S-1-5-21-1292501092-333717336-619646970-1092
sambaNTPassword: ---REMOVED
sn: Hageman
givenName: Kelley
loginShell: /bin/false
userPassword:: ---REMOVED


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


RE: [Samba] Samba 3.0.1 - 3.0.2 upgrade problem

2004-02-11 Thread Lewis Shobbrook
 org] On Behalf Of Barry Smoke
 Sent: Thursday, 12 February 2004 02:47
 Cc: [EMAIL PROTECTED]
 Subject: Re: [Samba] Samba 3.0.1 - 3.0.2 upgrade problem
 
 same thing here...

I had a similar experience, where NT4, 9X  DOS clients dropped off. 

This was caused by a hung process  or locked file in my case, where smbd
failed shutdown cleanly. 
Rather than attempting to trace the rogue file/process, I simply
restarted the machine and all came up roses.

 
 amrito wrote:
 
  Michal Sladek wrote:
   This morning I tried to upgrade Samba from 3.0.1 to 3.0.2 final I 
   had only few minutes to test it from Windows XP clients (we use 
   Windows 98 and XP clients in our company) because we have 
 hundreds 
   of users connected and I had to go back to 3.0.1 
 immediately before 
   the get angry:-)
 
  Exactly the same happend with me.
 
  After compiling 3.0.2 (which worked absolutely fine) and installing 
  it, the telephone started to ring, and I had to revert immediately.
 
  Basic effect:
  when attaching a network drive, the system asked for a password and 
  afterwards rejected the service with a message like 
 'invalid user or 
  password'
 
  I haven't got time to install 3.0.2 on a spare server to check what 
  went wrong without the threat of being thrown out of the 
 window, but 
  if in between someone got some hints what might have gone wrong and 
  (even more interesting) how to fix it, I would greatly 
 appreciate to 
  get the info, too.
 
  Thanks
  Regards
  john

Might be better to set-up a test machine  test your upgrades before
rolling them out eh!

Cheers,

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


RE: [Samba] New Fedora RPMS available

2004-02-11 Thread Lewis Shobbrook
  Heads up,
 
 These should fix the cups problems reported on the list 
 yesterday.  See http://samba.org/samba/ftp/Binary_Packages/
 

Where the deb's also effected? 
All printers are shared here, but access is uniformly denied? 

Cheers,

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


RE: [Samba] New Fedora RPMS available

2004-02-11 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 12 Feb 2004, Lewis Shobbrook wrote:

   Heads up,
  
  These should fix the cups problems reported on the list 
  yesterday.  See http://samba.org/samba/ftp/Binary_Packages/
  
 
 Where the deb's also effected? 
 All printers are shared here, but access is uniformly denied? 

I don't handle the debian packaging.  Simo ?




cheers, jerry
 --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 If we're adding to the noise, turn off this song --Switchfoot (2003)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQFAKw52IR7qMdg1EfYRAidiAJ4065yXKP4A9nAVFbxAHrVTFl+tewCfewvh
0tL4V4ZnlweAGHuIAzi8dWI=
=eDHN
-END PGP SIGNATURE-

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


Re: [Samba] smbclient question regarding anonymous logins

2004-02-11 Thread msamba
In my opinion, it has nothing in common with network browsing. Similar 
error you get when you try to connect Windows XP Pro share as guest and 
this guest access is not allowed in Local Policy Settings.

Michal

On Wed, 11 Feb 2004, James Bowes wrote:

 Hi all.
 
 As relates to my previous email today (Samba 3.0.1 windows browsing), I
 broke out the troubleshooting document called Samba_troubleshooting. I
 followed through alot of the same steps I had previously though this
 time I use the following command:
 
 smbclient -L pgbc -N
 
 I received this message:
 
 Anonymous login successful
 tree connect failed: NT_STATUS_LOGON_FAILURE
 
 Of course when I login in with a password, the shares are listed as I
 expect. Does this anonymous login failure indicate why network browsing
 is not possible??
 
 Thanks for any and all responses.
 
 --james
 

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


[Samba] More Info: Mac permission problems after Debian update

2004-02-11 Thread Michael Carland
There seems to be a few people having this problem, but not much response.
I've dug into the logs, and while I don't know exactly what I am looking
at, I think I may have found something that may make sense to someone.

A short recap. Samba was working fine, until I did a Debian security
update, which upgraded my Samba to 2.2.8a. Now, I can create files on a
mounted Samba share in a console, but not in the finder, I get the message
'The operation cannot be completed because you do not have sufficient
privileges for dilbert030923.gif', which is the name of the file being
copied. From what I see in the logs, I think the privileges message is
off.

Once I dismiss the dialog, there is nothing in the directory I am copying
to, but before I dismiss, I find two files: a zero length
dilbert030923.gif, and a 82 byte ._dilbert030923.gif.  One of the files
being non-zero length is a second clue that the privileges message may be
bogus.

Because of the error messages below, I tried turning off posix locking,
and things seem to be working now. So I guess my question has become, will
running without posix locking harm anything? And, I don't believe I
changed that setting during the upgrade. I suppose the default could have
changed, but is there something more sinister going on in the logs below?

I mounted the share, changed logging to level 10, and tried to copy a
file.

Looking in the log, I can see it create the 82 byte file, and
open/read/close it a few times. There are a few of these:

[2004/02/12 00:07:40, 3] smbd/process.c:switch_message(685)
  switch message SMBlockingX (pid 391)
[2004/02/12 00:07:40, 4] smbd/uid.c:change_to_user(119)
  change_to_user: Skipping user change - already user
[2004/02/12 00:07:40, 10] smbd/reply.c:reply_lockingX(4707)  
  reply_lockingX: unlock start=0, len=4294967295 for pid 1, file
mp3/bar/._dilbert030923.gif
[2004/02/12 00:07:40, 10] locking/locking.c:do_unlock(197)
  do_unlock: unlock start=0 len=4294967295 requested for file
mp3/bar/._dilbert030923.gif
[2004/02/12 00:07:40, 10] locking/brlock.c:brl_unlock(432)
  brl_unlock: tdb_fetch failed !
[2004/02/12 00:07:40, 10] locking/locking.c:do_unlock(209)
  do_unlock: returning ERRlock.
[2004/02/12 00:07:40, 3] smbd/error.c:error_packet(129)
  error packet at smbd/reply.c(4712) cmd=36 (SMBlockingX) eclass=1
ecode=158

But things seem to head south around here:

[2004/02/12 00:07:40, 3] smbd/process.c:switch_message(685)
  switch message SMBlockingX (pid 391)
[2004/02/12 00:07:40, 4] smbd/uid.c:change_to_user(119)
  change_to_user: Skipping user change - already user
[2004/02/12 00:07:40, 10] smbd/reply.c:reply_lockingX(4741)
  reply_lockingX: lock start=0, len=4294967295 for pid 1, file
mp3/bar/dilbert030923.gif timeout = 0
[2004/02/12 00:07:40, 10] locking/locking.c:do_lock(113)
  do_lock: lock type WRITE start=0 len=4294967295 requested for file
mp3/bar/dilbert030923.gif
[2004/02/12 00:07:40, 5] locking/posix.c:set_posix_lock(969)
  set_posix_lock: File mp3/bar/dilbert030923.gif, offset = 0, count =
4294967295, type = WRITE
[2004/02/12 00:07:40, 10] locking/posix.c:posix_lock_in_range(632)
  posix_lock_in_range: offset_out = 0, count_out = 4294967295
[2004/02/12 00:07:40, 10] locking/posix.c:add_posix_lock_entry(392)
  add_posix_lock: File mp3/bar/dilbert030923.gif: type = WRITE: start=0
size=4294967295: dev=833 inode=19598  
[2004/02/12 00:07:40, 5] locking/posix.c:set_posix_lock(1055)
  set_posix_lock: Real lock: Type = WRITE: offset = 0, count = 4294967295
[2004/02/12 00:07:40, 8] locking/posix.c:posix_fcntl_lock(650)
  posix_fcntl_lock 22 13 0 4294967295 1
[2004/02/12 00:07:40, 8] lib/util.c:fcntl_lock(1308)
  fcntl_lock 22 13 0 4294967295 1
[2004/02/12 00:07:40, 3] lib/util.c:fcntl_lock(1319)
  fcntl_lock: fcntl lock gave errno 75 (Value too large for defined data
type)
[2004/02/12 00:07:40, 3] lib/util.c:fcntl_lock(1341)
  fcntl_lock: lock failed at offset 0 count 4294967295 op 13 type 1 (Value
too large for defined data type)
[2004/02/12 00:07:40, 8] locking/posix.c:posix_fcntl_lock(680)
  posix_fcntl_lock: Lock call failed
[2004/02/12 00:07:40, 5] locking/posix.c:set_posix_lock(1059)
  set_posix_lock: Lock fail !: Type = WRITE: offset = 0, count =
4294967295. Errno = Value too large for defined data type
[2004/02/12 00:07:40, 10] locking/locking.c:do_lock(113)
  do_lock: lock type WRITE start=0 len=4294967295 requested for file
mp3/bar/dilbert030923.gif
[2004/02/12 00:07:40, 5] locking/posix.c:set_posix_lock(969)
  set_posix_lock: File mp3/bar/dilbert030923.gif, offset = 0, count =
4294967295, type = WRITE
[2004/02/12 00:07:40, 10] locking/posix.c:posix_lock_in_range(632)
  posix_lock_in_range: offset_out = 0, count_out = 4294967295
[2004/02/12 00:07:40, 10] locking/posix.c:add_posix_lock_entry(392)
  add_posix_lock: File mp3/bar/dilbert030923.gif: type = WRITE: start=0
size=4294967295: dev=833 inode=19598
[2004/02/12 00:07:40, 5] locking/posix.c:set_posix_lock(1055)
  set_posix_lock: Real lock: Type = WRITE: 

[Samba] Re: scuruwv

2004-02-11 Thread npc
TA WIADOMOSC ZOSTALA WYGENEROWANA AUTOMATYCZNIE

jesli ja otrzymales, to znaczy, ze wyslales e-mail na konto [EMAIL PROTECTED] . 
Uprzejmie informuje, ze jest ono juz nieaktywne, moj obecny adres to:
[EMAIL PROTECTED]

pozdrawiam serdecznie i przepraszam za utrudnienia
Kaska
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] New Fedora RPMS available

2004-02-11 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Heads up,

These should fix the cups problems reported on the
list yesterday.  See http://samba.org/samba/ftp/Binary_Packages/




cheers, jerry
- --
Hewlett-Packard- http://www.hp.com
SAMBA Team -- http://www.samba.org
GnuPG Key   http://www.plainjoe.org/gpg_public.asc
If we're adding to the noise, turn off this song --Switchfoot (2003)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAKj2jIR7qMdg1EfYRAun3AKCT8wYXknBW0PdE/6jmjI7x50zSGQCgimTm
5zfixlKh1itRuTMUHfalxLU=
=SIl1
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Samba 3.0.1 windows browsing

2004-02-11 Thread James Bowes
Hi again all.
 
I still haven't resolved this issue of browsing the LAN. Here are a few
details:

*   The windows stations can see each other when the Samba server is
off-line
*   The windows station can't see each or anything else on the
network when Samba is brought on-line
*   Wins support is enabled
*   each windows station has proper Wins entries with Wins enabled
*   the server and stations have been rebooted several times -
doesn't change anything
*   /etc/hosts has proper entries
*   each windows station has a static IP (small network, easy to
manage)
*   nmblookup correctly identifies the Master Browser as the Samba
server
*   smbclient properly lists shares on the Samba server and each
windows station

Here is a look at the nmblookup - general query applied
 
nmblookup -L pgbc
added interface ip=192.168.0.9 bcast=192.168.0.255 nmask=255.255.255.0
Socket opened.
querying pgbc on 192.168.0.255
Got a positive name query response from 192.168.0.9 ( 192.168.0.9 )
Got a positive name query response from 192.168.0.101 ( 192.168.0.101 )
Got a positive name query response from 192.168.0.105 ( 192.168.0.105 )
Got a positive name query response from 192.168.0.103 ( 192.168.0.103 )
Got a positive name query response from 192.168.0.104 ( 192.168.0.104 )
Got a positive name query response from 192.168.0.102 ( 192.168.0.102 )
192.168.0.9 pgbc00
192.168.0.101 pgbc00
192.168.0.105 pgbc00
192.168.0.103 pgbc00
192.168.0.104 pgbc00
192.168.0.102 pgbc00

nmblookup - master browser query applied:
 
nmblookup -M -- -
added interface ip=192.168.0.9 bcast=192.168.0.255 nmask=255.255.255.0
Socket opened.
querying __MSBROWSE__ on 192.168.0.255
Got a positive name query response from 192.168.0.9 ( 192.168.0.9 )
192.168.0.9 __MSBROWSE__01
 
smbclient query:
 
Sharename  Type  Comment
-    ---
user1_pub   Disk  User1's public docs
user2_pub Disk  User2's public docs
user3_pub  Disk  User3's public docs
pgbc   Disk  PGBC's public docs
user4_pub   Disk  User4's public docs
user5_pub Disk  User5's public docs
clerk_pub  Disk
IPC$IPC   IPC Service (Samba Server)
ADMIN$   IPC   IPC Service (Samba Server)
rootDisk  Home Directories
 
Server   Comment
----
 
WorkgroupMaster
----
PGBCPGBC-SRV
 
Any ideas or insight's would be helpful and very appreciated.
 
Regards,
 
--james
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] smbclient question regarding anonymous logins

2004-02-11 Thread James Bowes
Hi all.
 
As relates to my previous email today (Samba 3.0.1 windows browsing), I
broke out the troubleshooting document called Samba_troubleshooting. I
followed through alot of the same steps I had previously though this
time I use the following command:
 
smbclient -L pgbc -N 
 
I received this message:
 
Anonymous login successful
tree connect failed: NT_STATUS_LOGON_FAILURE
 
Of course when I login in with a password, the shares are listed as I
expect. Does this anonymous login failure indicate why network browsing
is not possible??
 
Thanks for any and all responses.
 
--james
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Unable to join ADS domain

2004-02-11 Thread TBrown




okay, try this:

Linux:
$ kdestroy
$ kinit Administrator

Windows:
(1) C:/where/ever/klist purge -- [default place is c:/program
files/resource kit/klist.exe]
(You'll need to download this from microsoft:
http://www.microsoft.com/windows2000/techinfo/reskit/tools/existing/klist-o.asp)

(2) Clear the NetBIOS cache again (I'm superstitious): nbtstat -R

--

Linux:

$ vi /etc/hosts - add: xxx.xxx.xxx.xxx  host.domain.name  netbios_name
[of your ADS/KDC server]
$ net join ads
   - if you get Administrator password you're good to go.
   - if you get root password you're encryption settings are wrong (or at
least that was my problem).


Let's see what we get.


Tracy Steven Brown
University of Arizona
Dept. Neurology
(520) 626-4660



   
 Joe Howell
 [EMAIL PROTECTED] 
 o.com To 
   [EMAIL PROTECTED]   
 02/11/2004 01:04   cc 
 PM
   Subject 
   Re: [Samba] Unable to join ADS  
   domain  
   
   
   
   
   
   




No bueno.  I changed the enctypes and took the encrypt passwords=yes out,
but still no reply and no computer account.

[EMAIL PROTECTED] wrote:





 [libdefaults]
 default_realm =MYDOMAIN.COM
 clockskew = 300
 default_tkt_enctypes = des-cbc-crc
 default_tgs_enctypes = des-cbc-crc


 Change the enctypes to: des-cbc-crc as shown above. Also, if you do a
 testparam I'll bet that the encrypt passwords = yes entry is going to give
 you grief. Besides kerberos is encrypted anyway. Another thing to consider
 is flushing the NetBIOS cache on your wins and kdc server - don't know if
 this does anything, but it makes me feel better (nbtstat -R).

 Tracy Steven Brown
 University of Arizona
 Dept. Neurology
 (520) 626-4660




 Joe Howell
 o.com To
 Sent by: [EMAIL PROTECTED]
 samba-bounces+tsb cc
 [EMAIL PROTECTED]
 sts.samba.org Subject
 [Samba] Unable to join ADS domain

 02/11/2004 12:05
 PM







 I've installed Samba 3.0.2 (from the source) on a SuSE
 8.2 system with MIT Kerberos 1.3.1 (I uninstalled the
 Heimdal code) and the OpenLDAP 2.1.27 development
 libraries installed on it. I want to make this system
 a domain member of a Win2K native-mode ADS domain but
 can't get net ads join to work. I've run kinit
 [EMAIL PROTECTED] and I get at ticket, but when I do
 net ads join -Umyid%mypswd I get no output from the
 command and I don't get a machine account in the
 domain.

 My /etc/krb5.conf looks like:
 logging]
 default = FILE:/var/log/krb5libs.log
 kdc = FILE:/var/log/krb5kdc.log
 admin_server = FILE:/var/log/kadmind.log

 [libdefaults]
 default_realm =MYDOMAIN.COM
 clockskew = 300
 default_tkt_enctypes = des-cbc-crc des-cbc-md5
 default_tgs_enctypes = des-cbc-crc des-cbc-md5

 [realms]
 MYDOMAIN.COM = {
 kdc = DCSRV1.MYDOMAIN.COM:88
 admin_server = dcsrv1.mydomain.com:749
 default_domain = mydomain.com
 }
 [domain_realm]
 .mydomain.com = MYDOMAIN.COM
 mydomain.com = MYDOMAIN.COM


 My /usr/local/samba/lib/smb.conf looks like:

 [global]
 realm = MYDOMAIN.COM
 security = ads
 password server = 10.4.1.13
 workgroup = MYDOMAIN
 netbios name = susesrv
 server string = SAMBA SERVER
 encrypt passwords = yes

 printcap name = /etc/printcap
 load printers = yes
 printing = cups

 log file = /var/log/samba/%m.log
 max log size = 1

 socket options = TCP_NODELAY SO_RCVBUF=8192
 SO_SNDBUF=8192

 local master = no
 domain master = no
 preferred master = no
 wins server = 10.4.1.60
 dns proxy = no

 #===SHARE
 DEFINITIONS===

 [public]
 path = /usr/public
 browseable = yes
 writeable = yes
 guest ok = no

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

 .COM
 security = ads
 password server = 10.4.1.13
 workgroup = COLUMBIA
 netbios name = susesrv
 server string = IBM Aptiva in Joe's cube
 encrypt passwords = yes

 printcap name = /etc/printcap
 load printers = yes
 printing = cups

 log file = /var/log/samba/%m.log
 max log size = 1

 socket options = TCP_NODELAY SO_RCVBUF=8192
 SO_SNDBUF=8192

 local master = 

[Samba] Samba 3 with Unix passwd authentication?

2004-02-11 Thread Andy Moran
We are a primarily Linux company with a NIS backend, but we keep a 
couple bridge boxes for Windows users (on a Windows PDC) to connect to 
their unix accounts and access data.

Under Samba 2.2, this was fairly easy with encrypt passwords = no 
turned on.   But I can't figure out how to make it work with Samba 3. 
Does Samba 3 not support a unix passwd backend, or am I just missing a 
configuration option?

--Andy

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


CVS update: samba/source/passdb

2004-02-11 Thread tpot

Date:   Wed Feb 11 10:02:49 2004
Author: tpot

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

Modified Files:
passdb.c 
Log Message:
Move around function to fix build after recent static rampage.


Revisions:
passdb.c1.218 = 1.219

http://www.samba.org/cgi-bin/cvsweb/samba/source/passdb/passdb.c.diff?r1=1.218r2=1.219


CVS update: samba/source/lib

2004-02-11 Thread tpot

Date:   Wed Feb 11 10:30:46 2004
Author: tpot

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

Modified Files:
util.c 
Log Message:
Applied James Peach's stack backtrace patch for IRIX.


Revisions:
util.c  1.411 = 1.412

http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/util.c.diff?r1=1.411r2=1.412


CVS update: samba/source

2004-02-11 Thread tpot

Date:   Wed Feb 11 10:30:46 2004
Author: tpot

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

Modified Files:
configure.in 
Log Message:
Applied James Peach's stack backtrace patch for IRIX.


Revisions:
configure.in1.523 = 1.524

http://www.samba.org/cgi-bin/cvsweb/samba/source/configure.in.diff?r1=1.523r2=1.524


CVS update: samba4/source/passdb

2004-02-11 Thread Stefan Metzmacher

Date:   Wed Feb 11 12:45:47 2004
Author: metze

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

Modified Files:
pdb_guest.c pdb_ldap.c pdb_smbpasswd.c pdb_tdb.c pdb_unix.c 
Log Message:
as I renamed the PDB subsystem to PASSDB, we need to rename
the static init functions of the modules too:-)

metze


Revisions:
pdb_guest.c 1.2 = 1.3

http://www.samba.org/cgi-bin/cvsweb/samba4/source/passdb/pdb_guest.c.diff?r1=1.2r2=1.3
pdb_ldap.c  1.3 = 1.4

http://www.samba.org/cgi-bin/cvsweb/samba4/source/passdb/pdb_ldap.c.diff?r1=1.3r2=1.4
pdb_smbpasswd.c 1.2 = 1.3

http://www.samba.org/cgi-bin/cvsweb/samba4/source/passdb/pdb_smbpasswd.c.diff?r1=1.2r2=1.3
pdb_tdb.c   1.2 = 1.3

http://www.samba.org/cgi-bin/cvsweb/samba4/source/passdb/pdb_tdb.c.diff?r1=1.2r2=1.3
pdb_unix.c  1.2 = 1.3

http://www.samba.org/cgi-bin/cvsweb/samba4/source/passdb/pdb_unix.c.diff?r1=1.2r2=1.3


CVS update: samba4/source/librpc/rpc

2004-02-11 Thread tridge

Date:   Wed Feb 11 13:18:05 2004
Author: tridge

Update of /home/cvs/samba4/source/librpc/rpc
In directory dp.samba.org:/tmp/cvs-serv6689

Modified Files:
dcerpc_schannel.c 
Log Message:
fixed a void return spotted by metze


Revisions:
dcerpc_schannel.c   1.3 = 1.4

http://www.samba.org/cgi-bin/cvsweb/samba4/source/librpc/rpc/dcerpc_schannel.c.diff?r1=1.3r2=1.4


CVS update: samba/source/utils

2004-02-11 Thread jerry

Date:   Wed Feb 11 14:59:08 2004
Author: jerry

Update of /data/cvs/samba/source/utils
In directory dp.samba.org:/tmp/cvs-serv27243/utils

Modified Files:
  Tag: SAMBA_3_0
net_rap.c net_rpc.c 
Log Message:
BUG 1055; patch from SATOH Fumiyasu  [EMAIL PROTECTED]; formatting fixes for 'net 
share'

Revisions:
net_rap.c   1.12.2.5 = 1.12.2.6

http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/net_rap.c.diff?r1=1.12.2.5r2=1.12.2.6
net_rpc.c   1.14.2.50 = 1.14.2.51

http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/net_rpc.c.diff?r1=1.14.2.50r2=1.14.2.51


CVS update: samba-docs/docbook/smbdotconf/filename

2004-02-11 Thread jerry

Date:   Wed Feb 11 15:13:12 2004
Author: jerry

Update of /data/cvs/samba-docs/docbook/smbdotconf/filename
In directory dp.samba.org:/tmp/cvs-serv30194/docbook/smbdotconf/filename

Modified Files:
maphidden.xml 
Log Message:
BUG 1054; patch from SATOH Fumiyasu  [EMAIL PROTECTED]; fix a few typos

Revisions:
maphidden.xml   1.3 = 1.4

http://www.samba.org/cgi-bin/cvsweb/samba-docs/docbook/smbdotconf/filename/maphidden.xml.diff?r1=1.3r2=1.4


CVS update: samba-docs/docbook/smbdotconf/locking

2004-02-11 Thread jerry

Date:   Wed Feb 11 15:13:12 2004
Author: jerry

Update of /data/cvs/samba-docs/docbook/smbdotconf/locking
In directory dp.samba.org:/tmp/cvs-serv30194/docbook/smbdotconf/locking

Modified Files:
locking.xml 
Log Message:
BUG 1054; patch from SATOH Fumiyasu  [EMAIL PROTECTED]; fix a few typos

Revisions:
locking.xml 1.3 = 1.4

http://www.samba.org/cgi-bin/cvsweb/samba-docs/docbook/smbdotconf/locking/locking.xml.diff?r1=1.3r2=1.4


CVS update: samba-docs/docbook/smbdotconf/winbind

2004-02-11 Thread jerry

Date:   Wed Feb 11 15:13:12 2004
Author: jerry

Update of /data/cvs/samba-docs/docbook/smbdotconf/winbind
In directory dp.samba.org:/tmp/cvs-serv30194/docbook/smbdotconf/winbind

Modified Files:
templateshell.xml 
Log Message:
BUG 1054; patch from SATOH Fumiyasu  [EMAIL PROTECTED]; fix a few typos

Revisions:
templateshell.xml   1.3 = 1.4

http://www.samba.org/cgi-bin/cvsweb/samba-docs/docbook/smbdotconf/winbind/templateshell.xml.diff?r1=1.3r2=1.4


CVS update: samba-docs/docbook/manpages

2004-02-11 Thread jerry

Date:   Wed Feb 11 15:13:12 2004
Author: jerry

Update of /data/cvs/samba-docs/docbook/manpages
In directory dp.samba.org:/tmp/cvs-serv30194/docbook/manpages

Modified Files:
smbtree.1.xml 
Log Message:
BUG 1054; patch from SATOH Fumiyasu  [EMAIL PROTECTED]; fix a few typos

Revisions:
smbtree.1.xml   1.2 = 1.3

http://www.samba.org/cgi-bin/cvsweb/samba-docs/docbook/manpages/smbtree.1.xml.diff?r1=1.2r2=1.3


CVS update: samba/source/sam

2004-02-11 Thread jerry

Date:   Wed Feb 11 15:20:18 2004
Author: jerry

Update of /data/cvs/samba/source/sam
In directory dp.samba.org:/tmp/cvs-serv32086/sam

Modified Files:
gums_api.c 
Log Message:
fix broken compile after andrew's changes

Revisions:
gums_api.c  1.9 = 1.10

http://www.samba.org/cgi-bin/cvsweb/samba/source/sam/gums_api.c.diff?r1=1.9r2=1.10


CVS update: samba/source/utils

2004-02-11 Thread jerry

Date:   Wed Feb 11 15:20:41 2004
Author: jerry

Update of /data/cvs/samba/source/utils
In directory dp.samba.org:/tmp/cvs-serv32288/utils

Modified Files:
net_rap.c net_rpc.c 
Log Message:
BUG 1055; patch from SATOH Fumiyasu  [EMAIL PROTECTED]; formatting fixes for 'net 
share'

Revisions:
net_rap.c   1.19 = 1.20

http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/net_rap.c.diff?r1=1.19r2=1.20
net_rpc.c   1.73 = 1.74

http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/net_rpc.c.diff?r1=1.73r2=1.74


CVS update: samba/source/client

2004-02-11 Thread jerry

Date:   Wed Feb 11 15:39:11 2004
Author: jerry

Update of /data/cvs/samba/source/client
In directory dp.samba.org:/tmp/cvs-serv4801/client

Modified Files:
client.c 
Log Message:
BUG 900: TAKEDA yasuma [EMAIL PROTECTED]; fix token processing in cmd_symlink, 
cmd_link, cmd_chown, cmd_chmod functions

Revisions:
client.c1.256 = 1.257

http://www.samba.org/cgi-bin/cvsweb/samba/source/client/client.c.diff?r1=1.256r2=1.257


CVS update: samba/source

2004-02-11 Thread jra

Date:   Wed Feb 11 19:07:02 2004
Author: jra

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

Modified Files:
  Tag: SAMBA_3_0
configure.in 
Log Message:
Added James Peach's fix for #1038.
Jeremy.


Revisions:
configure.in1.300.2.213 = 1.300.2.214

http://www.samba.org/cgi-bin/cvsweb/samba/source/configure.in.diff?r1=1.300.2.213r2=1.300.2.214


CVS update: samba/source/lib

2004-02-11 Thread jra

Date:   Wed Feb 11 19:07:02 2004
Author: jra

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

Modified Files:
  Tag: SAMBA_3_0
util.c 
Log Message:
Added James Peach's fix for #1038.
Jeremy.


Revisions:
util.c  1.358.2.43 = 1.358.2.44

http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/util.c.diff?r1=1.358.2.43r2=1.358.2.44


CVS update: samba/source/libsmb

2004-02-11 Thread jra

Date:   Wed Feb 11 19:59:14 2004
Author: jra

Update of /data/cvs/samba/source/libsmb
In directory dp.samba.org:/tmp/cvs-serv21616/libsmb

Modified Files:
asn1.c 
Log Message:
Paranoia fixes :-).
Jeremy.


Revisions:
asn1.c  1.18 = 1.19

http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/asn1.c.diff?r1=1.18r2=1.19


CVS update: samba/source/libsmb

2004-02-11 Thread jra

Date:   Wed Feb 11 19:59:17 2004
Author: jra

Update of /data/cvs/samba/source/libsmb
In directory dp.samba.org:/tmp/cvs-serv21596/libsmb

Modified Files:
  Tag: SAMBA_3_0
asn1.c 
Log Message:
Paranoia fixes :-).
Jeremy.


Revisions:
asn1.c  1.11.2.5 = 1.11.2.6

http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/asn1.c.diff?r1=1.11.2.5r2=1.11.2.6


CVS update: samba/source/passdb

2004-02-11 Thread jerry

Date:   Wed Feb 11 21:10:04 2004
Author: jerry

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

Modified Files:
  Tag: SAMBA_3_0
pdb_tdb.c 
Log Message:
fix set/getsampwent iterator in tdbsam to use an allocated list

Revisions:
pdb_tdb.c   1.58.2.26 = 1.58.2.27

http://www.samba.org/cgi-bin/cvsweb/samba/source/passdb/pdb_tdb.c.diff?r1=1.58.2.26r2=1.58.2.27


CVS update: samba/source/utils

2004-02-11 Thread jerry

Date:   Wed Feb 11 21:10:04 2004
Author: jerry

Update of /data/cvs/samba/source/utils
In directory dp.samba.org:/tmp/cvs-serv2909/utils

Modified Files:
  Tag: SAMBA_3_0
pdbedit.c 
Log Message:
fix set/getsampwent iterator in tdbsam to use an allocated list

Revisions:
pdbedit.c   1.39.2.39 = 1.39.2.40

http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/pdbedit.c.diff?r1=1.39.2.39r2=1.39.2.40


CVS update: samba/source/client

2004-02-11 Thread jerry

Date:   Wed Feb 11 21:42:20 2004
Author: jerry

Update of /data/cvs/samba/source/client
In directory dp.samba.org:/tmp/cvs-serv9452/client

Modified Files:
  Tag: SAMBA_3_0
client.c 
Log Message:
BUG 900: TAKEDA yasuma [EMAIL PROTECTED]; fix token processing in cmd_symlink, 
cmd_link, cmd_chown, cmd_chmod functions

Revisions:
client.c1.209.2.46 = 1.209.2.47

http://www.samba.org/cgi-bin/cvsweb/samba/source/client/client.c.diff?r1=1.209.2.46r2=1.209.2.47


CVS update: samba/source/passdb

2004-02-11 Thread jra

Date:   Wed Feb 11 22:47:12 2004
Author: jra

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

Modified Files:
  Tag: SAMBA_3_0
pdb_tdb.c 
Log Message:
Don't set an iterator to a piece of free'd memory, store it first.
Jeremy.


Revisions:
pdb_tdb.c   1.58.2.27 = 1.58.2.28

http://www.samba.org/cgi-bin/cvsweb/samba/source/passdb/pdb_tdb.c.diff?r1=1.58.2.27r2=1.58.2.28


  1   2   >