[Samba] disjoint domain?

2002-12-13 Thread Norman Zhang
Hi,

I'm moving my samba server to another NT 4.0 domain. Do I need to disjoint
the previous domain and then join the new domain?

Regards,
Norman

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



RE: [Samba] lprm command not getting called.

2002-12-13 Thread David Neilson
Joel:

I will forego answering your questions since I finally got it working so
that I can now delete files without hanging the application.  I did the
following three things, and I am not sure what combination made it work.  I
think it was probably the first two.   

1) Made the printer path equal to a Samba file share.  (This doesn't make
sense because the original printer path was 777, and the parent directories
were read/execute, thus allowing anybody to "cd" through them.)

2) Deleted and re-added the printer in question (I have made lots of changes
to the smb.conf file over the past week, and thought maybe there were some
"inconsistencies" between the samba server and the printer configuration on
the W2K client.)

2) Modified the Samba printer from the W2K client (i.e., changed the
orientation to Landscape, clicked apply, then changed it back again).  I
read in a document titled "Samba Project Documentation", dated Apr 1, 2002,
that "for a printer to be truly usable by a W2K client, a valid Device Mode
needed to be generated for the printer".  And that paper suggested the
action mentioned at the beginning of this paragraph.   

I know there are some security issues to work out here.  

Thanks for your help.  

-Original Message-
From: Joel Hammer [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 12, 2002 7:10 PM
To: David Neilson; [EMAIL PROTECTED]
Subject: Re: [Samba] lprm command not getting called.


Well, there a  lot of error messages saying it can't run command %s. What is
command %s ?

BTW, what is smtp? Isn't that a mail program?

Have you run testparm ?

Joel

On Thu, Dec 12, 2002 at 04:13:27PM -0800, David Neilson wrote:
> Joel:
> 
> In response to your questions:
> 
> 1) I am using lprng, not cups.
> 
> 2. Here is the strings output of smtp:  
> ### START SMBD STRINGS OUTPUT ###
> Incorrect program usage - are you sure the command line is correct?
> disk_free: Running command %s
> disk_free: sys_popen() failed for command %s. Error was : %s
> Unsupported API fd command
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Samba printing on Solaris 8

2002-12-13 Thread Joel Hammer
Well, to experiment, you might try, in your printing share:
printing command = echo Tried to print %s > /tmp/junk
And see if that command gets executed.
Joel

On Thu, Dec 12, 2002 at 01:44:31PM -0500, daulton theodore wrote:
> Thanks Joel. I did move everything except 'printing, printcap name and load
> printers' into the share, restarted the server, tried printing. Got the same
> result. I'm really puzzled as to why this is not working. It seemed so simple
> according to the instructions in the various references. I'm open to any other
> suggestions.
> 
> Joel Hammer wrote:
> 
> > On Wed, Dec 11, 2002 at 04:00:18PM -0500, daulton theodore wrote:
> > You might put the printing stuff into the share, not in the global section.
> > Joel
> > On Wed, Dec 11, 2002 at 04:00:18PM -0500, daulton theodore wrote:
> > > Hi:
> > > I am new to the Samba world and I am having problems with printing. I
> > > have Samba installed on a Solaris 8 server. I can see the Samba shares
> > > and the printer (lasersys) in Windows Explorer. I have installed the
> > > printer on my workstation (NT 4.0) using the Windows 'Add Printer'
> > > wizard. However, when I send a print job to the printer
> > > (Wordpad:File > Print) the job never gets to the printer. Instead the
> > > job stays in /tmp with a filename such as 'smbprn.47.Qgayvr'. I have
> > > left out the '; rm %s' from the print command below so that I could see
> > > the jobs landing in /tmp and not making it to the printer. I really
> > > would appreciate any help/suggestions you guys can offer.
> > >
> > > The following is a clip from the config.smb file:
> > >
> > > # Global parameters
> > > [globals]
> > >netbios name  = HYDRA
> > >server string = Samba %v on Netbios (%L), DNS hostname (%h)
> > >workgroup = SIMPLE
> > >dead time = 5
> > >encrypt passwords = yes
> > >browsable = no
> > >writeable = yes
> > >
> > > #  Debug Logging information
> > >log level = 2
> > >log file = /usr/local/samba/var/samba.log.%m
> > >max log size = 50
> > >debug timestamp = yes
> > >
> > > #  printing stuff
> > >printing  = SYSV
> > >printcap name = /usr/local/samba/lib/printcap
> > >print command = /bin/lp -c -d%p %s
> > >lpq command = /bin/lpstat -o%p
> > >lprm command = /bin/cancel %p-%j
> > >lppause command = /bin/lp -i %p-%j -H hold
> > >lpresume command = /bin/lp -i %p-%j -H resume
> > >load printers = yes
> > >use client driver = yes
> > >
> > > [printers]
> > >comment = "Printers"
> > >path = /tmp
> > >printable = yes
> > >create mode = 0755
> > >browseable = yes
> > >public = no
> > >guest ok = yes
> > >print ok = yes
> > >
> > >
> > > [lasersys]
> > >comment = systems laser printer
> > >browseable = yes
> > >printer = laser_sys
> > >create mode = 0755
> > >printable = yes
> > >guest ok = yes
> > >
> > >
> > >
> > > The following is the contents of the printcap file:
> > >
> > > laser_sys| hp laserjet 8150
> > >
> > > lpstat -t generates the following:
> > >
> > > # lpstat -t
> > > scheduler is running
> > > system default destination: laser_sys
> > > system for _default: library4 (as printer laser_sys)
> > > device for laser_sys: /dev/laser_sys
> > > _default accepting requests since Tue Nov 19 14:33:56 EST 2002
> > > laser_sys accepting requests since Tue Nov 19 14:33:56 EST 2002
> > > printer laser_sys is idle. enabled since Tue Nov 19 14:33:56 EST 2002.
> > > available.
> > > #
> > >
> > >
> > > Thanks in advance for any help/suggestion you can provide. It would
> > > great to get this working!
> > >
> > > --
> > > To unsubscribe from this list go to the following URL and read the
> > > instructions:  http://lists.samba.org/mailman/listinfo/samba
> > > Hi:
> > > I am new to the Samba world and I am having problems with printing. I
> > > have Samba installed on a Solaris 8 server. I can see the Samba shares
> > > and the printer (lasersys) in Windows Explorer. I have installed the
> > > printer on my workstation (NT 4.0) using the Windows 'Add Printer'
> > > wizard. However, when I send a print job to the printer
> > > (Wordpad:File > Print) the job never gets to the printer. Instead the
> > > job stays in /tmp with a filename such as 'smbprn.47.Qgayvr'. I have
> > > left out the '; rm %s' from the print command below so that I could see
> > > the jobs landing in /tmp and not making it to the printer. I really
> > > would appreciate any help/suggestions you guys can offer.
> > >
> > > The following is a clip from the config.smb file:
> > >
> > > # Global parameters
> > > [globals]
> > >netbios name  = HYDRA
> > >server string = Samba %v on Netbios (%L), DNS hostname (%h)
> > >workgroup = SIMPLE
> > >dead time = 5
> > >encrypt passwords = yes
> > >browsable = no
> > >writeable = yes
> > >
> > > #  Debug Logging information
> > >log level = 2
> > >log file = /usr/local

Re: [Samba] Re: Samba 2.2.3a and W2k Sp3

2002-12-13 Thread Greg J. Zartman
Same problem here, Francesco... on ONE of the computers (out of a dozen or
so). Odd, no?


What not upgrade, no?  That's a pretty old version of Samba.



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

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

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



[Samba] Re: Samba 2.2.3a and W2k Sp3

2002-12-13 Thread Brent Torrenga
Same problem here, Francesco... on ONE of the computers (out of a dozen or
so). Odd, no?



"Francesco" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello,
>
> i have a Samba PDC version 2.2.3a on a Red Hat Linux Box 7.3. By joining
to
> thi domain some Windows 2000 Professional Sp3, everything works fine but,
> when opening my computer, i see every sambe network drive with a RED CROSS
> over it!
>
> All the network drives are automatically mapped to the client at logon
time
> by the netlogon script.
>
> How can i solve this problem? Do you think the problem must be debugged on
> Windows 2k or on Samba?
>
> Thank you in advance for your interest, best regards.
>
> Francesco
>
> --
> 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] oplocks and samba 2.2.7

2002-12-13 Thread Simo Sorce
On Sat, 2002-12-14 at 00:06, Keith G. Murphy wrote:
> Simo Sorce wrote:

> > That's fine with development versions, but samba stable is ... well ...
> > stable :-)
> > 
> There's (at least) three other things involved here, though:
> 
> * Because upstream (samba developers) say something is stable may not be 
> good enough for Debian team, since they have to stand behind it
> * Some of the testing is on the Debian package itself: how well does it 
> integrate into Debian, etc.
> * Debian is not one entity, but a group of developers; if the Samba 
> maintainer were allowed to shove a new package into stable, that might 
> be OK; but other developers would want to do the same thing, and, sooner 
> or later, stable would get a showstopping problem.
> 
> I would say that third reason is really important.  Stated another way, 
> because Debian is very loosely organized, no one person can decide what 
> can/cannot go into stable; therefore it is governed by policy, which had 
> to govern everyone, and therefore errs on the cautious side.
> 
> Does that make sense?  If you don't like this sort of loosely organized 
> team, which has political problems, you might like another distribution 
> better.  With a whole other set of problems.  :-)

You got me wrong, I'm perfectly fine with debian, and use it with much
joy. I do know debian only vaguely, just I see that sometimes it is
really very slow, 10 months is really a lot of time without an upgrade.
I'm ok with good scrutiny, but it seem that samba has been forgotten
this time :-)

Simo.

-- 
Simo Sorce - [EMAIL PROTECTED]
Xsec s.r.l.
via Durando 10 Ed. G - 20158 - Milano
tel. +39 02 2399 7130 - fax: +39 02 700 442 399



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


Re: [Samba] oplocks and samba 2.2.7

2002-12-13 Thread Keith G. Murphy
Simo Sorce wrote:

On Fri, 2002-12-13 at 23:24, Keith G. Murphy wrote:


Simo Sorce wrote:




I can't not understand with debian cannot update packeges that are in
the stable version ... but that's a debian problem not samba related ...



Well, I think I understand and approve of the reasons: it's so packages 
can get tested properly before you run them on your 'stable' server.


That's fine with development versions, but samba stable is ... well ...
stable :-)


There's (at least) three other things involved here, though:

* Because upstream (samba developers) say something is stable may not be 
good enough for Debian team, since they have to stand behind it
* Some of the testing is on the Debian package itself: how well does it 
integrate into Debian, etc.
* Debian is not one entity, but a group of developers; if the Samba 
maintainer were allowed to shove a new package into stable, that might 
be OK; but other developers would want to do the same thing, and, sooner 
or later, stable would get a showstopping problem.

I would say that third reason is really important.  Stated another way, 
because Debian is very loosely organized, no one person can decide what 
can/cannot go into stable; therefore it is governed by policy, which had 
to govern everyone, and therefore errs on the cautious side.

Does that make sense?  If you don't like this sort of loosely organized 
team, which has political problems, you might like another distribution 
better.  With a whole other set of problems.  :-)



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


[Samba] Samba 2.2.3a and W2k Sp3

2002-12-13 Thread Francesco
Hello,

i have a Samba PDC version 2.2.3a on a Red Hat Linux Box 7.3. By joining to
thi domain some Windows 2000 Professional Sp3, everything works fine but,
when opening my computer, i see every sambe network drive with a RED CROSS
over it!

All the network drives are automatically mapped to the client at logon time
by the netlogon script.

How can i solve this problem? Do you think the problem must be debugged on
Windows 2k or on Samba?

Thank you in advance for your interest, best regards.

Francesco

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



Re: [Samba] oplocks and samba 2.2.7

2002-12-13 Thread Simo Sorce
On Fri, 2002-12-13 at 23:24, Keith G. Murphy wrote:
> Simo Sorce wrote:

> > I can't not understand with debian cannot update packeges that are in
> > the stable version ... but that's a debian problem not samba related ...
> > 
> Well, I think I understand and approve of the reasons: it's so packages 
> can get tested properly before you run them on your 'stable' server.

That's fine with development versions, but samba stable is ... well ...
stable :-)

> And they backport security fixes, so you get the best of both worlds, 
> generally.

Yes generally it is a really good idea

> If you want latest features, run 'testing' or 'unstable'.

No on my servers I use stable too, it was not a general question, but a
specific one toward samba.

Samba 2.2.3a has been realeased on february the 6th, they are 10 (ten)
months !!! And 2.2.7a contains *lot* of bugfixes that will make also
woody users a lot more happy.

Simo.

-- 
Simo Sorce - [EMAIL PROTECTED]
Xsec s.r.l.
via Durando 10 Ed. G - 20158 - Milano
tel. +39 02 2399 7130 - fax: +39 02 700 442 399



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


Re: [Samba] Symbolic links and SAMBA

2002-12-13 Thread Simo Sorce

In samba 3.0 we have unix extensions, they will be available to
GNU/Linux client through steve's new CIFS fs (in linux kernel 2.5)
most probably.

While I still puch for NFS currently, I have to say that CIFS security
model is much better as it does not trust machines but requires each
user to authenticate.

Simo.

On Fri, 2002-12-13 at 21:38, Michael Heironimus wrote:
> On Fri, Dec 13, 2002 at 12:11:05PM -0600, Long, Jesse wrote:
> > ln: creating symbolic link 'asm' to 'asm-i386': Operation not permitted.
> 
> If you're trying to create a symlink on a remote filesystem mounted via
> Samba/smbfs, it's not at all surprising that it would not work. Samba
> makes your UNIX machine look like a Windows server, and Windows has no
> concept of what a symbolic link is. The follow symlinks option allows
> people to browse through symlinks that you created on the server.
> 
> If you're sharing from one UNIX machine to another, just use NFS. It's
> native to UNIX, so things like symlinks will work.
> 
> -- 
> Michael Heironimus
-- 
Simo Sorce - [EMAIL PROTECTED]
Xsec s.r.l.
via Durando 10 Ed. G - 20158 - Milano
tel. +39 02 2399 7130 - fax: +39 02 700 442 399



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


Re: [Samba] UNIX with samba .vs. native Windows Server , how tocompare thei r performance for Windows-biased management

2002-12-13 Thread Simo Sorce
Go with a GNU/Linux system and get the best of the two worlds:
Unix power
and
cheap hardware

btw, I cannot believe they say managing a windows box is more
comfortable, have you ever showed your boss how much time his NT admins
need to spend to "easily" click trough endless number of windows?

I always found Unix machine much faster to administer,
and it can be done easily also remotely (and _securely_) through SSH.

Let's not talk of automation through scripts, Windows simply does not
exist in that field.

Simo.

