Re: [Samba] patch to configure.in for Solaris/gcc (-KPIC vs. -fPIC)

2002-05-10 Thread Thamara Wanigatunga


Hello Gerald,

Sometimes this may seem to you as a stupid question, but I'm helpless. I
used patchadd and patch commands on Solaris to add these 2 patches you have
given without any luck. I also reckon that these shouldn't be Solaris
patches cos they don't have the basecode and the revision that Solaris
patches should have.Pls tell me how to add them and tell me how Autoconf
comes in to the picture. I'm installing this on a Solaris 2.6 on SPARC.

Please give me a hint

Thanks


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



Re: [Samba] Samba does not work over masquerade

2002-05-10 Thread David W. Chapman Jr.

> > Its not a samba problem.  NetbiosDGM needs to be proxies.  If you can
> > use ipfilter, look at the netbios proxy.  I believe port 137 needs to
> > be proxied as well.  The netbiosdgm proxy in ipfilter changes part of
> > the payload in the netbios dgm packet to work with NAT.
>
> I am not sure what you are talking about.  This is well beyond
> my current understanding.
>
> I am running a freshly-installed RedHat 7.3 distribution.
>
> Are there instructions on setting this up on a RedHat 7.3 machine?
>

There may be, but I don't run linux so I don't know if there are for redhat.
If you are just talking about share level access then that work's over NAT.
Logging on to a domain is where the problem is.  You logon, but the windows
client gets confused due to payload in the packet.  Its a pretty complex
issue unless you're someone who understands the netbios protocol.  I started
reading RFC 1001 and 1002.  There may be easier ways or you may not be
trying to do what I think you're doing, so hopefully someone else can help
you better than I can.


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



Re: [Samba] Samba + Quickbooks

2002-05-10 Thread Greg Zartman


A little off topic here, but you guys should really learn how to quote a 
posted message.  This quickbooks topic is certainly something that I'm 
interested in, but it's very difficult to follow the discussion when 
every follow up message contains the entire conversation from previous 
posts, superceded by greater than signs.






-- 
Greg J. Zartman, P.E.
Vice-President

Logging Engineering International, Inc.
1243 West 7th Avenue
Eugene, Oregon 97402
541-683-8383fax 541-683-8144


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



[Samba] vfs audit broken ?

2002-05-10 Thread marius


hi

i'm trying to use the audit module with samba 2.2.4, while the recycle bin
module works (with the patch from Scot Hetzel) the audit module doesn't.
i even don't get the "VFS_INIT: vfs_ops loaded".
isn't it possible to use more than one vfs module ?
and yes i set up syslogd correctly...

btw, it's not needed to use '\n' with syslog()


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



Re: [Samba] Samba + Quickbooks

2002-05-10 Thread Seth Hollen



> From: Seth Hollen <[EMAIL PROTECTED]>
> To: Karl Schmidt <[EMAIL PROTECTED]>
> Subject: Re: [Samba] Samba + Quickbooks
> Date: 10 May 2002 22:58:14 -0400
> 
> just as a note, I have quickbooks on a samba share and have had no file
> corruption, a few mysterious file permission problems but nothing
> serious.the files are not that large however.I am considering proposing
> a linux/samba replacement to an accounting firm and this is something to
> be aware of, thanks!
> 
> Seth
>  
> 
> 
> On Fri, 2002-05-10 at 20:39, Karl Schmidt wrote:
> > This is set up with Win2K boxes sharing a QB file on a SAMBA share. It may 
> > be quite different than with 95-98x-ME(Miserable Edition).
> > 
> >   There are two or more problems - one thing I identified is that it is 
> > possible for two computers to connect to the QB(QuickBooks) share using the 
> > same quick books logon - something that will cause data corruption. 
> > (Something that could have been easily addressed in the QB software too  -- 
> > can't wait till GNUcash does invoices).
> > 
> > The smb.conf that follows seems to have fixed this problem
> > 
> > The other problem only starts after the file size reaches the magic 
> > 16777216 byte file size - after that size sharing a QB file on SAMBA seems 
> > to cause corruption on it's own.
> > 
> > After a talking with several folks at Intuit - - (and being told twice that 
> > running off a Linux server was not problem) I found a brighter tech who 
> > told me that  they don't support linux as a server and they have notes 
> > showing that they know about the file corruption problems that they can't 
> > show us. They don't think there is a work-around, but then I think they are 
> > probably wrong.
> > 
> > I have added
> > 
> > oplocks = no
> > strict locking = yes
> > 
> > To the share definition. And will know if it works in a while.
> > 
> > If this gets to Andrew Trigell's attention, let him know that I will supply 
> > him with QB software to test this out if he needs it - all he has to do is ask.
> > 
> > The files and directories belong to accounting.accounting the permissions 
> > are set to 770
> > 
> > 
> > NO guarantee if this works - It will take some weeks of just using it to 
> > see if I have it fixed - in the mean time I'm dong lots of verifydata and 
> > backing up several times/ day.
> > 
> > Any feed back here will be more than welcome
> > 
> > smb.conf follows:
> > 
> > 
> > #=== Global Base parameters ===
> > [global]
> > netbios name = servername
> > workgroup = workgroup
> > server string = AMD800mHz 200mHz SFB 376MB RAM
> > level2 oplocks=yes
> > # Global logging ==
> > log level = 2
> > syslog = 0
> > max log size = 2000
> > 
> > #== Global security issues =
> > encrypt passwords = yes
> > smb passwd file = /etc/samba/smbpasswd
> > #unix password sync = Yes
> > passwd program = /usr/bin/passwd %u
> > passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n 
> > *passwd:*all*authentication*tokens*updated*successfully*
> > #unix password sync=yes
> > hosts allow = 192.168.1.
> > security = user
> > 
> > # Global tunning parameters ===
> > socket options = TCP_NODELAY IPTOS_LOWDELAY
> > #dead time = 15
> > 
> > #= Global printer params 
> > printcap name = /etc/printcap
> > load printers = yes
> > log file = /var/log/samba/%m.log
> > 
> > #= Global Browser Control Options 
> > domain master = yes
> > password server = *
> > local master = yes
> > os level = 67
> > preferred master = yes
> > 
> > # Global Wins parameters ===
> > wins support = yes
> > name resolve order = wins lmhosts bcast
> > 
> > # Share Definitions ==
> > [homes]
> > writable = yes
> > browsable = no
> > 
> > [accounting]
> > browseable=yes
> > comment = /home/accounting Quick books share directory
> > path = /home/accounting
> > oplocks = no
> > strict locking = yes
> > writable = yes
> > create mask = 770
> > directory mask=770
> > force group = accounting
> > 
> > valid users = norma, karl, malaysia
> > 
> > # the above users all belong to the accounting group
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > --
> > Karl Schmidt EMail[EMAIL PROTECTED]
> > Transtronics, Inc.WEB http://xtronics.com
> > 3209 West 9th Street  Ph(785) 841-3089
> > Lawrence, KS 66049FAX(785) 841-0434
> > 
> > Definition of Windows XP:
> > SPAM, thinly disguised as an operating system
> > --
> -- 
> Take care,
> 
> Seth
> [EMAIL PROTECTED]
> 727-919-1598
> 
-- 
Take care,

Seth
[EMAIL PROTECTED]
727-919-1598



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



Re: [Samba] hi!! samba team

2002-05-10 Thread Joel Hammer

To connect to a windows server:

smbclient -L //server/share

Are you using linux? The command to mount a directory in linux looks
something like this in linux:
smbmount //$i/"$n" /mnt/NetWork/$i/"$n" -o uid=username,gid=users,guest,rw,fmask=777
Where:
i=server
n=share name
/mnt/Network is your mounting directory.
YMMV.
Joel

On Sat, May 11, 2002 at 03:35:37AM +0300, poet wrote:
> i have been sitting on the samba conf and cant understand how to mount windows 
> dir from linux box/
> i edit the config file and i can set my window to connect the linux 
> but dont know what to do to mount to win .
> if you could help  i will be very thankfull
> 
> bye:-)
> -- 
> Dekel Ophir
> this e-mail was sent using KDE mail , running on R.H. linux7.3  (2.4.8-13) 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

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



Re: [Samba] Samba + Quickbooks

2002-05-10 Thread Jeremy Allison

On Fri, May 10, 2002 at 07:39:02PM -0500, Karl Schmidt wrote:
> This is set up with Win2K boxes sharing a QB file on a SAMBA share. It may 
> be quite different than with 95-98x-ME(Miserable Edition).
> 
>   There are two or more problems - one thing I identified is that it is 
> possible for two computers to connect to the QB(QuickBooks) share using the 
> same quick books logon - something that will cause data corruption. 
> (Something that could have been easily addressed in the QB software too  -- 
> can't wait till GNUcash does invoices).
> 
> The smb.conf that follows seems to have fixed this problem
> 
> The other problem only starts after the file size reaches the magic 
> 16777216 byte file size - after that size sharing a QB file on SAMBA seems 
> to cause corruption on it's own.
> 
> After a talking with several folks at Intuit - - (and being told twice that 
> running off a Linux server was not problem) I found a brighter tech who 
> told me that  they don't support linux as a server and they have notes 
> showing that they know about the file corruption problems that they can't 
> show us. They don't think there is a work-around, but then I think they are 
> probably wrong.
> 
> I have added
> 
> oplocks = no
> strict locking = yes
> 
> To the share definition. And will know if it works in a while.

Also can you tell me what version of Samba you are using please ?
There were several fixes that went into 2.2.4 that may help your
problem.

Thanks,

Jeremy.

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



Re: [Samba] Samba + Quickbooks

2002-05-10 Thread Jeremy Allison

On Fri, May 10, 2002 at 07:39:02PM -0500, Karl Schmidt wrote:
> This is set up with Win2K boxes sharing a QB file on a SAMBA share. It may 
> be quite different than with 95-98x-ME(Miserable Edition).
> 
>   There are two or more problems - one thing I identified is that it is 
> possible for two computers to connect to the QB(QuickBooks) share using the 
> same quick books logon - something that will cause data corruption. 
> (Something that could have been easily addressed in the QB software too  -- 
> can't wait till GNUcash does invoices).
> 
> The smb.conf that follows seems to have fixed this problem
> 
> The other problem only starts after the file size reaches the magic 
> 16777216 byte file size - after that size sharing a QB file on SAMBA seems 
> to cause corruption on it's own.
> 
> After a talking with several folks at Intuit - - (and being told twice that 
> running off a Linux server was not problem) I found a brighter tech who 
> told me that  they don't support linux as a server and they have notes 
> showing that they know about the file corruption problems that they can't 
> show us. They don't think there is a work-around, but then I think they are 
> probably wrong.
> 
> I have added
> 
> oplocks = no
> strict locking = yes
> 
> To the share definition. And will know if it works in a while.
> 
> If this gets to Andrew Trigell's attention, let him know that I will supply 
> him with QB software to test this out if he needs it - all he has to do is ask.

Andrew is still in Germany. Can you provide me with the software
and instructions to reproduce the problem so I can ensure it is
fixed in the SAMBA_2_2 and HEAD code streams please !

Thanks,

Jeremy.

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



[Samba] Samba + Quickbooks

2002-05-10 Thread Karl Schmidt

This is set up with Win2K boxes sharing a QB file on a SAMBA
share. It may be quite different than with 95-98x-ME(Miserable
Edition).
 There are two or more problems - one thing I identified is that it
is possible for two computers to connect to the QB(QuickBooks) share
using the same quick books logon - something that will cause data
corruption. (Something that could have been easily addressed in the QB
software too  -- can't wait till GNUcash does invoices).
The smb.conf that follows seems to have fixed this
problem
The other problem only starts after the file size reaches the magic
16777216 byte file size - after that size sharing a QB file on SAMBA
seems to cause corruption on it's own. 
After a talking with several folks at Intuit - - (and being told twice
that running off a Linux server was not problem) I found a brighter tech
who told me that  they don't support linux as a server and they have
notes showing that they know about the file corruption problems that they
can't show us. They don't think there is a work-around, but then I think
they are probably wrong. 
I have added 
oplocks = no
strict locking = yes
To the share definition. And will know if it works in a while. 
If this gets to Andrew Trigell's attention, let him know that I will
supply him with QB software to test this out if he needs it - all he has
to do is ask.
The files and directories belong to accounting.accounting the
permissions are set to 770

NO guarantee if this works - It will take some weeks of just using it to
see if I have it fixed - in the mean time I'm dong lots of verifydata and
backing up several times/ day. 
Any feed back here will be more than welcome 
smb.conf follows:

#=== Global Base parameters ===
[global]
netbios name = servername
workgroup = workgroup
server string = AMD800mHz 200mHz SFB 376MB RAM
level2 oplocks=yes
# Global logging ==
log level = 2
syslog = 0
max log size = 2000
#== Global security issues =
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
#unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
#unix password sync=yes
hosts allow = 192.168.1. 
security = user
# Global tunning parameters ===
socket options = TCP_NODELAY IPTOS_LOWDELAY
#dead time = 15
#= Global printer params 
printcap name = /etc/printcap
load printers = yes
log file = /var/log/samba/%m.log
#= Global Browser Control Options 
domain master = yes 
password server = *
local master = yes
os level = 67
preferred master = yes
# Global Wins parameters ===
wins support = yes
name resolve order = wins lmhosts bcast
# Share Definitions
==
[homes]
writable = yes
browsable = no
[accounting]
browseable=yes
comment = /home/accounting Quick books share directory
path = /home/accounting
oplocks = no
strict locking = yes
writable = yes
create mask = 770
directory mask=770
force group = accounting
valid users = norma, karl, malaysia
# the above users all belong to the accounting group






-- 
Karl Schmidt EMail    [EMAIL PROTECTED] 
Transtronics, Inc.    WEB
http://xtronics.com

3209 West 9th Street  Ph(785) 841-3089 
Lawrence, KS 66049    FAX(785) 841-0434
Definition of Windows XP: 
SPAM, thinly disguised as an operating system 
--



[Samba] hi!! samba team

2002-05-10 Thread poet

i have been sitting on the samba conf and cant understand how to mount windows 
dir from linux box/
i edit the config file and i can set my window to connect the linux 
but dont know what to do to mount to win .
if you could help  i will be very thankfull

bye:-)
-- 
Dekel Ophir
this e-mail was sent using KDE mail , running on R.H. linux7.3  (2.4.8-13) 

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



RE: [Samba] Samba - cannot print multiple copies

2002-05-10 Thread Maithri Samuel

Hi Joel,

Thank you for the info. Still not sure why I can't
do multiple prints. I'll just accept that
limitation and enjoy that my 1 copy printed
through samba/freebsd looks better than how
windows printed it :)

Cheers.

Mike Samuel

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Joel Hammer

I do not have that option for notepad, but I do for wordpad. I get two
copies when I ask
for it. No problem.

Here is my smb.conf file for my printer.  Don't be mystified by the long
print command. That is just to capture the print job name for debugging
stuff and to get a decent display of the job name in the windows print
queue. I mean, who need to see

The command is really just: /usr/bin/lpr -Pps  -J"$a"  %s; rm %s

where a is captured from the J variable passed by windows to the samba
server. Otherwise, the name is just too long to display, sometimes. If you
don't use the %J variable, you get the silly smbprn.000400.CFI7Uf name.


[ps]
comment = Filtered for Z53
path = /tmp
read only = No
create mask = 0700
guest ok = Yes
hosts allow = 192.168.
printable = Yes
printing = lprng
print command = echo %J %p %s  >>  /tmp/junkJ;\
   a="`echo '%J' | sed "s/^.*- //"`" ;\
   echo This is truncated $a >> /tmp/junkJ;\
   /usr/bin/lpr -Pps  -J"$a"  %s;\
   rm %s
lpq command = /usr/bin/lpq -Pps
lprm command = /usr/bin/lprm -Pps %j
lppause command = /usr/sbin/lpc hold z53 %j
lpresume command = /usr/sbin/lpc release z53 %j
share modes = No

Joel


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



[Samba] Changing ACLs using W2k client and samba server with bestbits ACL patch

2002-05-10 Thread Andrew Hildebrand

I have a linux server  with the bestbits ACL patch, running samba (that
has successfully joined the domain).  I built the samba server
"--with-acl-support".  I can make changes to the ACLs on the linux box,
and see the changes on the W2k client.   However I cannot make any
changes to ACLs using the W2k client.  Whenever I try to make changes to
the ACLs on the W2k client and press APPLY or OK, the items in the
window revert back to the original.  Am I doing something wrong?  Or is
this the default behavior?

Linux Server RH7.2
kernel:  2.4.18 with betsbits acl patch version 0.8.26
samba:  2.2.3a  built "--with-acl-support"

Client
Windows 2000


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] Samba does not work over masquerade