On Fri, 2002-12-13 at 21:23, Wieprecht, Karen M. wrote:
> I had samba working on an old Sun Enterprise server using a JBOD that was
> managed with veritas volume manager (legacy stuff that had long outlived
> it's usefulness).  Management  arbitrarily decided to replace the aging
> Solaris server with a native Windows server without talking to me. I instead
> tried to persuade them to use an SGI cluster I had been putting together and
> use newer features of samba (winbind, domain authentication) for hosting
> this data,  but they weren't interested.  
> 
> When that old Solaris system started having problems,  and the new windows
> server wasn't online yet,  I had to temporarily host the data on my SGI
> cluster,  a duo of servers that was running  samba with winbind and domain
> authentication.  It was a very nice setup, either server in the pair could
> serve the files,  and we made user login scripts mount the shares from
> whichever server reponded first.  When we had to take the primary server
> down for maintenance,  we switched the login script to point them to the
> secondary server's shares,  had them log out and back in. While they worked
> happily off of the secondary server,  we did a half day's worth of
> maintenance on the primary server without affecting the users.  When we were
> done,  we put the login script back the way it was before,  and the next
> time they logged out  and back in,  they were again pointed to the primary
> server with the secondary as a backup.
> 
> Even after demonstrating how nice my configuration was and how seemlessly we
> were able to do maintenance without affecting users,  management  and the
> two NT guys I work with were still sold on using the Windows native server.
> They claimed that it was cheaper to buy the hardware and easier to manage
> permissions and file access rights with the native equipment (of course,
> they are PC guys).  My argument was that we could probably achieve the same
> file access flexibility with UNIX ACLs (which previous staff had not enabled
> on the UNIX side),  and that the UNIX machines use RISC-based processors,  a
> completely different animal than the GHZ pentium processors,  so they would
> really have to come up with some benchmarks to compare the two systems.
> They also weren't originally going to accommodate any easy file
> interoperability with the UNIX users,  they were going to make them use FTP
> to move files between the UNIX machine and the windows server, and I argued
> that this was removing capability that users were accustomed to having,  not
> a real crowd pleasing decision.  
> 
> Now they are experimenting with Microsoft SFU to make the Windows box allow
> the UNIX machine to NFS mount its shares,  and I have to say it does seem to
> work pretty well.  It tied right into NIS nicely, automatically mapped
> matching usernames on either side, allows me to define mappings with
> usernames that do not match, etc.  But it still digs in my crawl though that
> I never even got a chance to show what my cluster could do for them until
> after management had already decided to buy the windows server, and even
> after a nice demonstration of the UNIX cluster's capabilities,  they are
> still sold (arbitrarily) on using the native Windows box. 
> 
> How can I compare the performance of the two servers?  Many of you started
> out with Windows servers and migrated to samba to get better performance,
> but  my collegues have done the opposite.  Am I blindly biased that UNIX is
> better or is there a way I can get some real numbers to prove that te
> windows server  is a slower file server?
> 
> The guys are always weighing the cost and ease of management against the
> difference in performance (if there isn't much difference in performance,
> go with what is cheaper and simpler to manage),  and for them that is the
> PC-native stuff.  I feel like my UNIX skills are slowly getting pushed aside
> and I'm not sure how to get real performance metrics.
> 
> Help, feedback,  condolences are all welcome.  
> 
>   karen
-- 
Simo Sorce - [EMAIL PROTECTED]
Xsec s.r.l.
via Durando 10 Ed. G - 20158 - Milano
tel. +39 02 2399 7130 - fax: +39 02 700 442 399



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


Re: [Samba] oplocks and samba 2.2.7

2002-12-13 Thread Keith G. Murphy
Simo Sorce wrote:

On Fri, 2002-12-13 at 19:38, Keith G. Murphy wrote:


Oddly enough, I got oplock problems when I upgraded from 2.2.3a-6 to 
2.2.3a-12, whereupon I filed a bug and downgraded.

The Debian maintainer assured me nothing had been done but security 
backports; so I upgraded again and crossed my fingers.  I just noticed I 
got some oplock errors day before yesterday, so time to downgrade again 
and watch.


I can't not understand with debian cannot update packeges that are in
the stable version ... but that's a debian problem not samba related ...


Well, I think I understand and approve of the reasons: it's so packages 
can get tested properly before you run them on your 'stable' server.

And they backport security fixes, so you get the best of both worlds, 
generally.

If you want latest features, run 'testing' or 'unstable'.



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


Re: [Samba] oplocks and samba 2.2.7

2002-12-13 Thread Simo Sorce
On Fri, 2002-12-13 at 19:38, Keith G. Murphy wrote:
> Oddly enough, I got oplock problems when I upgraded from 2.2.3a-6 to 
> 2.2.3a-12, whereupon I filed a bug and downgraded.
> 
> The Debian maintainer assured me nothing had been done but security 
> backports; so I upgraded again and crossed my fingers.  I just noticed I 
> got some oplock errors day before yesterday, so time to downgrade again 
> and watch.

I can't not understand with debian cannot update packeges that are in
the stable version ... but that's a debian problem not samba related ...

-- 
Simo Sorce - [EMAIL PROTECTED]
Xsec s.r.l.
via Durando 10 Ed. G - 20158 - Milano
tel. +39 02 2399 7130 - fax: +39 02 700 442 399



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


[Samba] smbpasswd join strace - failed session setup = 21

2002-12-13 Thread Sytsma, Richard
My smbpasswd command to join the WIN2k domain fails with a session set up 21 error 
then 'NT_STATUS_LOGON_FAILURE
) = 54'.  I included the last few lines of the strace output below. Maybe it is enough 
for someone to tell me what the problem between the PDC and my REDHAT 8.0 2.4.19 with 
SAMBA 2.2.7a-2 is.  Thanks in advance.


rite(1, "smb_bcc=38\n", 11smb_bcc=38
)= 11
write(1, "[000] CB E2 5E EB 8E 7F B4 01  4"..., 74[000] CB E2 5E EB 8E 7F B4 01  48 00 
59 00 2D 00 56 00  ..^. H.Y.-.V.
) = 74
write(1, "[010] 45 00 45 00 00 00 52 00  4"..., 74[010] 45 00 45 00 00 00 52 00  45 00 
54 00 41 00 49 00  E.E...R. E.T.A.I.
) = 74
write(1, "[020] 4C 00 32 00 00 00 "..., 64[020] 4C 00 32 00 00 00  
   L.2...
) = 64
write(1, "write_socket(4,160)\n", 20write_socket(4,160)
)   = 20
send(4, "\0\0\0\234\377SMBs\0\0\0\0\10\1\300\0\0\0\0\0\0\0\0\0\0"..., 160, 0) = 160
write(1, "write_socket(4,160) wrote 160\n", 30write_socket(4,160) wrote 160
) = 30
select(6, [4 5], NULL, NULL, {20, 0})   = 1 (in [4], left {19, 94})
read(4, "\0\0\0#", 4)   = 4
write(1, "got smb length of 35\n", 21got smb length of 35
)  = 21
read(4, "\377SMBsm\0\0\300\210\1\300\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 35) = 35
write(1, "size=35\n", 8size=35
)= 8
write(1, "smb_com=0x73\n", 13smb_com=0x73
)  = 13
write(1, "smb_rcls=109\n", 13smb_rcls=109
)  = 13
write(1, "smb_reh=0\n", 10smb_reh=0
) = 10
write(1, "smb_err=49152\n", 14smb_err=49152
) = 14
write(1, "smb_flg=136\n", 12smb_flg=136
)   = 12
write(1, "smb_flg2=49153\n", 15smb_flg2=49153
)= 15
write(1, "smb_tid=0\n", 10smb_tid=0
) = 10
write(1, "smb_pid=10404\n", 14smb_pid=10404
) = 14
write(1, "smb_uid=0\n", 10smb_uid=0
) = 10
write(1, "smb_mid=1\n", 10smb_mid=1
) = 10
write(1, "smt_wct=0\n", 10smt_wct=0
) = 10
write(1, "smb_bcc=0\n", 10smb_bcc=0
) = 10
write(1, "size=35\n", 8size=35
)= 8
write(1, "smb_com=0x73\n", 13smb_com=0x73
)  = 13
write(1, "smb_rcls=109\n", 13smb_rcls=109
)  = 13
write(1, "smb_reh=0\n", 10smb_reh=0
) = 10
write(1, "smb_err=49152\n", 14smb_err=49152
) = 14
write(1, "smb_flg=136\n", 12smb_flg=136
)   = 12
write(1, "smb_flg2=49153\n", 15smb_flg2=49153
)= 15
write(1, "smb_tid=0\n", 10smb_tid=0
) = 10
write(1, "smb_pid=10404\n", 14smb_pid=10404
) = 14
write(1, "smb_uid=0\n", 10smb_uid=0
) = 10
write(1, "smb_mid=1\n", 10smb_mid=1
) = 10
write(1, "smt_wct=0\n", 10smt_wct=0
) = 10
write(1, "smb_bcc=0\n", 10smb_bcc=0
) = 10
write(1, "failed session setup\n", 
write(1, "Error connecting to retail2 - NT"..., 54Error connecting to retail2 - 
NT_STATUS_LOGON_FAILURE
) = 54
fcntl64(3, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=252, len=1}, 0xbfffd5f0) 
= 0
fcntl64(3, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=252, len=1}, 0xbfffd5f0) 
= 0
write(2, "Unable to join domain HY-VEE.\n", 30Unable to join domain HY-VEE.
) = 30
munmap(0x40013000, 4096)= 0
_exit(1)= ?
[root@DP-WS67 bin]#


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



RE: [Samba] Samba on XFS filesystem

2002-12-13 Thread LaSusa, Dan
Have you checked 

/proc/sys/fs/file-max?

See what that value iswe had the same error (non-samba) and this value
was set to 8192.

Try raising the value in this file??

Dan

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Friday, December 13, 2002 2:25 PM
To: [EMAIL PROTECTED]
Subject: [Samba] Samba on XFS filesystem


hi all
I run a 2TB intel server based on RedHat with XFS kernel patch . I am
experiencing situations when some vb application causes the system to
experience the following error too many open files and no body can access
certain folders .A volume repair is done and then it is ok . For a while .
Clients are win98 and w2k server or wks .

any hints

-- 
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] roaming profile fails with NT_STATUS_BUFFER_TOO_SMALL

2002-12-13 Thread Bradley W. Langhorst
On Fri, 2002-12-13 at 12:50, Gerald (Jerry) Carter wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On 8 Dec 2002, Bradley W. Langhorst wrote:
> 
> > [2002/12/08 01:50:29, 3] smbd/error.c:error_packet(110)
> >   error packet at smbd/nttrans.c(83) cmd=160 (SMBnttrans)
> > NT_STATUS_BUFFER_TOO_SMALL
> > 
> > is this error message a red herring?
> 
> Yes.  It means that the rpc reply had to be fragmented across
> mutiple SMBs.
> 
> Are you using CVS?  or an alpha snapshot?
a20 snapshot

I finally got things running at about 3am on monday morning
by wiping out all the tdb files, starting with a new SID,
re-imaginging all my clients, and finally rejoining the all to the
domain.  I also had to wipe out everybody's profiles and start with new
ones.

It's alpha software - i knew what i was getting into - no whining here.

anyway - i've got things running ok on a20 now.
I do get runaway smbds once or twice a day (see posts to
samba-technical)...
i'm going to try to reproduce those in a21 and/or the head of SAMBA-3.0
from cvs

brad

-- 
Bradley W. Langhorst <[EMAIL PROTECTED]>

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



Re: [Samba] Symbolic links and SAMBA

2002-12-13 Thread Michael Heironimus
On Fri, Dec 13, 2002 at 12:11:05PM -0600, Long, Jesse wrote:
> ln: creating symbolic link 'asm' to 'asm-i386': Operation not permitted.

If you're trying to create a symlink on a remote filesystem mounted via
Samba/smbfs, it's not at all surprising that it would not work. Samba
makes your UNIX machine look like a Windows server, and Windows has no
concept of what a symbolic link is. The follow symlinks option allows
people to browse through symlinks that you created on the server.

If you're sharing from one UNIX machine to another, just use NFS. It's
native to UNIX, so things like symlinks will work.

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



[Samba] Re: Stumped at "Network Neighborhood", Samba server is visible, but it's path can't be found ...

2002-12-13 Thread Jamie Risk
>
> I experienced the exact same thing with my Windows 2000/Red Hat 7.2
> System
> until someone here on the list suggested it was firewall related.
> Since my
> network is pretty much local, I stopped IPCHAINS and IPTABLES.  Then
> no
> problem accessing the Red Hat/Samba Server.
>
> Tom Winfield
>
An awesome suggestion Tom; though to be safe I'll read up on what
affects stopping IPCHAINS and IPTABLES will have on security etc.  For
now, I've got a working system, and I'm grateful.

-Jamie




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



RE: [Samba] UNIX with samba .vs. native Windows Server , how to compare thei r performance for Windows-biased management

2002-12-13 Thread Scott Wrosch
I feel your pain Karen.

I'd tried briefly (before I figured that it wasn't worth my breath
because they wouldn't listen at all) to convince my superiors to clean
up a HD problem through Samba and one of the two Solaris boxes we have.
We have this nice brand new storage array, and it probably isn't getting
used for a whole lot, yet our domain controller (primary) is constantly
running with less than 1 GB available free space.  I have even suggest
as well just setting up a small PC with Linux just for users storing
their large files (read: images), but have had no such luck.

So, after months of dealing with this, I feel your pain.  Funny thing
is, they just ordered another Windows-based server machine for some
un-(insert appropriate religious deity here) purpose.

As far as benchmarking goes, I'm afraid I can't help much, as I'm
limited to the use of PCs at the moment.  But you've got me into the
idea of setting up a small Linux cluster for the sake of learning how to
do it and stuff.

Regards,

Scott Wrosch
desk 248.333.7700 x227
email [EMAIL PROTECTED] 

-Original Message-
From: Wieprecht, Karen M. [mailto:[EMAIL PROTECTED]] 
Sent: Friday, December 13, 2002 3:24 PM
To: '[EMAIL PROTECTED]'
Subject: [Samba] UNIX with samba .vs. native Windows Server , how to
compare thei r performance for Windows-biased management