2002-05-10 Thread Neil Aggarwal

David:

> Its not a samba problem.  NetbiosDGM needs to be proxies.  If you can 
> use ipfilter, look at the netbios proxy.  I believe port 137 needs to 
> be proxied as well.  The netbiosdgm proxy in ipfilter changes part of 
> the payload in the netbios dgm packet to work with NAT.

I am not sure what you are talking about.  This is well beyond 
my current understanding.

I am running a freshly-installed RedHat 7.3 distribution.  

Are there instructions on setting this up on a RedHat 7.3 machine?

Thanks,
Neil.

--
Neil Aggarwal
JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
Custom Internet DevelopmentWebsites, Ecommerce, Java, databases

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



Re: [Samba] Samba - cannot print multiple copies

2002-05-10 Thread Joel Hammer

I do not have that option for notepad, but I do for wordpad. I get two copies when I 
ask
for it. No problem.

Here is my smb.conf file for my printer.  Don't be mystified by the long
print command. That is just to capture the print job name for debugging
stuff and to get a decent display of the job name in the windows print
queue. I mean, who need to see

The command is really just: /usr/bin/lpr -Pps  -J"$a"  %s; rm %s 

where a is captured from the J variable passed by windows to the samba
server. Otherwise, the name is just too long to display, sometimes. If you
don't use the %J variable, you get the silly smbprn.000400.CFI7Uf name.


[ps]
comment = Filtered for Z53
path = /tmp
read only = No
create mask = 0700
guest ok = Yes
hosts allow = 192.168.
printable = Yes
printing = lprng
print command = echo %J %p %s  >>  /tmp/junkJ;\
   a="`echo '%J' | sed "s/^.*- //"`" ;\
   echo This is truncated $a >> /tmp/junkJ;\
   /usr/bin/lpr -Pps  -J"$a"  %s;\
   rm %s
lpq command = /usr/bin/lpq -Pps
lprm command = /usr/bin/lprm -Pps %j
lppause command = /usr/sbin/lpc hold z53 %j
lpresume command = /usr/sbin/lpc release z53 %j
share modes = No

Joel


On Fri, May 10, 2002 at 03:25:37PM -0700, Maithri Samuel wrote:
> Hi Joel,
> 
> I'm running windows 2000 and in notepad, I select
> FILE menu, select PRINT. In the dialogue box that
> pops up, there's an option NUMBER OF COPIES.
> 
> I also tried multiple copies in WORD. No luck,
> still only 1 copy. Frankly, I'm kinda stumped.
> Anyone who can print multiple copies care to 
> paste their printcap/smb.conf?
> 
> Cheers.
> 
> Mike Samuel
> 
> -Original Message-
> From: Joel Hammer [mailto:[EMAIL PROTECTED]]
> Sent: May 10, 2002 3:19 PM
> 
> How do you sed 20 copies from notepad? I don't see any option to print a
> certain number of copies.
> Joel
> 
> > Hi,
> > 
> > I successfully setup printing on my FreeBSD box 
> > using Samba with apsfilter and lprng. However, I 
> > have encountered two issues:
> > 
> > 1) Cannot print multiple copies of documents from
> > my windows box (e.g. notepad). Only the first
> > copy is printed and the rest don't get printed.
> > 2) My spool directory is getting filled up and
> > I would like the job removed after the print
> > job is finished
> > 
> > I've tried:
> > - selecting collated and not collated in the
> > windows printing, that didn't fix the problem. 
> > Still one copy printed.
> > - adding lpd_bounce in both and also one at a time in 
> > the /etc/printcap and in the /usr/local/etc/lpd.conf. 
> > /etc/printcap -> added :lpd_bounce:\ before my :mx line
> > /usr/local/etc/lpd.conf -> changed to
> > #   default lpd_bounce (FLAG on)
> > Still one copy printed. Changed them back to not have 
> > lpd_bounce but still only one copy ;)
> > - even when I do lpr -r DOC_NAME in FreeBSD,
> > it still leaves stuff in the spool directory.
> > I use lprm - to flush it
> > 
> > Things I've setup:
> > - using the default lpd.conf and lpd.perms files.
> > - not running passwords or custom freebsd users on samba.
> > Strictly guest access by user nobody.
> > - set up mode 1777 on the samba print dir
> > - Ran checkpc -f -V. No problems. Had an old 
> > problem of not being able to access /dev/lpt0 but 
> > I fixed the access privilages (still wierd that
> > we have to do that, the freebsd installed lpr 
> > didn't require that, why does lprng require
> > changing the port's access rights?)
> > - I can print multiple copies from the FreeBSD
> > box if I run lpr -#N, up to the 20 limit I 
> > specified below.
> > 
> > I will greatly appreciate help in fixing
> > these two problems. I've included my setup files
> > below. If there is any else that is required,
> > please reply and I will include the details of
> > that as well.
> > 
> > Cheers.
> > 
> > **
> > **
> > 
> > Current setup is:
> > Windows 2000 client
> > FreeBSD 4.5 server 
> > running
> >  Samba-2.2.2_3
> >  Apsfilter-7.2.2
> >  LPRng-3.8.10
> > 
> > /ETC/Printcap
> > # APS1_BEGIN:printer1
> > # - don't delete start label for apsfilter printer1
> > # - no other printer defines between BEGIN and END LABEL
> > HP-Deskjet-560C|stp/pcl-560;r=300x300;q=high;c=full;p=letter;m=auto:\
> > :lp=/dev/lpt0:\
> > :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
> > :sd=/var/spool/lpd/HP-Deskjet-560C:\
> > :lf=/var/spool/lpd/HP-Deskjet-560C/log:\
> > :af=/var/spool/lpd/HP-Deskjet-560C/acct:\
> > :mx#0:\
> > :mc#20:\
> > :sh:
> > # APS1_END - don't delete this
> > 
> > /USR/LOCAL/ETC/SMB.CONF
> > [global]
> > ...
> > load printers = yes
> > use client driver = yes
> > printing = lprng
> > guest account = nobody
> > max log size = 50
> > security = share
> > socket options = TCP_NODELAY 
> > dns proxy = no 
> > domain master = yes
> > preferred master = yes
> 

Re: [Samba] After reIP, Samba hosts not browsable.

2002-05-10 Thread C. Bensend


On Fri, 10 May 2002, Herb Lewis wrote:

> If you are set up to use WINS this is definitely your problem.
> If possible upgrade your samba systems to 2.2.4. Previous
> versions had a bug where the would not register with the
> WINS server if there was an old registration there - even
> if that was no longer being defended.
>
> "Van Sickler, Jim" wrote:
> >
> > Did you update the hosts/lmhosts files on
> > all of the servers & clients?  If not,
> > they still contain the IP info from your
> > old scheme...

Hello Herb and Jim,

I checked, and the hosts and lmhosts files did not
contain any old IP information.

I did go ahead and upgrade one of my machines to
2.2.4, with no change - the host still did not appear in
Network Neighborhood.  I checked with the Windows guys, and
there was no previous machine account on the domain for that
machine.  Before the reIP, it was browsable.

This seems to point 100% at WINS, but I hope that I'm
not ruffling too many feathers by continuing this thread
here - I think that this is probably the best group to help,
even though it doesn't seem to be a problem exclusively with
Samba.

I very much appreciate the suggestions so far, and thanks in
advance for any further help you folks can give.  :)

Benny


~~
Always carry a short length of fibre-optic cable. If
you get lost, then you can drop it on the ground, wait
ten minutes, and ask the backhoe operator how to get
back to civilization. -Alan Frame



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



RE: [Samba] Unix Group Question with repect to Samba

2002-05-10 Thread Bartick, Brett

Well, I now feel like I have egg on my face! After getting two responses
that mentioned this should work I rebooted my PC where I have been testing
this. That seemed to fix the problem. I can now use a user list for groups
(which is totally awesome). Sorry to bother the list with such a trivial
problem but I really didn't see any mention of this in the manual or in a
quick scan through the archives.

Reagrds,

Brett Bartick
VP
Corporate Technology
Nomura Securities International, Inc.
2 World Financial Center
New York, NY 10281


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 10, 2002 5:59 PM
To: Bartick, Brett
Cc: '[EMAIL PROTECTED]'
Subject: Re: [Samba] Unix Group Question with repect to Samba


On Fri, May 10, 2002 at 05:31:55PM -0400, Bartick, Brett wrote:
> I have a question with regards to using Unix groups with samba. This might
> be easier to explain with an example.
> 
> Lets say I have two users
> 
> UserID: GID
> UserA:Group1
> UserB:Group2
> 
> etc.
> 
> I now have an entry in /etc/group that looks like
> 
> groupdev::UserA, UserB
> 
> If I have a directory with group ownership set to "groupdev" and group
mode
> "rws"
> UserA & UserB cannot create a file in the share on their Windows machine.
> But if they connect to the Unix host, no problem.
> Does Samba understand user lists for group permissioning?

Yes, Samba should load the primary and supplementary groups
into the user security context. There must be something else
wrong in the setup on that share. Can you post your smb.conf ?

Thanks,

Jeremy.
-  This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission. If
you receive this message in error, please delete it and all copies from your
system, destroy any hard copies and notify the sender. You must not,
directly or indirectly, use, disclose, distribute, print, or copy any part
of this message if you are not the intended recipient. Nomura Holding
America Inc., Nomura Securities International, Inc, and their respective
subsidiaries each reserve the right to monitor all e-mail communications
through its networks. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorized to state the views of such entity. Unless otherwise stated,
any pricing information in this message is indicative only, is subject to
change and does not constitute an offer to deal at any price quoted. Any
reference to the terms of executed transactions should be treated as
preliminary only and subject to our formal written confirmation.

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



[Samba] Samba does not work over masquerade

2002-05-10 Thread Neil Aggarwal

Hello:

I am using iptables to masquerade my machines behind my DSL
connection.

I am trying to access a samba share on a remote machine.

When I try to connect to the samba share with my computer
plugged into my hub (and therefore masqueraded by my linux
router), I cant connect to the share.

But, if I plug my computer directly into the DSL modem,
I have no problems with samba.

So, it looks like samba does not work from a masqueraded
machine.

Has anyone been able to set this up?

Thanks,
Neil.

--
Neil Aggarwal
JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
Custom Internet DevelopmentWebsites, Ecommerce, Java, databases


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



Re: [Samba] Unix Group Question with repect to Samba

2002-05-10 Thread Jeremy Allison

On Fri, May 10, 2002 at 05:31:55PM -0400, Bartick, Brett wrote:
> I have a question with regards to using Unix groups with samba. This might
> be easier to explain with an example.
> 
> Lets say I have two users
> 
> UserID: GID
> UserA:Group1
> UserB:Group2
> 
> etc.
> 
> I now have an entry in /etc/group that looks like
> 
> groupdev::UserA, UserB
> 
> If I have a directory with group ownership set to "groupdev" and group mode
> "rws"
> UserA & UserB cannot create a file in the share on their Windows machine.
> But if they connect to the Unix host, no problem.
> Does Samba understand user lists for group permissioning?

Yes, Samba should load the primary and supplementary groups
into the user security context. There must be something else
wrong in the setup on that share. Can you post your smb.conf ?

Thanks,

Jeremy.

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



Re: [Samba] Unix Group Question with repect to Samba

2002-05-10 Thread mkh01

I've set things up almost exactly like that before, with no problems.
Did you set the share to be writable in smb.conf? If the share is
configured to be read-only it would show the behavior you describe.

On Fri, May 10, 2002 at 05:31:55PM -0400, Bartick, Brett wrote:
> I have a question with regards to using Unix groups with samba. This might
> be easier to explain with an example.
> 
> Lets say I have two users
> 
> UserID: GID
> UserA:Group1
> UserB:Group2
> 
> etc.
> 
> I now have an entry in /etc/group that looks like
> 
> groupdev::UserA, UserB
> 
> If I have a directory with group ownership set to "groupdev" and group mode
> "rws"
> UserA & UserB cannot create a file in the share on their Windows machine.
> But if they connect to the Unix host, no problem.
> Does Samba understand user lists for group permissioning?

-- 
That feeling just came over me.
-- Albert DeSalvo, the "Boston Strangler"

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



[Samba] Unix Group Question with repect to Samba

2002-05-10 Thread Bartick, Brett

I have a question with regards to using Unix groups with samba. This might
be easier to explain with an example.

Lets say I have two users

UserID: GID
UserA:Group1
UserB:Group2

etc.

I now have an entry in /etc/group that looks like

groupdev::UserA, UserB

If I have a directory with group ownership set to "groupdev" and group mode
"rws"
UserA & UserB cannot create a file in the share on their Windows machine.
But if they connect to the Unix host, no problem.
Does Samba understand user lists for group permissioning?

Thanks,

Brett Bartick
VP
Corporate Technology
Nomura Securities International, Inc.
2 World Financial Center
New York, NY 10281

-  This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission. If
you receive this message in error, please delete it and all copies from your
system, destroy any hard copies and notify the sender. You must not,
directly or indirectly, use, disclose, distribute, print, or copy any part
of this message if you are not the intended recipient. Nomura Holding
America Inc., Nomura Securities International, Inc, and their respective
subsidiaries each reserve the right to monitor all e-mail communications
through its networks. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorized to state the views of such entity. Unless otherwise stated,
any pricing information in this message is indicative only, is subject to
change and does not constitute an offer to deal at any price quoted. Any
reference to the terms of executed transactions should be treated as
preliminary only and subject to our formal written confirmation.

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



RE: RE: [Samba] Win2k Printing Problems

2002-05-10 Thread Van Sickler, Jim

What port is listed on the Properties box on the Win2k PC?

see http://support.microsoft.com/default.aspx?scid=kb;EN-US;q255507

I'd think it should list the network share, e.g. \\samba2\hp4plus
like that.

What does your /etc/printcap have listed for the printer ports?

mine are:

:rm=192.168.2.2
:rp=raw

JIm