I had samba working on an old Sun Enterprise server using a JBOD that
was
managed with veritas volume manager (legacy stuff that had long outlived
it's usefulness).  Management  arbitrarily decided to replace the aging
Solaris server with a native Windows server without talking to me. I
instead
tried to persuade them to use an SGI cluster I had been putting together
and
use newer features of samba (winbind, domain authentication) for hosting
this data,  but they weren't interested.  

When that old Solaris system started having problems,  and the new
windows
server wasn't online yet,  I had to temporarily host the data on my SGI
cluster,  a duo of servers that was running  samba with winbind and
domain
authentication.  It was a very nice setup, either server in the pair
could
serve the files,  and we made user login scripts mount the shares from
whichever server reponded first.  When we had to take the primary server
down for maintenance,  we switched the login script to point them to the
secondary server's shares,  had them log out and back in. While they
worked
happily off of the secondary server,  we did a half day's worth of
maintenance on the primary server without affecting the users.  When we
were
done,  we put the login script back the way it was before,  and the next
time they logged out  and back in,  they were again pointed to the
primary
server with the secondary as a backup.

Even after demonstrating how nice my configuration was and how
seemlessly we
were able to do maintenance without affecting users,  management  and
the
two NT guys I work with were still sold on using the Windows native
server.
They claimed that it was cheaper to buy the hardware and easier to
manage
permissions and file access rights with the native equipment (of course,
they are PC guys).  My argument was that we could probably achieve the
same
file access flexibility with UNIX ACLs (which previous staff had not
enabled
on the UNIX side),  and that the UNIX machines use RISC-based
processors,  a
completely different animal than the GHZ pentium processors,  so they
would
really have to come up with some benchmarks to compare the two systems.
They also weren't originally going to accommodate any easy file
interoperability with the UNIX users,  they were going to make them use
FTP
to move files between the UNIX machine and the windows server, and I
argued
that this was removing capability that users were accustomed to having,
not
a real crowd pleasing decision.  

Now they are experimenting with Microsoft SFU to make the Windows box
allow
the UNIX machine to NFS mount its shares,  and I have to say it does
seem to
work pretty well.  It tied right into NIS nicely, automatically mapped
matching usernames on either side, allows me to define mappings with
usernames that do not match, etc.  But it still digs in my crawl though
that
I never even got a chance to show what my cluster could do for them
until
after management had already decided to buy the windows server, and even
after a nice demonstration of the UNIX cluster's capabilities,  they are
still sold (arbitrarily) on using the native Windows box. 

How can I compare the performance of the two servers?  Many of you
started
out with Windows servers and migrated to samba to get better
performance,
but  my collegues have done the opposite.  Am I blindly biased that UNIX
is
better or is there a way I can get some real numbers to prove that te
windows server  is a slower file server?

The guys are always weighing the cost and ease of management against the
difference in performance (if there isn't much difference in
performance,
go with what is cheaper 

[Samba] %U bug

2002-12-13 Thread Ryan Novosielski
I have been unable to find any indication as to the scope of the %U bug. I
have been looking in the docs, etc., and there is only an indication that
there IS a bug, fixed in 2.2.7. Can anyone tell me what it is, or where to
read what it is? I couldn't find the SAMBA_2_2 CVS log as was suggested --
I don't use CVS.

Thanks.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$&| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630

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



[Samba] UNIX with samba .vs. native Windows Server , how to compare their performance for Windows-biased management

2002-12-13 Thread Wieprecht, Karen M.

I had samba working on an old Sun Enterprise server using a JBOD that was
managed with veritas volume manager (legacy stuff that had long outlived
it's usefulness).  Management  arbitrarily decided to replace the aging
Solaris server with a native Windows server without talking to me. I instead
tried to persuade them to use an SGI cluster I had been putting together and
use newer features of samba (winbind, domain authentication) for hosting
this data,  but they weren't interested.  

When that old Solaris system started having problems,  and the new windows
server wasn't online yet,  I had to temporarily host the data on my SGI
cluster,  a duo of servers that was running  samba with winbind and domain
authentication.  It was a very nice setup, either server in the pair could
serve the files,  and we made user login scripts mount the shares from
whichever server reponded first.  When we had to take the primary server
down for maintenance,  we switched the login script to point them to the
secondary server's shares,  had them log out and back in. While they worked
happily off of the secondary server,  we did a half day's worth of
maintenance on the primary server without affecting the users.  When we were
done,  we put the login script back the way it was before,  and the next
time they logged out  and back in,  they were again pointed to the primary
server with the secondary as a backup.

Even after demonstrating how nice my configuration was and how seemlessly we
were able to do maintenance without affecting users,  management  and the
two NT guys I work with were still sold on using the Windows native server.
They claimed that it was cheaper to buy the hardware and easier to manage
permissions and file access rights with the native equipment (of course,
they are PC guys).  My argument was that we could probably achieve the same
file access flexibility with UNIX ACLs (which previous staff had not enabled
on the UNIX side),  and that the UNIX machines use RISC-based processors,  a
completely different animal than the GHZ pentium processors,  so they would
really have to come up with some benchmarks to compare the two systems.
They also weren't originally going to accommodate any easy file
interoperability with the UNIX users,  they were going to make them use FTP
to move files between the UNIX machine and the windows server, and I argued
that this was removing capability that users were accustomed to having,  not
a real crowd pleasing decision.  

Now they are experimenting with Microsoft SFU to make the Windows box allow
the UNIX machine to NFS mount its shares,  and I have to say it does seem to
work pretty well.  It tied right into NIS nicely, automatically mapped
matching usernames on either side, allows me to define mappings with
usernames that do not match, etc.  But it still digs in my crawl though that
I never even got a chance to show what my cluster could do for them until
after management had already decided to buy the windows server, and even
after a nice demonstration of the UNIX cluster's capabilities,  they are
still sold (arbitrarily) on using the native Windows box. 

How can I compare the performance of the two servers?  Many of you started
out with Windows servers and migrated to samba to get better performance,
but  my collegues have done the opposite.  Am I blindly biased that UNIX is
better or is there a way I can get some real numbers to prove that te
windows server  is a slower file server?

The guys are always weighing the cost and ease of management against the
difference in performance (if there isn't much difference in performance,
go with what is cheaper and simpler to manage),  and for them that is the
PC-native stuff.  I feel like my UNIX skills are slowly getting pushed aside
and I'm not sure how to get real performance metrics.

Help, feedback,  condolences are all welcome.  

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



[Samba] Stumped at "Network Neighbourhood", Samba server is visible, but it's path can't be found ...

2002-12-13 Thread Jamie Risk
Hi all,

I can see the RH7.3 linux box I've configured with the latest
Redhat RPM samba package in the Windows 2000 network
neighbourhood, but when I double click the W2000 computer
icon I get the message

 "\\Linuxbox is not accessible,
  The network path was not found."

The network is a small switched lan, sadly with only one unix
box (RH7.3) and a mixture of Windows2000 and 98 machines. The
domain name is that of our service provider "bellnet.ca", and
the recently introduced Linux box is configured with the host
/domain name pair "LinuxBox.bellnet.ca".

Anyway, I can ping the either way, (from Windows to Linux and
back again) but in order to do so, I must specify the IP
addresses of the machines. I suspect the DNS resolution isn't
working, but I'm mislead by the fact the linux box's name
("Linuxbox") appears as an icon in the network neighbourhood.
Clearly, I don't know what's going on.

Like I wrote, I can see the icon for the linux box in my
network neighbourhood which is drawing me to naive/confusing
conclusions about the validity of my setup.

Help ?

Jamie




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



[Samba] Re: Stumped at "Network Neighborhood", Samba server is visible, but it's path can't be found ...

2002-12-13 Thread Jamie Risk
Bob had responded (again, thanks Bob) with two suggestions.

1. Try connecting with the same user and password as on the
   unix side. I set up a new W2000 user account with name
   and password to match. When I click on the Network
   Neighbourhood, I still get the "Network path not found."
   described earlier.
2. Add an entry to the W2000 hosts file so that I could ping
   without having to resort to using the IP quad address. I
   appreciate taht I can do this, although our network uses
   DHCP, and I've no idea how to represent that in a hosts file.

I suspect that Samba is configured perfectly, and that my
problem is based on basic network connectivity.

Would those responding to this thread agree that I
should be able to ping the Linux box using it's NetBios
name?




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



[Samba] Timeout problem

2002-12-13 Thread Maged Mikaeel






Hi, We have a problem with our Linux and samba units.We mount remote windows shared drives, and transfer a lot of file to/from them.If Windows crash :) or unplugging RJ, our program hang on read/write calls ( and all other access to remote file ) for undefined time... WE NEED to set a SHORT timeout for connection lost !!The sockopt  KEEP_ALIVE not help us! Is there some tuning to recognize netfail fairly?

 

If you can send us an update of solution for that, that will
be allot appreciate.

Thanks,


Maged Mikaeel Phone: 
1.416.621.0296   ext. 289
  
   Fax:  1.416.622.3342
  Email:  [EMAIL PROTECTED]
185 The West Mall, Suite 1020     Web:  www.ajbsoftware.com
Toronto, Ontario M9C 5L5 CANADA 

 








Re: [Samba] the process when client joins and logs off....

2002-12-13 Thread John Benedetto
--On Friday, December 13, 2002 6:59 PM +0530 [EMAIL PROTECTED] wrote:


hello,

can any one help me with some details pls.

i was looking for the process(the internals)when a client logs in to
samba(configured as a PDC).

and the same questions what happens when a client logs off.(do the PDC
know abt this?).

iam keen in to these details,since i want to insert in to the source
code of samba,a small code by myself,to have capture the list of
clients which are joining the PDC and leaving the PDC.

first i want to have a file(say filename is logged-in)when a client
log in PDC.then when a client logs off(will samba know abt this at
all?)i want to remove the IP entry from the same file(logged-in).

so that i can have a list of IP's who r currently active in samba.

suppose at an instant if i want to find who r all the clients who
logged in to PDC,i must be able to identify from the same file.


I thought that the "smbstatus" command would display the information you 
are asking for (who is logged on, what files they have open).  Perhaps you 
should look at the source for THIS command to figure out some of what you 
want to know.

- John


(usually in /var/logs/ i have files named log.)
but these r files when client logs on...and doesn't leave even though
the client switches off)

pls help me at this point

thanks in advance

prasad


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



[Samba] Re: Stumped at "Network Neighborhood", Samba server is visible, but it's path can't be found ...

2002-12-13 Thread Jamie Risk
Hi Bob, thanks for responding ...

Yes; at least if your asking about the unix side of things. Through some
magic
that I did a few days ago I piped the password file for linux into a
password
file for samba, then initialized the samba account of interest.  A
decription
of what I did is here:
http://www.redhat.com/docs/manuals/linux/RHL-7.3-Manual/custom-guide/s1-samb
a-configuring.html

On the windows side of things, I'm trying to access the share as different
user.
I'm assuming (?) that I'll be asked for the appropriate passwords when the
connection
is being established.

Pardon my ignorance, but I'm still under the impression I'm faced with a DNS
resolution problem since I can't ping the Linux box from my W2000 console
using anything OTHER than the quad IP address.


"Owens, Bob" <[EMAIL PROTECTED]> wrote in message > Jamie,
>
> Have you crated a user and a smbpasswd for the user that you are
connecting
> using "Network Neighborhood?"
>
> -Bob
>





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



[Samba] Samba on XFS filesystem

2002-12-13 Thread mike
hi all
I run a 2TB intel server based on RedHat with XFS kernel patch . I am
experiencing situations when some vb application causes the system to
experience the following error
too many open files and no body can access certain folders .A volume repair
is done and then it is ok . For a while . Clients are win98 and w2k server
or wks .

any hints

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



RE: [Samba] Stumped at "Network Neighborhood", Samba server is visible, but it's path can't be found ...

2002-12-13 Thread Owens, Bob
Jamie,

Have you crated a user and a smbpasswd for the user that you are connecting
using "Network Neighborhood?"

-Bob

-Original Message-
From: Jamie Risk [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 13, 2002 4:05 PM
To: [EMAIL PROTECTED]
Subject: [Samba] Stumped at "Network Neighbourhood", Samba server is
visible, but it's path can't be found ...


Hi all,

I can see the RH7.3 linux box I've configured with the latest
Redhat RPM samba package in the Windows 2000 network
neighbourhood, but when I double click the W2000 computer
icon I get the message

 "\\Linuxbox is not accessible,
  The network path was not found."

The network is a small switched lan, sadly with only one unix
box (RH7.3) and a mixture of Windows2000 and 98 machines. The
domain name is that of our service provider "bellnet.ca", and
the recently introduced Linux box is configured with the host
/domain name pair "LinuxBox.bellnet.ca".

Anyway, I can ping the either way, (from Windows to Linux and
back again) but in order to do so, I must specify the IP
addresses of the machines. I suspect the DNS resolution isn't
working, but I'm mislead by the fact the linux box's name
("Linuxbox") appears as an icon in the network neighbourhood.
Clearly, I don't know what's going on.

Like I wrote, I can see the icon for the linux box in my
network neighbourhood which is drawing me to naive/confusing
conclusions about the validity of my setup.

Help ?

Jamie






-- 
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] Stumped at "Network Neighbourhood", Samba server is visible, but it's path can't be found ...

2002-12-13 Thread Jamie Risk
Hi all,

I can see the RH7.3 linux box I've configured with the latest
Redhat RPM samba package in the Windows 2000 network
neighbourhood, but when I double click the W2000 computer
icon I get the message

 "\\Linuxbox is not accessible,
  The network path was not found."

The network is a small switched lan, sadly with only one unix
box (RH7.3) and a mixture of Windows2000 and 98 machines. The
domain name is that of our service provider "bellnet.ca", and
the recently introduced Linux box is configured with the host
/domain name pair "LinuxBox.bellnet.ca".

Anyway, I can ping the either way, (from Windows to Linux and
back again) but in order to do so, I must specify the IP
addresses of the machines. I suspect the DNS resolution isn't
working, but I'm mislead by the fact the linux box's name
("Linuxbox") appears as an icon in the network neighbourhood.
Clearly, I don't know what's going on.

Like I wrote, I can see the icon for the linux box in my
network neighbourhood which is drawing me to naive/confusing
conclusions about the validity of my setup.

Help ?

Jamie






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



[Samba] Re: large files with 2.2.7a

2002-12-13 Thread Adnan Olia
i am having a similar problem with files over 4 GBhelp would be greatly
appreciated

"Patrick Blitz" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

hy.
even if that had been a very common subject already, i still have this one
big (litterary) problem. I want to backup our main school systems, based on
a Win2k fileserver, to a linux box with samba 2.2.7a and red hat 7.3 with
kernel 2.4. The backupfile, created by the windows backup utility, is bigger
than 11 Gbyte. I tried nearly every possible way, with smaller files (of
course), smbclient tar and get. but a big file is not transferable. At
least, the filesize is no displayed correctly. but the file is always either
cut of in the middle, or just grows infintive. I tried taring whole
directories over smbclient, that worked, the file was good and big (5.3G,
but many small files transfered, of course).
I thought that the file size limit from 4 gbyte was not applicant any more..
or am i wrong? am I just totally confused? does anybody have any option on
how to fix this problem?
thx
patrick




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



RE: [Samba] Any experience with Latest S

2002-12-13 Thread Robert Adkins
Jerry,

While that is true, is it also possible that they could have "fixed"   
something else that is unrelated, but could potentially cause minor or   
major issues with Samba?

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


 -Original Message-
From: Gerald (Jerry) Carter [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 13, 2002 12:00 PM
To: Robert Adkins
Cc: [EMAIL PROTECTED]
Subject: Re: [Samba] Any experience with Latest SMB Patch fro

   

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, 13 Dec 2002, Robert Adkins wrote:

> "...Windows Server Message Block (SMB) protocol which could enable   
group
> policy on domain controllers to be modified. Flaws in cryptographic
> signing implementation used by MS in SMB are the root cause of the
> problem. These flaws are fixed in Win XP SP1 or through a separate
> patch, released yesterday, which is designed to address the problem on
> Windows 2000 boxes."
>
>   Does this change in any way affect Samba? Has anyone tested out
> this patch before spreading it across all their Windows 2K/XP
> workstations?

Should not effect us since Samba does not implement SMB signing.




cheers, jerry
 --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2 "SAMS Teach Yourself Samba in 24 Hours" 2ed
 "You can never go home again, Oatman, but I guess you can shop there."
--John Cusack - "Grosse Point Blank" (1997)

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

iD8DBQE9+iAQIR7qMdg1EfYRAv5nAKC04/GZlhKIYtUqReDCRbHP72C9KwCdGAWZ
t3NjIP1HD2kAGRu2M76a7aM=
=e7ed
-END PGP SIGNATURE-


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



[Samba] browsing remote subnets

2002-12-13 Thread Pihhan
Will this config allow browsing on different subnets?

on on server (on subnets 1 and 2):
remote announce = 192.168.1.255 192.168.2.255
remote browse sync = 192.168.1.255 192.168.2.255

on second server (on subnets 2 and 3):
remote announce = 192.168.2.255 192.168.3.255
remote browse sync = 192.168.2.255 192.168.3.255

Will all computers see every other computer on the whole network? I
have tried it, but something failed. If one server is PDC, must the
second join its domain to sync browse list successful? Is browsing
resticed with access rights?

Can clients use as WINS server only nearest server, which will give
all computers on the whole network, not only direct to this WINS?

Thanks,
Pihhan¢éì¹»®&Þ~º&¶¬–+-‚‹h¶Ÿ¢YhÂ)àQڝÚÞiÛaz)춻œ¶*'²m§ÿåŠËl±©›jŠàþf¢–f§þX¬¶)ߣû™¶


[Samba] Symbolic links and SAMBA

2002-12-13 Thread Long, Jesse
Hi:

I am experiencing the following problem:

I have a Linux SAMBA server set up with a share containing the source
code for my RH Linux 8.0 kernel, which is on another machine.  I have no
problems mounting or accessing the share on the RH client.  The problem
occurs when I run the 'make' command, on the mounted share, (which
requires removing and re-setting a symbolic link 'include/asm') I get
the following error message:

ln: creating symbolic link 'asm' to 'asm-i386': Operation not permitted.

I have check the smb.conf file on the server and verified the following
parameters are set as indicated:

Writable = yes
Map system = yes
Follow symlinks = yes
Wide links = yes

I have set the fmask and dmask to 0777 on the smbmount command when
mounting the share, and the entry in /proc/mounts indicates that the
share is mounted rw, with fmask and dmas both set to 0777.

Would anyone have any ideas as to what might cause this error?

Jess Long
Systems Engineer
Industry Standard Servers
Software Delivery
Linux PSP Development
E-Mail    



Phone:  281.927.1276
Fax:  281.514.8058  



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



RE: [Samba] Any experience with Latest S

2002-12-13 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, 13 Dec 2002, Robert Adkins wrote:

>   While that is true, is it also possible that they could have
> "fixed"  something else that is unrelated, but could potentially cause
> minor or major issues with Samba?

Well you never know.  But I was specifically referring to the 
notice regarding changes to Windows SMB signing implementation.
I have not tested this patch myself.





cheers, jerry
 --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2 "SAMS Teach Yourself Samba in 24 Hours" 2ed
 "You can never go home again, Oatman, but I guess you can shop there."  
--John Cusack - "Grosse Point Blank" (1997)

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

iD8DBQE9+iyKIR7qMdg1EfYRAhBiAJwMVa0AxIb+7CigwKSrEpzMNymaFQCgx00g
FyY+7XdMT6YGf2+DnxYUXgE=
=hkIN
-END PGP SIGNATURE-

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



Re: [Samba] Browsing on remote subnets, domain logons

2002-12-13 Thread John H Terpstra
Pihhan,

Sorry, I do not have time to answer all your questions.

- John T.

On Fri, 13 Dec 2002, Pihhan wrote:

> Hello,
>
> I have a few questions.
> I have network like this:
> (A)-(MS)(SS)---(B)
>  | |
> inet  (C)
>
> Ms and SS are linux servers with samba. others are workstations with
> WinMe.
>
> Can I make all subnets and all computers to see all computers on all
> subnets without using WINS?

Yes. Read up on "remote announce" and "remote browse sync" by doing:

man smb.conf

then search for those parameter.

The result will be that all machines will appear in the browse list, you
may then have a problem with NetBIOS name resolution. You will need DNS
for name resolution. You will see a LOT of UDP broadcast activity on the
network - but that is the price of not using WINS.

> So A should see SS, B and C. Because between MS and SS is very long
> network (connection between two divided LANs) made of 10BASE2, it is
> considered unreliable. Thus MS and SS should be always ready to answer
> all authorization on its direct subnets, and be backup for others.
> Thats because C is in the middle, and have connection to both MS and
> SS. If one connection is broken, LANs will be divided but should be
> operational itself.
>
> That's why I dont want WINS, because if it connection to MS fail, there
> will be long timeout to use secondary WINS on SS. Is there way to sync
> both servers nethood for broadcast and wins for all subnets, where
> servers MS and SS would broadcast only local network and remote info
> gets from the other server?

You could use both WINS and the "remote announce" and "remote browse sync"
options together.