> -Original Message-
> From: JUSTIN GERRY [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 10, 2002 2:10 PM
> To: [EMAIL PROTECTED]
> Subject: Re: RE: [Samba] Win2k Printing Problems
> 
> 
> I made all the changes you suggested. I restarted smb,nmb and lpd just
> to be sure.
> 
> My Win2k box is still giving me the same error under "status" "failed
> to open, retrying" and eventually "access denied; unable to 
> connect" on
> the queue.
> 
> Other permissions to check??
> 
> Thanks,
> Justin
> 
> 
> >>> "Van Sickler, Jim" <[EMAIL PROTECTED]> 05/10 4:33 PM >>>
> Try commenting out the "printer admin=" entry
> -use it only when installing drivers?
> 
> I believe you also have to create a dir for
> samba to spool to, chmod 01777, chown root.daemon
> 
> e.g. /var/spool/samba
> 
> and change the "path=" entry to it.
> 
> Jim
> 
> > -Original Message-
> > From: JUSTIN GERRY [mailto:[EMAIL PROTECTED]] 
> > Sent: Friday, May 10, 2002 1:05 PM
> > To: [EMAIL PROTECTED] 
> > Subject: [Samba] Win2k Printing Problems
> > 
> > 
> > I just joined this list, If this has been answered before I
> apologize:
> > 
> > I have a Redhat 7.2 box running Samba 2.2.4
> > 
> > I have a few printers running on JetDirect boxes that I am
> attempting
> > to print to.
> > 
> > I used printconf in Redhat to set them up within the linux box.
> > Everything works fine from the linux box.
> > 
> > I set them up within samba (see [printers] below), but when I print
> I
> > get "Failed to open, retrying" on the queue.
> > 
> > If I do remove "use client driver=yes", I can then print but Win2k
> > tells me that under "status" that "access denied; unable to 
> > connect" on
> > the queue.
> > 
> > I've tried testing with "use client driver=yes" and "disable spoolss
> =
> > yes" and it does not seem to make much difference other than 
> > getting rid
> > of the "access denied; unable to connect error"
> > 
> > Here is what I think the important section in the smb.conf
> > 
> > [printers]
> > comment = All Printers
> > path = /var/spool/lpd
> > printer admin = jgerry
> > guest ok = Yes
> > printable = Yes
> > use client driver = Yes
> > browseable = No
> > 
> > Any suggestions?
> > 
> > Thanks,
> > Justin
> > 
> > 
> > 
> > 
> > -- 
> > 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



RE: [Samba] Cannot find Primary Domain - Please help, rather urge nt

2002-05-10 Thread Van Sickler, Jim



> -Original Message-
> From: John Biggs [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 10, 2002 1:29 PM
> To: [EMAIL PROTECTED]
> Subject: [Samba] Cannot find Primary Domain - Please help, 
> rather urgent
> 
> 
> Hello,
> 
> I'm getting a persistent error at login (effectively locking 
> me out) on
> two Win2k machines that were once assigned to a domain on my windows
> network (win2k server was once the PDC, just changed to Samba)
> 
>   Cannot log you into the primary because the system's 
> computer account
> is missing or the password was incorrect.
>

Add the samba server info to:
c:\winnt\system32\drivers\etc\hosts
c:\winnt\system32\drivers\etc\lmhosts
on the Win2k PCs

and remove the old server info

> The old domain was:
> yrbmag.yellowrat.com
> 
> and I'd like every just to be in workgroup YRBMAG
> 
> My configure file follows. What am I doing wrong? Is there a 
> way to fake
> the domain so I can login and switch to the workgroup? Luckily enough,
> the previous admin here at the shop forgot the admin 
> passwords for both
> machines, rendering my job even harder. Super!
> 
One way to fix that (keeping existing account info, but
creating new admin password) is to "upgrade" your Win2k systems
to Win2k again.  You'll have to re-install all of your IE5.x,
DirectX, SP2 (unless you build a "streamlined" version of Win2k,
which would then have SP2 incorporated), etc.

If you don't care about the user accounts, just run SysPrep 1.1
and reboot;  you'll be prompted for the admin & networking info,
and everything else will be as was.  SysPrep is used to create
a machine that would act as the source PC for imaging, e.g. Ghost,
etc.  The first time it boots it prompts for info...

Jim


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



Re: RE: [Samba] Win2k Printing Problems

2002-05-10 Thread JUSTIN GERRY

I made all the changes you suggested. I restarted smb,nmb and lpd just
to be sure.

My Win2k box is still giving me the same error under "status" "failed
to open, retrying" and eventually "access denied; unable to connect" on
the queue.

Other permissions to check??

Thanks,
Justin


>>> "Van Sickler, Jim" <[EMAIL PROTECTED]> 05/10 4:33 PM >>>
Try commenting out the "printer admin=" entry
-use it only when installing drivers?

I believe you also have to create a dir for
samba to spool to, chmod 01777, chown root.daemon

e.g. /var/spool/samba

and change the "path=" entry to it.

Jim

> -Original Message-
> From: JUSTIN GERRY [mailto:[EMAIL PROTECTED]] 
> Sent: Friday, May 10, 2002 1:05 PM
> To: [EMAIL PROTECTED] 
> Subject: [Samba] Win2k Printing Problems
> 
> 
> I just joined this list, If this has been answered before I
apologize:
> 
> I have a Redhat 7.2 box running Samba 2.2.4
> 
> I have a few printers running on JetDirect boxes that I am
attempting
> to print to.
> 
> I used printconf in Redhat to set them up within the linux box.
> Everything works fine from the linux box.
> 
> I set them up within samba (see [printers] below), but when I print
I
> get "Failed to open, retrying" on the queue.
> 
> If I do remove "use client driver=yes", I can then print but Win2k
> tells me that under "status" that "access denied; unable to 
> connect" on
> the queue.
> 
> I've tried testing with "use client driver=yes" and "disable spoolss
=
> yes" and it does not seem to make much difference other than 
> getting rid
> of the "access denied; unable to connect error"
> 
> Here is what I think the important section in the smb.conf
> 
> [printers]
>   comment = All Printers
>   path = /var/spool/lpd
>   printer admin = jgerry
>   guest ok = Yes
>   printable = Yes
>   use client driver = Yes
>   browseable = No
> 
> Any suggestions?
> 
> Thanks,
> Justin
> 
> 
> 
> 
> -- 
> 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] Upgrade From 2.2.3a to 2.2.4 Broke Solaris 8 PDC

2002-05-10 Thread David Highley

Trying to upgrade from 2.2.3a to 2.2.4 broke our Solaris 8 PDC. We see
the following issues:
- Compile flag -KPIC is not valid for gcc, does not seem to bread
  build
- Now looks like directory /usr/spool/samba is needed, but not
  created by install
- smbclient -L hemlock fails with login problem:
[2001/10/16 10:43:28, 0] smbd/password.c:connect_to_domain_password_server(1295)
  connect_to_domain_password_server: unable to connect to SMB server on machine 
SEQUOIA. Error was : code 0.
[2001/10/16 10:43:28, 0] smbd/password.c:domain_client_validate(1591)
  domain_client_validate: Domain password server not available.
[2001/10/16 10:43:42, 0] smbd/password.c:connect_to_domain_password_server(1295)
  connect_to_domain_password_server: unable to connect to SMB server on machine 
SEQUOIA. Error was : code 0.
[2001/10/16 10:43:42, 0] smbd/password.c:domain_client_validate(1591)
  domain_client_validate: Domain password server not available.
[2001/10/16 15:41:18, 0] smbd/password.c:connect_to_domain_password_server(1296)
  connect_to_domain_password_server: unable to connect to SMB server on machine 
SEQUOIA. Error was : code 0.
[2001/10/16 15:41:18, 0] smbd/password.c:domain_client_validate(1591)
  domain_client_validate: Domain password server not available.
[2001/10/22 11:21:06, 0] smbd/chgpasswd.c:check_oem_password(811)
  check_oem_password: incorrect password length (-628830915).

What I find interesting about this is, hemlock is the PDC and it appears
that it is asking sequoia to do the authentication. Nothing has been
changed in the smb.conf file and a diff of the testparm output between
the two version of samba gives us no clue as to the cause of failure.

-- 


Regards,

David Highley Phone: (206) 669-0081
Highley Recommended, Inc.   FAX: (253) 838-8509
2927 SW 339th Street  Email: [EMAIL PROTECTED]
Federal Way, WA 98023-7732  WEB: http://www.highley-recommended.com

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



RE: [Samba] Win2k Printing Problems

2002-05-10 Thread Van Sickler, Jim

Try commenting out the "printer admin=" entry
-use it only when installing drivers?

I believe you also have to create a dir for
samba to spool to, chmod 01777, chown root.daemon

e.g. /var/spool/samba

and change the "path=" entry to it.

Jim

> -Original Message-
> From: JUSTIN GERRY [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 10, 2002 1:05 PM
> To: [EMAIL PROTECTED]
> Subject: [Samba] Win2k Printing Problems
> 
> 
> I just joined this list, If this has been answered before I apologize:
> 
> I have a Redhat 7.2 box running Samba 2.2.4
> 
> I have a few printers running on JetDirect boxes that I am attempting
> to print to.
> 
> I used printconf in Redhat to set them up within the linux box.
> Everything works fine from the linux box.
> 
> I set them up within samba (see [printers] below), but when I print I
> get "Failed to open, retrying" on the queue.
> 
> If I do remove "use client driver=yes", I can then print but Win2k
> tells me that under "status" that "access denied; unable to 
> connect" on
> the queue.
> 
> I've tried testing with "use client driver=yes" and "disable spoolss =
> yes" and it does not seem to make much difference other than 
> getting rid
> of the "access denied; unable to connect error"
> 
> Here is what I think the important section in the smb.conf
> 
> [printers]
>   comment = All Printers
>   path = /var/spool/lpd
>   printer admin = jgerry
>   guest ok = Yes
>   printable = Yes
>   use client driver = Yes
>   browseable = No
> 
> Any suggestions?
> 
> Thanks,
> Justin
> 
> 
> 
> 
> -- 
> 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] Cannot find Primary Domain - Please help, rather urgent

2002-05-10 Thread John Biggs

Hello,

I'm getting a persistent error at login (effectively locking me out) on
two Win2k machines that were once assigned to a domain on my windows
network (win2k server was once the PDC, just changed to Samba)

Cannot log you into the primary because the system's computer account
is missing or the password was incorrect.

The old domain was:
yrbmag.yellowrat.com

and I'd like every just to be in workgroup YRBMAG

My configure file follows. What am I doing wrong? Is there a way to fake
the domain so I can login and switch to the workgroup? Luckily enough,
the previous admin here at the shop forgot the admin passwords for both
machines, rendering my job even harder. Super!



smb.conf:


# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash) 
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command
"testparm"
# to check that you have not made any basic syntactic errors. 
#
#=== Global Settings
=
[global]
smb passwd file = /etc/samba/smbpasswd
path = /home
domain master = yes
printing = cups
dns proxy = no 
null passwords = yes
encrypt passwords = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = lpstat
wins support = true
max log size = 50
debug level = 3
security = user
domain logons = yes
workgroup = YRBMAG
server string = IBM900 Deux
comment = Home Dirs
log file = /var/log/samba/log.%m
netbios name = IBM900
load printers = yes
netbios aliases = yrbmag.yellowrat.com YRBMAG
default = netlogon

[netlogon]
comment = Network Login Service
path = /home/netlogon
guest ok = yes
writable = no
share modes = no
[homes]
path = /home
writable = yes
browseable = no
comment = Home Directories

[Druk]
path = /var/spool/samba
printer = Druk
comment = GCC Elite BW
printable = yes


[Shared Files]
path = /home/share
comment = YRB Shared Files





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



[Samba] Win2k Printing Problems

2002-05-10 Thread JUSTIN GERRY

I just joined this list, If this has been answered before I apologize:

I have a Redhat 7.2 box running Samba 2.2.4

I have a few printers running on JetDirect boxes that I am attempting
to print to.

I used printconf in Redhat to set them up within the linux box.
Everything works fine from the linux box.

I set them up within samba (see [printers] below), but when I print I
get "Failed to open, retrying" on the queue.

If I do remove "use client driver=yes", I can then print but Win2k
tells me that under "status" that "access denied; unable to connect" on
the queue.

I've tried testing with "use client driver=yes" and "disable spoolss =
yes" and it does not seem to make much difference other than getting rid
of the "access denied; unable to connect error"

Here is what I think the important section in the smb.conf

[printers]
comment = All Printers
path = /var/spool/lpd
printer admin = jgerry
guest ok = Yes
printable = Yes
use client driver = Yes
browseable = No

Any suggestions?

Thanks,
Justin




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



RE: [Samba] Samba - cannot print multiple copies

2002-05-10 Thread Van Sickler, Jim


> Hi,
> 
> I successfully setup printing on my FreeBSD box 
> using Samba with apsfilter and lprng. However, I 
> have encountered two issues:
> 
> 1) Cannot print multiple copies of documents from
> my windows box (e.g. notepad). Only the first
> copy is printed and the rest don't get printed.

http://www.linuxprinting.org/ for possible solution(s)?

> 2) My spool directory is getting filled up and
> I would like the job removed after the print
> job is finished
> 
modify   > print command = /usr/local/bin/lpr -P%p %s
to read  > print command = /usr/local/bin/lpr -r -P%p %s
or maybe > print command = /usr/local/bin/lpr -r -s -P%p %s

Jim

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



Re: [Samba] Help

2002-05-10 Thread Rasmus Nielsen

yes, you can.
Rasmus
At 12:41 10-05-2002 -0700, Mauricio Vasquez wrote:
Can I use
samba 2.2.4 as a domain controller
 
 
thanks 
   
Mauricio Vasquez


RE: [Samba] Win98 join a PDC

2002-05-10 Thread Van Sickler, Jim

Log in from the W98 client and run smbstatus
on the server, to see what shows up

You can set the log level to 3 or higher, and
look in the log.w98pc (or whatever the hostname is)
during the failed/successful attempts to see
why it fails the first time and works the second.

The same (domain?) user account is being used on
both the Win2k/W98 login attempts?

Jim

> -Original Message-
> From: Alex Moen [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 10, 2002 12:16 PM
> To: Van Sickler, Jim; [EMAIL PROTECTED]
> Subject: RE: [Samba] Win98 join a PDC
> 
> 
> Tried this... didn't help.
> 
> An update: I got the Win2K machine to finally join the domain 
> using "root"
> and it's password.  I hate that, but I am using a different 
> password for the
> samba side than the Unix side.
> 
> Also, I can log in using my regular domain account on the Win2K server
> perfectly.  So, obviously samba is configured properly, and there's
> something specific to Win98 that I am missing...
> 
> It is ultimately consistent in logging in every other time... 
> even after a
> logout, it takes two login attempts to get back in on the 
> Win98 client.
> 
> Wierd.
> 
> Alex
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]]On
> > Behalf Of Van Sickler, Jim
> > Sent: Friday, May 10, 2002 12:28 PM
> > To: 'Alex Moen'; [EMAIL PROTECTED]
> > Subject: RE: [Samba] Win98 join a PDC
> >
> >
> > Make sure the clients/server have the server
> > info in their hosts/lmhosts files.
> >
> > Jim
> >
> > > -Original Message-
> > > From: Alex Moen [mailto:[EMAIL PROTECTED]]
> > > Sent: Friday, May 10, 2002 6:02 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: RE: [Samba] Win98 join a PDC
> > >
> > >
> > > Good information, and I will definitely investigate this. 
>  However, my
> > > domain right now is in a test situation (working on replacing
> > > an NT 4.0
> > > domain with this) and is not on our main network which does
> > > consist of Cisco
> > > switches.  I have it set up on a small cheapo switch,
> > > isolated from the main
> > > network, where the only thing that is on the switch is the
> > > Samba box, the
> > > W2K box, and the W98 client.  Also, DHCP shows no signs of
> > > any problems: the
> > > workstation gets an address with no delay.
> > >
> > > Any other ideas that I can try?
> > >
> > > Thanks!!
> > >
> > > Alex
> > >
> > >
> > > > -Original Message-
> > > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]]On
> > > > Behalf Of Mac
> > > > Sent: Friday, May 10, 2002 4:58 AM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: Re: [Samba] Win98 join a PDC
> > > >
> > > >
> > > > >From: Dirk Allaert <[EMAIL PROTECTED]>
> > > > >To: Alex Moen <[EMAIL PROTECTED]>
> > > > >Cc: [EMAIL PROTECTED]
> > > > >Subject: Re: [Samba] Win98 join a PDC
> > > > >Date: Fri, 10 May 2002 10:46:32 +0200
> > > > >
> > > > >
> > > > >
> > > > >Alex Moen wrote:
> > > > >> Wierd thing #1:  Windows 98 client will NOT connect on
> > > first attempt:
> > > > >> type in username and password, hit enter, wait 2 
> minutes, failure
> > > > >> message.  Click OK on the failure popup, hit enter again
> > > on the login
> > > > >> dialogue, wait another 2 minutes and client logs in almost
> > > > perfectly (by
> > > > >> almost: trouble with home directory %u thingie).  Any ideas?
> > > > >>
> > > > >I am not sure this is a samba issue. I have also seen 
> this once a
> > > > >Windows NT 4 PDC and a somebody reported me this on a
> > > Windows 2000 ADC
> > > > >(always with windows 98). Seemed to have to do with
> > > networking stuff.
> > > > >
> > > > >
> > > > >I the Windows 2000 case, the guy that told me had
> > > contacted CISCO (they
> > > > >were using a CISCO layer 3 switch) and CISCO changed some
> > > stuff on the
> > > > >switch (don't know what). Same scenario for NT 4 case:
> > > Baystack switch,
> > > > >PC's with Accton network card. Changed speed on switches
> > > (half duplex).
> > > > >Problem did not completely disappear but sure improved.
> > > >
> > > >
> > > > This sounds highly likely.  The Cisco 'stuff' they changed
> > > was probably
> > > > 'portfast'.
> > > >
> > > > See:-
> > > >
> > > > http://www.cisco.com/warp/public/473/12.html
> > > >
> > > > for an explnation of why it can tkae upto a minute for a
> > > switch to start
> > > > passing packets after the PC has come up.  Also some (Cisco
> > > specific)
> > > > steps you can take (with detailed instructions) to reduce
> > > the problem.
> > > > [One of the steps is to twiddle duplex settings, but it's
> > > the very last
> > > > thing to try].
> > > >
> > > >
> > > >Mac
> > > >   Assistant Systems Adminstrator @nibsc.ac.uk
> > > > [EMAIL PROTECTED]
> > > >Work: +44 1707 654753 x285  Everything else: +44 7956
> > > > 237670 (anytime)
> > > >
> > > > --
> > > > To unsubscribe from this list go to the following URL 
> and read the
> > > > 

[Samba] Samba - cannot print multiple copies

2002-05-10 Thread Maithri Samuel

Hi,

I successfully setup printing on my FreeBSD box 
using Samba with apsfilter and lprng. However, I 
have encountered two issues:

1) Cannot print multiple copies of documents from
my windows box (e.g. notepad). Only the first
copy is printed and the rest don't get printed.
2) My spool directory is getting filled up and
I would like the job removed after the print
job is finished

I've tried:
- selecting collated and not collated in the
windows printing, that didn't fix the problem. 
Still one copy printed.
- adding lpd_bounce in both and also one at a time in 
the /etc/printcap and in the /usr/local/etc/lpd.conf. 
/etc/printcap -> added :lpd_bounce:\ before my :mx line
/usr/local/etc/lpd.conf -> changed to
#   default lpd_bounce (FLAG on)
Still one copy printed. Changed them back to not have 
lpd_bounce but still only one copy ;)
- even when I do lpr -r DOC_NAME in FreeBSD,
it still leaves stuff in the spool directory.
I use lprm - to flush it

Things I've setup:
- using the default lpd.conf and lpd.perms files.
- not running passwords or custom freebsd users on samba.
Strictly guest access by user nobody.
- set up mode 1777 on the samba print dir
- Ran checkpc -f -V. No problems. Had an old 
problem of not being able to access /dev/lpt0 but 
I fixed the access privilages (still wierd that
we have to do that, the freebsd installed lpr 
didn't require that, why does lprng require
changing the port's access rights?)
- I can print multiple copies from the FreeBSD
box if I run lpr -#N, up to the 20 limit I 
specified below.

I will greatly appreciate help in fixing
these two problems. I've included my setup files
below. If there is any else that is required,
please reply and I will include the details of
that as well.

Cheers.

**
**

Current setup is:
Windows 2000 client
FreeBSD 4.5 server 
running
 Samba-2.2.2_3
 Apsfilter-7.2.2
 LPRng-3.8.10

/ETC/Printcap
# APS1_BEGIN:printer1
# - don't delete start label for apsfilter printer1
# - no other printer defines between BEGIN and END LABEL
HP-Deskjet-560C|stp/pcl-560;r=300x300;q=high;c=full;p=letter;m=auto:\
:lp=/dev/lpt0:\
:if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/HP-Deskjet-560C:\
:lf=/var/spool/lpd/HP-Deskjet-560C/log:\
:af=/var/spool/lpd/HP-Deskjet-560C/acct:\
:mx#0:\
:mc#20:\
:sh:
# APS1_END - don't delete this

/USR/LOCAL/ETC/SMB.CONF
[global]
...
load printers = yes
use client driver = yes
printing = lprng
guest account = nobody
max log size = 50
security = share
socket options = TCP_NODELAY 
dns proxy = no 
domain master = yes
preferred master = yes

#print command = /usr/local/bin/lpr -U%U%M -P%p -r %s;
print command = /usr/local/bin/lpr -P%p %s;\
rm %s
lpq command = /usr/local/bin/lpq -P%p %s
lprm command = /usr/local/bin/lprm -P%p %j
lppause command = /usr/local/sbin/lpc hold %p %j
lpresume command = /usr/local/sbin/lpc release %p %j
queuepause command = /usr/local/sbin/lpc -P%p stop
queueresume command = /usr/local/sbin/lpc -P%p start

# Share Definitions 
==
[Storage]
comment = Temporary Server file area
path = /tmp
read only = no
public = yes
writeable = yes
guest ok = yes

[printers]
   comment = All printers
   path = /var/spool/samba
   browseable = no
   printer = raw
   printer name = HP-Deskjet-560C
   public = yes
   guest ok = yes
   writeable = no
   printable = yes

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



[Samba] "." at the end of files/folders name causing problem!

2002-05-10 Thread Pierre Belanger

Hi,

Is this very well known, is there a workaround?

Log to your Unix Samba server.

Create in one of your share the following folders:

   mkdir -p test
   mkdir -p test./A

Get on your Windows and access the share...

Access the "test." directory... welcome in the "test"
directory, not the "test." with the "." at the end. If
the "test" directory didn't exists, Windows pops up a
window with an error (something like, "can't find ...").

Try to delete the directory "test.". Guess what, Windows just
erased the "test" directory... tested on Windows NT SP6a.


Is there a "workaround"?

Do we need a new configuration option...

"hide windows dot files"

but I guess I should use "hide files = /*./" , if I want to hide
those type of files/folders... right?

Thank you,
Pierre B.

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



FW: [Samba] Windows 2000 and Samba

2002-05-10 Thread Paul Harlow

No one had any other offerings here?
I can't find anything that clears this up. And this machine can get to a
Linux based Samba server just fine.

Paul

-Original Message-
From: Paul Harlow [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 09, 2002 3:29 PM
To: Samba List (E-mail)
Subject: RE: [Samba] Windows 2000 and Samba


Sam:
It wasn't pointing at the WINS server at first (the machine that I've
primarily been working with) but is now and I've put an entry into the
LMHosts file. I also changed the LMHosts file as you directed but it didn't
help any.
The DNS server works fine to resolve those names from both itself and the
Win2k machine in question.

Szilard:
There was never a mapping on this machine though there was a 'shortcut' in
"My Network Places". I got rid of that but the service to that server still
doesn't work.

Also, there was a reghack that I found for Win2k that added a longer timeout
value to connect to this resource. That didn't help either.
Any other ideas or thoughts are greatly appreciated!

Paul

-Original Message-
From: Sam Barasch [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 09, 2002 1:41 PM
To: Samba List (E-mail)
Subject: RE: [Samba] Windows 2000 and Samba


It sounds like you're having a windows networking error - do you have both 
faulty w2k machines and the samba server pointing at the WINS server?  Or 
better yet, is your samba server configured as a WINS server?

If it's a windows networking error, try renaming %system 
root%\system32\drivers\etc\lmhosts.sam to %system 
root%\system32\drivers\etc\lmhosts  (i.e. remove the .sam file 
suffix)  read the comments in the lmhosts file and edit the lmhosts file as 
appropriate for your network

Finally, check your DNS setup on the two faulty w2k machines, w2k relies on 
DNS a lot more for netbios name resolution.  From the w2k command prompt, 
do a nslookup  server name and see how long that takes - if that's not 
working you may need to tweak your DNS settings on those two w2k machines.

I'm curious as to what's going on, so keep us posted.

---
Sam Barasch
Computer Systems Support
Department of Biostatistics
University of Wisconsin Madison

At 12:18 PM 5/9/2002 -0600, Paul Harlow wrote:
>"Windows cannot find '\\server1'. Check Spelling..."
>and
>"The semaphore timeout has expired..."
>The semaphore error comes up about a tenth of the time that the other one
>does.
>
>This server can be resolved without problems using both WINS and DNS. We're
>not reaching across a subnet here, all machines affected are on the same
>subnet. All machines, Win2k and WinNT4 can see this server in Network
>Neighborhood/Places fine as well. It's just that when you click on them or
>type their names in the address field they're not accessible with the given
>messages returned as errors.
>If already tried removing and reinstalling Windows Networking from these
>machines to no avail.
>
>Paul
>
>-Original Message-
>From: Sam Barasch [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, May 09, 2002 11:45 AM
>To: Paul Harlow; Samba List (E-mail)
>Subject: Re: [Samba] Windows 2000 and Samba
>
>
>Can the w2k pro machines see the AIX box in my network places?
>
>are you trying to do this across subnets?
>
>Is there an error message you can share?
>
>At 11:04 AM 5/9/2002 -0600, Paul Harlow wrote:
> >I have a Samba server running on an AIX 4.4.3 RS6000 that has been
serving
> >up files without problem. Recently, a pair of machines, both Windows 2000
> >Pro, haven't been able to gain access to any of the Samba resources on
the
> >AIX server though they were both able to previously. Other WinNT and
Win2k
> >machines can get to these shared resources fine, just not these two.
> >I haven't found anything yet to give a reason why or support a fix for
>this.
> >Does anyone have any suggestions or paths to lead me down?
> >
> >Paul Harlow CCNA, MCP
> >System and Network Administrator
> >SKLD Information Services LLC
> >720 S. Colorado Blvd. Suite 1000N
> >Denver, CO   80246
> >(303) 820-0861
> >(720) 313-6125 cell
> >[EMAIL PROTECTED]
> >
> >
> >--
> >To unsubscribe from this list go to the following URL and read the
> >instructions:  http://lists.samba.org/mailman/listinfo/samba
>
>--
>To unsubscribe from this list go to the following URL and read the
>instructions:  http://lists.samba.org/mailman/listinfo/samba


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



Re: [Samba] Samba authentication through NIS

2002-05-10 Thread mkh01

On Fri, May 10, 2002 at 02:35:05PM -0400, Anna Arbit wrote:
> I got rid of the Domain conroller (well.. it crashed).. and there is no need
> to have one.  So right now i'm trying to make users authenticate vis NIS. Is
> that at all possible?

Samba can authenticate with NIS passwords if your client machines use
cleartext passwords. As I recall, all versions of Windows after Windows
95 (or actually everything starting from NT4+SP3) want to use encrypted
passwords only. I know that there are registry patches included with
Samba to allow cleartext passwords, but you will have to apply them to
every client PC. Look at the ENCRYPTION.txt file in the Samba
documentation for more information on this, and look at the description
of the "encrypt passwords" option in smb.conf.

Personally, I would suggest setting up UNIX password sync instead. If
you have more than a few client PCs it would be easier to get that
working than to go around and apply registry changes to every PC, and
you wouldn't have to remember to do it when you add or reinstall a
machine. There are some complications with getting passwd sync and NIS
to work together, check the list archives for the discussions.

-- 
That feeling just came over me.
-- Albert DeSalvo, the "Boston Strangler"

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



RE: [Samba] Win98 join a PDC

2002-05-10 Thread Alex Moen

Tried this... didn't help.

An update: I got the Win2K machine to finally join the domain using "root"
and it's password.  I hate that, but I am using a different password for the
samba side than the Unix side.

Also, I can log in using my regular domain account on the Win2K server
perfectly.  So, obviously samba is configured properly, and there's
something specific to Win98 that I am missing...

It is ultimately consistent in logging in every other time... even after a
logout, it takes two login attempts to get back in on the Win98 client.

Wierd.

Alex

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Van Sickler, Jim
> Sent: Friday, May 10, 2002 12:28 PM
> To: 'Alex Moen'; [EMAIL PROTECTED]
> Subject: RE: [Samba] Win98 join a PDC
>
>
> Make sure the clients/server have the server
> info in their hosts/lmhosts files.
>
> Jim
>
> > -Original Message-
> > From: Alex Moen [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, May 10, 2002 6:02 AM
> > To: [EMAIL PROTECTED]
> > Subject: RE: [Samba] Win98 join a PDC
> >
> >
> > Good information, and I will definitely investigate this.  However, my
> > domain right now is in a test situation (working on replacing
> > an NT 4.0
> > domain with this) and is not on our main network which does
> > consist of Cisco
> > switches.  I have it set up on a small cheapo switch,
> > isolated from the main
> > network, where the only thing that is on the switch is the
> > Samba box, the
> > W2K box, and the W98 client.  Also, DHCP shows no signs of
> > any problems: the
> > workstation gets an address with no delay.
> >
> > Any other ideas that I can try?
> >
> > Thanks!!
> >
> > Alex
> >
> >
> > > -Original Message-
> > > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On
> > > Behalf Of Mac
> > > Sent: Friday, May 10, 2002 4:58 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: [Samba] Win98 join a PDC
> > >
> > >
> > > >From: Dirk Allaert <[EMAIL PROTECTED]>
> > > >To: Alex Moen <[EMAIL PROTECTED]>
> > > >Cc: [EMAIL PROTECTED]
> > > >Subject: Re: [Samba] Win98 join a PDC
> > > >Date: Fri, 10 May 2002 10:46:32 +0200
> > > >
> > > >
> > > >
> > > >Alex Moen wrote:
> > > >> Wierd thing #1:  Windows 98 client will NOT connect on
> > first attempt:
> > > >> type in username and password, hit enter, wait 2 minutes, failure
> > > >> message.  Click OK on the failure popup, hit enter again
> > on the login
> > > >> dialogue, wait another 2 minutes and client logs in almost
> > > perfectly (by
> > > >> almost: trouble with home directory %u thingie).  Any ideas?
> > > >>
> > > >I am not sure this is a samba issue. I have also seen this once a
> > > >Windows NT 4 PDC and a somebody reported me this on a
> > Windows 2000 ADC
> > > >(always with windows 98). Seemed to have to do with
> > networking stuff.
> > > >
> > > >
> > > >I the Windows 2000 case, the guy that told me had
> > contacted CISCO (they
> > > >were using a CISCO layer 3 switch) and CISCO changed some
> > stuff on the
> > > >switch (don't know what). Same scenario for NT 4 case:
> > Baystack switch,
> > > >PC's with Accton network card. Changed speed on switches
> > (half duplex).
> > > >Problem did not completely disappear but sure improved.
> > >
> > >
> > > This sounds highly likely.  The Cisco 'stuff' they changed
> > was probably
> > > 'portfast'.
> > >
> > > See:-
> > >
> > >   http://www.cisco.com/warp/public/473/12.html
> > >
> > > for an explnation of why it can tkae upto a minute for a
> > switch to start
> > > passing packets after the PC has come up.  Also some (Cisco
> > specific)
> > > steps you can take (with detailed instructions) to reduce
> > the problem.
> > > [One of the steps is to twiddle duplex settings, but it's
> > the very last
> > > thing to try].
> > >
> > >
> > >Mac
> > >   Assistant Systems Adminstrator @nibsc.ac.uk
> > > [EMAIL PROTECTED]
> > >Work: +44 1707 654753 x285  Everything else: +44 7956
> > > 237670 (anytime)
> > >
> > > --
> > > To unsubscribe from this list go to the following URL and read the
> > > instructions:  http://lists.samba.org/mailman/listinfo/samba
> > >
> >
> >
> > --
> > 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



Re: [Samba] Advice needed about remote colaboration

2002-05-10 Thread Bradley W. Langhorst

On Fri, 2002-05-10 at 14:48, tristpost wrote:
> I am about to start a small business together with two colleagues. We are all 
>located in different parts of the country and is in need of good remote collaboration 
>(we will do major software development).
> 
> We will use VPN tunnels (over internet) between our computers.
> 
okay you probably don't need this
> Ideally I would like to set up one PDC at one site and backup DC at the two others. 
>All three machines could act as file servers where everyone maintain a CVS repository 
>for the parts of the software he is responsible for.
> 
why would you want to do this - you don't need a domain for 3 people.
> Unfortunately Samba is not able to act as backup domain controller at the moment (at 
>least not the stable release that we probably want to use).
> 
> What other ways can one use Samba in this scenario?
samba is great - but not the right tool for this situation...
you want to use CVS so use it
put up a CVS server and check out files to everybody's local machine

everybody sees everything - just remember to commit often to avoid
conflicts.

maybe samba could be helpful for serving up a common share to pass
around business documents (that you don't keep in cvs) - probably webdav
would be better.
>  
> The reason we want to have one server in each site is of course to be able to do 
>work even if the VPN tunnels are down. We want to be able to use the same user 
>account on all the three servers to avoid having to log in more than once...
I think you are putting in too much overhead for 3 people.
Everybody can manange their own account on the local machine and 
manually keep their passwords in sync on the server.
If your really want one pwdb source you could use replicated ldap
(replicated so that you can log in even if the network is offline).




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



[Samba] (no subject)

2002-05-10 Thread Neil Faulks

I am not reading my mail at the moment due to problems with my
hands.

For enquiries related to the computer science department contact
[EMAIL PROTECTED]

--
Neil Faulks <[EMAIL PROTECTED]>
Tel +44 20 7848 2007
Fax +44 870 120 9785

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



Re: [Samba] Logging in to the domain

2002-05-10 Thread Alexander Skwar

»Alexander Skwar« sagte am 2002-05-09 um 23:00:42 + :
> So, the answer is yes, I assume that it is setup correctly.

Hm, I'm now trying to debug what I might have done wrong.  So I've set
"log level = 5" in smb.conf and tried to login to the domain.  From the
logs, I see that the LDAP setup seems to be working, as samba
successfully accessed the LDAP.  However, I see this in the logs:

[2002/05/10 18:31:28, 5] libsmb/credentials.c:cred_create(93)
sess_key : BF40CE6A37019FCF
[2002/05/10 18:31:28, 5] libsmb/credentials.c:cred_create(94)
stor_cred: CA218FCF71C19C2D
[2002/05/10 18:31:28, 5] libsmb/credentials.c:cred_create(95)
timestamp: 0
[2002/05/10 18:31:28, 5] libsmb/credentials.c:cred_create(96)
timecred : CA218FCF71C19C2D
[2002/05/10 18:31:28, 5] libsmb/credentials.c:cred_create(97)
calc_cred: 8C0FFDED509642ED
[2002/05/10 18:31:28, 4] libsmb/credentials.c:cred_assert(122)
  cred_assert
[2002/05/10 18:31:28, 5] libsmb/credentials.c:cred_assert(124)
challenge : 4E5DEC5A5302C957
[2002/05/10 18:31:28, 5] libsmb/credentials.c:cred_assert(125)
calculated: 8C0FFDED509642ED
[2002/05/10 18:31:28, 5] libsmb/credentials.c:cred_assert(134)
  credentials check wrong
[2002/05/10 18:31:28, 5] rpc_parse/parse_prs.c:prs_debug(60)
  00 net_io_r_auth_2 
[2002/05/10 18:31:28, 5] rpc_parse/parse_prs.c:prs_uint8s(645)
   data: 40 f2 1e 40 00 00 00 00 
[2002/05/10 18:31:28, 5] rpc_parse/parse_prs.c:prs_uint32(558)
  0008 neg_flags: 01ff
[2002/05/10 18:31:28, 5] rpc_parse/parse_prs.c:prs_ntstatus(587)
  000c status: NT_STATUS_ACCESS_DENIED

Well, seems like NT is sending 4E5DEC5A5302C957 whereas samba is
expecting 8C0FFDED509642ED.  What's going on here?  To me, this seems
like something is setup wrong, either on the Samba side or on the
Windows 2000 side.

If somebody could please help me...

Thanks,

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  |Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 3 hours 57 minutes

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



[Samba] Keeping your code current via wget through an ftp proxy

2002-05-10 Thread Van Sickler, Jim

I've recently figured out something that others
may find useful...we have an ftp proxy, and I couldn't
get cvs to work through it.  I finally got wget
working, and can now mirror my source to the
current samba_2_2 version by downloading
only the newer files.  Then I can run
./configure, etc to update my system.

-

The command line is in a text file named wget1.
I run it from my /eodc/shared/samba_2_2/source
dir, by cd'ing to /eodc/shared/samba_2_2/source,
then running ./wget1

Note that it's run from 4 dir's down;  this
is why I have "--cut-dirs=4"; so that the files
end up in the same dir that I'm in.  (If you
set yours up with /22x_source, you'd make it
"--cut-dirs=1")

The "-nH" strips off the host info (pserver.samba.org).

The "-S" displays server responses

The "-m" is to mirror the source/destination dir's.

According to WS-FTP Pro, our ftp proxy is a
"User, no login" type.  Yours may be different, so
you may have to play with the command line to get
wget to work.  Believe me, I played for a while
before I got it right!

For us, we log in to the local ftp proxy with: the
REMOTE ftp user and ftp site hostname/IP.  The password is
our e-mail address.  The proxy passes that info on to
the remote ftp site, and we're off and running.
The destination directory is appended to the proxy
IP:port, and passed on to the remote ftp server.


Here's what works, with a bogus IP...substitute your
proxy info and e-mail address:

wget -nH --cut-dirs=4 -S -m
ftp:[EMAIL PROTECTED]:[EMAIL PROTECTED]@192.168.254.1:21/pu
b/unpacked/samba_2_2/source


Hope this helps someone...

Jim

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



Re: [Samba] mount -F ?

2002-05-10 Thread Jason Stewart

Kenny,

smbfs is probably what you are looking for, but it is not supported by the 
kernel in Solaris. 

The options that I know of are:
1. Use Sharity (http://www.obdev.at/products/sharity/index.html)
2. Make  Win2k export the directories via NFS
3. Set up a Linux box, mount the Share, then export the directory via NFS, 
then you can mount it in Solaris.

Jason

On Friday 10 May 2002 01:23 pm, Kenny Lo wrote:
> Just want to mount a disk shared from win2k at solaris8. What file system
> the shared disk is?
>
> I tried ntfs, samfs & cifs, they all not work at solaris.

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


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



Re: [Samba] Help

2002-05-10 Thread Jason Stewart

Yes.

On Friday 10 May 2002 03:41 pm, Mauricio Vasquez wrote:
> Can I use samba 2.2.4 as a domain controller
>
>
> thanks
> Mauricio Vasquez

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


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



[Samba] Samba authentication through NIS

2002-05-10 Thread Anna Arbit

hello,

I have a samba 2.2.0 server running on RedHat 7.0. It used to be part of
domain and authenticate users logged into that domain. those who logged in
locally to their pc, would authenticate against the smbpasswd

net use \\samba\username /user:

I got rid of the Domain conroller (well.. it crashed).. and there is no need
to have one.  So right now i'm trying to make users authenticate vis NIS. Is
that at all possible?

i want users to log into their machine using  account and then
going to DOS prompt and

net use \\samba\ /user:
Type password for \\samba\: 

how do i do that?

I synced the smbpasswd file with the yppasswd but it doesn't work. any help
is appreciated :)

thank you in advance,
anna




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



[Samba] Help

2002-05-10 Thread Mauricio Vasquez



Can I use samba 2.2.4 as a domain 
controller
 
 
thanks 
    
Mauricio Vasquez


Re: [Samba] Problem with samba 2.2.4 and Mandrake 8.2

2002-05-10 Thread Alexander Skwar

»Alexander Skwar« sagte am 2002-05-10 um 18:11:12 + :
> The cooker package (2.2.4-1mdk) was built with LDAP support.  Thus, it
> cannot (?) do normal lookups and needs a LDAP.

Attached is the message from the Cooker list about this problem.

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  |Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 3 hours 51 minutes

--- Begin Message ---

Somehow the following crept into the specfile during preparation for the samba-2.2.4
release (Mandrake packaging stuff is now in samba CVS, so you can actually build
RPMs from a samba tarball with "cd packaging/Mandrake; sh makerpms.sh", although
this wil currently cause the same problem on cooker;-)):

# Set defaults for each version
%if %build_cooker
%define build_acl 1
%define build_winbind 1
%define build_wins 1
%define build_ldap 1
%endif

The problem is that it should have
%define build_ldap 0

Samba can currently only support one sam backend, so if you don't use ldap, you will
want to rebuild the srpm as follows:

rpm --rebuild --without ldap samba-2.2.4-1mdk.src.rpm

or wait for -2mdk.

Thanks for the reminder.

Buchan

[EMAIL PROTECTED], [EMAIL PROTECTED] wrote:
>
>[root@iq samba]# smbpasswd -L -a junfan
>New SMB password:
>Retype new SMB password:
>fetch_ldap_pw: no ldap secret retrieved!
>ldap_connect_system: Failed to retrieve password for  from secrets.tdb
>fetch_ldap_pw: no ldap secret retrieved!
>ldap_connect_system: Failed to retrieve password for  from secrets.tdb
>Failed to add entry for user junfan.
>Failed to modify password entry for user junfan
>I don't ldap.
>--
>^^^
>Jason Straight
>President
>BlazeConnect Internet Services
>Cheboygan Michigan
>www.blazeconnect.net
>Phone: 231-597-0376





--- End Message ---


Re: [Samba] Problem with samba 2.2.4 and Mandrake 8.2

2002-05-10 Thread Alexander Skwar

»[EMAIL PROTECTED]« sagte am 2002-05-10 um 14:15:39 -0300 :
> Hello all,
> 
> I updated my mandrake 8.2 samba from version 2.2.3a to 2.2.4, using mandrake cooker 
>package, but after the update my

The cooker package (2.2.4-1mdk) was built with LDAP support.  Thus, it
cannot (?) do normal lookups and needs a LDAP.

Rebuild the src.rpm with "rpmbuild --without-ldap samba.spec".

PS: Your lines are very long and hard to read.

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  |Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 3 hours 38 minutes

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



[Samba] Advice needed about remote colaboration

2002-05-10 Thread tristpost



I am about to start a small business together with 
two colleagues. We are all located in different parts of the country and is in 
need of good remote collaboration (we will do major software 
development).
 
We will use VPN tunnels (over internet) between our 
computers.
 
Ideally I would like to set up one PDC at one site 
and backup DC at the two others. All three machines could act as file servers 
where everyone maintain a CVS repository for the parts of the software he is 
responsible for.
 
Unfortunately Samba is not able to act as backup 
domain controller at the moment (at least not the stable release that we 
probably want to use).
 
What other ways can one use Samba in this 
scenario?
 
The reason we want to have one server in each site 
is of course to be able to do work even if the VPN tunnels are down. We want to 
be able to use the same user account on all the three servers to avoid having to 
log in more than once...
 
All suggestions and advice are 
welcome!
 
Regards
Trist


Re: [Samba] After reIP, Samba hosts not browsable.

2002-05-10 Thread Herb Lewis

If you are set up to use WINS this is definitely your problem.
If possible upgrade your samba systems to 2.2.4. Previous 
versions had a bug where the would not register with the 
WINS server if there was an old registration there - even
if that was no longer being defended.

"Van Sickler, Jim" wrote:
> 
> Did you update the hosts/lmhosts files on
> all of the servers & clients?  If not,
> they still contain the IP info from your
> old scheme...
> 
> Jim
> 
> > -Original Message-
> > From: C. Bensend [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, May 10, 2002 6:01 AM
> > To: [EMAIL PROTECTED]
> > Subject: [Samba] After reIP, Samba hosts not browsable.
> >
> >
> >
> > Hey folks,
> >
> >   We recently reIP'ed our main office LAN.  Ever since
> > this was done, none of our Samba hosts are browsable via
> > Network Neighborhood.  While they are still availible via
> > Start -> Run -> \\servername, it's an annoying inconvenience.
> >
> > Stats:
> >
> >   * PDC and BDC are NT domain controllers
> >   * Samba hosts are running several versions of Samba,
> > from the later 2.0.* releases, through 2.2.1 and
> > 2.2.3
> >   * Samba hosts include Linux, IRIX, HP-UX, and Solaris
> >
> >   To me, this points at a WINS problem, but deleting the
> > machine account from the domain and adding a new one does no
> > good.  Unfortunately, since WINS is such a black art (at least
> > to me), the NT admins can't figure out where the problem lies,
> > either.
> >
> >   I doubt if this is a problem with Samba itself, but I'm
> > hoping that since we're all here because we're integrating *NIX
> > with Windows networks, someone might have run into this problem
> > before.
> >
> > Any help would be much appreciated!  If you need further info,
> > I'll be happy to provide it.
> >
> > Thanks!
> >
> > Benny
> >
> >
> > ~~
> > Always carry a short length of fibre-optic cable. If
> > you get lost, then you can drop it on the ground, wait
> > ten minutes, and ask the backhoe operator how to get
> > back to civilization. -Alan Frame
> >
> >
> >
> > --
> > 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

-- 
==
Herb Lewis   Silicon Graphics 
Networking Engineer  1600 Amphitheatre Pkwy MS-510
Strategic Software Organization  Mountain View, CA  94043-1351
[EMAIL PROTECTED] Tel: 650-933-2177
http://www.sgi.com   Fax: 650-932-2177  
==

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



RE: [Samba] Win98 join a PDC

2002-05-10 Thread Van Sickler, Jim

Make sure the clients/server have the server
info in their hosts/lmhosts files.

Jim

> -Original Message-
> From: Alex Moen [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 10, 2002 6:02 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [Samba] Win98 join a PDC
> 
> 
> Good information, and I will definitely investigate this.  However, my
> domain right now is in a test situation (working on replacing 
> an NT 4.0
> domain with this) and is not on our main network which does 
> consist of Cisco
> switches.  I have it set up on a small cheapo switch, 
> isolated from the main
> network, where the only thing that is on the switch is the 
> Samba box, the
> W2K box, and the W98 client.  Also, DHCP shows no signs of 
> any problems: the
> workstation gets an address with no delay.
> 
> Any other ideas that I can try?
> 
> Thanks!!
> 
> Alex
> 
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]]On
> > Behalf Of Mac
> > Sent: Friday, May 10, 2002 4:58 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [Samba] Win98 join a PDC
> >
> >
> > >From: Dirk Allaert <[EMAIL PROTECTED]>
> > >To: Alex Moen <[EMAIL PROTECTED]>
> > >Cc: [EMAIL PROTECTED]
> > >Subject: Re: [Samba] Win98 join a PDC
> > >Date: Fri, 10 May 2002 10:46:32 +0200
> > >
> > >
> > >
> > >Alex Moen wrote:
> > >> Wierd thing #1:  Windows 98 client will NOT connect on 
> first attempt:
> > >> type in username and password, hit enter, wait 2 minutes, failure
> > >> message.  Click OK on the failure popup, hit enter again 
> on the login
> > >> dialogue, wait another 2 minutes and client logs in almost
> > perfectly (by
> > >> almost: trouble with home directory %u thingie).  Any ideas?
> > >>
> > >I am not sure this is a samba issue. I have also seen this once a
> > >Windows NT 4 PDC and a somebody reported me this on a 
> Windows 2000 ADC
> > >(always with windows 98). Seemed to have to do with 
> networking stuff.
> > >
> > >
> > >I the Windows 2000 case, the guy that told me had 
> contacted CISCO (they
> > >were using a CISCO layer 3 switch) and CISCO changed some 
> stuff on the
> > >switch (don't know what). Same scenario for NT 4 case: 
> Baystack switch,
> > >PC's with Accton network card. Changed speed on switches 
> (half duplex).
> > >Problem did not completely disappear but sure improved.
> >
> >
> > This sounds highly likely.  The Cisco 'stuff' they changed 
> was probably
> > 'portfast'.
> >
> > See:-
> >
> > http://www.cisco.com/warp/public/473/12.html
> >
> > for an explnation of why it can tkae upto a minute for a 
> switch to start
> > passing packets after the PC has come up.  Also some (Cisco 
> specific)
> > steps you can take (with detailed instructions) to reduce 
> the problem.
> > [One of the steps is to twiddle duplex settings, but it's 
> the very last
> > thing to try].
> >
> >
> >Mac
> >   Assistant Systems Adminstrator @nibsc.ac.uk
> > [EMAIL PROTECTED]
> >Work: +44 1707 654753 x285  Everything else: +44 7956
> > 237670 (anytime)
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
> >
> 
> 
> -- 
> 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] After reIP, Samba hosts not browsable.

2002-05-10 Thread Van Sickler, Jim

Did you update the hosts/lmhosts files on
all of the servers & clients?  If not,
they still contain the IP info from your
old scheme...

Jim

> -Original Message-
> From: C. Bensend [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 10, 2002 6:01 AM
> To: [EMAIL PROTECTED]
> Subject: [Samba] After reIP, Samba hosts not browsable.
> 
> 
> 
> Hey folks,
> 
>   We recently reIP'ed our main office LAN.  Ever since
> this was done, none of our Samba hosts are browsable via
> Network Neighborhood.  While they are still availible via
> Start -> Run -> \\servername, it's an annoying inconvenience.
> 
> Stats:
> 
>   * PDC and BDC are NT domain controllers
>   * Samba hosts are running several versions of Samba,
> from the later 2.0.* releases, through 2.2.1 and
> 2.2.3
>   * Samba hosts include Linux, IRIX, HP-UX, and Solaris
> 
>   To me, this points at a WINS problem, but deleting the
> machine account from the domain and adding a new one does no
> good.  Unfortunately, since WINS is such a black art (at least
> to me), the NT admins can't figure out where the problem lies,
> either.
> 
>   I doubt if this is a problem with Samba itself, but I'm
> hoping that since we're all here because we're integrating *NIX
> with Windows networks, someone might have run into this problem
> before.
> 
> Any help would be much appreciated!  If you need further info,
> I'll be happy to provide it.
> 
> Thanks!
> 
> Benny
> 
> 
> ~~
> Always carry a short length of fibre-optic cable. If
> you get lost, then you can drop it on the ground, wait
> ten minutes, and ask the backhoe operator how to get
> back to civilization. -Alan Frame
> 
> 
> 
> -- 
> 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] mount -F ?

2002-05-10 Thread Kenny Lo



Just want to mount a disk shared from win2k at 
solaris8. What file system the shared disk is?
 
I tried ntfs, samfs & cifs, they all not work 
at solaris.


RE: [Samba] copy a large volume of data from PC to samba server

2002-05-10 Thread Van Sickler, Jim

What kind of clients?

If it's NT/Win2k/XP, you could use the
"at" service to run a batch file...use
robocopy or scopy to do the transfer...

Jim

-Original Message-
From: Tian-xiong Lu [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 09, 2002 9:29 PM
To: [EMAIL PROTECTED]
Subject: [Samba] copy a large volume of data from PC to samba server


Hi there,

Is there someone over there knows a method or script
that can copy a large volume of data (in folders) from PCs
to a samba server (suppose there is enough space there)?

I know using smbclient or smbtar can backup data on PCs
to samba server, but it is written in tar files.I wonder whether 
this method can handle a large folder, say, in 10GB size.

Also, using smbclient with mget and recurse on, one can
copy folders from PC to samba server. But in doing so,
it is in interactive mode and keeps asking yes/no to continue.
Is there a way to get rid of these prompts?

Thanks,
Tian.

-- 
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 2.2.4 and Mandrake 8.2

2002-05-10 Thread cyroreal

Hello all,

I updated my mandrake 8.2 samba from version 2.2.3a to 2.2.4, using mandrake cooker 
package, but after the update my
win98 clients can not logon on the server any more, the clients can't even find the 
pdc, because i get a big time from
the time that the user type his username and pass, and the logon error message. So is 
this a problem with mandrake's
package or the logon procedure (smbpasswd file) has changed from this versions?? Do i 
have to change something in
smb.conf??? My other problem is that i still get errors when mounting windows 
directories on mandrake 8.2, someone told
me this was a problem with 2.4.18 kernel, is it right?? The new kernel from cooker 
(2.4.18.14mdk) correct this
problem?? Tanks very much in advance for the help...

Cyro



__
Quer ter seu próprio endereço na Internet?
Garanta já o seu e ainda ganhe cinco e-mails personalizados.
DomíniosBOL - http://dominios.bol.com.br



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



[Samba] Authorizing login per station

2002-05-10 Thread Mario Juric

Hi,
We're using Samba 2.2.2 as a PDC for W2k and XP clients. We have
two types of users - "regular" users and "management". The problem I have
is to allow only the "management" users to login from certain stations,
and deny the login rights to regular users. That is, I need the ability do
set per-station login permissions.

Is there a way to do this using samba 2.2.x branch, or is it
planned for 3.x? If there's a way to do this with 2.2.x, I'd appreciate
any pointer to docs or other info on doing it.

Cheers,
Mario Juric
STUDNet Administrator, http://student.fizika.org


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



[Samba] issue with long domain names and winbindd_cache

2002-05-10 Thread drenning, bruce

I just started testing 2.2.4 (with winbind) and am looking for advice on a
couple of issues.

1. This isn't really a winbind issue, just my *nix ignorance...
our domain name is longer than 8 chars. Therefore, the owner & group of
every file (ls -l) shows up the same. I have to ls -ln, then grep the
results of getent group|passwd to look up the desired number. Not the end of
the world, but definitely a pain. Any way for me to format ls or somehow
check the owners of a file without going at it this round about way?

2. If the .tdb files in /var/cache/samba get corrupted, I assume that all
file ownership will have to be re-applied to match the new SID-id pairs when
these tables are re-created. From a backup/restore point of view, will this
dir stand on it's own? Can I back it up each night & if something goes
wrong, stop winbindd & drop it back in?

TIA


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



[Samba] PATCH: Printing from ACT 2000 on Win2k

2002-05-10 Thread Gerald Carter

Apologies to those running ACT 2000 on Win2k.
There was an incorrect patch in 2.2.4 that causes 
printing from the application to sometimes fail.
(of course this was broken in 2.2.3a also).
An incorrect was put in between 2.2.3a and 2.2.4.

If those people having problems with printing
from this application could try this patch out
and provide feedback it would be much appreciated.

The patch can be downloaded from

ftp://ftp.samba.org/pub/jerry/samba-2.2.4-patches/parse_spoolss.patch

Sorry for the inconvience.




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


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



[Samba] still problems with password-expiration

2002-05-10 Thread William H. Lacy

We have been trying to find a solution to this also. We are getting this
message on our w2k samba domain machines after 14 days of being logged on.
I haven't tested this long enough to be sure but this might get rid of the
message: admin tools ->local security policy -> Local polices-> security
options -> prompt user to change password before expiration - set it to
zero.

Also check the following:
admin tools ->local security policy -> Account polices -> Password Policy
-> Password Policy -> Maximum Passord Age - I have ours set to 0


William H. Lacy
System Administratorwww.vetmed.auburn.edu/~lacywil
Computer Group   [EMAIL PROTECTED]
Auburn University College of Veterinary Medicine (334)844-3705



From: "Stephan M. Ott" <[EMAIL PROTECTED]>
To: "Samba Mailing List" <[EMAIL PROTECTED]>
Date: Fri, 10 May 2002 00:16:50 +0200
Subject: [Samba] still problems with password-expiration

Hi folks,

I knew this was recently discussed but I still couldn't get it to work.
I still have the problem that the users on the W2K-Clients get the message
about the password going to expire in 5 days when joining the
Samba-PDC-Domain.
Even if the users change the password, this message keeps coming...
I have no idea what to do to avoid this message...
Funny thing is, the password DOES NOT expire in 5 days.. only the popus in
windows keeps on coming after logon. It always tells about 5 days... every
day the same :)
Did I miss a posting which told the solution ?

Thanks in advynce

Stephan





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



[Samba] 2.2.4: VFS->recycle->sig11

2002-05-10 Thread Giulio Orsero

samba-2.2.4 on linux 2.2.x (Red Hat 6.x). No large file enabled.

recicle.c as shipped in 2.2.4 cause sig11.

If I apply this patch that I found on usenet then it's ok
==

--- ./examples/VFS/recycle.c.orig   Mon Mar 25 12:56:47 2002
+++ ./examples/VFS/recycle.cFri Apr 12 18:21:54 2002
@@ -239,9 +163,10 @@
}
 
 base = strrchr(fname, '/') + 1;
-   if(base == (char*)1)
+   if(base == (char*)1) {
 ext = strrchr(fname, '.');
-   else
+   base = fname;
+   } else
ext = strrchr(base, '.');
  
pstrcpy(bin,recycle_bin);
==

However, I'd like to use the enhanced path from here
http://www.elbonia.de/samba/samba_recycle.html
(I have no large file so my SMB_OFF_T is correctly reported as 4).

But it has the very same problem, it sig11 after
  pstrcpy(fpath,"/");
pstrcat(fpath,fname);
path = strrchr(fpath+1, '/') + 1 ;
*path='\0';
  

I tried manually applying the same patch but it does not work.

Can you help me?

Thanks.

-- 
[EMAIL PROTECTED]

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



[Samba] Cannot connect to server upgraded from 2.0.6 to 2.2.4

2002-05-10 Thread Chaskiel M Grundman

I recently upgraded a samba server that had been running 2.0.6 to 2.2.4 
because I could not authenticate to it from windows XP clients. 
Unfortunately, I'm not able to connect to to the new installation. Windows 
reports that '\\[server] is not accessible' and 'The semaphore timeout 
period has expired'

The problem seems to be caused by lock contention on the secrets.tdb file. 
For whatever reason, any SMB server on campus ends up being probed alot. (I 
don't know if it's bored students or something that some windows OS's just 
do, but it happens.) This means that I'm not the only one trying to access 
my server.

In any event it seems as though some of the time, after acquiring a lock on 
offset 656 of secrets.tdb, an smbd will go and select() on it's network 
sockets. This means that if the client does not respond immediately, all 
the other smbd's will, within short order, block on that lock. It is not 
the case that all the smbd's block holding the lock, but some do.

Since I know people will ask, here's my smb.conf:

[global]
   encrypt passwords=yes
   update encrypted=yes
   workgroup = CAMPUS
   null passwords = no
   load printers = no
   wins server=wins.andrew.cmu.edu
   local master = no
   name resolve order = lmhosts wins host bcast

[wincd]
  path=/usr0/wincd
  writable=true

[tmp]
  path=/usr0/wintmp
  writable=true


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



RE: [Samba] Re: Samba wins eWeek and PC Magazine "Innovation in Infrastructure" (i3) award for best Enterprise Software !

2002-05-10 Thread David Brodbeck

It's weird to see money-grubbing on an open-source mailing list.

-Original Message-
From: Luke Kenneth Casson Leighton [mailto:[EMAIL PROTECTED]]

 so you'll be putting some of the money that is earned from
 such recognition and increased reputation of samba my way,
 then, yes, to fund TNG development, yes, without which such
 an award would not have been possible at this time, yes?

 great!

 l.

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

2002-05-10 Thread David Brodbeck

Does anyone else find these disclaimers kind of amusing when they're sent to
an email list?  Especially the "private and confidential" part. ;)

-Original Message-

-- 
this message is private, confidential, and is intented for 
the specified recipients only.  if you received in error, 
altered, deleted, modified, destroyed or interfered with 
the contents of this message, in whole or in part, please 
inform the sender (that's me), immediately. 
if you, the recipient, reply to this message, and do not 
then receive a response, please consider your reply to have 
been lost or deliberately destroyed: i *always* acknowledge 
personal email received.  please therefore take appropriate 
action and use appropriate protocols to ensure effective 
communication. 
thank you. 

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



Re: [Samba] How do i set different permission for a shared directory?

2002-05-10 Thread Thierry ITTY

the simpliest way would be to let unix permission system do the job
have only one share : /docusers
each user is connected under its own name (both windows and unix sense)
its home dir is writable for him
all the dirs are readable by the docu group

all you have to do is to set the same primary group for all the users

you would have :
user "paul", primary group "docu", home /docusers/paul
user "peter", primary group "docu", home /docusers/peter
...
drwxr-xr-x root docu /docusers
drwxr-x--- paul docu /docusers/paul
drwxr-x--- peter docu /docusers/peter
...
[Doc_Users]
 path = /docusers
 writable = yes

on the unix side, samba shares /docusers without any restriction, access
permissions are handled at the os level

on the windows side, users connect to only one share, Doc_Users, in which
they are all able to read all files but can't write only in their own
directory

of course this supposes you have no other constraints that would prohibit
such a configuration...

hth



A 01:18 10/05/02 -0500, vous avez écrit :
>Hello,
>
>Would really appreciate any advise on how the security setting should be
>setup.
>
>I have running Samba ver 2.0.7 on HPUX10.20. Clients run Windows 200 PCs,
>WinNT4 PDC.
>
>"docusers"  is the UNIX home directory for document users. their individual
>home dir is created under their user id.
>so, Paul 's home  directory structure is :
>
>/docusers/paul
>
>Below is an extract from the smb.conf  file.
>[homedir]
>   comment = Private Unix file area (%u)
>   path = %H
>   writeable = Yes
>   create mask = 0750
>   strict locking = Yes
>
>{Doc_Users]
>   path = /docusers
>   valid users = @docu
>
>With the above, users with UNIX a/c in the docu group can only read all the
>subdirectories under docusers which is mapped as a dir (eg. L:/Doc_Users) in
>their PC's Windows Explorer . 
>
>Now, the requirement is for all users to be able to read all the directories
>under /Doc_Users but be able to write only to his own home directory in the
>same drive mapped (L:). 
>
>I have looked at the samba config file via SWAT but is not very sure how to
>make this happens. In the advanced view, there is additional options for a
>write list and read list. The help says this field can include userid or
>group (@docu), but what is the equivilent of the %u - that is the user id?).
>
>
>Really appreciate any advise.
>
>Thank You.
>Michelle
>
>-- 
>To unsubscribe from this list go to the following URL and read the
>instructions:  http://lists.samba.org/mailman/listinfo/samba
>
>
- * - * - * - * - * - * -
Bien sûr que je suis perfectionniste !
Mais ne pourrais-je pas l'être mieux ?
Thierry ITTY
eMail : [EMAIL PROTECTED]   FRANCE

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



[Samba] LDAP Authentication

2002-05-10 Thread ctooley

Has anyone gotten LDAP authentication to work against the LDAP server for
the Lotus Domino Directory?  If so would it be possible to se a samble NTF
to see how you got this working?  I'm having troubles getting the entries
returned correctly.

#
Chris Tooley   voice: 512-495-9224x289
Austin Museum of Art   pager: 512-613-2603
IT Coordinator
823 Congress Ave
Austin, TX  78701
###


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



[Samba] Oplocks, Oplock_break and request Oplock_break

2002-05-10 Thread Paul Cochrane

Hello there.

I'm having a few problems using samba 2.2.3a and sharing a paradox database. On the 
whole 
everything works fine but (there's always a but), every now and again. a machine's 
shares will 
close causing the database to crash (sometimes only that machine) - the other 
networked 
machine recover after a few error messages.

I guess the easy answer would be to disable oplocks for the share but I'd rather not 
since it 
makes maintaining the database much quicker when I use it personally after hours. 

I've did a little digging the the log files and have came up with the following: there 
are 3 
machines (doris, o-techs & hazel). It appears that Doris had an oplock on a particular 
file. For 
some reason (probably the clients hazel or 0-techs), on trying to free the oplock, 
samba killed 
the doris SMBD process even though it has locked files. Upon doris reconnecting, these 
locked 
files are not reconnected hence screwing up the database on the machine.

I am including the relevant sections from the logs below & what machien generated 
them. Can 
someone please describe what the error messages actually mean and can anyone offer any 
sugestions/solutions to the problem.

Thanks for any help.
Paul

Here are the log files:
;--
Doris: win98
[2002/05/10 08:33:23, 1] smbd/service.c:close_cnum(653) doris (192.168.1.43) 
closed 
connection to service sophos
[2002/05/10 08:33:25, 1] smbd/service.c:make_connection(615)doris (192.168.1.43) 
connect 
to service netlogon as user doris (uid=519, gid=100) (pid 5301)
[2002/05/10 08:33:27, 1] smbd/service.c:make_connection(615)doris (192.168.1.43) 
connect 
to service sophos as user doris (uid=519, gid=100) (pid 5301)
[2002/05/10 08:33:31, 1] smbd/service.c:close_cnum(653) doris (192.168.1.43) 
closed connection to service netlogon
[2002/05/10 08:33:32, 1] smbd/service.c:make_connection(615)doris (192.168.1.43) 
connect 
to service netlogon as user doris (uid=519, gid=100) (pid 5301)
[2002/05/10 08:33:42, 1] smbd/service.c:make_connection(615)doris (192.168.1.43) 
connect 
to service bdeshare as user doris (uid=519, gid=100) (pid 5301)
[2002/05/10 08:33:44, 1] smbd/service.c:make_connection(615)doris (192.168.1.43) 
connect 
to service orthotic.sys as user doris (uid=519, gid=501) (pid 5301)
[2002/05/10 08:33:45, 1] smbd/service.c:make_connection(615)doris (192.168.1.43) 
connect 
to service orkney.sys as user doris (uid=519, gid=501) (pid 5301)
[2002/05/10 08:33:46, 1] smbd/service.c:make_connection(615)doris (192.168.1.43) 
connect 
to service orthotic.doc as user doris (uid=519, gid=501) (pid 5301)
[2002/05/10 08:33:48, 1] smbd/service.c:make_connection(615)doris (192.168.1.43) 
connect 
to service prosthet.doc as user doris (uid=519, gid=502) (pid 5301)
[2002/05/10 08:36:09, 1] smbd/service.c:close_cnum(653) doris (192.168.1.43) 
closed 
connection to service netlogon
[2002/05/10 10:52:56, 1] smbd/service.c:close_cnum(653) doris (192.168.1.43) 
closed 
connection to service prosthet.doc
[2002/05/10 10:52:56, 1] smbd/service.c:close_cnum(653) doris (192.168.1.43) 
closed 
connection to service orthotic.doc
[2002/05/10 10:52:56, 1] smbd/service.c:close_cnum(653) doris (192.168.1.43) 
closed 
connection to service orkney.sys
[2002/05/10 10:52:56, 1] smbd/service.c:close_cnum(653) doris (192.168.1.43) 
closed 
connection to service orthotic.sys
[2002/05/10 10:52:56, 1] smbd/service.c:close_cnum(653) doris (192.168.1.43) 
closed 
connection to service bdeshare
[2002/05/10 10:52:57, 1] smbd/service.c:make_connection(615)doris (192.168.1.43) 
connect 
to service orthotic.sys as user doris (uid=519, gid=501) (pid 6721)
[2002/05/10 10:53:27, 0] smbd/oplock.c:oplock_break(758)  oplock_break: receive_smb 
error 
(Success)
  oplock_break failed for file REF_HOSP.DB (dev = 805, inode = 2540691, file_id = 7).
[2002/05/10 10:53:27, 0] smbd/oplock.c:oplock_break(843)
  oplock_break: client failure in break - shutting down this smbd.
[2002/05/10 10:53:27, 1] smbd/service.c:close_cnum(653) doris (192.168.1.43) 
closed 
connection to service orthotic.sys
[2002/05/10 10:53:28, 1] smbd/service.c:make_connection(615)doris (192.168.1.43) 
connect 
to service orthotic.sys as user doris (uid=519, gid=501) (pid 6723)
;--
O_techs: Win95
[2002/05/10 10:53:29, 0] smbd/oplock.c:request_oplock_break(981)
  request_oplock_break: no response received to oplock break request to pid 6721 on 
port 
58631 for dev = 805, inode = 2540691, file_id = 7
;--
Hazel: win95
[2002/05/10 10:53:30, 0] smbd/oplock.c:request_oplock_break(981)
  request_oplock_break: no response received to oplock break request to pid 6721 on 
port 
58631 for dev = 805, inode = 2540691, file_id = 7
;---

[Samba] Samba 2.2.4 on s/390

2002-05-10 Thread Konkol, Josh

I have just compiled Samba 2.2.4 with the following configure.

./configure --with-pam --with-winbind

I used the same instructions as I did go get Samba 2.2.2 working.  I noticed
the winbind daemon dies after about a minute.  I set the debug to 10 for it
and I found some confusing things.  Why is it trying to connect to GIGDC1
with a null username?  Is this why the connection is refused?

<--snip-->
[2002/05/10 08:04:13, 5] nsswitch/winbindd_cm.c:cm_open_connection(346)
  connecting to GIGDC1 from PRINT02P with username []\[]
[2002/05/10 08:04:13, 3] libsmb/cliconnect.c:cli_full_connection(980)
  Connecting to host=GIGDC1 share=IPC$
[2002/05/10 08:04:13, 3] lib/util_sock.c:open_socket_out(843)
  Connecting to XXX.XXX.4.3 at port 445
[2002/05/10 08:04:13, 2] lib/util_sock.c:open_socket_out(872)
  error connecting to XXX.XXX.4.3:445 (Connection refused)
<--snip-->
.
<--snip-->
[2002/05/10 08:04:35, 10] nsswitch/winbindd_group.c:winbindd_getgrent(550)
  got gid 1 for group f42
[2002/05/10 08:04:35, 0] lib/fault.c:fault_report(38)
  ===
[2002/05/10 08:04:35, 0] lib/fault.c:fault_report(39)
  INTERNAL ERROR: Signal 11 in pid 26422 (2.2.4)
  Please read the file BUGS.txt in the distribution
[2002/05/10 08:04:35, 0] lib/fault.c:fault_report(41)
  ===
[2002/05/10 08:04:35, 0] lib/util.c:smb_panic(1092)
  PANIC: internal error


Any help is appreciated!!

Josh Konkol, CNE MCSE  
Senior Network Analyst
GuideOne Insurance
Mail Stop AB-1
515-267-2427
[EMAIL PROTECTED]

 .~.
 /V\
/( )\
^^-^^



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



[Samba] Most common samba uses

2002-05-10 Thread Albert Dengg

Hi
Can somebody tell for which purposes samba is mostly used?
(Domain Controller, Printserver, etc)?
I would need it for a school report.

greetings,
Albert Dengg

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



RE: [Samba] Win98 join a PDC

2002-05-10 Thread Alex Moen

Good information, and I will definitely investigate this.  However, my
domain right now is in a test situation (working on replacing an NT 4.0
domain with this) and is not on our main network which does consist of Cisco
switches.  I have it set up on a small cheapo switch, isolated from the main
network, where the only thing that is on the switch is the Samba box, the
W2K box, and the W98 client.  Also, DHCP shows no signs of any problems: the
workstation gets an address with no delay.

Any other ideas that I can try?

Thanks!!

Alex


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Mac
> Sent: Friday, May 10, 2002 4:58 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [Samba] Win98 join a PDC
>
>
> >From: Dirk Allaert <[EMAIL PROTECTED]>
> >To: Alex Moen <[EMAIL PROTECTED]>
> >Cc: [EMAIL PROTECTED]
> >Subject: Re: [Samba] Win98 join a PDC
> >Date: Fri, 10 May 2002 10:46:32 +0200
> >
> >
> >
> >Alex Moen wrote:
> >> Wierd thing #1:  Windows 98 client will NOT connect on first attempt:
> >> type in username and password, hit enter, wait 2 minutes, failure
> >> message.  Click OK on the failure popup, hit enter again on the login
> >> dialogue, wait another 2 minutes and client logs in almost
> perfectly (by
> >> almost: trouble with home directory %u thingie).  Any ideas?
> >>
> >I am not sure this is a samba issue. I have also seen this once a
> >Windows NT 4 PDC and a somebody reported me this on a Windows 2000 ADC
> >(always with windows 98). Seemed to have to do with networking stuff.
> >
> >
> >I the Windows 2000 case, the guy that told me had contacted CISCO (they
> >were using a CISCO layer 3 switch) and CISCO changed some stuff on the
> >switch (don't know what). Same scenario for NT 4 case: Baystack switch,
> >PC's with Accton network card. Changed speed on switches (half duplex).
> >Problem did not completely disappear but sure improved.
>
>
> This sounds highly likely.  The Cisco 'stuff' they changed was probably
> 'portfast'.
>
> See:-
>
>   http://www.cisco.com/warp/public/473/12.html
>
> for an explnation of why it can tkae upto a minute for a switch to start
> passing packets after the PC has come up.  Also some (Cisco specific)
> steps you can take (with detailed instructions) to reduce the problem.
> [One of the steps is to twiddle duplex settings, but it's the very last
> thing to try].
>
>
>Mac
>   Assistant Systems Adminstrator @nibsc.ac.uk
> [EMAIL PROTECTED]
>Work: +44 1707 654753 x285  Everything else: +44 7956
> 237670 (anytime)
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>


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



[Samba] After reIP, Samba hosts not browsable.

2002-05-10 Thread C. Bensend


Hey folks,

We recently reIP'ed our main office LAN.  Ever since
this was done, none of our Samba hosts are browsable via
Network Neighborhood.  While they are still availible via
Start -> Run -> \\servername, it's an annoying inconvenience.

Stats:

* PDC and BDC are NT domain controllers
* Samba hosts are running several versions of Samba,
  from the later 2.0.* releases, through 2.2.1 and
  2.2.3
* Samba hosts include Linux, IRIX, HP-UX, and Solaris

To me, this points at a WINS problem, but deleting the
machine account from the domain and adding a new one does no
good.  Unfortunately, since WINS is such a black art (at least
to me), the NT admins can't figure out where the problem lies,
either.

I doubt if this is a problem with Samba itself, but I'm
hoping that since we're all here because we're integrating *NIX
with Windows networks, someone might have run into this problem
before.

Any help would be much appreciated!  If you need further info,
I'll be happy to provide it.

Thanks!

Benny


~~
Always carry a short length of fibre-optic cable. If
you get lost, then you can drop it on the ground, wait
ten minutes, and ask the backhoe operator how to get
back to civilization. -Alan Frame



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



[Samba] Problems when compiling samba3.0alpha17

2002-05-10 Thread Harry Rüter

Hi,

i have problems with the compiling of samba3.0alpha17.

I use the following "configure-script"  :

--

#!/bin/sh

make clean
autoconf

 ./configure  \
--with-readline \
--with-acl-support \
--prefix=/usr/local/samba \
--with-smbwrapper \
--with-smbmount \
--with-pam \
--with-pam_smbpass \
--with-ldapsam \
--with-ssl \
--with-tdbsam \
--with-krb5=/usr/local/kerberos \
--with-vfs \
--with-syslog \
--with-libsmbclient \
--with-winbind 2>&1 | tee configure.out

-

This runs without any errors.

Compiling shows the following error message :


-
Using FLAGS =  -DHAVE_CRYPT_DECL -I/usr/local/ssl/include
-O  -I/usr/local/kerberos/include  -Iinclude -I./include
-I./ubiqx -I./smbwrapper  -I. -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE 
-I/usr/local/kerberos/include -I.

FLAGS32 =  -DHAVE_CRYPT_DECL -I/usr/local/ssl/include -O 
-I/usr/local/kerberos/include  -Iinclude -I./include
-I./ubiqx -I./smbwrapper  -I. -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE 
-I/usr/local/kerberos/include -I.

LIBS = -lssl -lcrypto -lldap -llber -lresolv  -ldl -lcrypt
-lnsl -lkrb5 -lcom_err -lk5crypto -lkrb5 -lgssapi_krb5
-llber -lldap -lpam -lpopt

LDSHFLAGS = -shared -L/usr/local/ssl/lib 
-L/usr/local/kerberos/lib -DHAVE_CRYPT_DECL
-I/usr/local/ssl/include -O  -I/usr/local/kerberos/include

LDFLAGS = -L/usr/local/ssl/lib  -L/usr/local/kerberos/lib

Compiling lib/util.c
In file included from
/usr/local/ssl/include/openssl/objects.h:960,
 from
/usr/local/ssl/include/openssl/evp.h:138,
 from
/usr/local/ssl/include/openssl/x509.h:67,
 from
/usr/local/ssl/include/openssl/ssl.h:69,
 from lib/util.c:56:
/usr/local/ssl/include/openssl/asn1.h:241: parse error
before `0x2'
/usr/local/ssl/include/openssl/asn1.h:242: parse error
before `0xa'
/usr/local/ssl/include/openssl/asn1.h:244: parse error
before `0x4'
/usr/local/ssl/include/openssl/asn1.h:256: parse error
before `0x1'
/usr/local/ssl/include/openssl/asn1.h:348: parse error
before `0x1'
/usr/local/ssl/include/openssl/asn1.h:348: warning: no
semicolon at end of struct or union
/usr/local/ssl/include/openssl/asn1.h:348: warning: no
semicolon at end of struct or union
/usr/local/ssl/include/openssl/asn1.h:351: parse error
before `0x2'
/usr/local/ssl/include/openssl/asn1.h:354: parse error
before `0x4'
/usr/local/ssl/include/openssl/asn1.h:369: parse error
before `}'
/usr/local/ssl/include/openssl/asn1.h:369: warning: data
definition has no type or storage class
/usr/local/ssl/include/openssl/asn1.h:370: parse error
before `}'
/usr/local/ssl/include/openssl/asn1.h:370: warning: data
definition has no type or storage class

and so on ...
-

Viewing /usr/local/ssl/include/openssl/asn1.h shows
(beginning at line 241)  :

typedef struct asn1_string_st ASN1_INTEGER;
typedef struct asn1_string_st ASN1_ENUMERATED;
typedef struct asn1_string_st ASN1_BIT_STRING;
typedef struct asn1_string_st ASN1_OCTET_STRING;
typedef struct asn1_string_st ASN1_PRINTABLESTRING;
typedef struct asn1_string_st ASN1_T61STRING;
typedef struct asn1_string_st ASN1_IA5STRING;
typedef struct asn1_string_st ASN1_GENERALSTRING;
typedef struct asn1_string_st ASN1_UNIVERSALSTRING;
typedef struct asn1_string_st ASN1_BMPSTRING;
typedef struct asn1_string_st ASN1_UTCTIME;
typedef struct asn1_string_st ASN1_TIME;
typedef struct asn1_string_st ASN1_GENERALIZEDTIME;

---


Can anybody tell me what's wrong ?
I'm using samba3.0alpha17, Suse Linux 7.1 , Kernel 2.4.18 ,
openssl 0.9.6c.

Thx Harry

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



RE: [Samba] Re: Samba wins eWeek and PC Magazine "Innovation in I nfrastructure" (i3) award for best Enterprise Software !

2002-05-10 Thread Gregory, Paul (PS, GNF, Contractor)
Title: RE: [Samba] Re: Samba wins eWeek and PC Magazine "Innovation in I nfrastructure" (i3) award for best Enterprise Software !






Luke,


You should be able to tell from my signature that I am a UNIX sys admin
and an Oracle DBA.


I hate MS as much as you do, but I have realized that they control everything,
and we are going to have to live with it.  I don't think anyone or thing can
ever fight them.  Hell, Bill snubbs his nose at the US DOJ.  You are preaching
to the choir.  I work in an environment where interns think that MS wrote C & C++.
They have never been exposed to anything else.  I use every opportunity to bash MS
and correct ignorance.


The problem I have is that I don't want to see the negative attitude impact
a great effort like Samba.


Cheers & have a beer.


Paul


-Original Message-
From: Luke Kenneth Casson Leighton [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 09, 2002 6:35 PM
To: Gregory, Paul (PS, GNF, Contractor)
Cc: Jeremy Allison; [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: Re: [Samba] Re: Samba wins eWeek and PC Magazine "Innovation in
I nfrastructure" (i3) award for best Enterprise Software !



On Thu, May 09, 2002 at 05:32:51PM -0400, Gregory, Paul (PS, GNF, Contractor) wrote:
> 
> Luke,


 hi gregory,


 how are you?  i don't believe we've met.


 what do yo do for a living?
 
 me?
 
 oh, i wrote the dce/rpc code which makes up samba's NT domain
 infrastructure.  i wrote a book about it.  you can buy it
 on amazon.  it's called "dce/rpc over smb: samba and windows
 nt domain internals".



> What is your problem?  


 it's a very long story.  one that i can only assume, by your
 attitude from your message, that would be totally wasted
 on you.


 to give you the benefit of the doubt in that respect, and to
 answer your question partially:


 things got really nasty a while back, and a few people got
 jealous, couldn't handle that i might know a little bit more
 than they do, and i was under such horrible pressure and
 extremely nasty circumstances that i couldn't handle either.


 in all, things went from really good and a lot of fun
 to extremely nasty, in a very short space of time.


 i wish that things were better than they were (i do
 not wish that things were _as_ they were) such that
 the shit that happened could never ever happen to me
 OR to anyone else.




 now it's extremely frustrating because the things that
 need to happen still have not happened, and the users
 of microsoft products are lining microsoft's pockets,
 the US dept of Justice and the EU commission received
 totally the wrong advice because they simply don't know
 what's going on, and microsoft sure as hell isn't going
 to tell them.



 whenever i explain quite how much is involved, people are
 shocked, do not believe it could be that difficult, do not
 believe that it is true, are scared of the repercussions of
 microsoft - including possibly being simply killed, do not
 have the time or the money.


 when in fact, as an example: any company that has more than 500
 employees could easily pay for the development of an exchange
 replacement by writing out the cheque for the license fees to
 me and/or any good open source dcerpc development team and
 subsequently never have to pay microsoft exchange license
 EVER AGAIN.


 
 


> Sounds like you have a huge chip missing from your shoulder.
 
 yes.  and no.
 
 yes.  if you had the same kind of things happen to you as happened
 to me, you would a) likely also have same b) not be writing
 me such a blunt email.


 no.  i refuse to give up: i just go away for a while, to recover.


 




> Get over it!


 well, that is going to take a hell of a lot.


 are you going to help me to help you?


 are _you_ going to fund the dcerpc.net projects?


 l.



-- 
--
this message is private, confidential, and is intented for
the specified recipients only.  if you received in error,
altered, deleted, modified, destroyed or interfered with
the contents of this message, in whole or in part, please
inform the sender (that's me), immediately.


if you, the recipient, reply to this message, and do not
then receive a response, please consider your reply to have
been lost or deliberately destroyed: i *always* acknowledge
personal email received.  please therefore take appropriate
action and use appropriate protocols to ensure effective
communication.


thank you.





[Samba] samba and win95

2002-05-10 Thread Cristian Mijea

samba 2.2.1 and win98 or me can get a list of users from smb. The problem appears only 
on computers using win95.


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



Re: [Samba] still problems with password-expiration

2002-05-10 Thread amoote


Stephan,

I have the same problem  I don't know what to do to resolve it.  I am still
in the process of migrating the users to the Samba server so I haven't yet
focused on resolving this minor inconvenience.

Regards,

Alan B. Moote
Systems Administrator
MARK IV Industries
tel: 905.624.7908
fax: 905.625.6197



   

  "Stephan M. Ott" 


  gn.de>   cc: 

  Sent by: Subject:  [Samba] still problems with 
password-expiration   
  samba-admin@lists

  .samba.org   

   

   

  05/09/02 06:16 PM

   

   





Hi folks,

I knew this was recently discussed but I still couldn't get it to work.
I still have the problem that the users on the W2K-Clients get the message
about the password going to expire in 5 days when joining the
Samba-PDC-Domain.
Even if the users change the password, this message keeps coming...
I have no idea what to do to avoid this message...
Funny thing is, the password DOES NOT expire in 5 days.. only the popus in
windows keeps on coming after logon. It always tells about 5 days... every
day the same :)
Did I miss a posting which told the solution ?

Thanks in advynce

Stephan


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

2002-05-10 Thread Vangelis Kouzounis



 We use a Samba 
Proxy Server in a mixed network(Linux and windows 2000).Which commands i have to 
use to refresh or delete the folder that holds the links to pages we 've 
visited?


Re: [Samba] samba and win95

2002-05-10 Thread David van Geyn

Which version of Samba are you running? I believe that userlists for Win9x
systems were not implemented until Samba 2.2.0.

HTH,

David van Geyn

- Original Message -
From: "Cristian Mijea" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 10, 2002 7:52 AM
Subject: [Samba] samba and win95


>
> I'm running a smb server on a redhat 7.2 system. everything works just
fine except when I try to share something on a win95 machine (user level).
The win95 machine can't access the list of users provided by samba. ("You
can not view a list of users at this time.")
> Anyone know why?
>
> Tks.!
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba


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



[Samba] samba and win95

2002-05-10 Thread Cristian Mijea


I'm running a smb server on a redhat 7.2 system. everything works just fine 
except when I try to share something on a win95 machine (user level). The win95 
machine can't access the list of users provided by samba. ("You can not view a list of 
users at this time.")
Anyone know why?

Tks.!


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



Re: [Samba] What's the newest samba-tng ?

2002-05-10 Thread Rasmus Nielsen

Hi

samba-tng has it's one mail list at [EMAIL PROTECTED], where you 
should direct your question to, since they probably know it better then 
anybody else.


Rasmus

  At 11:54 10-05-2002 +0200, Harry Rüter wrote:
>Hi everybody,
>
>What's the newest samba-tng and where can i
>download it ?
>
>thanks from germany
>
>--
>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] Win98 join a PDC

2002-05-10 Thread Mac

>From: Dirk Allaert <[EMAIL PROTECTED]>
>To: Alex Moen <[EMAIL PROTECTED]>
>Cc: [EMAIL PROTECTED]
>Subject: Re: [Samba] Win98 join a PDC
>Date: Fri, 10 May 2002 10:46:32 +0200
>
>
>
>Alex Moen wrote:
>> Wierd thing #1:  Windows 98 client will NOT connect on first attempt: 
>> type in username and password, hit enter, wait 2 minutes, failure 
>> message.  Click OK on the failure popup, hit enter again on the login 
>> dialogue, wait another 2 minutes and client logs in almost perfectly (by 
>> almost: trouble with home directory %u thingie).  Any ideas?
>>  
>I am not sure this is a samba issue. I have also seen this once a 
>Windows NT 4 PDC and a somebody reported me this on a Windows 2000 ADC 
>(always with windows 98). Seemed to have to do with networking stuff.
>
>
>I the Windows 2000 case, the guy that told me had contacted CISCO (they 
>were using a CISCO layer 3 switch) and CISCO changed some stuff on the 
>switch (don't know what). Same scenario for NT 4 case: Baystack switch, 
>PC's with Accton network card. Changed speed on switches (half duplex). 
>Problem did not completely disappear but sure improved.


This sounds highly likely.  The Cisco 'stuff' they changed was probably
'portfast'.

See:-

http://www.cisco.com/warp/public/473/12.html

for an explnation of why it can tkae upto a minute for a switch to start
passing packets after the PC has come up.  Also some (Cisco specific)
steps you can take (with detailed instructions) to reduce the problem.
[One of the steps is to twiddle duplex settings, but it's the very last
thing to try].


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

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



[Samba] What's the newest samba-tng ?

2002-05-10 Thread Harry Rüter

Hi everybody,

What's the newest samba-tng and where can i
download it ?

thanks from germany

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



RE: [Samba] Samba 2.2.4 and SCO Openserver 5.0.6

2002-05-10 Thread Michael Charles
Title: [Samba] Samba 2.2.4 and SCO Openserver 5.0.6



Hi 
Dirk,
 
I have 
disables lines 664 to 668 in Makefile. When it I run "make" I still get this 
error "Compiling 
smbd/server.cinclude/includes.h, line 855:error: identifier redeclared: 
initgroups*** Error code 1 (bu21)"
I have run configure with and 
without winbind and get the same error above.

  -Original Message-From: Dirk ALLAERT 
  [mailto:[EMAIL PROTECTED]]Sent: 09 May 2002 
  19:32To: Michael Charles; [EMAIL PROTECTED]Subject: 
  RE: [Samba] Samba 2.2.4 and SCO Openserver 5.0.6
  makeline 664: Syntax error.
  I also got this error on Openserver. I just deleted line 664  to 668 
  in the Makefile and it worked fine. I guess the Openserver make is just 
  too ancient ?
  : $(WINBIND_NSS_PICOBJS)    
  @echo "Linking $@"    @$(SHLD) 
  -shared -o $@ $(WINBIND_NSS_PICOBJS)  
  \    
  #`basename $@`
  I could be wrong but AFAIK Openserver does not not support NSS so winbind 
  will not work.
   
  
-Oorspronkelijk bericht- Van: Michael 
Charles Verzonden: do 9/05/2002 14:29 Aan: 
'[EMAIL PROTECTED]' CC: Onderwerp: [Samba] Samba 
2.2.4 and SCO Openserver 5.0.6
I have problems installing the latest release of Samba on 
Caldera (SCO)Openserver 5.0.6I have downloaded the source 
and  ran "./configure" fine. I get an error "line 664: Syntax error 
" when I run "make".  If I run " ./configure--with-winbind", then 
run "make", I get the error "Compiling smbd/server.cinclude/includes.h, 
line 885:error: identifier redeclared: initgroups*** Error code 1 
(bu21)"I have installed the same release on SCO Unixware 7.1.0 by 
running"./configure --with-winbind", " make" and finally "make 
install".  
Thisworks.Regards,Michael--To unsubscribe 
from this list go to the following URL and read theinstructions:  
http://lists.samba.org/mailman/listinfo/samba


[Samba] Win2k won't join Samba-Domain

2002-05-10 Thread Jens Reimann

Hallo all,
I have got a problem with samba (2.2.3a, 2.2.4 and CVS-Version). It's 
inpossible to let a Win2K (SP1) join my Samba-Domain. The error is that the 
cred(irials?)s are wrong. The remove all the *.tdb (in the lock-dir) and 
created the computer-account new, with no success.

My smb.conf:

# Samba config file created using SWAT
# from k6.privat.de (192.168.201.15)
# Date: 2002/05/07 18:37:33

# Global parameters
[global]
workgroup = EDUC
netbios name = BRAIN
encrypt passwords = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* "%n\n" *Re-enter*new*password* "%n\n" 
*LDAP
*password*information*changed*for*
unix password sync = Yes
log level = 36
announce version = 5.0
time server = Yes
domain admin group = root
logon path = \\brain\%U\profile
logon drive = H:
logon home = \\brain\%U
domain logons = Yes
os level = 65
lm announce = True
lm interval = 10
preferred master = True
domain master = True
wins support = Yes
ldap server = 192.168.201.10
ldap suffix = "dc=privat,dc=de"
ldap admin dn = "uid=admin,ou=Sysusers,ou=NSS,dc=privat,dc=de"
passdb backend = ldapsam
ldap ssl = true
admin users = root, administrator
nt acl support = No
printing = cups

[homes]
comment = home
read only = No
browseable = No

[z]
path = /

[data]
path = /data
read only = No
create mask = 0777
directory mask = 0777
guest ok = Yes

[printers]
comment = All Printers
path = /tmp
create mask = 0700
guest ok = Yes
printable = Yes
browseable = No

[NETLOGON]
path = /usr/lib/samba/netlogon

[profiles]
path = /usr/lib/samba/ntprofile
read only = No
create mask = 0600
directory mask = 0700


-- 
Jens Reimann
[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] Win98 join a PDC

2002-05-10 Thread Dirk Allaert



Alex Moen wrote:
> OK... this has probably been asked in the past, but until there is a 
> decent archive it's impossible to tell  :)
>  
> Just set up a 2.2.4 PDC / Solaris 8 / E-250. 
>  
> Wierd thing #1:  Windows 98 client will NOT connect on first attempt: 
> type in username and password, hit enter, wait 2 minutes, failure 
> message.  Click OK on the failure popup, hit enter again on the login 
> dialogue, wait another 2 minutes and client logs in almost perfectly (by 
> almost: trouble with home directory %u thingie).  Any ideas?
>  
I am not sure this is a samba issue. I have also seen this once a 
Windows NT 4 PDC and a somebody reported me this on a Windows 2000 ADC 
(always with windows 98). Seemed to have to do with networking stuff.


I the Windows 2000 case, the guy that told me had contacted CISCO (they 
were using a CISCO layer 3 switch) and CISCO changed some stuff on the 
switch (don't know what). Same scenario for NT 4 case: Baystack switch, 
PC's with Accton network card. Changed speed on switches (half duplex). 
Problem did not completely disappear but sure improved.

> Wierd thing #2:  Win2K server, no AD, no BDC.  Just wanna join the 
> domain so that I can use terminal server.  Asking for a username and 
> password.  The only reference that I have found in any of the 
> documentation is how you must use a "Samba Administrator" account to 
> authenticate the machine, but there is no docs that explain WHAT a 
> "Samba Administrator" account is, or how to make one.

try root ?

>  
> Any help will be GREATLY appreciated!!!
>  
> Thanks in advance!
> 
> *
> Alex Moen
> Operations Technology Specialist
> 701-662-6481
> 800-880-4213
> *
> 
>  



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



[Samba] samba and win95

2002-05-10 Thread Cristian Mijea


I'm running a smb server on a redhat 7.2 system. everything works just fine 
except when I try to share something on a win95 machine (user level). The win95 
machine can't access the list of users provided by samba. ("You can not view a list of 
users at this time.")
Anyone know why?


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



[Samba] somebody please help

2002-05-10 Thread Thamara Wanigatunga

Dear all,

I have a serious problem that I can't rectify. My smb.conf is as follows. I
use Solaris 2.6 on SPARC

# Global parameters
[global]
  workgroup = SOME_DOMAIN
  netbios name = 220R
  server string = Samba For Backup On Solaris
  security = SERVER
  encrypt passwords = Yes
  update encrypted = Yes
  obey pam restrictions = Yes
  password server = * 10.2.240.251
  socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192
SO_SNDBUF=8192
  os level = 50
  preferred master = False
  local master = No
  domain master = False
  dns proxy = No
  wins server = 10.2.240.251
  winbind uid = 1-2
  winbind gid = 1-2
  template homedir = /samba/shares/%D/%U
  template shell = /bin/sh
  guest account = ftp

The samba server is shown in the network neighborhood. When security is set
to domain users are prompted for the password that does not happen if
security is set to server.

Log.winbind

[2002/05/09 12:54:13, 0] rpc_client/cli_netlogon.c:cli_net_auth2(157)
  cli_net_auth2: Error NT_STATUS_ACCESS_DENIED
[2002/05/09 12:54:13, 0] rpc_client/cli_login.c:cli_nt_setup_creds(74)
  cli_nt_setup_creds: auth2 challenge failed
[2002/05/09 12:54:13, 0]
smbd/password.c:connect_to_domain_password_server(1336)
  connect_to_domain_password_server: unable to setup the PDC credentials to
machine SOMEMASTER. Error was : NT_STATUS_OK.
[2002/05/09 12:54:13, 0] smbd/password.c:domain_client_validate(1554)
  domain_client_validate: Domain password server not available.
[2002/05/09 13:14:39, 0] rpc_client/cli_netlogon.c:cli_net_auth2(157)
  cli_net_auth2: Error NT_STATUS_ACCESS_DENIED
[2002/05/09 13:14:39, 0] rpc_client/cli_login.c:cli_nt_setup_creds(74)
  cli_nt_setup_creds: auth2 challenge failed
[2002/05/09 13:14:39, 0] nsswitch/winbindd_cm.c:cm_get_netlogon_cli(692)
  error connecting to domain password server: NT_STATUS_ACCESS_DENIED
[2002/05/09 13:21:43, 0] rpc_client/cli_netlogon.c:cli_net_auth2(157)
  cli_net_auth2: Error NT_STATUS_ACCESS_DENIED
[2002/05/09 13:21:43, 0] rpc_client/cli_login.c:cli_nt_setup_creds(74)
  cli_nt_setup_creds: auth2 challenge failed
[2002/05/09 13:21:43, 0] nsswitch/winbindd_cm.c:cm_get_netlogon_cli(692)
  error connecting to domain password server: NT_STATUS_ACCESS_DENIED

log.smbd

2002/05/10 12:30:39, 0] rpc_client/cli_login.c:cli_nt_setup_creds(74)
  cli_nt_setup_creds: auth2 challenge failed
[2002/05/10 12:30:39, 0]
smbd/password.c:connect_to_domain_password_server(1336)
  connect_to_domain_password_server: unable to setup the PDC credentials to
machine SOMEMASTER. Error was : NT_STATUS_OK.
[2002/05/10 12:30:39, 0] rpc_client/cli_netlogon.c:cli_net_auth2(157)
  cli_net_auth2: Error NT_STATUS_ACCESS_DENIED
[2002/05/10 12:30:39, 0] rpc_client/cli_login.c:cli_nt_setup_creds(74)
  cli_nt_setup_creds: auth2 challenge failed
[2002/05/10 12:30:39, 0]
smbd/password.c:connect_to_domain_password_server(1336)
  connect_to_domain_password_server: unable to setup the PDC credentials to
machine SOMEMASTER. Error was : NT_STATUS_OK.
[2002/05/10 12:30:39, 0] smbd/password.c:domain_client_validate(1554)
  domain_client_validate: Domain password server not available.
[2002/05/10 12:32:29, 0] smbd/server.c:main(698)
  smbd version 2.2.3a started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
[2002/05/10 12:32:29, 0] lib/pidfile.c:pidfile_create(86)
  ERROR: smbd is already running. File /usr/local/samba/var/locks/smbd.pid
exists and process id 1204 is running.
[2002/05/10 12:32:40, 0] smbd/server.c:main(698)
  smbd version 2.2.3a started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002

Also when I do a wbinfo ?t it says

Secret is bad
0xc022

wbinfo ?a output is

wbinfo -a SOME_DOMAIN\\guest%password
plaintext password authentication failed
Could not authenticate user SOME_DOMAIN\guest%password with plaintext
password
challenge/response password authentication failed
Could not authenticate user SOME_DOMAIN\guest%password with
challenge/response
and winbind in debug mode presents

[ 1370]: check machine account
resolve_lmhosts: Attempting lmhosts lookup for name SOMEMASTER<0x20>
resolve_hosts: Attempting host lookup for name SOMEMASTER<0x20>
resolve_wins: Attempting wins lookup for name SOMEMASTER<0x20>
resolve_wins: WINS server == <10.2.240.251>
bind succeeded on port 0
Got a positive name query response from 10.2.240.251 ( 10.2.240.251 )
IPC$ connections done anonymously
Connecting to 10.2.240.251 at port 445
error connecting to 10.2.240.251:445 (Connection refused)
Connecting to 10.2.240.251 at port 139
cli_net_auth2: Error NT_STATUS_ACCESS_DENIED
cli_nt_setup_creds: auth2 challenge failed
error connecting to domain password server: NT_STATUS_ACCESS_DENIED
could not open handle to NETLOGON pipe

To overcome this I did
Removed the machine from the server manager(PDC is win Nt4)
Stopped all samba daemons
Removed all files in the private dir
Created a computer account using useradd ?s /bin/fa

[Samba] The status of Active Directory support in Samba

2002-05-10 Thread Andy Crichton

Hi,
Sorry if I missed some documentation on this. I would like to know if at
present I can use samba as an active directory service and also if this is
implemented on top of LDAP so enabling me to use LDAP tools to query this
server in addition to win2k/xp clients?

Any pointers or additional documentation would be much appreciated.

Many thanks

Andy Crichton


__
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. The contents are 
confidential and may be privileged.
Any views or opinions expressed are those of the sender and may not reflect the views 
or opinions of the company and the company accepts no liability in respect thereof.
If you have received this email in error please notify [EMAIL PROTECTED] 
immediately.


This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk


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