>
> I don't know how to make this. I want only one domain, where both MS
> and SS will serve to direct subnets and get informations about unknown
> users from second server. On MS is routing to internet, directed with
> iptables and firewall. In preexec script of netlogon share it checks
> if logging user has paid for internet and so if he is allowed to use
> internet. That somewhat works, I wonder why sometimes...
>
> All I need is allow all users from all subnets to access MS, and
> netlogon share. I want synchronised browse list on all subnets, and if
> users from B cannot login to MS, they must be able to login to SS.
> Thats because I dont want change setting on machines if connection
> between MS and SS fails. So they cannot reach MS or other remote
> computers, but can operate well on their LAN with direct neighbours.
>
> SS will not be under my direct control (I am not root there),
> it will act partialy as BDC. It will not sync users list from
> MS itself, they would need be added manualy. But all users on this
> server, who wants internet, need also account on MS. So only local
> users will have accounts only on local server, not on both.
>
> I think there would be two domains for this, but does Samba support
> some way of trusted domains? I am using individual sharing on WinME.
> This gets better security to network, with less passwords to remember.
> But there are in fact two PDCs, and only one is really PDC. I get list
> of users on my PDC server, so I can assign on Windows shares for every user
> different acces rights. But can I do this for users from different
> domain? or from different server? That is really problem in two
> separate domains, but two PDCs cannot be in one domain, right?
> Have you any good ideas, how to solve this? Can I sync browse list for
> different domains? Must I have workgroup same with domain on
> workstations, or can I have one workgroup in two domains? That would
> get browsing easier.
>
> (sorry for my english)
> (I sent this message already, but in Latin2 encoding, so you seen only
> block of octets, i think.)
>
> I hope you are smarter than me,
>  PihhanN‹§²æìr¸›yúèšØb²X¬¶
-¢Ø^~‰e£§DKjwky§m…觲ÚîrبžÏ¡¶Ú~ÿùb²Û,jfÚ¢¸?™¨¥™©ÿ–+-ŠwèþƦm

-- 
John H Terpstra
Email: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] samba as secondary domain controller

2002-12-13 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, 9 Dec 2002, Tyler Durdin wrote:

> Can anyone point me to a/some good tutorials on setting up samba as a
> secondary domain controller? Thanks in advance.

The Samba-HOWTO-Collection contains a HOWTo set up Samba as a BDC for a 
Samba PDC.  See http://samba.org/docs/




cheers, jerry
 --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2 "SAMS Teach Yourself Samba in 24 Hours" 2ed
 "You can never go home again, Oatman, but I guess you can shop there."  
--John Cusack - "Grosse Point Blank" (1997)


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

iD8DBQE9+h4PIR7qMdg1EfYRApYNAKCu/lVoj3/EZEDGKX3H68LBBGnTAQCgpH66
/CZbO1vA03msHbhLRErSFU8=
=TVuK
-END PGP SIGNATURE-

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



Re: [Samba] Question about winbind documentation

2002-12-13 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 12 Dec 2002, Gabriel Matthews wrote:

> 
> I know this is a stupid question, but I'm a bit lost here.
> 
> I want to set up winbindd on my server to do all the authentication stuff,
> and in the man page it says this:
> 
> In /etc/pam.d/* replace the auth lines with something like this:
> 
> auth   required   /lib/security/pam_securetty.so
> auth   required   /lib/security/pam_nologin.so
> auth   sufficient /lib/security/pam_winbind.so
> auth   required /lib/security/pam_pwdb.so use_first_pass shadow
> nullok
> 
> Okay... /pam.d/*  mean to replace those lines in every file within the
> pam.d folder?  because there are quite a few files in there, and I don't
> want to go in and edit them all, unless I really have to.

See if your system uses the pam_stack module.  If you can just edit 
/etc/pam.d/system_auth.  Otherwise, just edit the files for the services
you need winbind to support.





cheers, jerry
 --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2 "SAMS Teach Yourself Samba in 24 Hours" 2ed
 "You can never go home again, Oatman, but I guess you can shop there."  
--John Cusack - "Grosse Point Blank" (1997)


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

iD8DBQE9+h4MIR7qMdg1EfYRArArAJ4onl6UZe5TcFp5dvayB5Hq2u0H3QCgkRvW
3qOX93cGNzL1p3525HGFSx8=
=SijL
-END PGP SIGNATURE-

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



RE: [Samba] Installed New version of Samba for HPUX 2.2.7 - Winbind doesn't w ork

2002-12-13 Thread Jennifer Fountain
Now it is! I found that it wasn't - what a putz i am! but I am still getting
the groups problem.   if i type groups jfountain, it only shows domain
admins and none of the other groups i am a member of.  

-Original Message-
From: Gerald (Jerry) Carter [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 13, 2002 12:50 PM
To: Jennifer Fountain
Cc: '[EMAIL PROTECTED]'
Subject: Re: [Samba] Installed New version of Samba for HPUX 2.2.7 -
Winbind doesn't w ork


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 10 Dec 2002, Jennifer Fountain wrote:

> Errors:
> 
> could not check secret
> 'ping' to winbindd failed
> 
> 
> winbind is in my nsswitch

Is winbindd runnning?




cheers, jerry
 --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2 "SAMS Teach Yourself Samba in 24 Hours" 2ed
 "You can never go home again, Oatman, but I guess you can shop there."  
--John Cusack - "Grosse Point Blank" (1997)


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

iD8DBQE9+h3XIR7qMdg1EfYRAto6AKDZn4dAIfrNsufhjB9WCcDY8kOMDgCeMBik
TGrSHQy5HVoc4zZt9VFejhs=
=UQOS
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] oplocks and samba 2.2.7

2002-12-13 Thread Keith G. Murphy
Simo Sorce wrote:

On Fri, 2002-12-13 at 09:48, Jean-Paul ARGUDO wrote:


Hi all,

I really know you'll tell me it is not an issue from Samba nor a matter 
of topic in this list.

But. I have problems with oplocks, surely because of my version:
Version 2.2.3a-12 for Debian I noticed it all in bug 26128 and posted 
here precisions, few days ago.

Version 2.2.3a-12!!!??? YES, this is the *stable* version from Debian.


And it may contain lot of fixes that are in newer samba releases.
I'm not saying they do, but I've seen a number of vendors that fixes
packages but maintain older version to keep dependencies toward other
packeags or such.


What Debian actually did was backport the security fixes in 2.2.7 into 
2.2.3a-12 (they weren't present in 2.2.3a-6).



What would I do? Install newer version (2.2.7,afaik), then corrupt my 
system? Or wait for Samba team to put 2.2.7 in the stable?


with 2.2.7a you will not corrupt your system, however it seem strange
debian does not upgrade to 2.2.7a as from 2.2.2-2.2.6 there a possible
security problem, have you the security team url in your apt source
list?


See above.

Oddly enough, I got oplock problems when I upgraded from 2.2.3a-6 to 
2.2.3a-12, whereupon I filed a bug and downgraded.

The Debian maintainer assured me nothing had been done but security 
backports; so I upgraded again and crossed my fingers.  I just noticed I 
got some oplock errors day before yesterday, so time to downgrade again 
and watch.


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


Re: [Samba] Access RPC Support for Samba 2.2.7

2002-12-13 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 12 Dec 2002, Kelly S. Smelser wrote:

> Does anyone know of problems with RPC support pertaining to the remote
> procedure calls that MS Access XP initiatates to determine its default
> printer? It appears that Access does not like Samba printer queues in
> that it fails on the RPC to determine the default printer for generating
> reports since it requires the Print Preview be operational. This only
> happens when using Samba printer support and does not happen when
> printers are setup through Windows queues or to printer directly via IP.  
> Any suggestions out there?

Hey Kelly,

Can you send me a level 10 debug log of the failure?
Thanks.




cheers, jerry
 --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2 "SAMS Teach Yourself Samba in 24 Hours" 2ed
 "You can never go home again, Oatman, but I guess you can shop there."  
--John Cusack - "Grosse Point Blank" (1997)


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

iD8DBQE9+h4HIR7qMdg1EfYRApB6AJwJ7BYCNSMc5j3VhKMf5lyz7cFIWgCfZzlw
twlan8ZCvnBTtiMntDpannM=
=tnIy
-END PGP SIGNATURE-

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



Re: [Samba] Problem with 95/98 and Outlook....

2002-12-13 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 5 Dec 2002, Hikaru Katayamma wrote:

> I've got a problem where when we have to restart the samba server, if
> everyone hasn't logged off, anyone running Outlook will have their files
> corrupted.  Using a standard NT file server, this doesn't occur.
> 
> Anyone have a clue as to a fix for this?

So if you restart the server service on an NT server this doesn't 
occur?  Need more infomation.





cheers, jerry
 --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2 "SAMS Teach Yourself Samba in 24 Hours" 2ed
 "You can never go home again, Oatman, but I guess you can shop there."  
--John Cusack - "Grosse Point Blank" (1997)


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

iD8DBQE9+h4DIR7qMdg1EfYRAupdAKCKWYpnK5xhoEa1FenHQAjglm3oLwCg3pdc
3QYYR30yMD3t0RrRBgGxX04=
=8CrN
-END PGP SIGNATURE-

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



Re: [Samba] pre-/postexec in printers-section

2002-12-13 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, 6 Dec 2002, Joel Hammer wrote:

> I have the same experience. I am using Version 2.2.1a.
> When I turned a share from a file share to a printing share, the
> preexec stopped.
> 
> [Z32]
> printable = yes <---added
> printing = lprng <--added
> comment = Printer Z32
> path = /tmp
> exec = echo %U has logged onto Z32 | mutt -s "Log report" 
>[EMAIL PROTECTED]

Are you printing from Win9x or NT+ ?  If the latter, it is because the 
printing is done via RPC (never actually connects to \\server\Z32).  





cheers, jerry
 --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2 "SAMS Teach Yourself Samba in 24 Hours" 2ed
 "You can never go home again, Oatman, but I guess you can shop there."  
--John Cusack - "Grosse Point Blank" (1997)


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

iD8DBQE9+h37IR7qMdg1EfYRAlFXAJ4htPtgkE0ZKSHExBqG8DCsV+HdqgCeKKI3
khIglUv/j1sqloBdLw0Bj6E=
=RZza
-END PGP SIGNATURE-

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



Re: [Samba] HP Deskjet Driver Problems

2002-12-13 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sat, 7 Dec 2002, Dietrich Restemeyer wrote:

> Only the damned HP driver for my 970cxi does not work. It seems to be
> installed well, but if try to access the printer windows comes up with a
> window : access violation at port ..

Sounds like the driver has not been initialized on the Samba server.
Can you bring up the printer properties window at all?  If set
set the page orientation.  If not, try setting "default devmode = yes"
temporarily to access the properties page and set the page orientation that 
way.


cheers, jerry
 --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2 "SAMS Teach Yourself Samba in 24 Hours" 2ed
 "You can never go home again, Oatman, but I guess you can shop there."  
--John Cusack - "Grosse Point Blank" (1997)


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

iD8DBQE9+h3zIR7qMdg1EfYRApSeAKCf0OMLaxq6XeIZRe6WDL1AaAcNnwCfZH61
KELWPUzvJxnqgQ48NojnuWc=
=FYM7
-END PGP SIGNATURE-

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



[Samba] APW print problems with Samba 2.2.7a & CUPS, enumprinters, setdriverfail.

2002-12-13 Thread Jason Jeremias
I'm trying to add print drivers to printers on a Samba server using a 
NT4 workstations in the past this has worked.  I'm currently running 
Samba 2.2.7a & CUPS 1.1.17, when I attempt to add drivers to the new 
printer it crashes the NT4 workstation.  Prior to the workstation 
crashing however it does copy the driver files to the server, it then 
pauses as if the workstation is waiting for some information from the 
server.  This pause last 1 to 2 minutes the the workstation crashes.  In 
troubleshooting the problem I've found this much out.

With the following settings in my smb.conf file:
printcap name = cups
load printers = yes
printing = cups

enumdrivers works as expected it even lists the driver I attempted to 
add from the NT4 workstations.

enumprinters however does this:
rpcclient $> enumprinters
rpc_api_pipe: cmd 26 on pipe 7679 failed to return data.
result was NT_STATUS_UNSUCCESSFUL

setdriver also fails as seen here:
rpcclient $> setdriver A_CC_HP4300 "HP LaserJet 4300 PCL6"
SetPrinter call failed!
result was NT_STATUS_UNSUCCESSFUL


Change of settings


If I change the settings in my smb.conf file to look like this.

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


enumdrivers again works as expected and displays all the drivers 
including the one I added with the NT4 workstation that crashed.

enumprinters also works and displays all the printers on this box.

setdriver still failes with the same message as above.


I can provide any files/debug info needed to help solve the problem, any 
help is greatly appreciated.

Thanks!

-Jason




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


Re: [Samba] oplocks and samba 2.2.7

2002-12-13 Thread John H Terpstra
JP,

(Thanks to Jerry Carter for pointing out the following omission in my last
reply to you)

You should also be aware that two (2) samba team members actively maintain
Samba packaging. You will find it under samba-2.2.7a/packaging/Debian, and
you can use this to build a Debian comliant samba package.

- John T.

On Fri, 13 Dec 2002, Jean-Paul ARGUDO wrote:

> Hi all,
>
> I really know you'll tell me it is not an issue from Samba nor a matter
> of topic in this list.
>
> But. I have problems with oplocks, surely because of my version:
> Version 2.2.3a-12 for Debian I noticed it all in bug 26128 and posted
> here precisions, few days ago.
>
> Version 2.2.3a-12!!!??? YES, this is the *stable* version from Debian.
>
> What would I do? Install newer version (2.2.7,afaik), then corrupt my
> system? Or wait for Samba team to put 2.2.7 in the stable?
>
> For example, in current proposed-updates, samba version proposed is
> 2.2.3a-12!! I think I'll have to wait a year before 2.2.7 becomes
> stable, then you'll be supporting only version 2.4 ? :-)
>
> I really know again it is *not* the problem of Samba team.
>
> But, I think when I read docs "always install newest version before
> asking to support", you put to rubbish all users who havent yet
> connexion to internet, or ones who just buy brand new RH, Mandrake,
> Suse, whatever, box, with surely not the latest Samba version in  :-(
>
> What are my solutions then? Build my own deb package from your cvs?
> Thats what I'm gonna do finally, corrupting a bit my stable production
> debian server :-/
>
> I'd really like you give your point of view on this.
>
> Thanks a lot for your efforts!
>
>

-- 
John H Terpstra
Email: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Access to Everyone

2002-12-13 Thread Jim Morris
Just create a 'guest only' share, and set 'writeable = no' on that share

Jim Morris ([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] Swat inactive, xinetd issue?

2002-12-13 Thread John H Terpstra
On Fri, 13 Dec 2002, Kevin wrote:

>
> Since I've upgraded to Redhat 7.2 I cannot get swat to work,
> I am using the 2.4.7-10 kernal with samba 2.2.7 installed.

If you used Red Hat's packages you need to install the swat package also.
Red Hat do not include SWAT in the main Samba package.

If you used the samba-team package it is included.

> I have checked all the applicable files, edited them accordingly as per
> Gary Fournerat's excellent How-to. No joy.

Did you check that SWAT is:

1) Included in /etc/services

swat901/tcp

2) In /etc/xinet.d/swat (see documentation)

3) Allowed in /etc/hosts.allow and not blocked in /etc/hosts.deny

- John T.

> I am pretty certain this is an xinetd issue. I never had this difficulty
> with inetd.
> I know that SAMBA is running as I can see the server from this workstation.
>
> Is there something I've missed?
>
>
>
>
>
>
>

-- 
John H Terpstra
Email: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] roaming profile fails with NT_STATUS_BUFFER_TOO_SMALL

2002-12-13 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 8 Dec 2002, Bradley W. Langhorst wrote:

> [2002/12/08 01:50:29, 3] smbd/error.c:error_packet(110)
>   error packet at smbd/nttrans.c(83) cmd=160 (SMBnttrans)
> NT_STATUS_BUFFER_TOO_SMALL
> 
> is this error message a red herring?

Yes.  It means that the rpc reply had to be fragmented across
mutiple SMBs.

Are you using CVS?  or an alpha snapshot?


cheers, jerry
 --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2 "SAMS Teach Yourself Samba in 24 Hours" 2ed
 "You can never go home again, Oatman, but I guess you can shop there."  
--John Cusack - "Grosse Point Blank" (1997)


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

iD8DBQE9+h3hIR7qMdg1EfYRAkd9AKDp7XKIeS4ycVHml/wvYIOLpw7hnACgtIIB
iOZjgQmscbVDNqPdVDtyyKk=
=BZQ9
-END PGP SIGNATURE-

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



Re: [Samba] SuperSlow Browsing

2002-12-13 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, 9 Dec 2002, John H Terpstra wrote:

> If I read correctly then you are trying to use samba as a WINS server
> for multiple workgroups/domain. If that is correct then you have a
> problem as samba is NOT multiple workgroup/domain capable.

Sorry John, but the WINS server code is workgroup agnositic.
Only the browsing code supports a single workgroup.

Or did I misunderstand you post?




cheers, jerry
 --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2 "SAMS Teach Yourself Samba in 24 Hours" 2ed
 "You can never go home again, Oatman, but I guess you can shop there."  
--John Cusack - "Grosse Point Blank" (1997)



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

iD8DBQE9+h3dIR7qMdg1EfYRAhI7AKCxMHwJlCwUdYrC6gQgYcWEflyd0ACghHkZ
tN3VEMh6D0KkO4tHLVW4viQ=
=iyN8
-END PGP SIGNATURE-

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



Re: [Samba] Any experience with Latest SMB Patch fro

2002-12-13 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, 13 Dec 2002, Robert Adkins wrote:

> "...Windows Server Message Block (SMB) protocol which could enable group
> policy on domain controllers to be modified. Flaws in cryptographic
> signing implementation used by MS in SMB are the root cause of the
> problem. These flaws are fixed in Win XP SP1 or through a separate
> patch, released yesterday, which is designed to address the problem on
> Windows 2000 boxes."
> 
>   Does this change in any way affect Samba? Has anyone tested out
> this patch before spreading it across all their Windows 2K/XP
> workstations?

Should not effect us since Samba does not implement SMB signing.




cheers, jerry
 --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2 "SAMS Teach Yourself Samba in 24 Hours" 2ed
 "You can never go home again, Oatman, but I guess you can shop there."  
--John Cusack - "Grosse Point Blank" (1997)

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

iD8DBQE9+iAQIR7qMdg1EfYRAv5nAKC04/GZlhKIYtUqReDCRbHP72C9KwCdGAWZ
t3NjIP1HD2kAGRu2M76a7aM=
=e7ed
-END PGP SIGNATURE-

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



Re: [Samba] oplocks and samba 2.2.7

2002-12-13 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, 13 Dec 2002, John H Terpstra wrote:

> Your question is one many samba users have to deal with. Debian Linux is
> user supported software, so if you want samba to always be up to date,
> volunteer to become the samba maintainer for Debian, then you will
> control you own destiny.
> 
> If becoming the samba maintainer for Debian does not suit you, that's
> OK. But now if you want an up to date version of samba for Debian you
> will need to build your own.

Ummm...just to clarify, Eloy and Steve always submit the bedian packaging
so you can roll you own deb from the Samba source tarball.  See 
packaging/Debian for details.




cheers, jerry
 --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2 "SAMS Teach Yourself Samba in 24 Hours" 2ed
 "You can never go home again, Oatman, but I guess you can shop there."  
--John Cusack - "Grosse Point Blank" (1997)

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

iD8DBQE9+h/KIR7qMdg1EfYRAm07AJ9c9NmeYtt1J666M5QiAe25OXjWiwCeJG+1
lP+5MadAWbAZy4FDvIj6m2E=
=p4x6
-END PGP SIGNATURE-

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



Re: [Samba] the process when client joins and logs off....

2002-12-13 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, 13 Dec 2002, John H Terpstra wrote:

> > first i want to have a file(say filename is logged-in)when a client
> > log in PDC.then when a client logs off(will samba know abt this at
> > all?)i want to remove the IP entry from the same file(logged-in).
> >
> > so that i can have a list of IP's who r currently active in samba.
> >
> > suppose at an instant if i want to find who r all the clients who
> > logged in to PDC,i must be able to identify from the same file.

See the --with-utmp support.




cheers, jerry
 --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2 "SAMS Teach Yourself Samba in 24 Hours" 2ed
 "You can never go home again, Oatman, but I guess you can shop there."  
--John Cusack - "Grosse Point Blank" (1997)

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

iD8DBQE9+h9GIR7qMdg1EfYRArUrAKCdkmcmRjG4aWaK36uD9G8SIIz87wCfa4PW
Jovaf+4a8XE9J5ai4KQUeMU=
=c2ye
-END PGP SIGNATURE-

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



Re: [Samba] Installed New version of Samba for HPUX 2.2.7 - Winbinddoesn't w ork

2002-12-13 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 10 Dec 2002, Jennifer Fountain wrote:

> Errors:
> 
> could not check secret
> 'ping' to winbindd failed
> 
> 
> winbind is in my nsswitch

Is winbindd runnning?




cheers, jerry
 --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2 "SAMS Teach Yourself Samba in 24 Hours" 2ed
 "You can never go home again, Oatman, but I guess you can shop there."  
--John Cusack - "Grosse Point Blank" (1997)


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

iD8DBQE9+h3XIR7qMdg1EfYRAto6AKDZn4dAIfrNsufhjB9WCcDY8kOMDgCeMBik
TGrSHQy5HVoc4zZt9VFejhs=
=UQOS
-END PGP SIGNATURE-

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



Re: [Samba] Running smbd under various ids

2002-12-13 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 10 Dec 2002, Glynn Condez wrote:

> Hi All,
> 
> I would like to know if its possible to run smbd under
> various ID's like nobody? if its possible how do I run
> it? man smbd doesn't tell on running different ids.

smbd/nmbd/winbindd all have to run as root.




cheers, jerry
 --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2 "SAMS Teach Yourself Samba in 24 Hours" 2ed
 "You can never go home again, Oatman, but I guess you can shop there."  
--John Cusack - "Grosse Point Blank" (1997)


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

iD8DBQE9+h3TIR7qMdg1EfYRAoahAKCQy9a/XwCzsezD/C3RBzCAYI2iXgCfbu35
JBypDQkgsVlVF9T7deOKdRc=
=MyTk
-END PGP SIGNATURE-

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



Re: [Samba] domain local groups in winbindd

2002-12-13 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, 11 Dec 2002, Guenther Deschner wrote:

> is there any technical reason why winbind does not implement the
> represenatition of domain local groups in mixed-mode win2k-domains ?

Already implemented in HEAD/SAMBA_3_0




cheers, jerry
 --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2 "SAMS Teach Yourself Samba in 24 Hours" 2ed
 "You can never go home again, Oatman, but I guess you can shop there."  
--John Cusack - "Grosse Point Blank" (1997)


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

iD8DBQE9+h3OIR7qMdg1EfYRAkQPAJwPZU7D9ZZUjDGk/h1ySxow+iOobACdHuFj
3Z2upRDL1sVPA3nmG63FORc=
=lnrl
-END PGP SIGNATURE-

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



Re: [Samba] (fwd from phsan@cs.siu.edu) Compiling error

2002-12-13 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, 13 Dec 2002, Yihua Philip Sheng wrote:

>When I tried to compile the new version (2.2.7a) on a Sun Solaris 7
>machine, it gives me the following error:
> 
>Using LIBS = -lsec -lgen -lsocket -lnsl  -ldl
>Linking bin/smbd
>/usr/ccs/bin/ld: illegal option -- E
>usage: ld [-abc:d:e:f:h:il:mo:p:rstu:z:B:D:F:GI:L:M:N:P:Q:R:S:VY:] file(s)
>[-a]create an absolute file
>[-b]do not do special PIC relocations in a.out
>[-c file]   record configuration `file'
>[-d y|n]operate in dynamic|static mode
>[-e sym]use `sym' as entry point address
>[-f name]   specify library for which this file is an
>auxiliary filter
>

It sounds like configure found the GNU ld and the actual compile is using 
Sun's.  Did the PATH change between ./configure and make?




cheers, jerry
 --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2 "SAMS Teach Yourself Samba in 24 Hours" 2ed
 "You can never go home again, Oatman, but I guess you can shop there."  
--John Cusack - "Grosse Point Blank" (1997)


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

iD8DBQE9+h3KIR7qMdg1EfYRAi4OAKC23rRCkejTlw6ULv6IgjZIbpL/cACguozQ
KQbMpldK203JxbI8EbWfmAo=
=NAA3
-END PGP SIGNATURE-

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



Re: [Samba] Problem authenticating with Samba (security=domain) +Windows 2000 PDC

2002-12-13 Thread John H Terpstra
On Fri, 13 Dec 2002, Javier Castillo Alcibar wrote:

> I'd set up my samba 2.2.7 to auth with "security=domain" mode, but my
> clients cannot auth successfully never because the samba server cannot
> "talk" correctly with my PDC(w2k adv. Server).
>
> In the computer manager event, I see authentication request but with
> empty usernames..so the PDC reject the authentication request.

Did you use "smbpasswd -j mydomain -r pdc_name" to join the domain?

> Is this a know behaviour??

Yes, if your samba server did not join the domain.

> Here is my config:
> [global]
>workgroup = MYDOMAIN
>netbios name = DEBIANXFS
>server string = %h server (Samba %v)
>guest account = nobody
>invalid users = root
>security = domain
>max log size = 10
>password server = *
>syslog = 0
>encrypt passwords = Yes
>socket options = TCP_NODELAY
>wins support = no
>wins server = 192.168.4.12
>dns proxy = yes
>name resolve order = wins lmhosts host bcast
>unix password sync = false
>passwd program = /usr/bin/passwd %u
>passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
> *Retype\snew\sUNIX\spassword:* %n\n .
>pam password change = no
>obey pam restrictions = yes
>winbind uid = 1-2
>winbind gid = 1-2
>winbind use default domain = yes

- John T.
-- 
John H Terpstra
Email: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] winbind help for newbie

2002-12-13 Thread LaSusa, Dan
I joined the domain (LMC) with the following command

Smbpasswd -j LMC -r LMC_EXC1 (this is our PDC) -U administrator

I then got prompted for the password, I entered it

And got the message "Joined the LMC Domain"

Then I stopped and restarted the smb service

Did a wbinfo -u and then -g and still got info for the LMCMIG domain.

I then went into the smb.conf file, changed

Password server = *

To 

Password server = LMC_EXC1

Restarted smb

Still got the info for LMCMIG 

Went back into smb.conf 

Changed 

Password server = LMC_EXC1

To

Password server = (IP address of server)

Restarted smb 

Still no luck.

Does SMB or Winbind have the info cached somewhere?  Is there a way to flush
that cache???

Thanks for your help!

-Original Message-
From: Errol Neal [mailto:[EMAIL PROTECTED]] 
Sent: Friday, December 13, 2002 12:26 PM
To: LaSusa, Dan
Subject: Re: [Samba] winbind help for newbie


At 11:44 AM 12/13/2002 -0500, you wrote:
>I've been looking thru manpages and online for help.
>
>I *think* I've got winbind mostly setup (somehow) but it seems to be 
>using the wrong Domain.
>
>Some info:
>I am running RH7.3
>Kernel 2.4.18-3
>Samba 2.2.7
>
>In my smb.conf file I have:
>[global]
> security = Domain
> workgroup = LMC
>
> winbind separator = +
> winbind uid = 1-2
> winbind gid = 1-2
> winbind enum users = yes
> winbind enum goups = yes
> winbind cache time = 10
>
>In my nsswitch.conf file I have:
>
>passwd:files winbind
>shadow:files winbind
>group:   files winbind
>
>When I do a wbinfo -u  or -g I get the info for our LMCMIG domain.
>
>Why is it using the LMCMIG domain instead of what I have in the 
>smb.conf file? How do I tell it to use LMC??
>
>I am a newbie to all of this
>
>If I should be looking or asking elsewhereplease just let me 
>know...
>
>Thanks for any help!
>
>Dan
>


You might want to try the password server parameter. How did you join the 
domain? Did you specifiy the IP address of the password server?


Errol


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



Re: [Samba] the process when client joins and logs off....

2002-12-13 Thread John H Terpstra
On Fri, 13 Dec 2002 [EMAIL PROTECTED] wrote:

Prasad,

Since you press for an answer please excuse my bluntness.

You will have to find the answers to this question by either reading
volumes of published material (like the MS Windows NT/2K Resource Kit
Manuals) or by sniffing out what happens on the network as a client logs
off (also as a client shuts down) an MS Windows NT Domain.

The tools you can use to do your own sniffing includes (recommended)
'ethereal' (check www.zing.org).

You have a learning curve ahead of you and I wish you well.

PS: I look forward to your patches.

- John T.

> hello,
>
>
> can any one help me with some details pls.
>
> i was looking for the process(the internals)when a client logs in to
> samba(configured as a PDC).
>
> and the same questions what happens when a client logs off.(do the PDC
> know abt this?).
>
> iam keen in to these details,since i want to insert in to the source
> code of samba,a small code by myself,to have capture the list of
> clients which are joining the PDC and leaving the PDC.
>
> first i want to have a file(say filename is logged-in)when a client
> log in PDC.then when a client logs off(will samba know abt this at
> all?)i want to remove the IP entry from the same file(logged-in).
>
> so that i can have a list of IP's who r currently active in samba.
>
> suppose at an instant if i want to find who r all the clients who
> logged in to PDC,i must be able to identify from the same file.
>
> (usually in /var/logs/ i have files named log.)
> but these r files when client logs on...and doesn't leave even though
> the client switches off)
>
> pls help me at this point
>
> thanks in advance
>
> prasad
>
>

-- 
John H Terpstra
Email: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Browsing on remote subnets, domain logons

2002-12-13 Thread Pihhan
Hello,

I have a few questions.
I have network like this:
(A)-(MS)(SS)---(B)
 | |
inet  (C)

Ms and SS are linux servers with samba. others are workstations with
WinMe.

Can I make all subnets and all computers to see all computers on all
subnets without using WINS?
So A should see SS, B and C. Because between MS and SS is very long
network (connection between two divided LANs) made of 10BASE2, it is
considered unreliable. Thus MS and SS should be always ready to answer
all authorization on its direct subnets, and be backup for others.
Thats because C is in the middle, and have connection to both MS and
SS. If one connection is broken, LANs will be divided but should be
operational itself.

That's why I dont want WINS, because if it
connection to MS fail, there will be long timeout to use secondary
WINS on SS. Is there way to sync both servers nethood for broadcast
and wins for all subnets, where servers MS and SS would broadcast only
local network and remote info gets from the other server?

I don't know how to make this. I want only one domain, where both MS
and SS will serve to direct subnets and get informations about unknown
users from second server. On MS is routing to internet, directed with
iptables and firewall. In preexec script of netlogon share it checks
if logging user has paid for internet and so if he is allowed to use
internet. That somewhat works, I wonder why sometimes...

All I need is allow all users from all subnets to access MS, and
netlogon share. I want synchronised browse list on all subnets, and if
users from B cannot login to MS, they must be able to login to SS.
Thats because I dont want change setting on machines if connection
between MS and SS fails. So they cannot reach MS or other remote
computers, but can operate well on their LAN with direct neighbours.

SS will not be under my direct control (I am not root there),
it will act partialy as BDC. It will not sync users list from
MS itself, they would need be added manualy. But all users on this
server, who wants internet, need also account on MS. So only local
users will have accounts only on local server, not on both.

I think there would be two domains for this, but does Samba support
some way of trusted domains? I am using individual sharing on WinME.
This gets better security to network, with less passwords to remember.
But there are in fact two PDCs, and only one is really PDC. I get list
of users on my PDC server, so I can assign on Windows shares for every user
different acces rights. But can I do this for users from different
domain? or from different server? That is really problem in two
separate domains, but two PDCs cannot be in one domain, right?
Have you any good ideas, how to solve this? Can I sync browse list for
different domains? Must I have workgroup same with domain on
workstations, or can I have one workgroup in two domains? That would
get browsing easier.

(sorry for my english)
(I sent this message already, but in Latin2 encoding, so you seen only
block of octets, i think.)

I hope you are smarter than me,
 PihhanN‹§²æìr¸›yúèšØb²X¬¶
-¢Ø^~‰e£§DKjwky§m…觲ÚîrبžÈm¶Ÿÿ–+-²Æ¦mª+ƒùšŠYšŸùb²Ø§~ìjfÚ


Re: [Samba] Samba not visible on network neighbourhood

2002-12-13 Thread John H Terpstra
On Fri, 13 Dec 2002, Rohit Peyyeti wrote:

> Hello All:
>
>
> I have a small problem in setting up Samba on my NT
> network here. This is the environment on which I'm
> running Samba Server on:
>
> Samba Version: 2.2.7-1.7.3
> OS: Redhat 7.3
> Kernel: 2.4.18-18.7.x
>
> Problem description:
> Samba Server is not visible in my windows XP/NT
> network neighborhood. But after I added my
> Samba Server's name & IP address in my hosts
> file, I was able to connect to it this way:
> \\Samba\rohit\ (I can see files in my home share
> on linux box) from my XP box. I guess connectivity
> should be fine between these two machines.
>
> But I still can't see this samba box from my network
> neighborhood. Is there anything which I'm missing?

Yes! Use WINS!

In smb.conf [globals] add:
wins support = Yes

On each MS Windows client in the TCP/IP settings put the IP address of
your Samba server as the WINS server addresses.

- John T.

>
> Here is part of what my smb.conf looks like:
>
> workgroup = GENETECH
> server string = Samba Server
> hosts allow = 10.10.10., 127.
> printcap name = /etc/printcap
> load printers = yes
> printing = lprng
> log file = /var/log/samba/%m.log
> max log size = 0
> security = domain
> password server = *
> encrypt passwords = yes
> smb passwd file = /etc/samba/smbpasswd
> unix password sync = Yes
> passwd program = /usr/bin/passwd %u
> passwd chat = *New*password* %n\n *Retype*new*password* %n\n
> *passwd:*all*authentication*tokens*updated*successfully*
> pam password change = yes
> username map = /etc/samba/smbusers
> obey pam restrictions = yes
> socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> dns proxy = no
> preserve case = yes
>
>
> Regards,
> Rohit Peyyeti
>
>
>
>
>
>
>
>
>
>

-- 
John H Terpstra
Email: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] oplocks and samba 2.2.7

2002-12-13 Thread John H Terpstra
On Fri, 13 Dec 2002, Jean-Paul ARGUDO wrote:

JP,

Your question is one many samba users have to deal with. Debian Linux is
user supported software, so if you want samba to always be up to date,
volunteer to become the samba maintainer for Debian, then you will control
you own destiny.

If becoming the samba maintainer for Debian does not suit you, that's OK.
But now if you want an up to date version of samba for Debian you will
need to build your own.

If building you own does not suit you, then you could hire a consultant
)or find another volunteer) to do it for you.

If, like most of us, you want someone to give you an update package as
soon as a new version comes out, then find a source that will do that. The
choice is yours.

At one time, for every release of Samba I would compile and make available
10 for 10 different platforms. That took me nearly 4 days to build, QA,
release - all unpaid work. I am not after sympathy, just want to make the
point that it takes a lot of work and effort to serve our users fully. The
more people who help the easier it is.

Cheers,
John T.

> Hi all,
>
> I really know you'll tell me it is not an issue from Samba nor a matter
> of topic in this list.
>
> But. I have problems with oplocks, surely because of my version:
> Version 2.2.3a-12 for Debian I noticed it all in bug 26128 and posted
> here precisions, few days ago.
>
> Version 2.2.3a-12!!!??? YES, this is the *stable* version from Debian.
>
> What would I do? Install newer version (2.2.7,afaik), then corrupt my
> system? Or wait for Samba team to put 2.2.7 in the stable?
>
> For example, in current proposed-updates, samba version proposed is
> 2.2.3a-12!! I think I'll have to wait a year before 2.2.7 becomes
> stable, then you'll be supporting only version 2.4 ? :-)
>
> I really know again it is *not* the problem of Samba team.
>
> But, I think when I read docs "always install newest version before
> asking to support", you put to rubbish all users who havent yet
> connexion to internet, or ones who just buy brand new RH, Mandrake,
> Suse, whatever, box, with surely not the latest Samba version in  :-(
>
> What are my solutions then? Build my own deb package from your cvs?
> Thats what I'm gonna do finally, corrupting a bit my stable production
> debian server :-/
>
> I'd really like you give your point of view on this.
>
> Thanks a lot for your efforts!
>
>

-- 
John H Terpstra
Email: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Re: Access Samba Servers from the Internet?

2002-12-13 Thread John H Terpstra
On Fri, 13 Dec 2002, Jean-Paul ARGUDO wrote:

> > nmbd can be master browser only on network that is on your network machine
> > eth.
>
> Thanks for your answer.
>
> If I understand you well, MASTER is only PDC for 192.168.0 because of
> eth0 configuration. Here is it:

Master browsers are 'elected' (determined) over UDP broadcast. The
semantics of that are covered in the Entire-HOWTO-collection that is
present on the home page of SWAT, see section 2.4.

Any SMB/CIFS (MS Windows NEtworking) machine can become the master browser
for the subnet it is on. It will never become the master browser for a
remote subnet. The protocol was not designed to allow it to be.

PS: "Master Browser" does not mean that same as "Domain Controller" at
all!

The master browser simply is the machine that has the master list of
machines that are visible on the local network segment. If you want to
find a list of machines on a remote network segment, then you need to ask
the remote "master browser" for that segment. That gets very difficult,
unless you use WINS.

If you use a single WINS server (either using Samba or MS Windows NT4/2K
Server) and you configure every client so it uses that WINS server, then
all clients will register with the WINS server. Each local master browser
will also register that fact that it is master browser with that WINS
server and it will keep it's local browse list synchronised with the
domain master browser's list. The domain master browser will synchronise
it's full list with all local master browsers - and the result is that
your MS Windows clients will see all registered (active) machines in their
browse list.

Note: Again, none of this has anything to do with domain control (or what
many prefer to call PDC).

>
> auto eth0
> iface eth0 inet static
>  address 192.168.0.1
>  netmask 255.255.255.0
>  network 192.168.0.0
>  broadcast 192.168.0.255
>  gateway 192.168.0.253
>
> Given this, the solution is to change the netmask? Then, MASTER would
> listen in network 192.168. instead of 192.168.0 only.
>
> Am I right?

It is not what you specify as the "host allow" that determines the scope
of the master browser, it is the netmask of the network that does this.
More accurately put, network segments are broadcast isolated. Routers do
NOT forward UDP broadcast packets.

>
> How to achieve my PDC to become unique PDC in my LAN composed of
> 192.168.0, 192.168.1 and may be tommorrow 192.168.2 .. ??

PDC means "Master Authentication Controller" - NOT "Master Browser".
Please read my comments above very carefully.

There are three (3) essential components of MS Windows Networking:

1. Name Resolution

The ability to resolve NetBIOS Machine Names to an IP Address - WINS is
your best friend here. Some people insist on using DNS which is great, but
DNS does not deal with (no mechanism to record and tell clients about)
NetBIOS Name Type information. See section 2.4 of the
Entire-HOWTO-Collection on the SWAT home page.

2. Routing and Visibility

This involves correct network configuration in the first place. Secondly,
you need to provide a way for a local broadcast isolated machine to be
able to find a remote machine - WINS is your best friend here!

3. Security and Authentication

This is where you need to make sure that the machine that a client is
trying to access can authenticate past the security barriers.


> Given the fact I'm DBA, not an Admin sys specialized in TCP/IP, you
> understand my weakness here :-)

You are not alone. Many network admins have no clue about MS Windows
networking because so few realise that NetBIOS uses different protocols
that are implemented OVER TCP/IP. One needs to understand the NetBIOS
protocols to solve a NetBIOS problem - few TCP/IP admins care to do that!

Put another way: "If you want to catch lots of fish, as a fisherman you
need to think like a fish!"

- John T.
-- 
John H Terpstra
Email: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Migrating Samba PDC to new machine (with different name)

2002-12-13 Thread Michael Ingoldby
The machine we are currently using as our existing PDC is getting old
and tired, so we have built a new machine and are attempting to migrate
users across to the new machine. However, since there can only be one
PDC on a network, this involves an "all nighter" moving users profiles
across to the new machine and then cranking it up as the PDC.

Everything appeared to go well until we started up the first bunch of
machines using the new machine as the PDC and got the following Error
Message. 

"The system cannot log you on to the domain because the systems computer
account in its primary domain is missing or the password on that account
is incorrect"

After some research we found an article on the net about setting up a
Samba BDC and so we did the "smbpasswd -S domain_name" to try and copy
the domain's ID across to the new machines.

However, this still yielded the same result when new machines started up
on the new domain server.

Has anyone successfully moved the PDC from one machine to another in the
same domain? 

Can you give us some tips?

Extra Info:
- The new machine has different Unix IDs for the Machine and User
accounts than the old one did.
- The new machine now uses LDAP to store the Unix Usernames but we are
still using PAM for samba to lookup the UserUIDs and are still using
smbpasswd for storing Samba Usernames and Passwords.
- The Unix UIDs are now a bit higher. User Accounts in LDAP start at
about 1,000.
- The machine accounts (blah$) are local (/etc/passwd) accounts and
start at 10,000.
- Once a win2k machine was was remove from the domain, machine account
removed then readded to samba new_pdc and then win2k added back into
domain, logins worked perfectly.

Thanks in advance
-- 

Michael Ingoldby
Senior Systems Administrator
Shazam Entertainment Ltd
Adress  :4th Floor Chesam House
 136 Regent Street 
 London
 W1B 5SX
DDI :+44 (0)20 7851 9333
Email   :[EMAIL PROTECTED]
WebSite :www.shazam.com


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



Re: [Samba] Any good how tos to configure samba on HPUX?

2002-12-13 Thread Eric Roseme
I have written a brief summary of winbind and a simple cookbook 
installation guide for winbind on HP-UX 11.  
This is limited to the pre-compiled binaries that are supplied on 
samba.org for HP-UX.  

http://us1.samba.org/samba/ftp/Binary_Packages/hp/

Currently available are 2.2.5 and 2.2.7, with and without winbind.  If 
you would like the winbind document,
email me at [EMAIL PROTECTED]  From your post it is not clear if you 
also would like a Samba-on-HPUX
configuation guide.  There are installation manuals for CIFS/9000 Server 
(Samba bundled with HP-UX) at:

http://www.docs.hp.com/hpux/netcom/index.html#CIFS/9000

Eric Roseme
Hewlett-Packard

Jennifer Fountain wrote:

Does anyone know where I can find a good how to to configure winbind and
samba on a HPUX box?

Thanks
 



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



RE: [Samba] Big Migration

2002-12-13 Thread Tony Nichols
I've seen more than a few issues (on this list) regarding accessing the same
files with both samba and NFS ...all bad 

T o n y


A.G. (Tony) Nichols
I.S. Manager
Appalachian Log Structures Inc.
www.applog.com 
[EMAIL PROTECTED] 
888-999-2574 x124
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On
Behalf Of cantisan
Sent: Thursday, December 05, 2002 7:35 PM
To: [EMAIL PROTECTED]
Subject: [Samba] Big Migration



Next month I will move about 3000 clients (w2k) to a PDC samba, after that I
will have more 1200 clients, but this time will be Linux, my question is:

1- Is there domain logon, like we have for Windows users ?

2- is  smb the protocol recommended to FileShare to Linux clients or NFS is
better (is there another one) ?


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



[Samba] Recycle Bin Question

2002-12-13 Thread Brent Torrenga
Hello,
Recycle bins creating the directory structure inside the .recycle
directory have an issue I believe... ...at least how I have it setup :)

The directories created in the .recycle directory have permissions only
allowing access to the user who created it. Thus, if someone deletes
something from a share located inside the same directory that someone else
has previously deleted something, then the second deleted file will NOT be
putin the .recycle because that second person has insufficient permisions to
access the previously made directory in .recycle. Right? I experimented and
found it to be so.

So I have a public share, and would like the directories created in .recycle
to be public as well. How can this be done?

--Brent




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



Re: [Samba] File Systems - Which one to use?

2002-12-13 Thread John H Terpstra
On Fri, 13 Dec 2002, Dragan Krnic wrote:

> > I have had issues with ReiserFS2.x,
> > but we really need ACLs, so until
> > some distro supports ACLs on ReiserFS,
> > it's not coming near my file
> > servers (mail/news/web maybe).
>
> Thanks for moderation and additional answers to Simo, Buchan.
> I might be a bit overoptimistic about reiserfs. On the other hand,
> you are talking about problems with Version 2.x, which is quite old.
> What is now delivered is 3.6 and the author is bringing 4.0
> real soon now.

I too have noted that the performance of ReiserFS varies consideraby
across the versions. More recent versions appear to have a poorer write
rate (very subjective opinion - NOT rigorously tested!) but much better
read rates and fast directory lookups. As I said - "appears"! To do this
justice one needs to perform careful and methodical metrics.

> I'm sure there will be pathological cases for reiser too, and it
> might be less efficient than XFS for some uses where XFS shines.
> But most of the real problems come from bad tuning or quite
> unrelated issues (e.g. network). That said, I find reiser the
> most responsive fs to ls and find kinds of commands. I'll certainly
> learn more and try to put things in right perspective before I take
> it into production. I might share the results with the list.
>
> > Benchmarks of ext3 vs ReiserFS have
> > shown similar performance of the two
> > when mounted with equivalent options
>
> In another thread John Terpstra rightly positions reiserfs somewhere
> between ext2 and ext3, which means ahead of ext3. Benchmarks are
> like statistics - dont't trust'em unless you forged them yourself.
> They may be tweaked easily to favour one side over the other.
> Unfortunately there is no consensus as to the weighting one should
> assign to different numbers that can be obtained by doing this
> and/or that. In the end your mileage may vary widely.

And for waht it is worth, even though I found ReiserFS the poorest
performing, I still use it on my file server. So, go figure, not everyone
needs a Maserati!

- John T.
-- 
John H Terpstra
Email: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] winbind help for newbie

2002-12-13 Thread LaSusa, Dan
Title: Message



I've been looking thru manpages and online for 
help.
 
I 
*think* I've got winbind mostly setup (somehow) but it seems to be using the 
wrong Domain.
 
Some info:
I 
am running RH7.3
Kernel 2.4.18-3
Samba 2.2.7
 
In 
my smb.conf file I have:
[global]
    security = Domain
    workgroup = LMC
 
    winbind separator = +
    winbind uid = 
1-2
    winbind gid = 
1-2
    winbind enum users = yes
    winbind enum goups = yes
    winbind cache time = 10
 
In 
my nsswitch.conf file I have:
 
passwd:    files winbind
shadow:    files winbind
group:   files 
winbind
 
When I do a wbinfo -u  or -g I get the info for our LMCMIG 
domain.
 
Why 
is it using the LMCMIG domain instead of what I have in the smb.conf file? 

How 
do I tell it to use LMC??
 
I 
am a newbie to all of this
 
If 
I should be looking or asking elsewhereplease just let me 
know...
 
Thanks for any help!
 
Dan
 


[Samba] Any experience with Latest SMB Patch fro

2002-12-13 Thread Robert Adkins
Hello Everyone,

I was just reading up a bit on the latest MS patch that affects SMB.

Here is a quote that I read about it:

"...Windows Server Message Block (SMB) protocol which could enable group   
policy on domain controllers to be modified. Flaws in cryptographic   
signing implementation used by MS in SMB are the root cause of the   
problem. These flaws are fixed in Win XP SP1 or through a separate patch,   
released yesterday, which is designed to address the problem on Windows   
2000 boxes."

Does this change in any way affect Samba? Has anyone tested out this   
patch before spreading it across all their Windows 2K/XP workstations?

Any comments would be greatly appreciated. I wish to avoid any headaches   
that I can avoid on the network here.

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


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



Fwd: [Samba] Access to Everyone

2002-12-13 Thread Cal Gordon
You can force all users to be recognized as a single user.  Set permissions on 
the directory to

drwxrwsrws nobody nobody /home/technical

[Technical]
comment  = Technical
browseable = yes
path = /home/technical
valid users = +users
force create  mode = 0777
fforce directory mode = 0777
force user = nobody
force group = nobody

Works good for me . . .

Calvin Gordon
IT Guy; Nu-Fab Burton LP
email: [EMAIL PROTECTED]

# What I *really* want is a Wind*ws help file, with pretty pictures and
# instructions for pressing the "any" key! And I want it to say "Your
# mouse is unplugged - click 'OK' to continue".

Hello,
I'm new to this group so please accept my apologies for any gaffs I might
make.

My problem is this:

I am running Samba 2.23 on RedHat 7.3. Using various unix permissions, users
& groups & smbusers / smbpasswords I am able to control who see what shares.
The Security in samba is set to users. and passwords are encrypted. What I
would like to do is have one particular share RO to everybody but without
having to setup everyone as unix & smbusers. I know if I changed to
security=share I can do it but this causes me problems elsewhere on other
shares because of the continuing need to input a username & password each
time you connect. The PC's that need to see the share are NT4 workstations
that are not on a NT domain (we use Novell). I guess in simple terms I need
a public RO share without any restrictions on who connects, whilst
maintaining the restrictions on the other shares. Any Ideas?

Craig

--
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] Access to Everyone

2002-12-13 Thread Gareth Davies
- Original Message -
From: "Craig Wright" <[EMAIL PROTECTED]>
To: "Samba Group" <[EMAIL PROTECTED]>
Sent: Friday, December 13, 2002 4:22 PM
Subject: [Samba] Access to Everyone


> Hello,
> I'm new to this group so please accept my apologies for any gaffs I might
> make.
>
> My problem is this:
>
> I am running Samba 2.23 on RedHat 7.3. Using various unix permissions,
users
> & groups & smbusers / smbpasswords I am able to control who see what
shares.
> The Security in samba is set to users. and passwords are encrypted. What I
> would like to do is have one particular share RO to everybody but without
> having to setup everyone as unix & smbusers. I know if I changed to
> security=share I can do it but this causes me problems elsewhere on other
> shares because of the continuing need to input a username & password each
> time you connect. The PC's that need to see the share are NT4 workstations
> that are not on a NT domain (we use Novell). I guess in simple terms I
need
> a public RO share without any restrictions on who connects, whilst
> maintaining the restrictions on the other shares. Any Ideas?
>
> Craig
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>

Create a new user e.g "reader"

And use the force user = reader option on the share.

With chmod you should be able to set it so that this user can only read, not
write or delete files in this share.

This just means everyone that connects to the share will connect as this
user.

I'm sure there are more elegant ways to do this, but this is how I would do
it :)

Shaolin

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



[Samba] Access to Everyone

2002-12-13 Thread Craig Wright
Hello,
I'm new to this group so please accept my apologies for any gaffs I might
make.

My problem is this:

I am running Samba 2.23 on RedHat 7.3. Using various unix permissions, users
& groups & smbusers / smbpasswords I am able to control who see what shares.
The Security in samba is set to users. and passwords are encrypted. What I
would like to do is have one particular share RO to everybody but without
having to setup everyone as unix & smbusers. I know if I changed to
security=share I can do it but this causes me problems elsewhere on other
shares because of the continuing need to input a username & password each
time you connect. The PC's that need to see the share are NT4 workstations
that are not on a NT domain (we use Novell). I guess in simple terms I need
a public RO share without any restrictions on who connects, whilst
maintaining the restrictions on the other shares. Any Ideas?

Craig

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



Re: [Samba] \\FILESERVER is not accessible. Access is Denied

2002-12-13 Thread Sean Chambers



Client OS is win2k. Now i can access the share as 
root, but not as sean (user)
 
Does that give anymore information? If you need the 
smb.conf I can post it.

  - Original Message - 
  From: 
  Luca 
  Massarenti 
  To: [EMAIL PROTECTED] 
  Sent: Friday, December 13, 2002 10:53 
  AM
  Subject: Re: [Samba] \\FILESERVER is not accessible. Access is 
  Denied
  
  I think you have already test via ping the ip 
  address.
   
  if the net works try to comment the following in 
  smb.conf (only if for security reason is possible)
   
  ; host allow = 
   
  if you have problems let me have more information 
  about the client os and if you want send your smb.conf to [EMAIL PROTECTED]
   
  good luck
  
- Original Message - 
From: 
Sean 
Chambers 
To: [EMAIL PROTECTED] 
Sent: Friday, December 13, 2002 4:53 
PM
Subject: [Samba] \\FILESERVER is not accessible. Access is 
Denied


I got it so my logfile no longer complains 
about invalid user. I was creating a machine trust account but not an actual 
user account. I am still having 2 problems.
 
When i attempt to log onto the domain at bootup 
I put in my username and password and select DARCSTAR for the domain to log 
onto and it tells me almost instantly:
 
"The Domain DARCSTAR is not 
available."
 
So i just log in on the local machine and type 
\\FILESERVER in a command prompt. a username/password box appears, i put in 
my username and password and it tells me:
 
\\FILESERVER is no accessible. Access is 
Denied
 
in the log file it doesnt give me an error it 
just says:
 
Allowed connection from 192.168.1.100 (which is 
my win2k box).
 
I'm sorta stumped as to what is the problem. I 
read through the pdf file that someone gave me yesterday but it didn't 
explain about the error message I am 
  receiving.


Re: [Samba] \\FILESERVER is not accessible. Access is Denied

2002-12-13 Thread Luca Massarenti



I think you have already test via ping the ip 
address.
 
if the net works try to comment the following in 
smb.conf (only if for security reason is possible)
 
; host allow = 
 
if you have problems let me have more information 
about the client os and if you want send your smb.conf to [EMAIL PROTECTED]
 
good luck

  - Original Message - 
  From: 
  Sean 
  Chambers 
  To: [EMAIL PROTECTED] 
  Sent: Friday, December 13, 2002 4:53 
  PM
  Subject: [Samba] \\FILESERVER is not accessible. Access is 
  Denied
  
  
  I got it so my logfile no longer complains about 
  invalid user. I was creating a machine trust account but not an actual user 
  account. I am still having 2 problems.
   
  When i attempt to log onto the domain at bootup I 
  put in my username and password and select DARCSTAR for the domain to log onto 
  and it tells me almost instantly:
   
  "The Domain DARCSTAR is not 
  available."
   
  So i just log in on the local machine and type 
  \\FILESERVER in a command prompt. a username/password box appears, i put in my 
  username and password and it tells me:
   
  \\FILESERVER is no accessible. Access is 
  Denied
   
  in the log file it doesnt give me an error it 
  just says:
   
  Allowed connection from 192.168.1.100 (which is 
  my win2k box).
   
  I'm sorta stumped as to what is the problem. I 
  read through the pdf file that someone gave me yesterday but it didn't explain 
  about the error message I am 
receiving.


[Samba] \\FILESERVER is not accessible. Access is Denied

2002-12-13 Thread Sean Chambers




I got it so my logfile no longer complains about 
invalid user. I was creating a machine trust account but not an actual user 
account. I am still having 2 problems.
 
When i attempt to log onto the domain at bootup I 
put in my username and password and select DARCSTAR for the domain to log onto 
and it tells me almost instantly:
 
"The Domain DARCSTAR is not 
available."
 
So i just log in on the local machine and type 
\\FILESERVER in a command prompt. a username/password box appears, i put in my 
username and password and it tells me:
 
\\FILESERVER is no accessible. Access is 
Denied
 
in the log file it doesnt give me an error it just 
says:
 
Allowed connection from 192.168.1.100 (which is my 
win2k box).
 
I'm sorta stumped as to what is the problem. I read 
through the pdf file that someone gave me yesterday but it didn't explain about 
the error message I am receiving.


[Samba] Winbind issues

2002-12-13 Thread Richard Coyle
I am having problems with Samba and Winbind on RedHat 8.0.  Just to let you
know I am a Samba and Linux newbie please be gentle.

I have put the settings of my files at the end of this message in case these
can help.   Here is my problem.

I can access a share created in the smb.conf file from my NT domain, if that
share is shared to a domain group.  (valid users = domain+group).
However when I issue the command 
wbinfo -u or wbinfo - g  i get the following reponse:
'Error looking up domain users' or 'groups'.

If I issues wbinfo -r domainname+usersname
I get a listing of the gid's that these groups are using.

If I issue:  getent -groups
only local groups are enumerated


What I need to understand is:
Why do wbinfo -u and -g  and getent not work?
If I get them to work, I also need to understand one other thing,
will the domain groups be visible in the "User and Groups" in the Gnome Gui?
I have read the manpages, and applied the settings as they instruct.
I have joined the domain, wbinfo -t tells me "the secret is good".

Also if you can let me know.  Is Samba working and not winbind?  or
is part of Winbind working?

Any help or directions on what book to buy, or site to visit will be
appreciated.


***
My smb.conf file has the following items in it:

[global]
winbind separator = +
winbind uid = 1-2
winbind gid = 1-2
winbind enum users = yes
winbind enum groups = yes
winbind cache time = 15

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

# server string is the equivalent of the NT Description field
server string = Sfa-SMB1

security = domain

My nsswitch.conf file looks like this:

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

My Pam.d\samba file looks like
#%PAM-1.0
auth   required /lib/security/pam_securetty.so
auth   required /lib/security/pam_nologin.so
auth   required /lib/security/pam_smb_auth.so
auth   sufficient   /lib/security/pam_winbind.so
;auth   required/lib/security/pam_pwdb.so use_first_pass shadow
nullok
auth   required /lib/security/pam_pwdb.so
accountrequired /lib/security/pam_winbind.so
;sessionrequiredpam_stack.so service=system-auth
;password   requiredpam_stack.so service=system-auth
password   required /lib/security/pam_cracklib.so
password   required /lib/security/pam_pwdb.so use_first_pass shadow
nullok
sessionrequired /lib/security/pam_pwdb.so



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



[Samba] Swat inactive, xinetd issue?

2002-12-13 Thread Kevin

Since I've upgraded to Redhat 7.2 I cannot get swat to work,
I am using the 2.4.7-10 kernal with samba 2.2.7 installed.

I have checked all the applicable files, edited them accordingly as per 
Gary Fournerat's
excellent How-to. No joy.

I am pretty certain this is an xinetd issue. I never had this difficulty 
with inetd.
I know that SAMBA is running as I can see the server from this workstation.

Is there something I've missed?






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


[Samba] Some doubts

2002-12-13 Thread Sergio Jimenez
Hi, I'm trying to setup samba server on FreeBSD-4.7-STABLE, with samba version 2.2.7a. 
It runs so good (better than our snap server :).

I need to know if should be possible, that users can modify, save, and all other 
possible operations on files except delete it.

My users config are, more or less:

All users have their uid
All users are in same gid
Some project admins (they are on "admin users" tag on smb.conf)

I want only admins can delete files.

Thanks.
Best regards.

-- 
Sergio Jiménez <[EMAIL PROTECTED]> 
CENSA network administrator 
   
pgp key at pgp.rediris.es  



msg10708/pgp0.pgp
Description: PGP signature


[Samba] \\FILESERVER is not accessible. Access is Denied Error message

2002-12-13 Thread Sean Chambers



I got it so my logfile no longer complains about 
invalid user. I was creating a machine trust account but not an actual user 
account. I am still having 2 problems.
 
When i attempt to log onto the domain at bootup I 
put in my username and password and select DARCSTAR for the domain to log onto 
and it tells me almost instantly:
 
"The Domain DARCSTAR is not 
available."
 
So i just log in on the local machine and type 
\\FILESERVER in a command prompt. a username/password box appears, i put in my 
username and password and it tells me:
 
\\FILESERVER is no accessible. Access is 
Denied
 
in the log file it doesnt give me an error it just 
says:
 
Allowed connection from 192.168.1.100 (which is my 
win2k box).
 
I'm sorta stumped as to what is the problem. I read 
through the pdf file that someone gave me yesterday but it didn't explain about 
the error message I am receiving.


Re: [Samba] security=user with windows clients

2002-12-13 Thread Marian Mlcoch, Ing
Simply you must log to windows with username and password from samba
smbpasswd...
When you not have users in samba add by linux commands
useradd username1
smbpasswd -a username1

Thats all.

- Original Message -
From: "Razvan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 13, 2002 2:05 PM
Subject: [Samba] security=user with windows clients


> Hi,
>
> I hate to stress you guys, i already posted a few messages about this but
> i am still confused about what's going on. Windows (here XP but i think
> others as well) is unable to see my list of shares when i have
> security=user! how come? how can i fix this?
>
> Thanks angain,
> Razvan Rotaru
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

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



[Samba] Problem authenticating with Samba (security=domain) + Windows 2000 PDC

2002-12-13 Thread Javier Castillo Alcibar








Hi all!!

 

 

I’d set up my samba 2.2.7 to auth with “security=domain”
mode, but my clients cannot auth successfully never because the samba server
cannot “talk” correctly with my PDC(w2k adv. Server). 

 

In the computer manager event, I see authentication
request but with empty usernames……so the PDC reject the
authentication request.

 

 

Is this a know behaviour??

Here is my config:

 

[global]

 

   workgroup = MYDOMAIN

   netbios name = DEBIANXFS

   server string = %h server (Samba %v)

   guest account = nobody

   invalid users = root

   security = domain 

   max log size = 10

   password server = *

   syslog = 0

   encrypt passwords = Yes

   socket options = TCP_NODELAY

 

# --- End of Browser Control Options ---

   wins support = no

   wins server = 192.168.4.12

   dns proxy = yes

   name resolve order = wins lmhosts host bcast

   unix password sync = false

   passwd program = /usr/bin/passwd %u

   passwd chat = *Enter\snew\sUNIX\spassword:*
%n\n *Retype\snew\sUNIX\spassword:* %n\n .

   pam password change = no

   obey pam restrictions = yes

   winbind uid = 1-2

   winbind gid = 1-2

   winbind use default domain = yes








[Samba] the process when client joins and logs off....

2002-12-13 Thread kdmprasad
hello,
 

can any one help me with some details pls.

i was looking for the process(the internals)when a client logs in to
samba(configured as a PDC).

and the same questions what happens when a client logs off.(do the PDC
know abt this?).

iam keen in to these details,since i want to insert in to the source
code of samba,a small code by myself,to have capture the list of
clients which are joining the PDC and leaving the PDC.

first i want to have a file(say filename is logged-in)when a client
log in PDC.then when a client logs off(will samba know abt this at
all?)i want to remove the IP entry from the same file(logged-in).

so that i can have a list of IP's who r currently active in samba.

suppose at an instant if i want to find who r all the clients who
logged in to PDC,i must be able to identify from the same file.

(usually in /var/logs/ i have files named log.)
but these r files when client logs on...and doesn't leave even though
the client switches off)

pls help me at this point

thanks in advance

prasad

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



[Samba] AW: Word 97 and Samba

2002-12-13 Thread Ulrich . Graessle
Hi Tommy,

We have similar problems with Word 97- SR2 and networkdrives on Samba
server.
In our case it is no problem between Word and Samba.
The problems started when we changed our local antivirus software from
McAfee to Sophos. (Sophos told us that this is a known problem).

With Word 97 - SR1 there are no problems.

best regards

Ulrich Gräßle


ATMEL Germany GmbH
Theresienstrasse 2
74072 Heilbronn
Germany
Tel +49-7131-672710
Mobile  +49-172-7109996
Fax +49-7131-672210
e-mail:[EMAIL PROTECTED]
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Troubles with samba and xp or W2000 Pro

2002-12-13 Thread Antonio Moya Krijer
I have a samba file server working and sharing  files.

When i mount any directory in my XP, i see some files but not the total 
of files that exists in this directory.

the file permissiones are 777 on my linux.

But i open a microsoft word and click on open file, and i write de full 
name of the file that i can´t view, and the word opens this file without 
any problem.


¿What`s happen?


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


[Samba] security=user with windows clients

2002-12-13 Thread Razvan
Hi,

I hate to stress you guys, i already posted a few messages about this but
i am still confused about what's going on. Windows (here XP but i think
others as well) is unable to see my list of shares when i have
security=user! how come? how can i fix this?

Thanks angain,
Razvan Rotaru


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



Re: [Samba] NT_STATUS_OBJECT_NAME_NOT_FOUND for filenames with 8bit characters

2002-12-13 Thread Mr David Munro

> Delivered-To: [EMAIL PROTECTED]
> From: "Marian Mlcoch, Ing" <[EMAIL PROTECTED]>
> To: Mr David Munro <[EMAIL PROTECTED]>, samba <[EMAIL PROTECTED]>
> Subject: Re: [Samba] NT_STATUS_OBJECT_NAME_NOT_FOUND for filenames with 8bit 
characters

> 
> Is ldnkar.html filename in windows PC identical?
> This problem exist with missconfigured codepages conf for windows and linux.
> In smb conf  you must set proper codepage and translation to iso... for
> windows and linux client separately.

Yes that was the clue to the problem thanks. The entry for the
character set needs to be changed to ISO8859-1 when the client code page is
set to 850 for Western Europe.

> 
> - Original Message -
> From: "Mr David Munro" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, December 13, 2002 11:48 AM
> Subject: [Samba] NT_STATUS_OBJECT_NAME_NOT_FOUND for filenames with 8bit
> characters
> 
> 
> > Since upgrading from 2.2.4 to 2.2.7, smbclient gives error message
> > "NT_STATUS_OBJECT_NAME_NOT_FOUND opening remote file" for files with ascii
> > characters in the filename which have codes from 0x80 to 0xff. There is
> > an example below. Copying the file using a windows PC to a samba server
> > works ok, the problem comes using smbclient from Unix (Solaris 2.7).
> > Any reason, fix, workaround?
> >
> > smb: \Baskurs_I\> ls
> >   .   D   0  Mon Jul 29 16:12:45 2002
> >   ..  D   0  Mon Jul 29 16:12:45 2002
> >   ldnkar.html  1309  Fri Nov 14 16:09:10 1997
> >
> > 38162 blocks of size 1048576. 34133 blocks available
> > smb: \Baskurs_I\> get ldnkar.html
> > NT_STATUS_OBJECT_NAME_NOT_FOUND opening remote file \Baskurs_I\ldnkar.html
> > smb: \Baskurs_I\>
> >
> > 
> > David Munro email: [EMAIL PROTECTED]
> > Department of Physics   phone: 01483 689415 (direct line)
> > University of Surreyfax:   01483 686781
> > Guildford, Surrey, UK, GU2 7XH
> >
> > --
> > 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


David Munro email: [EMAIL PROTECTED]
Department of Physics   phone: 01483 689415 (direct line)
University of Surreyfax:   01483 686781
Guildford, Surrey, UK, GU2 7XH

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



[Samba] How to deny roving profiles?

2002-12-13 Thread YYyyy XXxxx
Hi,

I'd like to deny the usage of roving
profiles under Samba 2.2.7, but I
don't know what should I set.

Could you help me please?

Thanks in advance!

Regards;

   Istvan

_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail

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


Re: [Samba] smbfs: file link permission ( ln: creating symbolic link `ttt' to `backup': Permission denied )

2002-12-13 Thread li li
Hi, 
Please give me some infomantion.

Hi,
>   I met a problem which had been discussed before,
> but
> I can't find the answer.
>   I'm now using samba samba-2.2.7-1.i386.rpm.
> 
> 
> Following is the old list
> 
> 
> Date:   Thu, 27 Jul 2000 14:26:24 +0200 (CEST)
> From:   Urban Widmark <[PRIVACY PROTECTION]>
> Subject: Re: smbfs: file link permission
>

> On Thu, 27 Jul 2000 [PRIVACY PROTECTION] wrote:
> 
> > Hi,
> >
> > i've mounted a WinNT4 share with smbmount 2.0.5a
> (Linux 2.2.13). All works fine:
> > authentification via username & domain, even file
> creation, but somehow i get an
> > error when i'm trying to create a file link with
> "ln" (equaly soft- or hard
> > link): "ln: cannot create symbolic link: Operation
> not permitted." I've set the
> > create modes and masks to 777 but it doesn't
> really
> help. So, what's wrong?
> 
> 
> 
>
_
> Do You Yahoo!? 
> "ÄúÏëÏíÊÜ2£­7ÕÛÐǼ¶¾Æµê¼Û¸ñÂð£¿"
> http://cn.travel.yahoo.com/
> -- 
> To unsubscribe from this list go to the following
> URL and read the
> instructions: 
http://lists.samba.org/mailman/listinfo/samba 

_
Do You Yahoo!? 
"ÄúÏëÏíÊÜ2£­7ÕÛÐǼ¶¾Æµê¼Û¸ñÂð£¿"
http://cn.travel.yahoo.com/
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] NT_STATUS_OBJECT_NAME_NOT_FOUND for filenames with 8bit characters

2002-12-13 Thread Marian Mlcoch, Ing
plus on solaris client smb.conf  this setings for codepages must be optimal
for solaris.
I mean that solaris is another client not localhost samba server...

- Original Message -
From: "Mr David Munro" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 13, 2002 11:48 AM
Subject: [Samba] NT_STATUS_OBJECT_NAME_NOT_FOUND for filenames with 8bit
characters


> Since upgrading from 2.2.4 to 2.2.7, smbclient gives error message
> "NT_STATUS_OBJECT_NAME_NOT_FOUND opening remote file" for files with ascii
> characters in the filename which have codes from 0x80 to 0xff. There is
> an example below. Copying the file using a windows PC to a samba server
> works ok, the problem comes using smbclient from Unix (Solaris 2.7).
> Any reason, fix, workaround?
>
> smb: \Baskurs_I\> ls
>   .   D   0  Mon Jul 29 16:12:45 2002
>   ..  D   0  Mon Jul 29 16:12:45 2002
>   länkar.html  1309  Fri Nov 14 16:09:10 1997
>
> 38162 blocks of size 1048576. 34133 blocks available
> smb: \Baskurs_I\> get länkar.html
> NT_STATUS_OBJECT_NAME_NOT_FOUND opening remote file \Baskurs_I\länkar.html
> smb: \Baskurs_I\>
>
> 
> David Munro email: [EMAIL PROTECTED]
> Department of Physics   phone: 01483 689415 (direct line)
> University of Surreyfax:   01483 686781
> Guildford, Surrey, UK, GU2 7XH
>
> --
> 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] NT_STATUS_OBJECT_NAME_NOT_FOUND for filenames with 8bit characters

2002-12-13 Thread Marian Mlcoch, Ing
Is länkar.html filename in windows PC identical?
This problem exist with missconfigured codepages conf for windows and linux.
In smb conf  you must set proper codepage and translation to iso... for
windows and linux client separately.

- Original Message -
From: "Mr David Munro" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 13, 2002 11:48 AM
Subject: [Samba] NT_STATUS_OBJECT_NAME_NOT_FOUND for filenames with 8bit
characters


> Since upgrading from 2.2.4 to 2.2.7, smbclient gives error message
> "NT_STATUS_OBJECT_NAME_NOT_FOUND opening remote file" for files with ascii
> characters in the filename which have codes from 0x80 to 0xff. There is
> an example below. Copying the file using a windows PC to a samba server
> works ok, the problem comes using smbclient from Unix (Solaris 2.7).
> Any reason, fix, workaround?
>
> smb: \Baskurs_I\> ls
>   .   D   0  Mon Jul 29 16:12:45 2002
>   ..  D   0  Mon Jul 29 16:12:45 2002
>   länkar.html  1309  Fri Nov 14 16:09:10 1997
>
> 38162 blocks of size 1048576. 34133 blocks available
> smb: \Baskurs_I\> get länkar.html
> NT_STATUS_OBJECT_NAME_NOT_FOUND opening remote file \Baskurs_I\länkar.html
> smb: \Baskurs_I\>
>
> 
> David Munro email: [EMAIL PROTECTED]
> Department of Physics   phone: 01483 689415 (direct line)
> University of Surreyfax:   01483 686781
> Guildford, Surrey, UK, GU2 7XH
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

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



[Samba] NT_STATUS_OBJECT_NAME_NOT_FOUND for filenames with 8bit characters

2002-12-13 Thread Mr David Munro
Since upgrading from 2.2.4 to 2.2.7, smbclient gives error message
"NT_STATUS_OBJECT_NAME_NOT_FOUND opening remote file" for files with ascii
characters in the filename which have codes from 0x80 to 0xff. There is
an example below. Copying the file using a windows PC to a samba server
works ok, the problem comes using smbclient from Unix (Solaris 2.7).
Any reason, fix, workaround?

smb: \Baskurs_I\> ls
  .   D   0  Mon Jul 29 16:12:45 2002
  ..  D   0  Mon Jul 29 16:12:45 2002
  länkar.html  1309  Fri Nov 14 16:09:10 1997

38162 blocks of size 1048576. 34133 blocks available
smb: \Baskurs_I\> get länkar.html
NT_STATUS_OBJECT_NAME_NOT_FOUND opening remote file \Baskurs_I\länkar.html
smb: \Baskurs_I\>


David Munro email: [EMAIL PROTECTED]
Department of Physics   phone: 01483 689415 (direct line)
University of Surreyfax:   01483 686781
Guildford, Surrey, UK, GU2 7XH

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



Re: [Samba] Re: Access Samba Servers from the Internet?

2002-12-13 Thread Marian Mlcoch, Ing
Not you not have right.

- Original Message -
From: "Jean-Paul ARGUDO" <[EMAIL PROTECTED]>
To: "Marian Mlcoch, Ing" <[EMAIL PROTECTED]>
Cc: "cantisan" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, December 13, 2002 10:15 AM
Subject: Re: [Samba] Re: Access Samba Servers from the Internet?


> > nmbd can be master browser only on network that is on your network
machine
> > eth.
>
> Thanks for your answer.
>
> If I understand you well, MASTER is only PDC for 192.168.0 because of
> eth0 configuration. Here is it:
>
> auto eth0
> iface eth0 inet static
>  address 192.168.0.1
>  netmask 255.255.255.0
>  network 192.168.0.0
>  broadcast 192.168.0.255
>  gateway 192.168.0.253
>
> Given this, the solution is to change the netmask? Then, MASTER would
> listen in network 192.168. instead of 192.168.0 only.
>
> Am I right?
>
> How to achieve my PDC to become unique PDC in my LAN composed of
> 192.168.0, 192.168.1 and may be tommorrow 192.168.2 .. ??
>
> Given the fact I'm DBA, not an Admin sys specialized in TCP/IP, you
> understand my weakness here :-)
>
> Thanks again.
>
> --
> Jean-Paul ARGUDO
>
> --
> 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] oplocks and samba 2.2.7

2002-12-13 Thread Simo Sorce
On Fri, 2002-12-13 at 09:48, Jean-Paul ARGUDO wrote:
> Hi all,
> 
> I really know you'll tell me it is not an issue from Samba nor a matter 
> of topic in this list.
> 
> But. I have problems with oplocks, surely because of my version:
> Version 2.2.3a-12 for Debian I noticed it all in bug 26128 and posted 
> here precisions, few days ago.
> 
> Version 2.2.3a-12!!!??? YES, this is the *stable* version from Debian.

And it may contain lot of fixes that are in newer samba releases.
I'm not saying they do, but I've seen a number of vendors that fixes
packages but maintain older version to keep dependencies toward other
packeags or such.

> What would I do? Install newer version (2.2.7,afaik), then corrupt my 
> system? Or wait for Samba team to put 2.2.7 in the stable?

with 2.2.7a you will not corrupt your system, however it seem strange
debian does not upgrade to 2.2.7a as from 2.2.2-2.2.6 there a possible
security problem, have you the security team url in your apt source
list?

> For example, in current proposed-updates, samba version proposed is
> 2.2.3a-12!! I think I'll have to wait a year before 2.2.7 becomes 
> stable, then you'll be supporting only version 2.4 ? :-)
> 
> I really know again it is *not* the problem of Samba team.

Not it is not.

> But, I think when I read docs "always install newest version before 
> asking to support", you put to rubbish all users who havent yet 
> connexion to internet, or ones who just buy brand new RH, Mandrake, 
> Suse, whatever, box, with surely not the latest Samba version in  :-(

Well if we know a problem is probably fixed in a later version, what can
we do? We cannot do anything else that asking to upgrade to check it is
not something else.

> What are my solutions then? Build my own deb package from your cvs? 
> Thats what I'm gonna do finally, corrupting a bit my stable production 
> debian server :-/

you do not need to build them out of cvs, we release packages in tar
format, and you should really use them, cvs *may* contain new errors as
we may be committing in steps a fix or something else while you cvs
update and you do not notice.

> I'd really like you give your point of view on this.

I generally use what the distribution provides.
But if necessary I also install my custom packages (and I always build
packages, as that way I have a trace in my system of what I've done
exactly. To my customers I installed things like:
samba-2.2.7pre2-xsec1.rpm/deb (Xsec is my company and pre2 never
existed, I made it as I needed a special fix that was only in cvs).

> Thanks a lot for your efforts!

Thank you,
Simo.

-- 
Simo Sorce-  [EMAIL PROTECTED]
Samba Team-  http://www.samba.org
Italian Site  -  http://samba.xsec.it
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Re: Access Samba Servers from the Internet?

2002-12-13 Thread Jean-Paul ARGUDO
nmbd can be master browser only on network that is on your network machine
eth.


Thanks for your answer.

If I understand you well, MASTER is only PDC for 192.168.0 because of 
eth0 configuration. Here is it:

auto eth0
iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.253

Given this, the solution is to change the netmask? Then, MASTER would 
listen in network 192.168. instead of 192.168.0 only.

Am I right?

How to achieve my PDC to become unique PDC in my LAN composed of 
192.168.0, 192.168.1 and may be tommorrow 192.168.2 .. ??

Given the fact I'm DBA, not an Admin sys specialized in TCP/IP, you 
understand my weakness here :-)

Thanks again.

--
Jean-Paul ARGUDO

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


[Samba] Samba not visible on network neighbourhood

2002-12-13 Thread Rohit Peyyeti
Hello All:


I have a small problem in setting up Samba on my NT
network here. This is the environment on which I'm
running Samba Server on:

Samba Version: 2.2.7-1.7.3
OS: Redhat 7.3
Kernel: 2.4.18-18.7.x

Problem description:
Samba Server is not visible in my windows XP/NT
network neighborhood. But after I added my
Samba Server's name & IP address in my hosts
file, I was able to connect to it this way:
\\Samba\rohit\ (I can see files in my home share
on linux box) from my XP box. I guess connectivity
should be fine between these two machines.

But I still can't see this samba box from my network
neighborhood. Is there anything which I'm missing?

Here is part of what my smb.conf looks like:

workgroup = GENETECH
server string = Samba Server
hosts allow = 10.10.10., 127.
printcap name = /etc/printcap
load printers = yes
printing = lprng
log file = /var/log/samba/%m.log
max log size = 0
security = domain
password server = *
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
pam password change = yes
username map = /etc/samba/smbusers
obey pam restrictions = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no
preserve case = yes


Regards,
Rohit Peyyeti









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



Re: [Samba] Word 97 and samba.

2002-12-13 Thread Jean-Paul ARGUDO
Any other options 
that might help?

I had a problem with auto-timeout from client side :-)
But its a windows problem only ;-)

Type NET CONFIG SERVER and look at SESSION TIMEOUT..
By default you have 15 minutes

Then, if a user is typing from more than 15 minutes, without disk 
access, in a document wich is on a server, the server disconnect the 
client, and crap Word 97 crashes or sends connex problem messages to the 
client!

Type NET CONFING SERVER ? to see how to change the value. Max Value in 
windows 2000 env is about millions :) Watch for support.microsoft.com, 
file Q138365.

Put 65535 minutes instead of 15, will be enough :-)

Z:\>net config server ?
La syntaxe de cette commande est :


NET CONFIG SERVER [/AUTODISCONNECT:minutes]
  [/SRVCOMMENT:"texte"]
  [/HIDDEN:{YES | NO}]


Hope this helps.

--
Jean-Paul ARGUDO

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


Re: [Samba] oplocks and samba 2.2.7

2002-12-13 Thread Jean-Paul ARGUDO
Hi all,

I really know you'll tell me it is not an issue from Samba nor a matter 
of topic in this list.

But. I have problems with oplocks, surely because of my version:
Version 2.2.3a-12 for Debian I noticed it all in bug 26128 and posted 
here precisions, few days ago.

Version 2.2.3a-12!!!??? YES, this is the *stable* version from Debian.

What would I do? Install newer version (2.2.7,afaik), then corrupt my 
system? Or wait for Samba team to put 2.2.7 in the stable?

For example, in current proposed-updates, samba version proposed is
2.2.3a-12!! I think I'll have to wait a year before 2.2.7 becomes 
stable, then you'll be supporting only version 2.4 ? :-)

I really know again it is *not* the problem of Samba team.

But, I think when I read docs "always install newest version before 
asking to support", you put to rubbish all users who havent yet 
connexion to internet, or ones who just buy brand new RH, Mandrake, 
Suse, whatever, box, with surely not the latest Samba version in  :-(

What are my solutions then? Build my own deb package from your cvs? 
Thats what I'm gonna do finally, corrupting a bit my stable production 
debian server :-/

I'd really like you give your point of view on this.

Thanks a lot for your efforts!

--
Jean-Paul ARGUDO

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


Re: [Samba] Re: Access Samba Servers from the Internet?

2002-12-13 Thread Marian Mlcoch, Ing
Hi
parameter hosts allow is only for blocking bad users nothing configure...
nmbd can be master browser only on network that is on your network machine
eth.
If you have only one network adapter eth0 configured then MASTER is only on
ip network of this.
In secondary network 192.168.1 is master browser auto detected and set one
or more comps on this segment.
If your machine have two adapters then your nmbd is master on all but in log
this can be writen at next time becose on segments is setup automatic
browser election repeatly and then writes info about election to log.

Bye.

- Original Message -
From: "Jean-Paul ARGUDO" <[EMAIL PROTECTED]>
To: "cantisan" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, December 13, 2002 9:09 AM
Subject: Re: [Samba] Re: Access Samba Servers from the Internet?


> Ah ... somenews!
>
> Here what I found in /var/log/nmbd:
>
> Samba name server MASTER is now a local master browser for workgroup
> PACK on subnet 192.168.0.1
>
> *BUT* I have the following line in the [global] section of smb.conf:
>
> hosts allow=192.168.0. 192.168.1.
>
> I found in docs that above list can be comma-separated, space separated,
> etc..
>
> How the Samba server can be MASTER for _both_ 192.168.0. and 192.168.1.
> subnets? Which in my case could be the problem -just read previous mail-
> ??
>
> Thanks a lot for any help, I'm stuck :-/
>
> --
> Jean-Paul ARGUDO
>
> --
> 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] Word 97 and samba.

2002-12-13 Thread Tommy . Fallsen
Title: Word 97 and samba.





Hi


Are there any known problems with Word 97 and Samba. 
I have couple of users that complain about Word loosing
contact with the server. Sometimes with error msg. sometimes not.
Sometimes behaves like its trying to store something but can't do it.
The user is running Word 97-sr2. Find nothing wrong with
words settings. I have disablet oplocks, did'nt help. Any other options that might help?




Running Samba 2.2.6 on Solaris 8.




~
Tommy Fallsen   System Administrator 
Kongsberg Defence & Aerospace
            Email: [EMAIL PROTECTED]
            TEL: +47 32287783
            WEB: http://www.kongsberg.com/eng/kog/
  


"The information in this e-mail and in any attachments is 
confidential and intended solely for the attention and use 
of the named addressee(s). This information may be subject 
to legal, professional or other privilege and further 
distribution of it is strictly prohibited without our 
authority. If you are not the intended recipient, you 
are not authorised to and must not disclose, copy, distribute, 
or retain this message or any part of it, and should notify 
us immediately."





  1   2   >