Re: samba 3

2003-10-20 Thread Ed Wilts
On Mon, Oct 20, 2003 at 12:10:59PM -0700, R.E. wrote:
> I just insatalled samba 3.0.0 and a weird thing
> happens when a client maps a share.  I want to share
> the / root directory not the root home directory. 
> When I map the shared directory it takes me to the
> root home directory istead of the root (/)
> directory...here's my scheme: 

Generous snipping...

> [homes]
> [root]

The homes share implies that a user can map their home directories.
Well, you have a user called root, so you've got a conflict.  I don't
know what would have happened if you would have reversed the two entries
in your conf file, but I thought I'd explain what happened anyway (I see
you've worked around the issue already).

-- 
Ed Wilts, Mounds View, MN, USA
mailto:[EMAIL PROTECTED]
Member #1, Red Hat Community Ambassador Program


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: samba 3

2003-10-20 Thread R.E.
--- "R.E." <[EMAIL PROTECTED]> wrote:
> Hello,
> 
> I just insatalled samba 3.0.0 and a weird thing
> happens when a client maps a share.  I want to share
> the / root directory not the root home directory. 
> When I map the shared directory it takes me to the
> root home directory istead of the root (/)
> directory...here's my scheme:
> 
> p.s. the other [web] share works fine
> -
> [global]
> workgroup = mshome
> server string = Linuxbox
> netbios name = linuxbox
> security = share
> 
> [homes]
> comment = Home Directories
> browseable = yes
> writable = yes
> 
> [root]
> comment = root directory
> path = /
> read only = no
> writable = true
> write list = @root
> force group = root
> valid users = @root
> create mode = 770
> directory mode = 770
> 
> [web]
> comment = web
> path = /var/www/html
> writable = yes
> read only = no
> write list = @root
> force group = root
> valid users = @root
> create mode = 770
> directory mode = 770
> -
> -rene e
> 
> 
> __
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product
> search
> http://shopping.yahoo.com
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe
>
mailto:[EMAIL PROTECTED]
> https://www.redhat.com/mailman/listinfo/redhat-list

problem solved...thanks anyways

appearently in samba 3 the share [root] takes you to
the root home directory so i renamed it [rootdir] and
it worked fine. :)

-rene e

__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Samba 3.0 on RH7.2 : shared libraries problem - unable to makestack executable ...

2003-10-16 Thread Paul Libert
Gordon,

I reached the same conclusion yesterday and I'm busy building the stuff 
now ...
But it doesn't satisfy my curiosity ... ;-)
Where does this error message come from (dynamic loader, kernel, ???)
Is it due to incompatibilities between binaries generated by different 
compiler versions ?
As said, I searched google for a (detailled) explanation of this message 
but found nothing and I would like to die a little less clueless.

But anyway, thanks for the advice.

Regards.

Paul

--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Samba 3.0 on RH7.2 : shared libraries problem - unable to make stack executable ...

2003-10-15 Thread Gordon Messmer
Paul Libert wrote:
I'm trying to get openLDAP 2.1 and Samba 3.0 on 7.2-enigma (reason : 
this machines has Veritas VXfs and VXvm on it and thus I cannot upgrade 
the kernel ...)
To achieve this, I've upgraded several packages with RawHide and RedHat 
9.0 versions.
Dependencies were OK but now, my system is mostly unusuable.
That's not unusual.  Don't (and by don't, I mean never) use binary 
packages from newer releases of the distribution.  They're almost never 
compatible.  The fact that your system is mostly unusable is no surprise.

Attempt to revert the packages to their original versions.  Failing 
that, reformat your system disks and reinstall the OS properly.

When you've restored your system to a working state, get the src.rpm for 
Samba 3.0 and recompile it on the platform you're using.  If it needs 
additional updates, get their src.rpm and recompile those, too.



--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


RE: Samba Issues

2003-10-07 Thread Wade Chandler
Remember,

You either need to map your linux user accounts to your windows
logins or you need to log into windows using the correct userid and
password for the linux box.

Wade

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Sasa Stupar
Sent: Tuesday, October 07, 2003 9:49 AM
To: [EMAIL PROTECTED]
Subject: Re: Samba Issues


Richard Crawford wrote:
> I'm running Samba 2.3x on a RH 8 box and sharing out my wife's and my
> home directories so that we can access them from our Windows
computers.
> 
> I use the "Map Network Drive" tool under Windows to connect my share 
> on
> the Linux box to my Windows computer as Drive Z:, so I can save files 
> there and edit them on either my Windows computer or my Linux desktop 
> computer.
> 
> Unfortunately, when I save files onto the share, they show up as being
> created and owned by username "nobody".  The consequence of that is
that 
> files I create with Windows cannot be edited with Linux.
> 
> Is there a way to set it up so that files I create in Windows show up 
> as
> owned by my regular Linux user account?  I have tried selecting
"connect 
> as different user" when mapping the remote drive in Windows, but that 
> doesn't help.
> 
> 
> 
You can setup Samba access to USER instead of SHARE and you need to add 
users to linux box eg. you and your wife. Then each of you will have 
it's own folder on linux box with its own permissions.


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Samba Issues

2003-10-07 Thread Sasa Stupar
Richard Crawford wrote:
I'm running Samba 2.3x on a RH 8 box and sharing out my wife's and my 
home directories so that we can access them from our Windows computers.

I use the "Map Network Drive" tool under Windows to connect my share on 
the Linux box to my Windows computer as Drive Z:, so I can save files 
there and edit them on either my Windows computer or my Linux desktop 
computer.

Unfortunately, when I save files onto the share, they show up as being 
created and owned by username "nobody".  The consequence of that is that 
files I create with Windows cannot be edited with Linux.

Is there a way to set it up so that files I create in Windows show up as 
owned by my regular Linux user account?  I have tried selecting "connect 
as different user" when mapping the remote drive in Windows, but that 
doesn't help.



You can setup Samba access to USER instead of SHARE and you need to add 
users to linux box eg. you and your wife. Then each of you will have 
it's own folder on linux box with its own permissions.

--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Samba on Solaris

2003-10-07 Thread Rhugga
Thomas Fortner wrote:

Hi Yoss,

I've used Samba on Solaris on both Sparc and Intel hardware and it works
almost identically to Samba on Linux. The locations of the Samba files
are different because Red Hat nicely integrates Samba into the OS. On
Solaris, the default is /usr/local/samba. You may need to write or
customize the /etc/init.d script, depending on which version of Samba
you install.
 

Just FYI: There is no functional difference between running Samba on any 
platform. Where the files are located are merely the options selected 
when configuring and compiling the source tree. The main difference is 
that Samba is a default  component of the Red Hat distribution, wherein 
it falls under the standard directories. On Solaris, it is a 3rd party 
package and /usr/local is the preferable place for this because this 
location is both compatible and safe from OS upgrades and patches. Same 
thing with the Apache server, man, do you know anyone that likes the way 
Red Hat splits it up? Even the apache inventors balk at Red Hat's 
concept of directory structures.

Samba is merely just a way of making a Unix file server 'SMB aware'. At 
a rudimentary level, samba and NFS are the same, just based on different 
protocols.

I used Samba on a dual processor Sun Enterprise 450 with 120 home
directories and 40 shares with a variety of security permissions. This
same server also ran a Lotus Notes email server. It proved to be
Microsoft virus proof and ran for months between reboots. Samba is very
efficient with system resources, so performance was excellent. Solaris
dedicated one of the processors for running the Notes server, so
file/print requests were fast and reliable.
If someone from Red Hat is listening, I've been running Red Hat since
version 5.2. I'm on 9.0 now, and I use the boxed version for my
workstation that doubles as a Samba domain and file/print, DNS, DHCP and
NFS server. It also runs Win4Lin so I can support my "legacy
applications." If you take those functions out of the lower priced
distributions (call it workstation or whatever), you take away my
primary training tool. I can't afford to buy Enterprise to run at home
on a two or three user network. 

If you want us to install a licensed Enterprise version in the server
room, I'm OK with that. We'll buy it with the hardware. But please don't
cripple the low end boxed versions. You'll cripple my training program
if you do. Please don't act like Microsoft and try to drain our wallets
through licensing costs.
 

No matter what Red Hat includes with their distrobution, the software 
will still always be free and downloadable. I usually prefer to build my 
own packages as opposed to the rpm's because many times they are 
compiled w/o common features, compiled uncleanly, or configured improperly.

When you buy Red Hat, you are really just paying them for the 'labor 
costs' of assembling the packages, creating the documentation, etc... 
The actual software is free and open-source. (there are some exceptions)

Tom

Thomas S. Fortner 
Burleson, Texas 
[EMAIL PROTECTED] 
"but we preach Christ crucified..."  1 Corinthians 1:23 

Message: 40
Subject: RE: How to integrate all systems?
Date: Mon, 6 Oct 2003 13:33:58 +0700
From: "Test Admin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Looks like I've met the expert from other side of the continent.
Currently I'm using SAMBA 2.1.x in my RH8, it's PDC for our
network...for user authentication propose only.
Now, I'm trying with other OS, for start point, I have Sun Solaris 2.x
in another network. Anyone has experience on SAMBA installation in this 
platform ? Please share with me

Best Rgds
TIA
Yoss
 



--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


RE: Samba on Solaris

2003-10-07 Thread Test Admin
Hello Tom

Thanks a lot for your information, 
 
Yes, you correct, we've spent a lot of money to buy Bill Gates's products.
Now, due to cost reduction, gradually we're migrating to Linux and I hope
we're supporting by RH community. Thanks again!

Best Regards
Yoss
Other side of Asia


-Original Message-
From: Thomas Fortner [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 06, 2003 6:42 PM
To: Red Hat Support List
Subject: Samba on Solaris

Hi Yoss,

I've used Samba on Solaris on both Sparc and Intel hardware and it works
almost identically to Samba on Linux. The locations of the Samba files
are different because Red Hat nicely integrates Samba into the OS. On
Solaris, the default is /usr/local/samba. You may need to write or
customize the /etc/init.d script, depending on which version of Samba
you install.

I used Samba on a dual processor Sun Enterprise 450 with 120 home
directories and 40 shares with a variety of security permissions. This
same server also ran a Lotus Notes email server. It proved to be
Microsoft virus proof and ran for months between reboots. Samba is very
efficient with system resources, so performance was excellent. Solaris
dedicated one of the processors for running the Notes server, so
file/print requests were fast and reliable.


If someone from Red Hat is listening, I've been running Red Hat since
version 5.2. I'm on 9.0 now, and I use the boxed version for my
workstation that doubles as a Samba domain and file/print, DNS, DHCP and
NFS server. It also runs Win4Lin so I can support my "legacy
applications." If you take those functions out of the lower priced
distributions (call it workstation or whatever), you take away my
primary training tool. I can't afford to buy Enterprise to run at home
on a two or three user network. 

If you want us to install a licensed Enterprise version in the server
room, I'm OK with that. We'll buy it with the hardware. But please don't
cripple the low end boxed versions. You'll cripple my training program
if you do. Please don't act like Microsoft and try to drain our wallets
through licensing costs.

Tom

Thomas S. Fortner 
Burleson, Texas 
[EMAIL PROTECTED] 
"but we preach Christ crucified..."  1 Corinthians 1:23 


Message: 40
Subject: RE: How to integrate all systems?
Date: Mon, 6 Oct 2003 13:33:58 +0700
From: "Test Admin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]

Looks like I've met the expert from other side of the continent.
Currently I'm using SAMBA 2.1.x in my RH8, it's PDC for our
network...for user authentication propose only.

Now, I'm trying with other OS, for start point, I have Sun Solaris 2.x
in another network. Anyone has experience on SAMBA installation in this 
platform ? Please share with me

Best Rgds
TIA
Yoss


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: samba and windoze98

2003-10-06 Thread Nathalie Boulos
Yes the win98 is in the same workgroup defined in
smb.conf.
Although i've always been able to connect from another
workgroup on prior version of samba (on RH7.1)


--- John Nichel <[EMAIL PROTECTED]> wrote:
> Nathalie Boulos wrote:
> > Hello,
> > 
> > I configured samba-2.2.5-10 on RH8 for file
> sharing.
> > Access from win2k and winXP is smooth and with no
> > problem.
> > 
> > Access from win98 gives the following error:
> > 
> > Error 53: The computer name specified in the
> network
> > path cannot bee located. Make sure you are
> specifying
> > the computer name correctly or try again later
> when
> > the remote computer is available.
> > 
> > Prior version of samba, on RH7.1 is accessible
> from
> > win98 with no problem.
> 
> Is the Win98 system in the same workgroup?  Did you
> specify that 
> workgroup in the smb.conf file?
> 
> -- 
> By-Tor.com
> It's all about the Rush
> http://www.by-tor.com
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe
>
mailto:[EMAIL PROTECTED]
> https://www.redhat.com/mailman/listinfo/redhat-list


__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: samba and windoze98

2003-10-06 Thread John Nichel
Nathalie Boulos wrote:
Hello,

I configured samba-2.2.5-10 on RH8 for file sharing.
Access from win2k and winXP is smooth and with no
problem.
Access from win98 gives the following error:

Error 53: The computer name specified in the network
path cannot bee located. Make sure you are specifying
the computer name correctly or try again later when
the remote computer is available.
Prior version of samba, on RH7.1 is accessible from
win98 with no problem.
Is the Win98 system in the same workgroup?  Did you specify that 
workgroup in the smb.conf file?

--
By-Tor.com
It's all about the Rush
http://www.by-tor.com
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


RE: samba and windoze98

2003-10-06 Thread Rigler, Steve


> i dont have to work with win98 anymore fortunately, so i 
> might be wrong. 
> But i think with win98 you have to check in the smb config 
> file if you are 
> encrypting the login or not. I dont remember the exact 
> setting or if it 
> would give you the error you are getting. But if the prior 
> version of samba 
> worked, you might want to look in the config file and see if 
> you can spot 
> the setting i am talking about.
> 
> Ian 


IIRC, that was only an issue with Doze <= W95 OSR1.

-Steve


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: samba and windoze98

2003-10-06 Thread Ian L
At 05:43 AM 10/6/2003, you wrote:
Hello,

I configured samba-2.2.5-10 on RH8 for file sharing.
Access from win2k and winXP is smooth and with no
problem.
Access from win98 gives the following error:

Error 53: The computer name specified in the network
path cannot bee located. Make sure you are specifying
the computer name correctly or try again later when
the remote computer is available.
Prior version of samba, on RH7.1 is accessible from
win98 with no problem.
Please advise.

Regards
Nathalie
i dont have to work with win98 anymore fortunately, so i might be wrong. 
But i think with win98 you have to check in the smb config file if you are 
encrypting the login or not. I dont remember the exact setting or if it 
would give you the error you are getting. But if the prior version of samba 
worked, you might want to look in the config file and see if you can spot 
the setting i am talking about.

Ian 



--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


RE: Samba PDC - WinXP Issues

2003-09-30 Thread Barry Johnson
You are missing a couple of things, mostly the setup on the xp machine,
check this out
http://groups.google.com/groups?q=windows+xp+samba+pdc&hl=en&lr=&ie=UTF-
8&oe=utf-8&selm=slrnb0rk25.6ua.sy_nttvr%40gurcragntba.pbz&rnum=2 , and
everything should work fine.

Barry Johnson
Systems Administrator


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Simran Hansrai
Sent: Monday, September 29, 2003 8:43 PM
To: [EMAIL PROTECTED]
Subject: Samba PDC - WinXP Issues


Hi Guys,

I have installed and configured samba on a redhat 8.0 box to act as a 
PDC.  When I try and add a user to my domain from my WinXP client 
machine, I get the following error:

"The user could not be added because of the following error has occured:

 The trust relationship between this workstation and the primary domain 
failed."

I have search google.com and have tried a couple of different things but

none seem to work.

The following is my entry for my workstations in /etc/passwd:
enermax$:x:534:201:enermax:/dev/null:/bin/false
jeonamur$:x:535:201:jeonamur:/dev/null:/bin/false

/etc/smbpasswd:
jeonamur$:535:AE7D4C9527EFD952B97F4EB3E2D4130F:3E7FE739CDEB16486F4686B96
ED02CBF:[W 
 ]:LCT-3F78B510:
enermax$:534:DA838D55F99FD0BC6879F19168D4B105:F47AE8F4B8B7E2B13F237B7384
9D4799:[W 
 ]:LCT-3F78CF75:


-
smb.conf
-
[global]

   ;basic server settings
   workgroup = chamkila.org
   netbios name = manak
   server string = Samba PDC running %v
   socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 
SO_RCVBUF=8192
   unix password sync = yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password* 
%n\n *Enter*new*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n 
*passwd: *all*authentication*tokens*updated*successfully*
   add user script = /usr/sbin/adduser -n -g machines -c Machine -d 
/dev/null -s /bin/false %m$

   ;PDC and master browser settings
   os level = 64
   preferred master = yes
   local master = yes
   domain master = yes
   domain logons = yes
   domain admin group = simran administrator aman

   ;security and logging settings
   security = user
   status = yes
   encrypt passwords = yes
   log file = /var/log/samba/log.%m
   log level = 2
   max log size = 50
   hosts allow = 127.0.0.1 192.168.0.0/255.255.255.0
   ;user profiles and home directory

   logon home = \\%L\%U\
   logon drive = H:
   logon path = \\%L\profiles\%U
   logon script = netlogon.bat

   wins support = yes
   dns proxy = yes
   wins proxy = yes
#  shares 
[homes]
  comment = Home Directories
  browseable = no
  writeable = yes
[profiles]
  path = /home/samba/profiles
  writeable = yes
  browseable = no
  create mask = 0600
  directory mask = 0700
[netlogon]
  comment = Network Logon Service
  path = /home/netlogon
  read only = yes
  browseable = no
  write list = tom



Is there something that I am missing?  Any suggestions or comments would

be grately appreciated.

Thanks in advance,
-- 
Simran H.
[EMAIL PROTECTED]




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


RE: Samba Access Question

2003-09-29 Thread James Williams
In your smb.conf make sure you have the samba work group the same as
other computers on your lan and restart the samba services.

James Williams
Network Systems Engineer


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Simran Hansrai
Sent: Monday, September 29, 2003 1:35 PM
To: [EMAIL PROTECTED]
Subject: Samba Access Question

Hi Guys,

I have a redhat 8.0 box that has samba running on it and a solaris 9 box

that is running dns services.  Now, when I access my samba account from 
my windows box it works just fine when I do //192.168.0.x from 
start->run, however when I try //hostname it does not seem to work.  Is 
there a reason why this is not working with the dns name but works when 
I use the explicit IP?  We services work just fine when I access the web

services using the hostname.  

Any suggestions or comments are greatly appreciated.

Thanks,
-- 
Simran H.
[EMAIL PROTECTED]
www.chamkila.org



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Samba Access Question {RESOLVED}

2003-09-29 Thread Simran Hansrai




Hi Guys,

Thanks to Ed Wilts for pointing me to the right direction.  In my smb.conf
for samba I turned on the option for it to act as a WINS server and added
the ip for my redhat box in the tcp/ip wins section of my windows nic and
it works now :)  \\hostname ...

Thanks again,
-- 
Simran H.
[EMAIL PROTECTED]
www.chamkila.org


Simran Hansrai wrote:
 
  
  
 Update: It does seem to work with \\hostname.domain.org but not \\hostname... 
however, when I try http://hostname that seems to work perfectly..
I am missing something??
 
 Thanks
 
 Simran Hansrai wrote:
 

 


 Actually I do have my search domian setup correctly, under the tcp/ip 
settings of my nic - Advanced - Append these DNS suffixes has my domain name 
in their.  This is why my web services work without me manually adding .domain.org
 everytime I need to access my website.  Could this be on the WINS side then
 maybe?  I have not setup anything on that side since I thought this was
a  dns lookup when I do \\hostname.  
  
  Thanks for your response,
  
  Ed Wilts wrote:
 

  On Mon, Sep 29, 2003 at 11:34:45AM -0700, Simran Hansrai wrote:
  
 
  
I have a redhat 8.0 box that has samba running on it and a solaris 9 box 
that is running dns services.  Now, when I access my samba account from 
my windows box it works just fine when I do //192.168.0.x from 
start->run, however when I try //hostname it does not seem to work. 


 
  
//hostname is not really a DNS name.  Windows will first try a WINS
lookup, and then try a DNS lookup after appending your default search
domain.  It's quite likely that either your host is not registered in
the DNS or that you have not set your default search domain properly.

  
  
 
-- 
Simran H.
[EMAIL PROTECTED]
www.chamkila.org
  
  
 
 
  -- 
Simran H.
[EMAIL PROTECTED]
www.chamkila.org
 
 








Re: Samba Access Question

2003-09-29 Thread Simran Hansrai




Update: It does seem to work with \\hostname.domain.org but not \\hostname...
however, when I try http://hostname that seems to work perfectly.. I am missing
something??

Thanks

Simran Hansrai wrote:
 
  
  
 Actually I do have my search domian setup correctly, under the tcp/ip
settings of my nic - Advanced - Append these DNS suffixes has my domain name
in their.  This is why my web services work without me manually adding .domain.org 
everytime I need to access my website.  Could this be on the WINS side then 
maybe?  I have not setup anything on that side since I thought this was a 
dns lookup when I do \\hostname.  
 
 Thanks for your response,
 
 Ed Wilts wrote:
 
   
 
On Mon, Sep 29, 2003 at 11:34:45AM -0700, Simran Hansrai wrote:
  
   
 
  I have a redhat 8.0 box that has samba running on it and a solaris 9 box 
that is running dns services.  Now, when I access my samba account from 
my windows box it works just fine when I do //192.168.0.x from 
start->run, however when I try //hostname it does not seem to work. 

   
   

//hostname is not really a DNS name.  Windows will first try a WINS
lookup, and then try a DNS lookup after appending your default search
domain.  It's quite likely that either your host is not registered in
the DNS or that you have not set your default search domain properly.

  
 
 
  -- 
Simran H.
[EMAIL PROTECTED]
www.chamkila.org
 
 

-- 
Simran H.
[EMAIL PROTECTED]
www.chamkila.org





Re: Samba Access Question

2003-09-29 Thread Simran Hansrai




Actually I do have my search domian setup correctly, under the tcp/ip settings
of my nic - Advanced - Append these DNS suffixes has my domain name in their.
 This is why my web services work without me manually adding .domain.org
everytime I need to access my website.  Could this be on the WINS side then
maybe?  I have not setup anything on that side since I thought this was a
dns lookup when I do \\hostname.  

Thanks for your response,

Ed Wilts wrote:

  On Mon, Sep 29, 2003 at 11:34:45AM -0700, Simran Hansrai wrote:
  
  
I have a redhat 8.0 box that has samba running on it and a solaris 9 box 
that is running dns services.  Now, when I access my samba account from 
my windows box it works just fine when I do //192.168.0.x from 
start->run, however when I try //hostname it does not seem to work. 

  
  
//hostname is not really a DNS name.  Windows will first try a WINS
lookup, and then try a DNS lookup after appending your default search
domain.  It's quite likely that either your host is not registered in
the DNS or that you have not set your default search domain properly.

  

-- 
Simran H.
[EMAIL PROTECTED]
www.chamkila.org





Re: Samba Access Question

2003-09-29 Thread Ed Wilts
On Mon, Sep 29, 2003 at 11:34:45AM -0700, Simran Hansrai wrote:
> I have a redhat 8.0 box that has samba running on it and a solaris 9 box 
> that is running dns services.  Now, when I access my samba account from 
> my windows box it works just fine when I do //192.168.0.x from 
> start->run, however when I try //hostname it does not seem to work. 

//hostname is not really a DNS name.  Windows will first try a WINS
lookup, and then try a DNS lookup after appending your default search
domain.  It's quite likely that either your host is not registered in
the DNS or that you have not set your default search domain properly.

-- 
Ed Wilts, Mounds View, MN, USA
mailto:[EMAIL PROTECTED]
Member #1, Red Hat Community Ambassador Program


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Samba 3

2003-09-28 Thread Ed Wilts
On Sun, Sep 28, 2003 at 09:50:05AM -0400, Patrick Cable II wrote:
> Anywho, I'm wondering if the samba config tools will be any
> different with the arrival of Samba 3.0.0, and if so is there any
> projected date for release? I am working on a project with my
> school district and i need to make this stuff easy to maintain for
> the the tech director (go figure, eh?)

A release candidate for samba 3.0 is already in rawhide so I would
expect it to be in the fedora release.  A release candidate is also in
the taroon beta so I would expect it to be in rhel 3 too.

When talking about projected release dates, you need to specify which
Red Hat product you're talking about.  I would not expect Red Hat to
backport samba 3.0 to any of the production releases currently out there
(RHL 9, AS2.1).

-- 
Ed Wilts, Mounds View, MN, USA
mailto:[EMAIL PROTECTED]
Member #1, Red Hat Community Ambassador Program


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


RE: samba now works

2003-09-28 Thread Jason Staudenmayer
Why not just run apache on the Linux box? It would far more stable on Linux
than windows, and it's probably already installed and started. Remember
software is only as strong as the OS it's running on.

-Original Message-
From: Rene's Caltech Email [mailto:[EMAIL PROTECTED] 
Sent: Saturday, September 27, 2003 7:12 PM
To: [EMAIL PROTECTED]
Subject: samba now works


thanks to those that helped with samba...it worked!
now i have another problem...iis webserver using the samba share as its 
wwwroot directory...iis sucked and i installed apache server for windows 
and now i have to configure it to use the samba share or private ip.  its 
just a mtter of learning how apache for win works so i can map it.


thanks again,


-- 
-Rene Enriquez
[EMAIL PROTECTED]


"The devil will find work for idle hands to do!"
-The Smiths


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


RE: samba writable share

2003-09-27 Thread Buck
Did you set the permissions on the folders?

Buck

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Rene's Caltech Email
Sent: Sunday, September 28, 2003 1:51 AM
To: [EMAIL PROTECTED]
Subject: samba writable share


im having trouble creating a writable share...i can access the share but

cant write...heres my scheme:

[global]
 
# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = workgroup
netbios name = linuxbox
#security = user
map to guest = Bad User

[web]
comment = web
path = /var/www/html
writable = true
read only = no
public = yes


-- 
-Rene Enriquez
[EMAIL PROTECTED]


"The devil will find work for idle hands to do!"
-The Smiths


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list





-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: samba writable share

2003-09-27 Thread Rene's Caltech Email
problem solved...it was the xp client that was the problem...i mapped the 
drive through console instead of using explorer which didnt work. xp has 
alot of quirks

-- 
-Rene Enriquez
[EMAIL PROTECTED]


"The devil will find work for idle hands to do!"
-The Smiths


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: samba now works

2003-09-27 Thread Bret Hughes
On Sat, 2003-09-27 at 20:25, Rhugga wrote:
> Rene's Caltech Email wrote:
> 
> >thanks to those that helped with samba...it worked!
> >now i have another problem...iis webserver using the samba share as its 
> >wwwroot directory...iis sucked and i installed apache server for windows 
> >and now i have to configure it to use the samba share or private ip.  its 
> >just a mtter of learning how apache for win works so i can map it.
> >
> >
> >thanks again,
> >
> >
> >  
> >
> Yea, you need to configure a  section for the samba-mounted 
> filesystem unless it is already under your document root. However, not 
> sure if that is a good idea, Samba is not designed for 24x7 production 
> use. The samba documents describe samba as a means for 'occasional unix 
> file access' from Windows systems. 
> 

Huh. I have never seen even a hint of this reference.  Not saying it is
not there but our small office has used it for over three years with no
issues and I helped setup a redhat 8 box this year in an Accounting FIrm
that has about 50 users hitting a samba share constantly as a file
server with several applications tax packages and others that store all
the appdata on the server.  All locking works perfectly and it is way
faster than the NT box it used to be on.

there are some issues that are tunable with OPLOCKS I believe but we
have never run into them.

I would recommend samba without fail as a result of my experience.

Bret
 


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: samba now works

2003-09-27 Thread Rhugga
Rene's Caltech Email wrote:

thanks to those that helped with samba...it worked!
now i have another problem...iis webserver using the samba share as its 
wwwroot directory...iis sucked and i installed apache server for windows 
and now i have to configure it to use the samba share or private ip.  its 
just a mtter of learning how apache for win works so i can map it.

thanks again,

 

Yea, you need to configure a  section for the samba-mounted 
filesystem unless it is already under your document root. However, not 
sure if that is a good idea, Samba is not designed for 24x7 production 
use. The samba documents describe samba as a means for 'occasional unix 
file access' from Windows systems. There may also be some locking issues 
involved as well.

If you merely want to edit your web content from Unix, do the reverse. 
Store the files on Windows and then mount the Windows share into your 
Unix filesystem. I use setups like this in heavy-duty production 
infrastrutures with little problems.

-Chuck



--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: samba share auth

2003-09-27 Thread Brad Smith
If you're working with Windows clients, my experience has been that they
tend to try and log in with whatever login info they have and/or prompt
the user for login info, which generally results in failed authenticated
logins instead of guest logins. The following in your global section:

map to guest  = bad user

will cause anyone who tries to connect with a username that doesn't
exist on the system to be treated as a guest login. Perhaps that would
be useful to you. 

--Brad

On Sat, 2003-09-27 at 16:07, Rene's Caltech Email wrote:
> what configuration do i have to do so no authentication and password is 
> asked for in a samba share
> heres my setup attached:
> i want to share the html folder with just read rights.
> 
> 
> 
> thanks ahead of time,


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


RE: samba share auth

2003-09-27 Thread Jason Staudenmayer
guest = ok
read only = ok


-Original Message-
From: Rene's Caltech Email [mailto:[EMAIL PROTECTED] 
Sent: Saturday, September 27, 2003 4:07 PM
To: [EMAIL PROTECTED]
Subject: samba share auth


what configuration do i have to do so no authentication and password is 
asked for in a samba share
heres my setup attached:
i want to share the html folder with just read rights.



thanks ahead of time,

-- 
-Rene Enriquez
[EMAIL PROTECTED]


"The devil will find work for idle hands to do!"
-The Smiths


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


RE: samba share auth

2003-09-27 Thread Mohit Raina - Infrastructure Monitoring Team
Hi,

Please try this

[EBOOKERS_TEST]
path = /var/www/html/
read only = Yes

Cheers

-Original Message-
From: Rene's Caltech Email [mailto:[EMAIL PROTECTED] 
Sent: Sunday, September 28, 2003 1:37 AM
To: [EMAIL PROTECTED]
Subject: samba share auth

what configuration do i have to do so no authentication and password is 
asked for in a samba share
heres my setup attached:
i want to share the html folder with just read rights.



thanks ahead of time,

-- 
-Rene Enriquez
[EMAIL PROTECTED]


"The devil will find work for idle hands to do!"
-The Smiths


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Samba Usage Monitor

2003-09-26 Thread Jason Dixon
On Fri, 2003-09-26 at 18:27, Krautkramer, John wrote:
> Hi Jason,
> 
> I thought about writing something like that but was hoping there was something
> already available, possibly similar to the web site monitor Webalizer.
> 
> I'd like to who is using what and when.

I'm not really using anything.  I use smbstatus if I ever need something
to help me troubleshoot smb connections.  Where would something like
Sambalizer (I officially copyright that name!) really be of practical
use?

> PS: I'm new to using this list. How are you supposed to 'reply' to a posting? I 
> don't see the obvious method. I'm using cut and paste into a new message.

It's list etiquette to append replies after the relevant sections of the
email you're replying to.  If you notice, I've just replied "inline" to
your questions.  I've also trimmed text that is no longer relevant.

It's considered good form NOT to "top-post".  This is where you simply
hit reply, then start typing at the top of the email.  Replies like this
(yours falls into this category) are harder to follow and tend to
receive less attention from some participants.

-- 
Jason Dixon, RHCE
DixonGroup Consulting
http://www.dixongroup.net


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Samba Usage Monitor

2003-09-26 Thread Krautkramer, John
Hi Jason,

I thought about writing something like that but was hoping there was something
already available, possibly similar to the web site monitor Webalizer.

I'd like to who is using what and when.

Thanks,

John

PS: I'm new to using this list. How are you supposed to 'reply' to a posting? I 
don't see the obvious method. I'm using cut and paste into a new message.

>> Hi,
>> 
>> Does anyone know of a usage monitor for Samba to run on RedHat 9.0? I'd like to 
>> keep 
>> track of who is using what resources. The RedHat machine is setup as a server for a
>> group of WinNT and Win200 users.
>
>What kind of statistics are you looking for?  smbstatus will print out a
>list of all running smb processes and locked resources.  It would be
>trivial to write a top-like perl script to display summaries for user,
>remote system, share, etc.
>
>-- 
>Jason Dixon, RHCE
>DixonGroup Consulting
>http://www.dixongroup.net


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Samba Usage Monitor

2003-09-26 Thread Jason Dixon
On Fri, 2003-09-26 at 17:30, Krautkramer, John wrote:
> Hi,
> 
> Does anyone know of a usage monitor for Samba to run on RedHat 9.0? I'd like to keep 
> track of who is using what resources. The RedHat machine is setup as a server for a
> group of WinNT and Win200 users.

What kind of statistics are you looking for?  smbstatus will print out a
list of all running smb processes and locked resources.  It would be
trivial to write a top-like perl script to display summaries for user,
remote system, share, etc.

-- 
Jason Dixon, RHCE
DixonGroup Consulting
http://www.dixongroup.net


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Samba don't add users from NT PDC

2003-09-22 Thread Gordon Messmer
Cleber P. de Souza wrote:
I have been configuring smb.conf, but the system don't add automatic users
to the system.
The add user script has been configured like this:
Security = share
Password server = 192.168.1.1
Add user script = /usr/sbin/adduser -g users -M -c "NT User" -s /dev/null %u
&& /usr/bin/smbpasswd -a %u
Delete user script = /usr/bin/smbpasswd -x %u && /usr/sbin/userdel %u
If the user was added manually it's ok.
What can to be wrong?
As "man smb.conf" states:

  In  order to use this option, smbd must NOT be set to security =
  share
You set security = share.  Thus, it doesn't work.

--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Samba Question: Want to enable specific users from windows domain to access samba share.

2003-09-17 Thread Sean Estabrooks
On Wed, 17 Sep 2003 13:23:40 +0300
[EMAIL PROTECTED] wrote:

> Hi All,
> 
> I want to enable two users from our windows domain to access particular
> share from my samba server. I am new to linux ... please help me out.
> 
> I'd setup public share and configured samba long time before. It works fine.
> Now I want to create new share to give access to particular users. Here is
> how I did that.
> 
> * I created a folder, lets say "folder" in my Linux box.
> * Change its permission to 0765.
> * The user names of the windows network are "14200" and "14210".
> * I tried # smbadduser 14200:My_name
> * It gives me error 14200 is not in PASSWD database SKIPPING...
> * Then I tried to create a user with # adduser 14200
> * It gives the error not a valid name. (It seems to me that Linux does
> not support only numeric characters in user name). 
> 


Hi Yasir,

You are correct that user names should not start with a number.
Fortunately Samba allows you to map SMB names to local
user names.

You were on the right track with smbadduser except that
the local name has to come first.

smbadduser  My_name:14200

also make sure this line is uncommented in your smb.conf file:

 username map = /etc/samba/smbusers

This tells Samba to use the mappings found in the 
smbusers file which looks like this:

Cheers,
Sean


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: samba and iptables

2003-09-15 Thread Ian L

Hmm, looks like i got it working by playing with the config file a bit more.

-A RH-Lokkit-0-50-INPUT -i eth0 -p tcp -m multiport --dport 135,139,445 
-j ACCEPT
-A RH-Lokkit-0-50-INPUT -i eth0 -p udp -m multiport --dport 
135,137,138,139,445  -j ACCEPT

those are the two lines i added, which seem to have it working now. One 
last question though ... what's the parameter to tell it to only accept 
this traffic from a specific IP? is it -s ip-address ?

thanks for the help,

ian

Hi Ian,

I was just having the same problem and here is what Ben told me to do. 
This is a quote from him:

Yep, if this box is your firewall, protecting your windows clients from the
internet, you could be in some serious trouble right now...
If we assume that you are running a standard class C network, then I think
the two rules should look like:
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp -s 192.168.1.0/24 --dport 137:139 -j
ACCEPT
-A RH-Lokkit-0-50-INPUT -p udp -m udp -s 192.168.1.0/24 --dport 137:139 -j
ACCEPT
the -s option tells iptables what source IPs to match the packet against, so
if your ip range is different, you'll need to put a different number there.
Of course, there's always shorewall (http://www.shorewall.net) :)
Ben

HTH.  It sure has helped me out.

Lee Perez
thanks!

Ian 

--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: samba and iptables

2003-09-15 Thread cajun
Ian L wrote:

At 05:43 PM 9/15/2003, you wrote:

On Mon, 2003-09-15 at 20:32, Ian L wrote:
> Hey all,
>
> I'm trying to set up samba to work with a win2k3 server and a redhat 8
> server. I've got samba 2.x installed. It seems to be working, 
although i
> havent finished setting up all the user permissions. When i turn 
iptables
> off, i get a password prompt in windows when i click on the server.
>
> when i turn ip tables on, it just sits for 20 seconds and then 
tells me i
> dont have permission to access this network resource.

Hi Ian.  Hopefully I can offer a suggestion that will not only solve
your problem, but show *you* how to do it.  You know, the old "give a
man a fish" theory.  ;-)
Install tcpdump, if you don't have it already.  Determine what traffic
(SSH, HTTP, DNS, etc.) you might see across the relevant network
interface (eth1?) that Samba traffic should traverse.  Now, run the
following (with iptables enabled):
"tcpdump -ni eth1 not port 22 and not port 80 and not port 53"
(etc, etc.)  Include a "and not port XX" for each known service you
*don't* want to see.  This should (hopefully) reveal which
ports/protocols that Samba is using.  Those will be the ones you'll want
to add to your iptables ruleset to allow SMB traffic through.
There's always a chance that you'll catch more traffic than you expect.
It's a case of trial and error.  You're generally looking for TCP/UDP
traffic between ports 135-139 and possibly 445.  Hope this helps!


Thanks,

i do appreciate the information. however, i think i have information 
overload from tcpdump right now. There is a LOT of info scrolling 
across the screen. Some of it i can figure out what its trying to do, 
although i cant figure out ports or anything useful for iptables. Most 
of the traffic seems to be broadcast messages from other networked 
PC's and printers. It became a little more readable if i used -nnqi 
but it was still mostly greek to me.

I did try allowing ports 135-139 and 445 in iptables for both tcp and 
udp. But i guess i did something wrong.

Hmm, looks like i got it working by playing with the config file a bit 
more.

-A RH-Lokkit-0-50-INPUT -i eth0 -p tcp -m multiport --dport 
135,139,445 -j ACCEPT
-A RH-Lokkit-0-50-INPUT -i eth0 -p udp -m multiport --dport 
135,137,138,139,445  -j ACCEPT

those are the two lines i added, which seem to have it working now. 
One last question though ... what's the parameter to tell it to only 
accept this traffic from a specific IP? is it -s ip-address ?

thanks for the help,

ian


Hi Ian,

I was just having the same problem and here is what Ben told me to do. 
This is a quote from him:

Yep, if this box is your firewall, protecting your windows clients from the
internet, you could be in some serious trouble right now...
If we assume that you are running a standard class C network, then I think
the two rules should look like:
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp -s 192.168.1.0/24 --dport 137:139 -j
ACCEPT
-A RH-Lokkit-0-50-INPUT -p udp -m udp -s 192.168.1.0/24 --dport 137:139 -j
ACCEPT
the -s option tells iptables what source IPs to match the packet against, so
if your ip range is different, you'll need to put a different number there.
Of course, there's always shorewall (http://www.shorewall.net) :)
Ben

HTH.  It sure has helped me out.

Lee Perez



--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


RE: samba and iptables

2003-09-15 Thread Tapang, Roderick (GXS)
Hi,

>-Original Message-
>From: Ian L [mailto:[EMAIL PROTECTED]
>Sent: Monday, September 15, 2003 8:33 PM
>To: [EMAIL PROTECTED]
>Subject: samba and iptables
>
>
>Hey all,
>
>I'm trying to set up samba to work with a win2k3 server and a redhat 8 
>server. I've got samba 2.x installed. It seems to be working, 
>although i 
>havent finished setting up all the user permissions. When i 
>turn iptables 
>off, i get a password prompt in windows when i click on the server.
>
>when i turn ip tables on, it just sits for 20 seconds and then 
>tells me i 
>dont have permission to access this network resource.

open ports 137-139 (tcp/udp) on your samba machine.

or u can make use of iptraf:

(as root)

iptraf -s eth0

on your linux machine to watch how your windows machine
connects (what port and protos) to your linux machine when
iptables is turned off. after that, make the changes
to your iptables ruleset and then turn it on.

hth.


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: samba and iptables

2003-09-15 Thread Ian L
At 05:43 PM 9/15/2003, you wrote:
On Mon, 2003-09-15 at 20:32, Ian L wrote:
> Hey all,
>
> I'm trying to set up samba to work with a win2k3 server and a redhat 8
> server. I've got samba 2.x installed. It seems to be working, although i
> havent finished setting up all the user permissions. When i turn iptables
> off, i get a password prompt in windows when i click on the server.
>
> when i turn ip tables on, it just sits for 20 seconds and then tells me i
> dont have permission to access this network resource.
Hi Ian.  Hopefully I can offer a suggestion that will not only solve
your problem, but show *you* how to do it.  You know, the old "give a
man a fish" theory.  ;-)
Install tcpdump, if you don't have it already.  Determine what traffic
(SSH, HTTP, DNS, etc.) you might see across the relevant network
interface (eth1?) that Samba traffic should traverse.  Now, run the
following (with iptables enabled):
"tcpdump -ni eth1 not port 22 and not port 80 and not port 53"
(etc, etc.)  Include a "and not port XX" for each known service you
*don't* want to see.  This should (hopefully) reveal which
ports/protocols that Samba is using.  Those will be the ones you'll want
to add to your iptables ruleset to allow SMB traffic through.
There's always a chance that you'll catch more traffic than you expect.
It's a case of trial and error.  You're generally looking for TCP/UDP
traffic between ports 135-139 and possibly 445.  Hope this helps!
Thanks,

i do appreciate the information. however, i think i have information 
overload from tcpdump right now. There is a LOT of info scrolling across 
the screen. Some of it i can figure out what its trying to do, although i 
cant figure out ports or anything useful for iptables. Most of the traffic 
seems to be broadcast messages from other networked PC's and printers. It 
became a little more readable if i used -nnqi but it was still mostly greek 
to me.

I did try allowing ports 135-139 and 445 in iptables for both tcp and udp. 
But i guess i did something wrong.

Hmm, looks like i got it working by playing with the config file a bit more.

-A RH-Lokkit-0-50-INPUT -i eth0 -p tcp -m multiport --dport 135,139,445 -j 
ACCEPT
-A RH-Lokkit-0-50-INPUT -i eth0 -p udp -m multiport --dport 
135,137,138,139,445  -j ACCEPT

those are the two lines i added, which seem to have it working now. One 
last question though ... what's the parameter to tell it to only accept 
this traffic from a specific IP? is it -s ip-address ?

thanks for the help,

ian

--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: samba and iptables

2003-09-15 Thread Jason Dixon
On Mon, 2003-09-15 at 20:32, Ian L wrote:
> Hey all,
> 
> I'm trying to set up samba to work with a win2k3 server and a redhat 8 
> server. I've got samba 2.x installed. It seems to be working, although i 
> havent finished setting up all the user permissions. When i turn iptables 
> off, i get a password prompt in windows when i click on the server.
> 
> when i turn ip tables on, it just sits for 20 seconds and then tells me i 
> dont have permission to access this network resource.

Hi Ian.  Hopefully I can offer a suggestion that will not only solve
your problem, but show *you* how to do it.  You know, the old "give a
man a fish" theory.  ;-)

Install tcpdump, if you don't have it already.  Determine what traffic
(SSH, HTTP, DNS, etc.) you might see across the relevant network
interface (eth1?) that Samba traffic should traverse.  Now, run the
following (with iptables enabled):

"tcpdump -ni eth1 not port 22 and not port 80 and not port 53"
(etc, etc.)  Include a "and not port XX" for each known service you
*don't* want to see.  This should (hopefully) reveal which
ports/protocols that Samba is using.  Those will be the ones you'll want
to add to your iptables ruleset to allow SMB traffic through.

There's always a chance that you'll catch more traffic than you expect. 
It's a case of trial and error.  You're generally looking for TCP/UDP
traffic between ports 135-139 and possibly 445.  Hope this helps!

-- 
Jason Dixon, RHCE
DixonGroup Consulting
http://www.dixongroup.net


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


RE: Samba Help !!! Please !!!

2003-09-13 Thread cajun
Hi all,

Just got back in town, I have been gone all week, and I just wanted to 
say thanks to Ben and Fred for the info:  

THANKS!

Oh and Jason, no I am not preping for the RHCE, I wish I was.  Right now 
I just don't have the time.  But what I am doing is trying to get back 
into using Linux.  I use to run a couple of Linux servers for a small 
consulting firm about 6 years ago and I was just learning it back then. 
Then my job shifted and I got out of Linux and have not touched it in 6 
years.  Right now I just want to make sure that what I am doing is right 
and that I am not setting up an unsecure box for someone else to jump on 
and use.

Anyways, I am trying to setup Samba so my windoze pc's can get access to 
the internet and also so everyone can share files and printers without 
any hassels.  Plus I did remove what I had setup in my iptables before I 
left, it just did not look secure to me so I did not leave it in place.

I have used up enough banwidth with my rattleing on, just wanted to say 
thanks.

Again Thanks!!!

Lee Perez

--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


RE: RHCE Exam book recommendations, was: Re: Samba Help !!! Please !!!

2003-09-08 Thread Karasik, Vitaly
see http://rhce2b.com/ 

Regards,
Vitaly Karasik, RHCE
***
Information contained in this email message is intended only for use of the individual 
or entity named above. If the reader of this message is not the intended recipient, or 
the employee or agent responsible to deliver it to the intended recipient, you are 
hereby notified that any dissemination, distribution or copying of this communication 
is strictly prohibited. If you have received this communication in error, please 
immediately notify the [EMAIL PROTECTED] and destroy the original message.
***


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


RHCE Exam book recommendations, was: Re: Samba Help !!! Please !!!

2003-09-08 Thread Benjamin J. Weiss
> On Mon, 2003-09-08 at 09:06, Benjamin J. Weiss wrote:
> > > Hi all,
> > >
> > 
> > > Removed my resolv.conf file off of Linux Box.
> >
> > I have no idea why you would do that.  Anybody else know?
>
> He's prepping for the troubleshooting section of the RHCE exam.  ;-)

*grin*

I'm getting ready to start studying for RHCE myself, and am about to pick up
the RHCE Red Hat Certification Engineer Linux Study Guide
(http://www.bookpool.com/.x/ezz9dsejf4/sm/0072224851).  Do you have nay
recommendations?

Ben


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Samba Help !!! Please !!!

2003-09-08 Thread Jason Dixon
On Mon, 2003-09-08 at 09:06, Benjamin J. Weiss wrote:
> > Hi all,
> >
> 
> > Removed my resolv.conf file off of Linux Box.
> 
> I have no idea why you would do that.  Anybody else know?

He's prepping for the troubleshooting section of the RHCE exam.  ;-)

-- 
Jason Dixon, RHCE
DixonGroup Consulting
http://www.dixongroup.net


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Samba Help !!! Please !!!

2003-09-08 Thread Benjamin J. Weiss
> Hi all,
>

> Removed my resolv.conf file off of Linux Box.

I have no idea why you would do that.  Anybody else know?
>
> Added two entires to my IPTABLES file to open up ports 137-139 for tcp &
> udp.
> This is the one that I really have a question on.  Here or the two
> lines that I added.  By adding
> these, have I just opened up ports 137-139 to the world?
>
> > -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 137:139 -j ACCEPT
> > -A RH-Lokkit-0-50-INPUT -p udp -m udp --dport 137:139 -j ACCEPT

Yep, if this box is your firewall, protecting your windows clients from the
internet, you could be in some serious trouble right now...

If we assume that you are running a standard class C network, then I think
the two rules should look like:

-A RH-Lokkit-0-50-INPUT -p tcp -m tcp -s 192.168.1.0/24 --dport 137:139 -j
ACCEPT
-A RH-Lokkit-0-50-INPUT -p udp -m udp -s 192.168.1.0/24 --dport 137:139 -j
ACCEPT

the -s option tells iptables what source IPs to match the packet against, so
if your ip range is different, you'll need to put a different number there.
Of course, there's always shorewall (http://www.shorewall.net) :)

Ben


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Samba Help !!! Please !!!

2003-09-07 Thread fred smith
On Sun, Sep 07, 2003 at 03:04:25PM -0500, cajun wrote:
> Hi all,
> 
> I'm back again.  This time I am a lot closer.  Just have a couple of 
> things I need help with and some real good advice.  This will be kind of 
> long so please bare with me.  This is a recap of everything that I have 
> done to get  this to work, but still not quite right.
> 
> Here are the things that I have done:
> 
> Enabled Client for Microsoft Networks on my Windoze PC.
> Added all entries to the LMHOSTS file on the Windoze PC and to my Linux Box.
> Enabled NetBIOS over TCP/IP on Windoze PC.
> Removed my resolv.conf file off of Linux Box.
> Added two entires to my IPTABLES file to open up ports 137-139 for tcp & 
> udp.
>This is the one that I really have a question on.  Here or the two 
> lines that I added.  By adding
>these, have I just opened up ports 137-139 to the world?

By reading "between the lines" here, I guess that you mean your linux
box is also the firewall/router in your network, and it has a directly-
connected internet connection of some sort. If that's the case, I'd
think you probably DID open it to the world.

I'm not guru on linux firewall configuration so I can't tell you how to
fix that (I'm sure there is a way), but... I'd suggest a safer and perhaps
simpler solution would be to put in a dedicated firewall in front of your
linux box, so the linux box doesn't have to be as hardened against the
outside world.

If you have an old junk PC lying around (I'm using a Pentium-class
machine, an AMD K5-pr100) w/ 64MB RAM, myself. I'm using Smoothwall,
but there are other choices, such as "ip cop". These are small Linux-
based systems that are designed to do nothing but serve as a firewall.
they run on extra programs that could compromise security.
> 
> >-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 137:139 -j ACCEPT
> >-A RH-Lokkit-0-50-INPUT -p udp -m udp --dport 137:139 -j ACCEPT
> 

-- 
 Fred Smith -- [EMAIL PROTECTED] -
  The eyes of the Lord are everywhere, 
keeping watch on the wicked and the good.
- Proverbs 15:3 (niv) -


pgp0.pgp
Description: PGP signature


Re: Samba Help !!! PLEASE !!

2003-09-04 Thread cajun
Benjamin J. Weiss wrote:

Lee,

Well I'm thinking that maybe the firewall is blocking the ports that
SMB uses. I'm not sure what those ports are, there are several on both
TCP and UDP. To quickly test to see if it is the firewall I would
either open it up or disable it entirely. I don't know how your
network is setup or if that's possible but if you are going to do it,
it would be best to make sure the machines do not have an Internet
connect while the firewall is open. At least this way you could
quickly eliminate the firewall from the equation. Let me know how it
goes.
   

Carefull  Samba, as a unix/linux implementation of the Microsoft SMB
protocol, uses the same ports as Microsoft Windows file/printer sharing.
Disabling firewall blocking of these ports would leave any windows clients
on your network vulnerable to a plethora of nasty programs on the 'net.
Ben

 

Hey Ben,

Thanks for that bit of info.  For sure I will keep that in mind.

Thanks again.

Lee Perez

--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Samba Help !!! PLEASE !!

2003-09-04 Thread Benjamin J. Weiss
> Lee,
>
> Well I'm thinking that maybe the firewall is blocking the ports that
> SMB uses. I'm not sure what those ports are, there are several on both
> TCP and UDP. To quickly test to see if it is the firewall I would
> either open it up or disable it entirely. I don't know how your
> network is setup or if that's possible but if you are going to do it,
> it would be best to make sure the machines do not have an Internet
> connect while the firewall is open. At least this way you could
> quickly eliminate the firewall from the equation. Let me know how it
> goes.
>

Carefull  Samba, as a unix/linux implementation of the Microsoft SMB
protocol, uses the same ports as Microsoft Windows file/printer sharing.
Disabling firewall blocking of these ports would leave any windows clients
on your network vulnerable to a plethora of nasty programs on the 'net.

Ben


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


RE: Samba Help !!! PLEASE !!

2003-09-04 Thread Nick Kishfy
Lee,

Well I'm thinking that maybe the firewall is blocking the ports that
SMB uses. I'm not sure what those ports are, there are several on both
TCP and UDP. To quickly test to see if it is the firewall I would
either open it up or disable it entirely. I don't know how your
network is setup or if that's possible but if you are going to do it,
it would be best to make sure the machines do not have an Internet
connect while the firewall is open. At least this way you could
quickly eliminate the firewall from the equation. Let me know how it
goes.

-Nick


-Original Message-
From: cajun [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 04, 2003 2:13 PM
To: [EMAIL PROTECTED]
Subject: Re: Samba Help !!! PLEASE !!

Hi Nick,

Yes they are, actually right now, I am trying to load Samba on the
same 
machine as I am running the firewall.  I'm using my Linux box as the 
firewall.  I am in the process of seperating it out to another PC that

will be on the same LAN.

Is this what my problem is??  If it is I will really feel STUPID

Thanks.

Lee Perez


Nick Kishfy wrote:

>Lee wrote: "I did not mention this yesterday and I should have, but I
>am running also a firewall."
>
>Lee, are these too machines on the same LAN or is the firewall
>separating them? Is it a hardware firewall?
>
>
>-Original Message-
>From: cajun [mailto:[EMAIL PROTECTED] 
>Sent: Thursday, September 04, 2003 1:18 PM
>To: [EMAIL PROTECTED]
>Subject: Re: Samba Help !!! PLEASE !!
>
>teddy wrote:
>
>  
>
>>Also their is a tool that u can use its one of the packages in
>>
>>
>redhat9 its 
>  
>
>>real easy to use should be in settings somewhere
>>
>>
>>-- Original Message ---
>>From: "teddy" <[EMAIL PROTECTED]>
>>To: [EMAIL PROTECTED]
>>Sent: Thu, 4 Sep 2003 12:47:37 -0400
>>Subject: RE: Samba Help !!! PLEASE !!
>>
>> 
>>
>>
>>
>>>You have to make sure you create Samba users its not the same as 
>>>linux users. Maybe thats why you are getting login failures.
>>>
>>>-- Original Message ---
>>>From: "Jason Tesser" <[EMAIL PROTECTED]>
>>>To: <[EMAIL PROTECTED]>
>>>Sent: Thu, 4 Sep 2003 07:47:53 -0500
>>>Subject: RE: Samba Help !!! PLEASE !!
>>>
>>>   
>>>
>>>  
>>>
>>>>You can get the swat module for webmin.  That works well.
>>>>
>>>>Jason Tesser
>>>>Web/Multimedia Programmer
>>>>Northland Baptist Bible College
>>>>(715)324-6900 ext. 3055
>>>>
>>>>-Original Message-
>>>>From: Nick Kishfy [mailto:[EMAIL PROTECTED]
>>>>Sent: Thursday, September 04, 2003 7:26 AM
>>>>To: [EMAIL PROTECTED]
>>>>Subject: RE: Samba Help !!! PLEASE !!
>>>>
>>>>I'm not sure what your exact problem is but Wade mentioned using
>>>>
>>>>
>SWAT
>  
>
>>>>to help you configure Samba. In my humble opinion SWAT actually
>>>>
>>>>
>makes
>  
>
>>>>the configuration seem more complicated as it presents you with so
>>>>many options that you probably don't need. If you are going to use
>>>>
>>>>
>a
>  
>
>>>>web interface to manage Samba you may want to try Webmin
>>>>
>>>>(http://www.webmin.com). You also may want to check and make sure 
>>>>that user that you are trying to login as is a Samba user as well
>>>>
>>>>
>as 
>  
>
>>>>a Red Hat user.
>>>>
>>>>Nick
>>>>
>>>>-Original Message-
>>>>From: Wade Chandler [mailto:[EMAIL PROTECTED] 
>>>>Sent: Wednesday, September 03, 2003 11:29 PM
>>>>To: [EMAIL PROTECTED]
>>>>Subject: RE: Samba Help !!! PLEASE !!
>>>>
>>>>I've noticed this error when using secure passwordsdoesn't
make
>>>>sense to me that the smbclient can't use the secure passwords, but
>>>>
>>>>
>I
>  
>
>>>>think this is your issue.  I had the same error.  I use SWAT, so I
>>>>went
>>>>to the section.at work right now my Linux setup is at home,
but
>>>>
>>>>
>I
>  
>
>>>>turned off the secure passwords in what ever section that is under
>>>>
>>>>
>in
>  
>
>>>>SWAT and it worked like a charm.  B

Re: Samba Help !!! PLEASE !!

2003-09-04 Thread cajun
Hi Nick,

Yes they are, actually right now, I am trying to load Samba on the same 
machine as I am running the firewall.  I'm using my Linux box as the 
firewall.  I am in the process of seperating it out to another PC that 
will be on the same LAN.

Is this what my problem is??  If it is I will really feel STUPID

Thanks.

Lee Perez

Nick Kishfy wrote:

Lee wrote: "I did not mention this yesterday and I should have, but I
am running also a firewall."
Lee, are these too machines on the same LAN or is the firewall
separating them? Is it a hardware firewall?
-Original Message-
From: cajun [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 04, 2003 1:18 PM
To: [EMAIL PROTECTED]
Subject: Re: Samba Help !!! PLEASE !!

teddy wrote:

 

Also their is a tool that u can use its one of the packages in
   

redhat9 its 
 

real easy to use should be in settings somewhere

-- Original Message ---
From: "teddy" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Sent: Thu, 4 Sep 2003 12:47:37 -0400
Subject: RE: Samba Help !!! PLEASE !!


   

You have to make sure you create Samba users its not the same as 
linux users. Maybe thats why you are getting login failures.

-- Original Message ---
From: "Jason Tesser" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thu, 4 Sep 2003 07:47:53 -0500
Subject: RE: Samba Help !!! PLEASE !!
  

 

You can get the swat module for webmin.  That works well.

Jason Tesser
Web/Multimedia Programmer
Northland Baptist Bible College
(715)324-6900 ext. 3055
-Original Message-
From: Nick Kishfy [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 04, 2003 7:26 AM
To: [EMAIL PROTECTED]
Subject: RE: Samba Help !!! PLEASE !!
I'm not sure what your exact problem is but Wade mentioned using
   

SWAT
 

to help you configure Samba. In my humble opinion SWAT actually
   

makes
 

the configuration seem more complicated as it presents you with so
many options that you probably don't need. If you are going to use
   

a
 

web interface to manage Samba you may want to try Webmin

(http://www.webmin.com). You also may want to check and make sure 
that user that you are trying to login as is a Samba user as well
   

as 
 

a Red Hat user.

Nick

-Original Message-
From: Wade Chandler [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 03, 2003 11:29 PM
To: [EMAIL PROTECTED]
Subject: RE: Samba Help !!! PLEASE !!

I've noticed this error when using secure passwordsdoesn't make
sense to me that the smbclient can't use the secure passwords, but
   

I
 

think this is your issue.  I had the same error.  I use SWAT, so I
went
to the section.at work right now my Linux setup is at home, but
   

I
 

turned off the secure passwords in what ever section that is under
   

in
 

SWAT and it worked like a charm.  But, XP and 2000 would have issue
connecting if you turn this off I believe.  If anyone else has any
other
insite it would be great.  I wouldn't mind being able to get mine
working for Winblows 98 and XP & 2000...:-)  Anyways, try that out 
and see what happens.  If you aren't using secure passwords try
   

turning
 

them
on I may have it mixed around in my head.:-PHope that
   

helps.
 

Wade

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
On Behalf Of cajun
Sent: Wednesday, September 03, 2003 10:04 PM
To: RedHat-List
Subject: Samba Help !!! PLEASE !!
Hi all,

Was wondering if anyone out there is running Samba on a RH9 
installation.  I have been trying to set this thing up for the past
   

 

2 days and have not got anything going yet.  I think I am close. 
Here is the error message I get when I try and use smbclient on
   

the 
 

host :

smbclient '\\hostname\home\dir'
Password:
session setup failed: NT_STATUS_LOGON_FAILURE
The hostname is the name of the Host box and I am using a users
   

home 
 

directory that I have setup in Samba server setup.  This is driving
   

me
 

crazy.  I have been searching and trying anything and everything I
   

can
 

find out there but still to no avail.  If someone could point me in
the 
right direction, it would be greatly appreciated.

Thanks a GRUNCH!!!

Lee Perez

--
redhat-list mailing list
unsubscribe
   

mailto:[EMAIL PROTECTED]
 

https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe
   

mailto:[EMAIL PROTECTED]
 

https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe
   

mailto:[EMAIL PROTECTED]
 

https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe
   

mailto:[EMAIL PROTECTED]
 

https://www.redhat.com/mailman/listinfo/redhat-list


   

--- End of Original Message ---

--
redhat-list mailing list
unsubscribe
 

mailto:[EMAI

RE: Samba Help !!! PLEASE !!

2003-09-04 Thread Nick Kishfy
Lee wrote: "I did not mention this yesterday and I should have, but I
am running also a firewall."

Lee, are these too machines on the same LAN or is the firewall
separating them? Is it a hardware firewall?


-Original Message-
From: cajun [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 04, 2003 1:18 PM
To: [EMAIL PROTECTED]
Subject: Re: Samba Help !!! PLEASE !!

teddy wrote:

>Also their is a tool that u can use its one of the packages in
redhat9 its 
>real easy to use should be in settings somewhere
>
>
>-- Original Message ---
>From: "teddy" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Sent: Thu, 4 Sep 2003 12:47:37 -0400
>Subject: RE: Samba Help !!! PLEASE !!
>
>  
>
>>You have to make sure you create Samba users its not the same as 
>>linux users. Maybe thats why you are getting login failures.
>>
>>-- Original Message ---
>>From: "Jason Tesser" <[EMAIL PROTECTED]>
>>To: <[EMAIL PROTECTED]>
>>Sent: Thu, 4 Sep 2003 07:47:53 -0500
>>Subject: RE: Samba Help !!! PLEASE !!
>>
>>
>>
>>>You can get the swat module for webmin.  That works well.
>>>
>>>Jason Tesser
>>>Web/Multimedia Programmer
>>>Northland Baptist Bible College
>>>(715)324-6900 ext. 3055
>>>
>>>-Original Message-
>>>From: Nick Kishfy [mailto:[EMAIL PROTECTED]
>>>Sent: Thursday, September 04, 2003 7:26 AM
>>>To: [EMAIL PROTECTED]
>>>Subject: RE: Samba Help !!! PLEASE !!
>>>
>>>I'm not sure what your exact problem is but Wade mentioned using
SWAT
>>>to help you configure Samba. In my humble opinion SWAT actually
makes
>>>the configuration seem more complicated as it presents you with so
>>>many options that you probably don't need. If you are going to use
a
>>>web interface to manage Samba you may want to try Webmin
>>>
>>>(http://www.webmin.com). You also may want to check and make sure 
>>>that user that you are trying to login as is a Samba user as well
as 
>>>a Red Hat user.
>>>
>>>Nick
>>>
>>>-Original Message-
>>>From: Wade Chandler [mailto:[EMAIL PROTECTED] 
>>>Sent: Wednesday, September 03, 2003 11:29 PM
>>>To: [EMAIL PROTECTED]
>>>Subject: RE: Samba Help !!! PLEASE !!
>>>
>>>I've noticed this error when using secure passwordsdoesn't make
>>>sense to me that the smbclient can't use the secure passwords, but
I
>>>think this is your issue.  I had the same error.  I use SWAT, so I
>>>went
>>>to the section.at work right now my Linux setup is at home, but
I
>>>turned off the secure passwords in what ever section that is under
in
>>>SWAT and it worked like a charm.  But, XP and 2000 would have issue
>>>connecting if you turn this off I believe.  If anyone else has any
>>>other
>>>insite it would be great.  I wouldn't mind being able to get mine
>>>working for Winblows 98 and XP & 2000...:-)  Anyways, try that out 
>>>and see what happens.  If you aren't using secure passwords try
turning
>>>them
>>>on I may have it mixed around in my head.:-PHope that
helps.
>>>
>>>Wade
>>>
>>>-Original Message-
>>>From: [EMAIL PROTECTED]
>>>[mailto:[EMAIL PROTECTED]
>>>On Behalf Of cajun
>>>Sent: Wednesday, September 03, 2003 10:04 PM
>>>To: RedHat-List
>>>Subject: Samba Help !!! PLEASE !!
>>>
>>>Hi all,
>>>
>>>Was wondering if anyone out there is running Samba on a RH9 
>>>installation.  I have been trying to set this thing up for the past

>>>2 days and have not got anything going yet.  I think I am close. 
>>> Here is the error message I get when I try and use smbclient on
the 
>>>host :
>>>
>>>smbclient '\\hostname\home\dir'
>>>Password:
>>>session setup failed: NT_STATUS_LOGON_FAILURE
>>>
>>>The hostname is the name of the Host box and I am using a users
home 
>>>directory that I have setup in Samba server setup.  This is driving
me
>>>
>>>crazy.  I have been searching and trying anything and everything I
can
>>>
>>>find out there but still to no avail.  If someone could point me in
>>>the 
>>>right direction, it would be greatly appreciated.
>>>
>>>Thanks a GRUNCH!!!
>>>
>>>Lee Perez
>>>
>>>-- 
>>>redhat-list mailing list
>>>uns

Re: Samba Help !!! PLEASE !!

2003-09-04 Thread cajun
teddy wrote:

Also their is a tool that u can use its one of the packages in redhat9 its 
real easy to use should be in settings somewhere

-- Original Message ---
From: "teddy" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Sent: Thu, 4 Sep 2003 12:47:37 -0400
Subject: RE: Samba Help !!! PLEASE !!
 

You have to make sure you create Samba users its not the same as 
linux users. Maybe thats why you are getting login failures.

-- Original Message ---
From: "Jason Tesser" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thu, 4 Sep 2003 07:47:53 -0500
Subject: RE: Samba Help !!! PLEASE !!
   

You can get the swat module for webmin.  That works well.

Jason Tesser
Web/Multimedia Programmer
Northland Baptist Bible College
(715)324-6900 ext. 3055
-Original Message-
From: Nick Kishfy [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 04, 2003 7:26 AM
To: [EMAIL PROTECTED]
Subject: RE: Samba Help !!! PLEASE !!
I'm not sure what your exact problem is but Wade mentioned using SWAT
to help you configure Samba. In my humble opinion SWAT actually makes
the configuration seem more complicated as it presents you with so
many options that you probably don't need. If you are going to use a
web interface to manage Samba you may want to try Webmin
(http://www.webmin.com). You also may want to check and make sure 
that user that you are trying to login as is a Samba user as well as 
a Red Hat user.

Nick

-Original Message-
From: Wade Chandler [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 03, 2003 11:29 PM
To: [EMAIL PROTECTED]
Subject: RE: Samba Help !!! PLEASE !!

I've noticed this error when using secure passwordsdoesn't make
sense to me that the smbclient can't use the secure passwords, but I
think this is your issue.  I had the same error.  I use SWAT, so I
went
to the section.at work right now my Linux setup is at home, but I
turned off the secure passwords in what ever section that is under in
SWAT and it worked like a charm.  But, XP and 2000 would have issue
connecting if you turn this off I believe.  If anyone else has any
other
insite it would be great.  I wouldn't mind being able to get mine
working for Winblows 98 and XP & 2000...:-)  Anyways, try that out 
and see what happens.  If you aren't using secure passwords try turning
them
on I may have it mixed around in my head.:-PHope that helps.

Wade

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
On Behalf Of cajun
Sent: Wednesday, September 03, 2003 10:04 PM
To: RedHat-List
Subject: Samba Help !!! PLEASE !!
Hi all,

Was wondering if anyone out there is running Samba on a RH9 
installation.  I have been trying to set this thing up for the past 
2 days and have not got anything going yet.  I think I am close. 
Here is the error message I get when I try and use smbclient on the 
host :

smbclient '\\hostname\home\dir'
Password:
session setup failed: NT_STATUS_LOGON_FAILURE
The hostname is the name of the Host box and I am using a users home 
directory that I have setup in Samba server setup.  This is driving me

crazy.  I have been searching and trying anything and everything I can

find out there but still to no avail.  If someone could point me in
the 
right direction, it would be greatly appreciated.

Thanks a GRUNCH!!!

Lee Perez

--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list
 

--- End of Original Message ---

--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list
   

--- End of Original Message ---

 

Hi All,

Just wanted to say thanks for the input to this problem.  I have been 
running around all this morning and just got back to where I can start 
working on this again.  

I have been looking at all the responses and just let me say THANKS

Just to let everyone know, yes I have made sure that the user that I am 
trying to use is setup in Samba and as a user on the Linux box.  Using 
both the same name and password.  I also went over to my Windoze 2000 PC 
and created a user on it with the same name and password.  Still can not 
login either from the Linux side or even see the Linux box on the 
Windoze side.  

I did not mention this yesterday and I should have, but I am running 
also a firewall.  Could my problem be in my firewall settings not 
letting something through on the port that it needs to?

I will setup SWAT, and THANKS Craig for the info on setting up SWAT,

Re: Samba Help !!! PLEASE !!

2003-09-04 Thread Joe Polk
I believe an older ver of Webmin had a plug to SWAT. But why do that? Webmin 
seems to handle Samba setup far better than SWAT. I've had changes made in 
SWAT not work properly.

<>

-- Original Message ---
From: Craig Herring <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thu, 4 Sep 2003 09:07:35 -0500
Subject: Re: Samba Help !!! PLEASE !!

> Jason,
> 
> There is no SWAT module for webmin SWAT comes with SAMBA.  In 
> RH9 it is not part of the default install.  do this: goto the 
> install directory > cd ./rh9/RedHat/RPMS install SWAT > rpm -ihv 
> samba-swat-2.2.8a-2.10.i386.rpm
> 
> It should be in Webmin now.  You can also edit the xinetd config 
> file for swat and connect to it by http://localhost:901
> 
> Craig
> 
> ps... I typically use SWAT for initial configuration because it has 
> all the options (fields) then use the webmin stuff for updates.
> 
> On Thursday 04 September 2003 07:47 am, you wrote:
> > You can get the swat module for webmin.  That works well.
> >
> >  Jason Tesser
> >  Web/Multimedia Programmer
> >  Northland Baptist Bible College
> >  (715)324-6900 ext. 3055
> >
> >
> >  -Original Message-
> >  From: Nick Kishfy [mailto:[EMAIL PROTECTED]
> >  Sent: Thursday, September 04, 2003 7:26 AM
> >  To: [EMAIL PROTECTED]
> >  Subject: RE: Samba Help !!! PLEASE !!
> >
> >
> >  I'm not sure what your exact problem is but Wade mentioned using SWAT
> >  to help you configure Samba. In my humble opinion SWAT actually makes
> >  the configuration seem more complicated as it presents you with so
> >  many options that you probably don't need. If you are going to use a
> >  web interface to manage Samba you may want to try Webmin
> >  (http://www.webmin.com). You also may want to check and make sure that
> >  user that you are trying to login as is a Samba user as well as a Red
> >  Hat user.
> >
> >  Nick
> >
> >
> >  -Original Message-
> >  From: Wade Chandler [mailto:[EMAIL PROTECTED]
> >  Sent: Wednesday, September 03, 2003 11:29 PM
> >  To: [EMAIL PROTECTED]
> >  Subject: RE: Samba Help !!! PLEASE !!
> >
> >  I've noticed this error when using secure passwordsdoesn't make
> >  sense to me that the smbclient can't use the secure passwords, but I
> >  think this is your issue.  I had the same error.  I use SWAT, so I
> >  went
> >  to the section.at work right now my Linux setup is at home, but I
> >  turned off the secure passwords in what ever section that is under in
> >  SWAT and it worked like a charm.  But, XP and 2000 would have issue
> >  connecting if you turn this off I believe.  If anyone else has any
> >  other
> >  insite it would be great.  I wouldn't mind being able to get mine
> >  working for Winblows 98 and XP & 2000...:-)  Anyways, try that out and
> >  see what happens.  If you aren't using secure passwords try turning
> >  them
> >  on I may have it mixed around in my head.:-PHope that helps.
> >
> >  Wade
> >
> >  -Original Message-
> >  From: [EMAIL PROTECTED]
> >  [mailto:[EMAIL PROTECTED]
> >  On Behalf Of cajun
> >  Sent: Wednesday, September 03, 2003 10:04 PM
> >  To: RedHat-List
> >  Subject: Samba Help !!! PLEASE !!
> >
> >
> >  Hi all,
> >
> >  Was wondering if anyone out there is running Samba on a RH9
> >  installation.  I have been trying to set this thing up for the past 2
> >  days and have not got anything going yet.  I think I am close.  Here
> >  is
> >  the error message I get when I try and use smbclient on the host :
> >
> >  smbclient '\\hostname\home\dir'
> >  Password:
> >  session setup failed: NT_STATUS_LOGON_FAILURE
> >
> >  The hostname is the name of the Host box and I am using a users home
> >  directory that I have setup in Samba server setup.  This is driving me
> >
> >  crazy.  I have been searching and trying anything and everything I can
> >
> >  find out there but still to no avail.  If someone could point me in
> >  the
> >  right direction, it would be greatly appreciated.
> >
> >  Thanks a GRUNCH!!!
> >
> >  Lee Perez
> >
> >
> >  --
> >  redhat-list mailing list
> >  unsubscribe mailto:[EMAIL PROTECTED]
> >  https://www.redhat.com/mailman/listinfo/redhat-list
> >
> >
> >
> >  --
> >  redhat-list mailing list
> >  unsubscribe mailto:[EMAIL PROTECTED]
> >  https://www.redhat.com/mailman/listinfo/redhat-list
> >
> >
> >  --
> >  redhat-list mailing list
> >  unsubscribe mailto:[EMAIL PROTECTED]
> >  https://www.redhat.com/mailman/listinfo/redhat-list
> >
> >
> >  --
> >  redhat-list mailing list
> >  unsubscribe mailto:[EMAIL PROTECTED]
> >  https://www.redhat.com/mailman/listinfo/redhat-list
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]
> https://www.redhat.com/mailman/listinfo/redhat-list
--- End of Original Message ---


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


RE: Samba Help !!! PLEASE !!

2003-09-04 Thread teddy
Also their is a tool that u can use its one of the packages in redhat9 its 
real easy to use should be in settings somewhere


-- Original Message ---
From: "teddy" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Sent: Thu, 4 Sep 2003 12:47:37 -0400
Subject: RE: Samba Help !!! PLEASE !!

> You have to make sure you create Samba users its not the same as 
> linux users. Maybe thats why you are getting login failures.
> 
> -- Original Message ---
> From: "Jason Tesser" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thu, 4 Sep 2003 07:47:53 -0500
> Subject: RE: Samba Help !!! PLEASE !!
> 
> > You can get the swat module for webmin.  That works well.
> > 
> > Jason Tesser
> > Web/Multimedia Programmer
> > Northland Baptist Bible College
> > (715)324-6900 ext. 3055
> > 
> > -Original Message-
> > From: Nick Kishfy [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, September 04, 2003 7:26 AM
> > To: [EMAIL PROTECTED]
> > Subject: RE: Samba Help !!! PLEASE !!
> > 
> > I'm not sure what your exact problem is but Wade mentioned using SWAT
> > to help you configure Samba. In my humble opinion SWAT actually makes
> > the configuration seem more complicated as it presents you with so
> > many options that you probably don't need. If you are going to use a
> > web interface to manage Samba you may want to try Webmin
> > 
> > (http://www.webmin.com). You also may want to check and make sure 
> > that user that you are trying to login as is a Samba user as well as 
> > a Red Hat user.
> > 
> > Nick
> > 
> > -Original Message-
> > From: Wade Chandler [mailto:[EMAIL PROTECTED] 
> > Sent: Wednesday, September 03, 2003 11:29 PM
> > To: [EMAIL PROTECTED]
> > Subject: RE: Samba Help !!! PLEASE !!
> > 
> > I've noticed this error when using secure passwordsdoesn't make
> > sense to me that the smbclient can't use the secure passwords, but I
> > think this is your issue.  I had the same error.  I use SWAT, so I
> > went
> > to the section.at work right now my Linux setup is at home, but I
> > turned off the secure passwords in what ever section that is under in
> > SWAT and it worked like a charm.  But, XP and 2000 would have issue
> > connecting if you turn this off I believe.  If anyone else has any
> > other
> > insite it would be great.  I wouldn't mind being able to get mine
> > working for Winblows 98 and XP & 2000...:-)  Anyways, try that out 
> > and see what happens.  If you aren't using secure passwords try turning
> > them
> > on I may have it mixed around in my head.:-PHope that helps.
> > 
> > Wade
> > 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]
> > On Behalf Of cajun
> > Sent: Wednesday, September 03, 2003 10:04 PM
> > To: RedHat-List
> > Subject: Samba Help !!! PLEASE !!
> > 
> > Hi all,
> > 
> > Was wondering if anyone out there is running Samba on a RH9 
> > installation.  I have been trying to set this thing up for the past 
> > 2 days and have not got anything going yet.  I think I am close. 
> >  Here is the error message I get when I try and use smbclient on the 
> > host :
> > 
> > smbclient '\\hostname\home\dir'
> > Password:
> > session setup failed: NT_STATUS_LOGON_FAILURE
> > 
> > The hostname is the name of the Host box and I am using a users home 
> > directory that I have setup in Samba server setup.  This is driving me
> > 
> > crazy.  I have been searching and trying anything and everything I can
> > 
> > find out there but still to no avail.  If someone could point me in
> > the 
> > right direction, it would be greatly appreciated.
> > 
> > Thanks a GRUNCH!!!
> > 
> > Lee Perez
> > 
> > -- 
> > redhat-list mailing list
> > unsubscribe mailto:[EMAIL PROTECTED]
> > https://www.redhat.com/mailman/listinfo/redhat-list
> > 
> > -- 
> > redhat-list mailing list
> > unsubscribe mailto:[EMAIL PROTECTED]
> > https://www.redhat.com/mailman/listinfo/redhat-list
> > 
> > -- 
> > redhat-list mailing list
> > unsubscribe mailto:[EMAIL PROTECTED]
> > https://www.redhat.com/mailman/listinfo/redhat-list
> > 
> > -- 
> > redhat-list mailing list
> > unsubscribe mailto:[EMAIL PROTECTED]
> > https://www.redhat.com/mailman/listinfo/redhat-list
> --- End of Original Message ---
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]
> https://www.redhat.com/mailman/listinfo/redhat-list
--- End of Original Message ---


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


RE: Samba Help !!! PLEASE !!

2003-09-04 Thread teddy
You have to make sure you create Samba users its not the same as linux users. 
Maybe thats why you are getting login failures.


-- Original Message ---
From: "Jason Tesser" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thu, 4 Sep 2003 07:47:53 -0500
Subject: RE: Samba Help !!! PLEASE !!

> You can get the swat module for webmin.  That works well.
> 
> Jason Tesser
> Web/Multimedia Programmer
> Northland Baptist Bible College
> (715)324-6900 ext. 3055
> 
> -Original Message-
> From: Nick Kishfy [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 04, 2003 7:26 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Samba Help !!! PLEASE !!
> 
> I'm not sure what your exact problem is but Wade mentioned using SWAT
> to help you configure Samba. In my humble opinion SWAT actually makes
> the configuration seem more complicated as it presents you with so
> many options that you probably don't need. If you are going to use a
> web interface to manage Samba you may want to try Webmin
> 
> (http://www.webmin.com). You also may want to check and make sure 
> that user that you are trying to login as is a Samba user as well as 
> a Red Hat user.
> 
> Nick
> 
> -Original Message-
> From: Wade Chandler [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, September 03, 2003 11:29 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Samba Help !!! PLEASE !!
> 
> I've noticed this error when using secure passwordsdoesn't make
> sense to me that the smbclient can't use the secure passwords, but I
> think this is your issue.  I had the same error.  I use SWAT, so I
> went
> to the section.at work right now my Linux setup is at home, but I
> turned off the secure passwords in what ever section that is under in
> SWAT and it worked like a charm.  But, XP and 2000 would have issue
> connecting if you turn this off I believe.  If anyone else has any
> other
> insite it would be great.  I wouldn't mind being able to get mine
> working for Winblows 98 and XP & 2000...:-)  Anyways, try that out 
> and see what happens.  If you aren't using secure passwords try turning
> them
> on I may have it mixed around in my head.:-PHope that helps.
> 
> Wade
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> On Behalf Of cajun
> Sent: Wednesday, September 03, 2003 10:04 PM
> To: RedHat-List
> Subject: Samba Help !!! PLEASE !!
> 
> Hi all,
> 
> Was wondering if anyone out there is running Samba on a RH9 
> installation.  I have been trying to set this thing up for the past 
> 2 days and have not got anything going yet.  I think I am close. 
>  Here is the error message I get when I try and use smbclient on the 
> host :
> 
> smbclient '\\hostname\home\dir'
> Password:
> session setup failed: NT_STATUS_LOGON_FAILURE
> 
> The hostname is the name of the Host box and I am using a users home 
> directory that I have setup in Samba server setup.  This is driving me
> 
> crazy.  I have been searching and trying anything and everything I can
> 
> find out there but still to no avail.  If someone could point me in
> the 
> right direction, it would be greatly appreciated.
> 
> Thanks a GRUNCH!!!
> 
> Lee Perez
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]
> https://www.redhat.com/mailman/listinfo/redhat-list
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]
> https://www.redhat.com/mailman/listinfo/redhat-list
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]
> https://www.redhat.com/mailman/listinfo/redhat-list
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]
> https://www.redhat.com/mailman/listinfo/redhat-list
--- End of Original Message ---


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Samba Help !!! PLEASE !!

2003-09-04 Thread Craig Herring
Jason,

There is no SWAT module for webmin SWAT comes with SAMBA.  In RH9 it is 
not part of the default install.  do this:
goto the install directory > cd ./rh9/RedHat/RPMS
install SWAT > rpm -ihv samba-swat-2.2.8a-2.10.i386.rpm

It should be in Webmin now.  You can also edit the xinetd config file for swat 
and connect to it by http://localhost:901

Craig

ps... I typically use SWAT for initial configuration because it has all the 
options (fields) then use the webmin stuff for updates.


On Thursday 04 September 2003 07:47 am, you wrote:
> You can get the swat module for webmin.  That works well.
>
>  Jason Tesser
>  Web/Multimedia Programmer
>  Northland Baptist Bible College
>  (715)324-6900 ext. 3055
>
>
>  -Original Message-
>  From: Nick Kishfy [mailto:[EMAIL PROTECTED]
>  Sent: Thursday, September 04, 2003 7:26 AM
>  To: [EMAIL PROTECTED]
>  Subject: RE: Samba Help !!! PLEASE !!
>
>
>  I'm not sure what your exact problem is but Wade mentioned using SWAT
>  to help you configure Samba. In my humble opinion SWAT actually makes
>  the configuration seem more complicated as it presents you with so
>  many options that you probably don't need. If you are going to use a
>  web interface to manage Samba you may want to try Webmin
>  (http://www.webmin.com). You also may want to check and make sure that
>  user that you are trying to login as is a Samba user as well as a Red
>  Hat user.
>
>  Nick
>
>
>  -Original Message-
>  From: Wade Chandler [mailto:[EMAIL PROTECTED]
>  Sent: Wednesday, September 03, 2003 11:29 PM
>  To: [EMAIL PROTECTED]
>  Subject: RE: Samba Help !!! PLEASE !!
>
>  I've noticed this error when using secure passwordsdoesn't make
>  sense to me that the smbclient can't use the secure passwords, but I
>  think this is your issue.  I had the same error.  I use SWAT, so I
>  went
>  to the section.at work right now my Linux setup is at home, but I
>  turned off the secure passwords in what ever section that is under in
>  SWAT and it worked like a charm.  But, XP and 2000 would have issue
>  connecting if you turn this off I believe.  If anyone else has any
>  other
>  insite it would be great.  I wouldn't mind being able to get mine
>  working for Winblows 98 and XP & 2000...:-)  Anyways, try that out and
>  see what happens.  If you aren't using secure passwords try turning
>  them
>  on I may have it mixed around in my head.:-PHope that helps.
>
>  Wade
>
>  -Original Message-
>  From: [EMAIL PROTECTED]
>  [mailto:[EMAIL PROTECTED]
>  On Behalf Of cajun
>  Sent: Wednesday, September 03, 2003 10:04 PM
>  To: RedHat-List
>  Subject: Samba Help !!! PLEASE !!
>
>
>  Hi all,
>
>  Was wondering if anyone out there is running Samba on a RH9
>  installation.  I have been trying to set this thing up for the past 2
>  days and have not got anything going yet.  I think I am close.  Here
>  is
>  the error message I get when I try and use smbclient on the host :
>
>  smbclient '\\hostname\home\dir'
>  Password:
>  session setup failed: NT_STATUS_LOGON_FAILURE
>
>  The hostname is the name of the Host box and I am using a users home
>  directory that I have setup in Samba server setup.  This is driving me
>
>  crazy.  I have been searching and trying anything and everything I can
>
>  find out there but still to no avail.  If someone could point me in
>  the
>  right direction, it would be greatly appreciated.
>
>  Thanks a GRUNCH!!!
>
>  Lee Perez
>
>
>  --
>  redhat-list mailing list
>  unsubscribe mailto:[EMAIL PROTECTED]
>  https://www.redhat.com/mailman/listinfo/redhat-list
>
>
>
>  --
>  redhat-list mailing list
>  unsubscribe mailto:[EMAIL PROTECTED]
>  https://www.redhat.com/mailman/listinfo/redhat-list
>
>
>  --
>  redhat-list mailing list
>  unsubscribe mailto:[EMAIL PROTECTED]
>  https://www.redhat.com/mailman/listinfo/redhat-list
>
>
>  --
>  redhat-list mailing list
>  unsubscribe mailto:[EMAIL PROTECTED]
>  https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


RE: Samba Help !!! PLEASE !!

2003-09-04 Thread Jason Tesser
You can get the swat module for webmin.  That works well.

Jason Tesser
Web/Multimedia Programmer
Northland Baptist Bible College
(715)324-6900 ext. 3055


-Original Message-
From: Nick Kishfy [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 04, 2003 7:26 AM
To: [EMAIL PROTECTED]
Subject: RE: Samba Help !!! PLEASE !!


I'm not sure what your exact problem is but Wade mentioned using SWAT
to help you configure Samba. In my humble opinion SWAT actually makes
the configuration seem more complicated as it presents you with so
many options that you probably don't need. If you are going to use a
web interface to manage Samba you may want to try Webmin
(http://www.webmin.com). You also may want to check and make sure that
user that you are trying to login as is a Samba user as well as a Red
Hat user.

Nick


-Original Message-
From: Wade Chandler [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 03, 2003 11:29 PM
To: [EMAIL PROTECTED]
Subject: RE: Samba Help !!! PLEASE !!

I've noticed this error when using secure passwordsdoesn't make
sense to me that the smbclient can't use the secure passwords, but I
think this is your issue.  I had the same error.  I use SWAT, so I
went
to the section.at work right now my Linux setup is at home, but I
turned off the secure passwords in what ever section that is under in
SWAT and it worked like a charm.  But, XP and 2000 would have issue
connecting if you turn this off I believe.  If anyone else has any
other
insite it would be great.  I wouldn't mind being able to get mine
working for Winblows 98 and XP & 2000...:-)  Anyways, try that out and
see what happens.  If you aren't using secure passwords try turning
them
on I may have it mixed around in my head.:-PHope that helps.

Wade

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
On Behalf Of cajun
Sent: Wednesday, September 03, 2003 10:04 PM
To: RedHat-List
Subject: Samba Help !!! PLEASE !!


Hi all,

Was wondering if anyone out there is running Samba on a RH9 
installation.  I have been trying to set this thing up for the past 2 
days and have not got anything going yet.  I think I am close.  Here
is 
the error message I get when I try and use smbclient on the host :

smbclient '\\hostname\home\dir'
Password:
session setup failed: NT_STATUS_LOGON_FAILURE

The hostname is the name of the Host box and I am using a users home 
directory that I have setup in Samba server setup.  This is driving me

crazy.  I have been searching and trying anything and everything I can

find out there but still to no avail.  If someone could point me in
the 
right direction, it would be greatly appreciated.

Thanks a GRUNCH!!!

Lee Perez


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


RE: Samba Help !!! PLEASE !!

2003-09-04 Thread Nick Kishfy
I'm not sure what your exact problem is but Wade mentioned using SWAT
to help you configure Samba. In my humble opinion SWAT actually makes
the configuration seem more complicated as it presents you with so
many options that you probably don't need. If you are going to use a
web interface to manage Samba you may want to try Webmin
(http://www.webmin.com). You also may want to check and make sure that
user that you are trying to login as is a Samba user as well as a Red
Hat user.

Nick


-Original Message-
From: Wade Chandler [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 03, 2003 11:29 PM
To: [EMAIL PROTECTED]
Subject: RE: Samba Help !!! PLEASE !!

I've noticed this error when using secure passwordsdoesn't make
sense to me that the smbclient can't use the secure passwords, but I
think this is your issue.  I had the same error.  I use SWAT, so I
went
to the section.at work right now my Linux setup is at home, but I
turned off the secure passwords in what ever section that is under in
SWAT and it worked like a charm.  But, XP and 2000 would have issue
connecting if you turn this off I believe.  If anyone else has any
other
insite it would be great.  I wouldn't mind being able to get mine
working for Winblows 98 and XP & 2000...:-)  Anyways, try that out and
see what happens.  If you aren't using secure passwords try turning
them
on I may have it mixed around in my head.:-PHope that helps.

Wade

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
On Behalf Of cajun
Sent: Wednesday, September 03, 2003 10:04 PM
To: RedHat-List
Subject: Samba Help !!! PLEASE !!


Hi all,

Was wondering if anyone out there is running Samba on a RH9 
installation.  I have been trying to set this thing up for the past 2 
days and have not got anything going yet.  I think I am close.  Here
is 
the error message I get when I try and use smbclient on the host :

smbclient '\\hostname\home\dir'
Password:
session setup failed: NT_STATUS_LOGON_FAILURE

The hostname is the name of the Host box and I am using a users home 
directory that I have setup in Samba server setup.  This is driving me

crazy.  I have been searching and trying anything and everything I can

find out there but still to no avail.  If someone could point me in
the 
right direction, it would be greatly appreciated.

Thanks a GRUNCH!!!

Lee Perez


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


RE: Samba Help !!! PLEASE !!

2003-09-03 Thread Wade Chandler
I've noticed this error when using secure passwordsdoesn't make
sense to me that the smbclient can't use the secure passwords, but I
think this is your issue.  I had the same error.  I use SWAT, so I went
to the section.at work right now my Linux setup is at home, but I
turned off the secure passwords in what ever section that is under in
SWAT and it worked like a charm.  But, XP and 2000 would have issue
connecting if you turn this off I believe.  If anyone else has any other
insite it would be great.  I wouldn't mind being able to get mine
working for Winblows 98 and XP & 2000...:-)  Anyways, try that out and
see what happens.  If you aren't using secure passwords try turning them
on I may have it mixed around in my head.:-PHope that helps.

Wade

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of cajun
Sent: Wednesday, September 03, 2003 10:04 PM
To: RedHat-List
Subject: Samba Help !!! PLEASE !!


Hi all,

Was wondering if anyone out there is running Samba on a RH9 
installation.  I have been trying to set this thing up for the past 2 
days and have not got anything going yet.  I think I am close.  Here is 
the error message I get when I try and use smbclient on the host :

smbclient '\\hostname\home\dir'
Password:
session setup failed: NT_STATUS_LOGON_FAILURE

The hostname is the name of the Host box and I am using a users home 
directory that I have setup in Samba server setup.  This is driving me 
crazy.  I have been searching and trying anything and everything I can 
find out there but still to no avail.  If someone could point me in the 
right direction, it would be greatly appreciated.

Thanks a GRUNCH!!!

Lee Perez


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Samba with RH 9.0

2003-08-29 Thread Hugh Taylor
Hugh Taylor wrote:

[EMAIL PROTECTED] wrote:

I am seeing a strange problem on the two  RH 9 machines upon which we 
loaded samba [ both the RH production samba release (2.7.something) 
and also on the 3.0 Rawhide samba beta release ].
Smbmount ( or mount -t smbfs) has worked for a few years on older 
machines running the RH 7.2-7.3 variants and still works well today. 
However, both RH 9 machines on which we put samba have intermittent 
"hangs" after smbfs mounts. After a control-c, the share is 
definitely mounted, but since several mounts are run in a single 
script, terminating the script is undesirable behaviour. The only 
error message I sometimes get in strace is  .
This is a very frequent but random event, and occurs on connections 
from both the RH 9 boxes  to Windoze boxes and other Linux boxes. 
Older boxes (which don't have this problem) share the same hub and 
unmanaged switches. The windoze boxes can map each other ( and the 
Linux boxes)  without a problem.

Has anyone else experienced this failure ?? A strace is unrevealing, 
since everything up to  is the same for both failed and 
successful attempts. This could be a mount problem, rather than a 
samba problem.

I haven't seen anything in Google which resembles this issue.



 

I am having the same problem, I thought it was something I missed in 
the setup. I have run the mount command with debug=3 and it just seems 
to stop at "Connecting to  at port 139". Sorry I can't 
offer any help, I'll let you know if I find a solution.

Hugh Taylor


I found a reference to this bug:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=90036
Using one of the scripts (the last one) seems to have fixed the problem 
of hanging. I still can't mount a share on Windows boxes, but I'm 
thinking it is something with the configuration of Samba or the RedHat 
firewall.

--

Hugh
mailto: [EMAIL PROTECTED]


--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Samba with RH 9.0

2003-08-27 Thread Hugh Taylor
[EMAIL PROTECTED] wrote:

I am seeing a strange problem on the two  RH 9 machines upon 
which we loaded samba [ both the RH production samba release 
(2.7.something) and also on the 3.0 Rawhide samba beta release ]. 

Smbmount ( or mount -t smbfs) has worked for a few years on 
older machines running the RH 7.2-7.3 variants and still works well 
today. However, both RH 9 machines on which we put samba have 
intermittent "hangs" after smbfs mounts. After a control-c, the share 
is definitely mounted, but since several mounts are run in a single 
script, terminating the script is undesirable behaviour. The only 
error message I sometimes get in strace is  . 

This is a very frequent but random event, and occurs on 
connections from both the RH 9 boxes  to Windoze boxes and 
other Linux boxes. Older boxes (which don't have this problem) 
share the same hub and unmanaged switches. The windoze boxes 
can map each other ( and the Linux boxes)  without a problem.

Has anyone else experienced this failure ?? A strace is 
unrevealing, since everything up to  is the same for 
both failed and successful attempts. This could be a mount 
problem, rather than a samba problem.

I haven't seen anything in Google which resembles this issue. 





 

I am having the same problem, I thought it was something I missed in the 
setup. I have run the mount command with debug=3 and it just seems to 
stop at "Connecting to  at port 139". Sorry I can't offer 
any help, I'll let you know if I find a solution.

Hugh Taylor

--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


RE: Samba Issues

2003-08-23 Thread George Nicholls
txs for the hint; I got it to work. I did the config below and then
edited out the print command lines with "-o raw" etc in smb.conf

**
 Near the bottom of /etc/cups/mime.types find and uncomment the line as 
 below:

 #
 # Raw print file support...
 #
 # Uncomment the following type and the application/octet-stream
 # filter line in mime.convs to allow raw file printing without the
 # -oraw option.
 #
 
 application/octet-stream
 
 #
 # End of 
 
 Then in /etc/cups/mime.convs find and uncomment as shown:
 
 #
 # Raw filter...
 #
 # Uncomment the following filter and the application/octet-stream type
 # in mime.types to allow printing of arbitrary files without the -oraw
 # option.
 #
 
 application/octet-streamapplication/vnd.cups-raw0   -
 
 #
 # End of 
 
 restart cups

***

Regards,

George


On Sat, 2003-08-23 at 18:41, Jason Staudenmayer wrote:
> OH I know what that it but I can't remember where to fix it. The back of my
> brain is corrupt.
> Try Google for cups octet stream
> 
> -Original Message-
> From: George Nicholls [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, August 23, 2003 12:26 PM
> To: redhat List
> Subject: Re: Samba Issues
> 
> 
> Txs for the advice; I have followed it and now the win printer dialog
> box shows "ready", however, no pages are spooling.
> 
> My error log shows the following
> 
> *
> print_job: Unsupport format 'application/octet-stream'
> Hint: Do you have the raw file printing rules enabled?
> *
> 
> My access_log does not show the remote machine connecting, however,
> should it?
> 
> I then edited my smb.conf file to allow raw drivers as follows
> 
> **
> 
> comment = All Printers
>   path = /var/spool/samba
>   browseable = no
> # Set public = yes to allow user 'guest account' to print
>   printable = yes
>   guest ok = yes
>   writeable = no
>   create mode = 700
>   print command = lpr-cups -P %p -o raw %s -r
>   lpq command = lpstat -o %p
>   lprm command =  cancel %p-%j  
> **
> 
> I can get the system printing on Mandrake 9.1 with these settings but
> not on RH9. I am assuming that the RH9 has some different configuration
> somewhere to Mandrake.
> 
> Any suggestions on how to get this going?
> 
> Regards,
> 
> G
> On Sat, 2003-08-23 at 16:30, Jason Dixon wrote:
> > On Sat, 2003-08-23 at 10:11, George Nicholls wrote:
> > > Dear List,
> > > 
> > > I have a RH9 server running samba. I wish to use it for printing
> > > requests from win 2000 clients and also as a simple directory share.
> > > 
> > > I have set a printer up and can connect and print to it from a RH9
> > > client so I know that cups is running fine.
> > > 
> > > I have configured my smb.conf file and can write to and read from the
> > > simple share directory on the samba server using a win 2000 client.
> > 
> > Make sure you have reviewed the steps in the CUPS manual for setting up
> > CUPS/Samba for sharing printers with Windows clients:
> > 
> > http://www.cups.org/sam.html#8_8
> > 
> > 
> > -- 
> > Jason Dixon, RHCE
> > DixonGroup Consulting
> > http://www.dixongroup.net
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]
> https://www.redhat.com/mailman/listinfo/redhat-list
-- 
Regards,
__

George Nicholls
+27 (0) 833 272 995 Fax +27(0) 11 462 5868

Pasco Risk Consultants (Pty) Ltd
P.O. Box 789 Douglasdale 2165 South Africa






-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


RE: Samba Issues

2003-08-23 Thread Jason Staudenmayer
OH I know what that it but I can't remember where to fix it. The back of my
brain is corrupt.
Try Google for cups octet stream

-Original Message-
From: George Nicholls [mailto:[EMAIL PROTECTED] 
Sent: Saturday, August 23, 2003 12:26 PM
To: redhat List
Subject: Re: Samba Issues


Txs for the advice; I have followed it and now the win printer dialog
box shows "ready", however, no pages are spooling.

My error log shows the following

*
print_job: Unsupport format 'application/octet-stream'
Hint: Do you have the raw file printing rules enabled?
*

My access_log does not show the remote machine connecting, however,
should it?

I then edited my smb.conf file to allow raw drivers as follows

**

comment = All Printers
path = /var/spool/samba
browseable = no
# Set public = yes to allow user 'guest account' to print
printable = yes
guest ok = yes
writeable = no
create mode = 700
print command = lpr-cups -P %p -o raw %s -r
lpq command = lpstat -o %p
lprm command =  cancel %p-%j  
**

I can get the system printing on Mandrake 9.1 with these settings but
not on RH9. I am assuming that the RH9 has some different configuration
somewhere to Mandrake.

Any suggestions on how to get this going?

Regards,

G
On Sat, 2003-08-23 at 16:30, Jason Dixon wrote:
> On Sat, 2003-08-23 at 10:11, George Nicholls wrote:
> > Dear List,
> > 
> > I have a RH9 server running samba. I wish to use it for printing
> > requests from win 2000 clients and also as a simple directory share.
> > 
> > I have set a printer up and can connect and print to it from a RH9
> > client so I know that cups is running fine.
> > 
> > I have configured my smb.conf file and can write to and read from the
> > simple share directory on the samba server using a win 2000 client.
> 
> Make sure you have reviewed the steps in the CUPS manual for setting up
> CUPS/Samba for sharing printers with Windows clients:
> 
> http://www.cups.org/sam.html#8_8
> 
> 
> -- 
> Jason Dixon, RHCE
> DixonGroup Consulting
> http://www.dixongroup.net


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Samba Issues

2003-08-23 Thread George Nicholls
Txs for the advice; I have followed it and now the win printer dialog
box shows "ready", however, no pages are spooling.

My error log shows the following

*
print_job: Unsupport format 'application/octet-stream'
Hint: Do you have the raw file printing rules enabled?
*

My access_log does not show the remote machine connecting, however,
should it?

I then edited my smb.conf file to allow raw drivers as follows

**

comment = All Printers
path = /var/spool/samba
browseable = no
# Set public = yes to allow user 'guest account' to print
printable = yes
guest ok = yes
writeable = no
create mode = 700
print command = lpr-cups -P %p -o raw %s -r
lpq command = lpstat -o %p
lprm command =  cancel %p-%j  
**

I can get the system printing on Mandrake 9.1 with these settings but
not on RH9. I am assuming that the RH9 has some different configuration
somewhere to Mandrake.

Any suggestions on how to get this going?

Regards,

G
On Sat, 2003-08-23 at 16:30, Jason Dixon wrote:
> On Sat, 2003-08-23 at 10:11, George Nicholls wrote:
> > Dear List,
> > 
> > I have a RH9 server running samba. I wish to use it for printing
> > requests from win 2000 clients and also as a simple directory share.
> > 
> > I have set a printer up and can connect and print to it from a RH9
> > client so I know that cups is running fine.
> > 
> > I have configured my smb.conf file and can write to and read from the
> > simple share directory on the samba server using a win 2000 client.
> 
> Make sure you have reviewed the steps in the CUPS manual for setting up
> CUPS/Samba for sharing printers with Windows clients:
> 
> http://www.cups.org/sam.html#8_8
> 
> 
> -- 
> Jason Dixon, RHCE
> DixonGroup Consulting
> http://www.dixongroup.net


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Samba Issues

2003-08-23 Thread Jason Dixon
On Sat, 2003-08-23 at 10:11, George Nicholls wrote:
> Dear List,
> 
> I have a RH9 server running samba. I wish to use it for printing
> requests from win 2000 clients and also as a simple directory share.
> 
> I have set a printer up and can connect and print to it from a RH9
> client so I know that cups is running fine.
> 
> I have configured my smb.conf file and can write to and read from the
> simple share directory on the samba server using a win 2000 client.

Make sure you have reviewed the steps in the CUPS manual for setting up
CUPS/Samba for sharing printers with Windows clients:

http://www.cups.org/sam.html#8_8


-- 
Jason Dixon, RHCE
DixonGroup Consulting
http://www.dixongroup.net


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


RE: Samba Issues

2003-08-23 Thread Jason Staudenmayer
Try this one.
 use client driver = yes

Windows will try to get the queue status from the server and it can't. This
is supposed to tell the server to let the client know to use it's own driver
for the status. This fixed it for me under winnt 4.

-Original Message-
From: George Nicholls [mailto:[EMAIL PROTECTED] 
Sent: Saturday, August 23, 2003 10:11 AM
To: redhat List
Subject: Samba Issues


Dear List,

I have a RH9 server running samba. I wish to use it for printing
requests from win 2000 clients and also as a simple directory share.

I have set a printer up and can connect and print to it from a RH9
client so I know that cups is running fine.

I have configured my smb.conf file and can write to and read from the
simple share directory on the samba server using a win 2000 client.

I cannot print. I have configured smb.conf to load and share all
printers. I can see and connect to the printer from the win 2000 client
and the driver install goes OK. When I access the printer I get the
message "cannot connect to the printer, access denied". I do not think
that it is an authentication issue as I can connect to the simple
directory shares.

I understand that if I have share level security and guest ok = yes in
the smb.conf file any user can print? I have tried this with no effect.
I have modified the print driver commands to ones which worked on
Mandrake 9.1 but with no luck. Have RH configured samba slightly
differently?

My error and access logs do not tell me anything illustrative.

Below is a snip from my smb.conf file.

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

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

>>> snip

# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# Set public = yes to allow user 'guest account' to print
printable = yes
guest ok = yes
writeable = no
create mode = 700
#print command = lpr-cups -P %p -o raw %s -r
#lpq command = lpstat -o %p
#lprm command =  cancel %p-%j  

***

Any suggestions as to what I have done wrong?

Regards,

George



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Samba, LAN browsing and desktop sharing.

2003-08-14 Thread Edward Dekkers


bEEnHeX wrote:

Hi there,
Hey there yourself.

guys, I have three questions, I hope that if anybody could be so kind and
help me with any of them ...
I haven't seen you on the list before. Did you read the welcoming letter?

Please always specify which versions of things you are running and don't 
fire off a heap of multiple questions. I've noticed nobody's answered 
you at this point and I believe it's because of this. We're all 
volunteering our time, and we don't like repeating ourselves. There's a 
HEAP of ducumentation on Samba around the net, plus the list archives 
(see below for links), and people don't like answering things for which 
the answer already exists. Especially seeing as though you haven't told 
us what you've tried to rectify the problem yourself. Having said that, 
let's tackle one question at a time. I'll start with the first one.

FIRST:
I have set up samba server on my linux machine and can NOT see the contents
of my windows machine, although I can see my shared windows documents only
from windows box in the same workgroup.
From windows machine I can log in to samba as normally with my linux account
and see whatever I set up in samba server, so from windows it is working ok.

Please, what could be the problem? Is there any browsing utility in RH for
accessing windows shares?
I think the easiest thing in this case is to download a proggy called 
LinNeighborhood. It works almost exactly like Network Neighborhood, but 
written for Linux. Use google (www.google.com) to search for it, and 
follow the accompanying instruction on how to install and use it.

Handy links:

www.google.com/linux (search for anything - you will find)
www.tldp.org
www.redhat.com (follow the links for documentation)
www.samba.org
http://linuxshop.ru/linuxbegin/win-lin-soft-en/ (for  list of Linux - 
Windows equivalent programs)

As per usual, I've lost the link to the searchable list archives. 
Somebody else will have to chime in here.

Regards,
Ed.


--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Samba errors

2003-08-14 Thread Alex
I know what OS LEVEL does and in my experience it's enough to put a value of
99 or even 65 to win browser elections over winnt/2000 adn that's why when I
got these problems I tried to rise the value to 150 because I don't know if
with a value of 99 samba will win over winxp, but as I can see this is not
the problem here... because I still get those messages, so I'm a bit
confused about what is really the problem.

Alex
- Original Message - 
From: "Jason Dixon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 06, 2003 9:06 PM
Subject: Re: Samba errors


> On Wed, 2003-08-06 at 13:11, Alex wrote:
> > Aug  6 17:52:50 main nmbd[17890]:   This response was from IP
> > 192.168.254.60, reporting an IP address of 192.168.254.60.
> > Aug  6 18:28:12 main nmbd[17890]: [2003/08/06 18:28:12, 0]
> > nmbd/nmbd_namequery.c:query_name_response(112)
> > Aug  6 18:28:12 main nmbd[17890]:   query_name_response: Multiple (2)
> > responses received for a query on subnet 192.168.254.1 for name
> > WORKGROUP<1d>.
> > Aug  6 18:28:12 main nmbd[17890]:   This response was from IP
> > 192.168.254.60, reporting an IP address of 192.168.254.60.
> >
> > I get a lot of these messages on my rh9 machine with samba-2.2.8a-1 and
I
> > don;t know why or what should I do to fix this. Here is my smb.conf:
> > ...
> > All workstations are Win98 and WinXP and all of them have samba as their
> > wins server.
> >
> > I have also foud that at a certain point when I try to bowse the network
I
> > can only see a couple of computers (not even half of them). The same
> > smb.conf I had 2 months ago and everything was working just fine, but
> > now
> > Can you give me some hints on what should I do and why does this happen?
>
> Based on the "multiple (2) responses" message, and the fact that you
> have occassional browsing problems, it sounds to me like you have
> competing domain masters.  Check your Windows XP systems to see if any
> of them are configured as a PDC.  Per the smb.conf manpage...
>
> "   os level (G)
> This integer value controls what level Samba  advertises  itself as  for
> browse elections. The value of this parameter determines whether nmbd(8)
> has a chance of becoming a local master  browser for the  WORKGROUP in
> the local broadcast area.
>
> Note  :By  default, Samba will win a local master browsing election over
> all Microsoft operating systems except  a  Windows  NT 4.0/2000  Domain
> Controller.  This  means  that a misconfigured Samba host can
> effectively isolate a subnet  for  browsing  purposes.  See
> BROWSING.txt  in  the  Samba  docs/  directory  for details."
>
> If you still have problems, I'd suggest performing some payload dumps on
> your traffic.  Unfortunately, it will take some advanced SMB experience
> to understand what you're seeing, so you might be better off just
> "tweaking ".  ;-)
>
> -- 
> Jason Dixon, RHCE
> DixonGroup Consulting
> http://www.dixongroup.net
>
>
> -- 
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]
> https://www.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


RE: SAMBA & Win2k

2003-08-14 Thread Jason Tesser
do you have a user created in samba for the win2k box? you can tell samba to allow no 
password

Jason Tesser
Web/Multimedia Programmer
Northland Baptist Bible College
(715)324-6900 ext. 3055


-Original Message-
From: SarahTF [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 9:04 AM
To: [EMAIL PROTECTED]
Subject: SAMBA & Win2k


I had SAMBA working with RH9 and Win98. Now I have upgraded the Windows 
box to 2000 and nothing works. All I really need to so is share the 
printer between the 2 machines.

The one thing I have come across in digging through any documentation I 
can find concerns passwords. I don't have a password on the Windows box.
Could this be causing the problem?

Sarah Fish
Saratoga Springs, NY



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: SAMBA & Win2k

2003-08-14 Thread Benjamin J. Weiss
The only thing I can think of is that win98 didn't encrypt passwords, and 
win2k does.  Check your configuration file to ensure that encryption is 
turned on and see if that helps.

Ben

On Wed, 6 Aug 2003, SarahTF wrote:

> I had SAMBA working with RH9 and Win98. Now I have upgraded the Windows 
> box to 2000 and nothing works. All I really need to so is share the 
> printer between the 2 machines.
> 
> The one thing I have come across in digging through any documentation I 
> can find concerns passwords. I don't have a password on the Windows box.
> Could this be causing the problem?
> 
> Sarah Fish
> Saratoga Springs, NY
> 
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]
> https://www.redhat.com/mailman/listinfo/redhat-list
> 


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


RE: SAMBA & Win2k

2003-08-14 Thread Gianfranco D'Aleo
Why you don't install the Unix / LPD feature on winsoz2000?

In this way you  can forget Samba and print from Linux box with a simple LPR
command.

Ciao


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: SAMBA & Win2k

2003-08-14 Thread teddy
Yes I believe that is the problem, samba may require a username/password to 
gain access to printers, what i did was create a user on my linux box and 
create the same user on my winxp box with the same passwords and make sure 
they are part of the same workgroup and when I goto My Network Places samba 
shows up without prompting for a password.

hope this helps.


-- Original Message ---
From: SarahTF <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Sent: Wed, 06 Aug 2003 10:03:50 -0400
Subject: SAMBA & Win2k

> I had SAMBA working with RH9 and Win98. Now I have upgraded the 
> Windows box to 2000 and nothing works. All I really need to so is 
> share the printer between the 2 machines.
> 
> The one thing I have come across in digging through any 
> documentation I can find concerns passwords. I don't have a password 
> on the Windows box. Could this be causing the problem?
> 
> Sarah Fish
> Saratoga Springs, NY
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]
> https://www.redhat.com/mailman/listinfo/redhat-list
--- End of Original Message ---


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Samba errors

2003-08-14 Thread Jason Dixon
On Wed, 2003-08-06 at 13:11, Alex wrote:
> Aug  6 17:52:50 main nmbd[17890]:   This response was from IP
> 192.168.254.60, reporting an IP address of 192.168.254.60.
> Aug  6 18:28:12 main nmbd[17890]: [2003/08/06 18:28:12, 0]
> nmbd/nmbd_namequery.c:query_name_response(112)
> Aug  6 18:28:12 main nmbd[17890]:   query_name_response: Multiple (2)
> responses received for a query on subnet 192.168.254.1 for name
> WORKGROUP<1d>.
> Aug  6 18:28:12 main nmbd[17890]:   This response was from IP
> 192.168.254.60, reporting an IP address of 192.168.254.60.
> 
> I get a lot of these messages on my rh9 machine with samba-2.2.8a-1 and I
> don;t know why or what should I do to fix this. Here is my smb.conf:
> ...
> All workstations are Win98 and WinXP and all of them have samba as their
> wins server.
> 
> I have also foud that at a certain point when I try to bowse the network I
> can only see a couple of computers (not even half of them). The same
> smb.conf I had 2 months ago and everything was working just fine, but
> now
> Can you give me some hints on what should I do and why does this happen?

Based on the "multiple (2) responses" message, and the fact that you
have occassional browsing problems, it sounds to me like you have
competing domain masters.  Check your Windows XP systems to see if any
of them are configured as a PDC.  Per the smb.conf manpage...

"   os level (G)
This integer value controls what level Samba  advertises  itself as  for
browse elections. The value of this parameter determines whether nmbd(8)
has a chance of becoming a local master  browser for the  WORKGROUP in
the local broadcast area.

Note  :By  default, Samba will win a local master browsing election over
all Microsoft operating systems except  a  Windows  NT 4.0/2000  Domain 
Controller.  This  means  that a misconfigured Samba host can
effectively isolate a subnet  for  browsing  purposes.  See 
BROWSING.txt  in  the  Samba  docs/  directory  for details."

If you still have problems, I'd suggest performing some payload dumps on
your traffic.  Unfortunately, it will take some advanced SMB experience
to understand what you're seeing, so you might be better off just
"tweaking ".  ;-)

-- 
Jason Dixon, RHCE
DixonGroup Consulting
http://www.dixongroup.net


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


RE: Samba errors

2003-08-11 Thread Binyon Steve Contr Det 4 AFC2TIG/ASRCC
I see this messaged when I have a multi-homed system with Microsoft Client
and File Print share serivces active for all interfaces, but usually I see a
different IP address in the error message such as:
 6 18:28:12 main nmbd[17890]:   This response was from IP
 192.168.254.60, reporting an IP address of 192.168.1.60.
When I see this type of message, then I just turn off Microsoft Client
Services and turn off File Print Share services on the interfaces that are
not on the same subnet as the Samba Server.  Your messages show the same IP
so I may be wrong, but maybe it will help in some way.

~smbinyon
sorry for the top post but thought I keep it straight.

-Original Message-
From: Alex [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 12:33 PM
To: [EMAIL PROTECTED]
Subject: Re: Samba errors


I know what OS LEVEL does and in my experience it's enough to put a value of
99 or even 65 to win browser elections over winnt/2000 adn that's why when I
got these problems I tried to rise the value to 150 because I don't know if
with a value of 99 samba will win over winxp, but as I can see this is not
the problem here... because I still get those messages, so I'm a bit
confused about what is really the problem.

Alex
- Original Message - 
From: "Jason Dixon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 06, 2003 9:06 PM
Subject: Re: Samba errors


> On Wed, 2003-08-06 at 13:11, Alex wrote:
> > Aug  6 17:52:50 main nmbd[17890]:   This response was from IP
> > 192.168.254.60, reporting an IP address of 192.168.254.60.
> > Aug  6 18:28:12 main nmbd[17890]: [2003/08/06 18:28:12, 0]
> > nmbd/nmbd_namequery.c:query_name_response(112)
> > Aug  6 18:28:12 main nmbd[17890]:   query_name_response: Multiple (2)
> > responses received for a query on subnet 192.168.254.1 for name
> > WORKGROUP<1d>.
> > Aug  6 18:28:12 main nmbd[17890]:   This response was from IP
> > 192.168.254.60, reporting an IP address of 192.168.254.60.
> >
> > I get a lot of these messages on my rh9 machine with samba-2.2.8a-1 and
I
> > don;t know why or what should I do to fix this. Here is my smb.conf:
> > ...
> > All workstations are Win98 and WinXP and all of them have samba as their
> > wins server.
> >
> > I have also foud that at a certain point when I try to bowse the network
I
> > can only see a couple of computers (not even half of them). The same
> > smb.conf I had 2 months ago and everything was working just fine, but
> > now
> > Can you give me some hints on what should I do and why does this happen?
>
> Based on the "multiple (2) responses" message, and the fact that you
> have occassional browsing problems, it sounds to me like you have
> competing domain masters.  Check your Windows XP systems to see if any
> of them are configured as a PDC.  Per the smb.conf manpage...
>
> "   os level (G)
> This integer value controls what level Samba  advertises  itself as  for
> browse elections. The value of this parameter determines whether nmbd(8)
> has a chance of becoming a local master  browser for the  WORKGROUP in
> the local broadcast area.
>
> Note  :By  default, Samba will win a local master browsing election over
> all Microsoft operating systems except  a  Windows  NT 4.0/2000  Domain
> Controller.  This  means  that a misconfigured Samba host can
> effectively isolate a subnet  for  browsing  purposes.  See
> BROWSING.txt  in  the  Samba  docs/  directory  for details."
>
> If you still have problems, I'd suggest performing some payload dumps on
> your traffic.  Unfortunately, it will take some advanced SMB experience
> to understand what you're seeing, so you might be better off just
> "tweaking ".  ;-)
>
> -- 
> Jason Dixon, RHCE
> DixonGroup Consulting
> http://www.dixongroup.net
>
>
> -- 
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]
> https://www.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: samba error messages???

2003-07-27 Thread Jason Dixon
On Sun, 2003-07-27 at 22:40, Bret Hughes wrote:

> > > > I did exactly that a couple of days ago and found that I needed to add
> > > > 
> > > > kernel oplocks = no
> > > > 
> > > > in /etc/samba/smb.conf.  Once I did that the errors stopped.
> > > 
> > > Isn't there a significant performance hit for certain situations  by not
> > > using the oplocks?
> > 
> > This is best answered by the manpage entries for "fake oplocks" and
> > "oplocks"...
> > 
> > - fake oplocks (S)
> >   Oplocks are the way that SMB clients get permission from a
> > server to locally cache file operations.  If a server grants an oplock
> > (opportunistic lock) then the client is free to assume that it is the
> > only one accessing the file and it will aggressively cache file data.
> > With some oplock types the client may even cache file open/close
> > operations.  This can give enormous performance benefits.
> >  
> > When you set fake oplocks  =  yes, smbd(8) will always grant oplock
> > requests no matter how many clients are using the file.
> >  
> > It is generally much better to use the real oplocks support rather than
> > this parameter.
> > 
> > - kernel oplocks (G)
> >   For UNIXes that support kernel based oplocks (currently
> > only IRIX and the Linux 2.4 kernel), this parameter allows the use of
> > them to be turned on or off.
> >  
> > Kernel oplocks support allows Samba oplocks to be broken whenever  a
> > local UNIX process or NFS operation accesses a file that smbd(8) has
> > oplocked. This allows complete data consistency between SMB/CIFS, NFS
> > and local file access (and is a very cool feature :-).
> >  
> > This parameter defaults to on, but is translated to a  no-op on systems 
> > that no not have the necessary kernel support.  You should never need to
> > touch this parameter.
> > 
> 
> Yes That is what I remembered.  So really the issue is that there may be
> a data consistency if fake oplocks are used and perfomance hit if not. 
> Does this sound right?

This is a little more descriptive, taken from the O'Reilly samba book:

- fake oplocks
If set, returns YES whenever a client asks if it can lock a file and
cache it locally but does not enforce the lock on the server.  Results
in performance improvement for read-only shares.  NEVER USE WITH
READ/WRITE SHARES!

- oplocks
If YES, supports local caching of oplocked files on the client.  This
option is recommended because it improves performance by about 30%.

Short story, I'd leave well enough alone.  It doesn't hurt anything by
having it, and disabling it just to avoid the log entries will seriously
degrade performance.  Of course, YMMV.  ;-)

-- 
Jason Dixon, RHCE
DixonGroup Consulting
http://www.dixongroup.net


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: samba error messages???

2003-07-27 Thread Bret Hughes
On Sun, 2003-07-27 at 21:11, Jason Dixon wrote:
> On Sun, 2003-07-27 at 21:36, Bret Hughes wrote:
> > On Sun, 2003-07-27 at 20:19, Gerry Doris wrote:
> > > > There's a kernel oplock setting in samba you can change. I don't have
> > > > time to go into it now, but paste your error message into google, it
> > > > will give you a heap of references to it.
> > > >
> > > > Regards,
> > > > Ed.
> > > 
> > > I did exactly that a couple of days ago and found that I needed to add
> > > 
> > > kernel oplocks = no
> > > 
> > > in /etc/samba/smb.conf.  Once I did that the errors stopped.
> > > 
> > 
> > Isn't there a significant performance hit for certain situations  by not
> > using the oplocks?
> 
> This is best answered by the manpage entries for "fake oplocks" and
> "oplocks"...
> 
> - fake oplocks (S)
>   Oplocks are the way that SMB clients get permission from a
> server to locally cache file operations.  If a server grants an oplock
> (opportunistic lock) then the client is free to assume that it is the
> only one accessing the file and it will aggressively cache file data.
> With some oplock types the client may even cache file open/close
> operations.  This can give enormous performance benefits.
>  
> When you set fake oplocks  =  yes, smbd(8) will always grant oplock
> requests no matter how many clients are using the file.
>  
> It is generally much better to use the real oplocks support rather than
> this parameter.
> 
> - kernel oplocks (G)
>   For UNIXes that support kernel based oplocks (currently
> only IRIX and the Linux 2.4 kernel), this parameter allows the use of
> them to be turned on or off.
>  
> Kernel oplocks support allows Samba oplocks to be broken whenever  a
> local UNIX process or NFS operation accesses a file that smbd(8) has
> oplocked. This allows complete data consistency between SMB/CIFS, NFS
> and local file access (and is a very cool feature :-).
>  
> This parameter defaults to on, but is translated to a  no-op on systems 
> that no not have the necessary kernel support.  You should never need to
> touch this parameter.
> 

Yes That is what I remembered.  So really the issue is that there may be
a data consistency if fake oplocks are used and perfomance hit if not. 
Does this sound right?

Bret



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: samba error messages???

2003-07-27 Thread Gerry Doris
> On Sun, 2003-07-27 at 21:36, Bret Hughes wrote:
>> On Sun, 2003-07-27 at 20:19, Gerry Doris wrote:
>> > > There's a kernel oplock setting in samba you can change. I don't
>> have
>> > > time to go into it now, but paste your error message into google, it
>> > > will give you a heap of references to it.
>> > >
>> > > Regards,
>> > > Ed.
>> >
>> > I did exactly that a couple of days ago and found that I needed to add
>> >
>> > kernel oplocks = no
>> >
>> > in /etc/samba/smb.conf.  Once I did that the errors stopped.
>> >
>>
>> Isn't there a significant performance hit for certain situations  by not
>> using the oplocks?
>
> This is best answered by the manpage entries for "fake oplocks" and
> "oplocks"...
>
> - fake oplocks (S)
>   Oplocks are the way that SMB clients get permission from a
> server to locally cache file operations.  If a server grants an oplock
> (opportunistic lock) then the client is free to assume that it is the
> only one accessing the file and it will aggressively cache file data.
> With some oplock types the client may even cache file open/close
> operations.  This can give enormous performance benefits.
>
> When you set fake oplocks  =  yes, smbd(8) will always grant oplock
> requests no matter how many clients are using the file.
>
> It is generally much better to use the real oplocks support rather than
> this parameter.
>
> - kernel oplocks (G)
>   For UNIXes that support kernel based oplocks (currently
> only IRIX and the Linux 2.4 kernel), this parameter allows the use of
> them to be turned on or off.
>
> Kernel oplocks support allows Samba oplocks to be broken whenever  a
> local UNIX process or NFS operation accesses a file that smbd(8) has
> oplocked. This allows complete data consistency between SMB/CIFS, NFS
> and local file access (and is a very cool feature :-).
>
> This parameter defaults to on, but is translated to a  no-op on systems
> that no not have the necessary kernel support.  You should never need to
> touch this parameter.
>
>
> --
> Jason Dixon, RHCE
> DixonGroup Consulting
> http://www.dixongroup.net

Hmmm, interesting.  The problem that I think I'm having is that the Redhat
kernels do not have oplocks enabled.  Since samba's default is to assume
they are enabled I get an error message every 15 minutes in
/var/log/samba/log.smbd.

I assume the only way out of this is to recompile the kernel after turning
this feature on (where ever it is???) or just turn it off in smb.conf with
"kernel oplocks = off".  Do you know any other way to fix this?


Gerry


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: samba error messages???

2003-07-27 Thread Jason Dixon
On Sun, 2003-07-27 at 21:36, Bret Hughes wrote:
> On Sun, 2003-07-27 at 20:19, Gerry Doris wrote:
> > > There's a kernel oplock setting in samba you can change. I don't have
> > > time to go into it now, but paste your error message into google, it
> > > will give you a heap of references to it.
> > >
> > > Regards,
> > > Ed.
> > 
> > I did exactly that a couple of days ago and found that I needed to add
> > 
> > kernel oplocks = no
> > 
> > in /etc/samba/smb.conf.  Once I did that the errors stopped.
> > 
> 
> Isn't there a significant performance hit for certain situations  by not
> using the oplocks?

This is best answered by the manpage entries for "fake oplocks" and
"oplocks"...

- fake oplocks (S)
  Oplocks are the way that SMB clients get permission from a
server to locally cache file operations.  If a server grants an oplock
(opportunistic lock) then the client is free to assume that it is the
only one accessing the file and it will aggressively cache file data.
With some oplock types the client may even cache file open/close
operations.  This can give enormous performance benefits.
 
When you set fake oplocks  =  yes, smbd(8) will always grant oplock
requests no matter how many clients are using the file.
 
It is generally much better to use the real oplocks support rather than
this parameter.

- kernel oplocks (G)
  For UNIXes that support kernel based oplocks (currently
only IRIX and the Linux 2.4 kernel), this parameter allows the use of
them to be turned on or off.
 
Kernel oplocks support allows Samba oplocks to be broken whenever  a
local UNIX process or NFS operation accesses a file that smbd(8) has
oplocked. This allows complete data consistency between SMB/CIFS, NFS
and local file access (and is a very cool feature :-).
 
This parameter defaults to on, but is translated to a  no-op on systems 
that no not have the necessary kernel support.  You should never need to
touch this parameter.


-- 
Jason Dixon, RHCE
DixonGroup Consulting
http://www.dixongroup.net


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: samba error messages???

2003-07-27 Thread Bret Hughes
On Sun, 2003-07-27 at 20:19, Gerry Doris wrote:
> >
> >
> > Gerry Doris wrote:
> >
> >> I get one of these error messages about every 30 minutes in
> >> /var/log/samba/log.smbd.  Everything seems to be working fine though.
> >> What are they trying to tell me???
> >>
> >>
> >> [2003/07/26 09:31:27, 0]
> >> smbd/oplock_linux.c:linux_init_kernel_oplocks(287)
> >
> > There's a kernel oplock setting in samba you can change. I don't have
> > time to go into it now, but paste your error message into google, it
> > will give you a heap of references to it.
> >
> > Regards,
> > Ed.
> 
> I did exactly that a couple of days ago and found that I needed to add
> 
> kernel oplocks = no
> 
> in /etc/samba/smb.conf.  Once I did that the errors stopped.
> 

Isn't there a significant performance hit for certain situations  by not
using the oplocks?

Bret


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: samba error messages???

2003-07-27 Thread Gerry Doris
>
>
> Gerry Doris wrote:
>
>> I get one of these error messages about every 30 minutes in
>> /var/log/samba/log.smbd.  Everything seems to be working fine though.
>> What are they trying to tell me???
>>
>>
>> [2003/07/26 09:31:27, 0]
>> smbd/oplock_linux.c:linux_init_kernel_oplocks(287)
>
> There's a kernel oplock setting in samba you can change. I don't have
> time to go into it now, but paste your error message into google, it
> will give you a heap of references to it.
>
> Regards,
> Ed.

I did exactly that a couple of days ago and found that I needed to add

kernel oplocks = no

in /etc/samba/smb.conf.  Once I did that the errors stopped.

Gerry


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: samba error messages???

2003-07-27 Thread Edward Dekkers


Gerry Doris wrote:

I get one of these error messages about every 30 minutes in
/var/log/samba/log.smbd.  Everything seems to be working fine though.  
What are they trying to tell me???

[2003/07/26 09:31:27, 0] smbd/oplock_linux.c:linux_init_kernel_oplocks(287)
There's a kernel oplock setting in samba you can change. I don't have 
time to go into it now, but paste your error message into google, it 
will give you a heap of references to it.

Regards,
Ed.


--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Samba connecting to Windows Server 2000

2003-07-17 Thread Benjamin J. Weiss
> I'm getting "Connection Refused" from the Linux box
> when I try to connect.  It APPEARS that the problem
> is that Windows isn't accepting the passwords; anyone

Take a look at the /etc/samba/smb.conf file and see if you have a line
that looks like:

encrypt passwords = yes

Win95 did not encrypt passwords.  Every windows version since has
encrypted passwords during transmission.

Ben


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


RE: Samba connecting to Windows Server 2000

2003-07-17 Thread Ward William E DLDN
Unfortunately, neither machine is local to me
at the moment, so I can't verify, but I believe
it is in a domain.

> -Original Message-
> From: Mark Haney [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 17, 2003 3:13 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Samba connecting to Windows Server 2000
> 
> 
> Ward William E DLDN wrote:
> > I'm having a problem getting a Linux box to connect
> > to a Windows Server 2000 via Samba.
> > 
> > I'm getting "Connection Refused" from the Linux box
> > when I try to connect.  It APPEARS that the problem
> > is that Windows isn't accepting the passwords; anyone
> > have the slightest clue?  It's the first time I've
> > tried to use Samba, and I want to mirror the data
> > from the WinServer to a Linux box for data replication
> > and to do good backups.
> > 
> > TIA
> > 
> > R/William Ward
> 
> I would first start by asking if the Win2k Server is part of a domain?
> That makes a difference in how you connect using the SMBclient.
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]
> https://www.redhat.com/mailman/listinfo/redhat-list
> 


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


RE: Samba connecting to Windows Server 2000

2003-07-17 Thread Mark Haney
Ward William E DLDN wrote:
> I'm having a problem getting a Linux box to connect
> to a Windows Server 2000 via Samba.
> 
> I'm getting "Connection Refused" from the Linux box
> when I try to connect.  It APPEARS that the problem
> is that Windows isn't accepting the passwords; anyone
> have the slightest clue?  It's the first time I've
> tried to use Samba, and I want to mirror the data
> from the WinServer to a Linux box for data replication
> and to do good backups.
> 
> TIA
> 
> R/William Ward

I would first start by asking if the Win2k Server is part of a domain?
That makes a difference in how you connect using the SMBclient.


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


RE: Samba and Me (help)

2003-07-17 Thread Mark Haney
You've not given much to go on.  Was the box originally a Windows NT/2K server?  Was 
it part of a domain? Can you view the contents of the partition from the box itself?  
i.e. without Samba?

-Original Message- 
From: dch [mailto:[EMAIL PROTECTED] 
Sent: Wed 7/16/2003 7:26 PM 
To: RedHat List 
Cc: 
Subject: Samba and Me (help)



I have some left-over NTFS partitions on our server (I know, I know).
Anyway, I have these mounted and set up as a Samba share but they refuse
to accept any password from a windows box or accept "guest."

Any ideas?
--


--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


<>

Re: Samba Setup Problems - smb.conf Posted For Reference

2003-06-16 Thread Marcos de Souza Trazzini
On Sat, 2003-06-14 at 22:14, Scarletdown wrote:
> Can anyone tell me what I might be doing wrong here?
> 
> I'm trying to get a Linux box set up with Samba so I can share 
> files with a pair of Win-98 systems and my FreeSCO router.
> 
> Problem is, this system is not showing up in Network 
> Neighborhood, only the 2 98 boxes and the router.
> 
> If it helps any, here is what the smb.conf file looks like:
> 
> [global]
> 
>workgroup = BUSHYTAIL
>guest account = nobody
>keep alive = 30
>os level = 2
>server string = RedHat Linux 5.2 Test System - Build-0003
>hosts allow = 192.168.1 127.
>log file = /var/log/samba/log.%m
>max log size = 50
>security = share
>;include = /etc/smb.conf.%m
>socket options = TCP_NODELAY
>remote browse sync = 192.168.1.255
>remote announce = 192.168.1.255
>dns proxy = no
> 
> [transfers]
> 
>comment = Transfers Repository
>path = /usr/transfers
>read only = no
>public = yes
>writable = yes
>browseable = yes
>create mode = 0777
> 
> [public]
> 
>comment = Shiny Objects To Be Shared Across the BUSHYTAIL 
> Network
>path = /usr/public
>read only = no
>public = yes
>writable = yes
>browseable = yes
>create mode = 0777
> 
> 
> 
> Except for a couple "cosmetic" differences, it is pretty much 
> identical to the smb.conf in another Linux box I've been 
> working on (and that one was able to successfully connect to 
> the rest of the LAN.)
> 
> Thanks.
> 
> 

Well I think the problem is very simple to solve
Try to insert this 2 Lines in the [GLOBAL] section, under the
"Workgroup" directrive.

comment = "Comment to your server"
netbios name = "Name_of_your_server"




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Samba Setup Problems - smb.conf Posted For Reference

2003-06-15 Thread Scarletdown
On 16 Jun 2003 at 9:00, Edward Dekkers wrote:


> Scarletdown wrote:
>  
> > Would rebooting both 98 machines help, perhaps?
> 
> Possibly, you could also tell samba to be the master browser for the
> workgroup. That might help.
> 

It did turn out to just be a matter of waiting.  Not long after I posted my plea for 
help, 
Moltres finally appeared in the browse list.

> P.S. Is it really a RH Linux 5.2 System? Why so old?
> 

I simply haven't gotten around to getting a more up to date version is all (mostly 
because I'm on dialup, so downloading is out of the question for now.)  



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Samba Setup Problems - smb.conf Posted For Reference

2003-06-15 Thread AragonX
If that doesn't work, make sure your Windows machine has the same
workgroup name defined.  Also, you might have to enable WINS support on
both the client and the server.  Sometimes other protocols like IPX
interfere.  Make sure you have unused protocols removed.


> Scarletdown wrote:
>
>> On 15 Jun 2003 at 13:03, Roger Harrington wrote:
>>
>>
>>>You don't have a period between the 1 and 127 in your hosts.allow line
>>>
>>>-Original Message-
>>>From: [EMAIL PROTECTED]
>>>[mailto:[EMAIL PROTECTED] Behalf Of Scarletdown
>>>Sent: Sunday, 15 June 2003 11:14
>>>To: [EMAIL PROTECTED]
>>>Subject: Samba Setup Problems - smb.conf Posted For Reference
>>>
>>>
>>>Can anyone tell me what I might be doing wrong here?
>>>
>>>I'm trying to get a Linux box set up with Samba so I can share
>>>files with a pair of Win-98 systems and my FreeSCO router.
>>>
>>>Problem is, this system is not showing up in Network
>>>Neighborhood, only the 2 98 boxes and the router.
>>>
>>>If it helps any, here is what the smb.conf file looks like:
>>>
>>>[global]
>>>
>>>   workgroup = BUSHYTAIL
>>>   guest account = nobody
>>>   keep alive = 30
>>>   os level = 2
>>>   server string = RedHat Linux 5.2 Test System - Build-0003
>>>   hosts allow = 192.168.1 127.
>>
>>
>>
>> Thanks.  I don't know how I managed to miss that little typo.  After
>> adding the dot, I
>> am now able to at least find Moltres by going to Windows Explorer and
>> selecting
>> Tools-Find-Computer; and I was able to map public and transfers as
>> network drives.
>> However, he still isn't showing up in Network Neighborhood.  It's been
>> nearly an
>> hour since I accomplished this, and he still isn't showing up in NN.
>> Would rebooting
>> both 98 machines help, perhaps?
>
> Possibly, you could also tell samba to be the master browser for the
> workgroup. That might help.
>
> P.S. Is it really a RH Linux 5.2 System? Why so old?
>
> Regards,
> Ed.
>
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]
> https://www.redhat.com/mailman/listinfo/redhat-list
>


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Samba Setup Problems - smb.conf Posted For Reference

2003-06-15 Thread Edward Dekkers
Scarletdown wrote:

On 15 Jun 2003 at 13:03, Roger Harrington wrote:


You don't have a period between the 1 and 127 in your hosts.allow line

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Scarletdown
Sent: Sunday, 15 June 2003 11:14
To: [EMAIL PROTECTED]
Subject: Samba Setup Problems - smb.conf Posted For Reference
Can anyone tell me what I might be doing wrong here?

I'm trying to get a Linux box set up with Samba so I can share 
files with a pair of Win-98 systems and my FreeSCO router.

Problem is, this system is not showing up in Network 
Neighborhood, only the 2 98 boxes and the router.

If it helps any, here is what the smb.conf file looks like:

[global]

  workgroup = BUSHYTAIL
  guest account = nobody
  keep alive = 30
  os level = 2
  server string = RedHat Linux 5.2 Test System - Build-0003
  hosts allow = 192.168.1 127.


Thanks.  I don't know how I managed to miss that little typo.  After adding the dot, I 
am now able to at least find Moltres by going to Windows Explorer and selecting 
Tools-Find-Computer; and I was able to map public and transfers as network drives.  
However, he still isn't showing up in Network Neighborhood.  It's been nearly an 
hour since I accomplished this, and he still isn't showing up in NN.  Would rebooting 
both 98 machines help, perhaps?
Possibly, you could also tell samba to be the master browser for the 
workgroup. That might help.

P.S. Is it really a RH Linux 5.2 System? Why so old?

Regards,
Ed.


--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


RE: Samba Setup Problems - smb.conf Posted For Reference

2003-06-14 Thread Scarletdown
On 15 Jun 2003 at 13:03, Roger Harrington wrote:

> You don't have a period between the 1 and 127 in your hosts.allow line
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Scarletdown
> Sent: Sunday, 15 June 2003 11:14
> To: [EMAIL PROTECTED]
> Subject: Samba Setup Problems - smb.conf Posted For Reference
> 
> 
> Can anyone tell me what I might be doing wrong here?
> 
> I'm trying to get a Linux box set up with Samba so I can share 
> files with a pair of Win-98 systems and my FreeSCO router.
> 
> Problem is, this system is not showing up in Network 
> Neighborhood, only the 2 98 boxes and the router.
> 
> If it helps any, here is what the smb.conf file looks like:
> 
> [global]
> 
>workgroup = BUSHYTAIL
>guest account = nobody
>keep alive = 30
>os level = 2
>server string = RedHat Linux 5.2 Test System - Build-0003
>hosts allow = 192.168.1 127.


Thanks.  I don't know how I managed to miss that little typo.  After adding the dot, I 
am now able to at least find Moltres by going to Windows Explorer and selecting 
Tools-Find-Computer; and I was able to map public and transfers as network drives.  
However, he still isn't showing up in Network Neighborhood.  It's been nearly an 
hour since I accomplished this, and he still isn't showing up in NN.  Would rebooting 
both 98 machines help, perhaps?





-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


RE: Samba Setup Problems - smb.conf Posted For Reference

2003-06-14 Thread Roger Harrington
You don't have a period between the 1 and 127 in your hosts.allow line

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Scarletdown
Sent: Sunday, 15 June 2003 11:14
To: [EMAIL PROTECTED]
Subject: Samba Setup Problems - smb.conf Posted For Reference


Can anyone tell me what I might be doing wrong here?

I'm trying to get a Linux box set up with Samba so I can share 
files with a pair of Win-98 systems and my FreeSCO router.

Problem is, this system is not showing up in Network 
Neighborhood, only the 2 98 boxes and the router.

If it helps any, here is what the smb.conf file looks like:

[global]

   workgroup = BUSHYTAIL
   guest account = nobody
   keep alive = 30
   os level = 2
   server string = RedHat Linux 5.2 Test System - Build-0003
   hosts allow = 192.168.1 127.
   log file = /var/log/samba/log.%m
   max log size = 50
   security = share
   ;include = /etc/smb.conf.%m
   socket options = TCP_NODELAY
   remote browse sync = 192.168.1.255
   remote announce = 192.168.1.255
   dns proxy = no

[transfers]

   comment = Transfers Repository
   path = /usr/transfers
   read only = no
   public = yes
   writable = yes
   browseable = yes
   create mode = 0777

[public]

   comment = Shiny Objects To Be Shared Across the BUSHYTAIL 
Network
   path = /usr/public
   read only = no
   public = yes
   writable = yes
   browseable = yes
   create mode = 0777



Except for a couple "cosmetic" differences, it is pretty much 
identical to the smb.conf in another Linux box I've been 
working on (and that one was able to successfully connect to 
the rest of the LAN.)

Thanks.



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


RE: samba configure help required.!!@@!!

2003-06-13 Thread michael . bartlett
What error message do you get?
This problem may be related to the windows registry patch you need to apply
for certain smb configurations. Just do a google for samba windows registry
and I'm sure you'll find what you are looking for. 

-Original Message-
From: root_sharif [mailto:[EMAIL PROTECTED] 
Sent: 13 June 2003 10:22
To: [EMAIL PROTECTED]
Subject: samba configure help required.!!@@!!


i am new in linux .
right now i am using RedHAT7.3
got my smb.conf configured as follows.

#
#=== Global Settings 

[global]
log file = /var/log/samba/%m.log
dns proxy = no
netbios name = Linux
netbios aliases = Linux
server string = Samba Server
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
workgroup = WORKGROUP
hosts allow = all
security = share
max log size = 100


[WWW]
writeable = yes
path = /var/www
write list = nobody
comment = Linux
public = yes
create mode = 777
directory mode = 777
allow hosts = all

but still i don't know how to access my Windows BOXES from my linux box. or
...the vise versa... what are the next steps.. i should follow??? pls let me
know.



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: samba configure help required.!!@@!!

2003-06-13 Thread Jon Haugsand
* root sharif
> but still i don't know how to access my Windows BOXES from my linux box.
> or ...the vise versa...
> what are the next steps.. i should follow???
> pls let me know.

I'll recommend you to read one of the many tutorials on samba laying
around on the Internet or on your own /usr/share/doc.  Here are
something to try for:

1. Are your samba daemons running?  Try:  'ps aux |grep "[sn]mbd"'

2. If not, start them:  '/etc/init.d/smb start'

3. Connect locally:  'smbclient -L //localhost'
   Do you get a list of resources, i.e. one resource: WWW?

4. Connect to BOXES: 'smbclient -L //BOXES'

5. Is BOXES a DNS name?  If not, you need a wins server or a wins
   mapping file (/etc/lmhosts).  Either insert BOXES into this file or
   edit smb.conf with the line 'wins server = ' where you
   replace  with the address of your wins server.

-- 
 Jon Haugsand, [EMAIL PROTECTED]
 http://www.norges-bank.no



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: samba configure help required.!!@@!!

2003-06-13 Thread Peter Peltonen
On Fri, 2003-06-13 at 12:22, root_sharif wrote:
> but still i don't know how to access my Windows BOXES from my linux box.

Are your Windows boxes also in a workgroup called WORKGROUP?

For accessing the Windows boxes from Linux, try smbclient (for a FTP like UI) or, if
you want to mount them like other filesystems to your RH box, try smbmount.

Also consider reading the Red Hat Linux Manuals (if you haven't
already), specially this:

http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/ch-samba.html

Regards,
Peter


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: samba

2003-06-03 Thread Tom Smith
bulent wrote:

I need working samba.cfg. Can anyone send me live samba.cfg file? 
If you use Redhat's distro of Samba you already have a working config 
file. Check /etc/smb.conf. The default workgroup is WORKGROUP. All you 
have to do is add a Linux user to Samba's password database and you're off.

You can use Swat to help with configuration issues. The latest version 
even includes a handy Wizard for setting up the smb.conf file.



--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: samba

2003-06-02 Thread bulent
Edward Dekkers wrote:

bulent wrote:

Hello friends,
I need working samba.cfg. Can anyone send me live samba.cfg file?
thank you..

I'm sure you mean smb.conf?

Type 'sample smb.conf' in to google.com

7580 hits, all links on the first page have working examples.

Regards,
Ed.


Thanks Ed
if it is working, it is fine


--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: samba

2003-06-02 Thread Alan Lake
I recently upgraded to Red Hat 9 from 7.3.  From the System Settings | Server
Settings | Samba Server menu, I tried to look at my settings through
redhat-config-samba, but it would crash.  The solution was to rename (never
delete) /etc/samba/smb.conf and to use redhat-config-samba to create a new one.

Regards,
Al

> bulent wrote:
> 
> > Hello friends,
> > I need working samba.cfg. Can anyone send me live samba.cfg file?
> > thank you..
> >
> >
> 
> I'm sure you mean smb.conf?
> 
> Type 'sample smb.conf' in to google.com
> 
> 7580 hits, all links on the first page have working examples.
> 
> Regards,
> Ed.
> 
> --
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]
> https://www.redhat.com/mailman/listinfo/redhat-list




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: samba

2003-06-02 Thread Edward Dekkers
bulent wrote:

Hello friends,
I need working samba.cfg. Can anyone send me live samba.cfg file?
thank you..

I'm sure you mean smb.conf?

Type 'sample smb.conf' in to google.com

7580 hits, all links on the first page have working examples.

Regards,
Ed.


--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Samba/Winbind

2003-05-31 Thread Bret Hughes
On Fri, 2003-05-30 at 21:26, Anthony E. Greene wrote:
> On 29-May-2003/21:45 -0500, Bret Hughes <[EMAIL PROTECTED]> wrote:
> >On Wed, 2003-05-28 at 19:47, Ian Dobson wrote:
> >> Use a windows 2000 server as the PDC containing all the users and have the
> >> home directories on a linux box running smb and also some data direcotries,
> >> these would all be authenticated back to the pdc and I wouldn't have to
> >> create users on the linux box they would be done by winbind
> >
> >W2k uses active directory services does it not?
> 
> Win2k *can* use Active Directory, but it can also use the legacy NT
> Domain system.
> 

Cool i did not know.  THanks for the info. In that case I might can help
since I did this at my brother's work place about 3 mos ago.  I did find
that the docs were sparse but it was so simple that about 2 paragraphs
in a howto or something like that was all it took to get it going.

getting smbfax to email the notifications to the users was a little more
involved.

Bret


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Samba/Winbind

2003-05-31 Thread Anthony E. Greene
On 29-May-2003/21:45 -0500, Bret Hughes <[EMAIL PROTECTED]> wrote:
>On Wed, 2003-05-28 at 19:47, Ian Dobson wrote:
>> Use a windows 2000 server as the PDC containing all the users and have the
>> home directories on a linux box running smb and also some data direcotries,
>> these would all be authenticated back to the pdc and I wouldn't have to
>> create users on the linux box they would be done by winbind
>
>W2k uses active directory services does it not?

Win2k *can* use Active Directory, but it can also use the legacy NT
Domain system.

Tony
-- 
Anthony E. Greene 
OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
AOL/Yahoo Messenger: TonyG05HomePage: 
Linux. The choice of a GNU generation 


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Samba/Winbind

2003-05-30 Thread Bret Hughes
On Wed, 2003-05-28 at 19:47, Ian Dobson wrote:
> Use a windows 2000 server as the PDC containing all the users and have the
> home directories on a linux box running smb and also some data direcotries,
> these would all be authenticated back to the pdc and I wouldn't have to
> create users on the linux box they would be done by winbind
> 


W2k uses active directory services does it not?  Last I looked ADS was
not in the core samba stuff yet but was in the development versions so
it may have been added since I set this up on a redhat 8.0 server
authenticating to an NT PDC.  Seems like I got the primary info on
winbindd from the using samba book included in html in the swat
package.  buried in some weird place other than /usr/share/doc BTW.

Bret


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Samba/Winbind

2003-05-29 Thread Ian Dobson
Use a windows 2000 server as the PDC containing all the users and have the
home directories on a linux box running smb and also some data direcotries,
these would all be authenticated back to the pdc and I wouldn't have to
create users on the linux box they would be done by winbind

- Original Message - 
From: "Andrew Loughnan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 28, 2003 4:38 AM
Subject: RE: Samba/Winbind


> It would be good to know what you want to do with winbind so as we can
help you more effectively.  eg squid auth;
>
> Thanks
> Andrew Loughnan
>
> > -Original Message-
> > From: Ian Dobson [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, 28 May 2003 8:16 PM
> > To: [EMAIL PROTECTED]
> > Subject: Samba/Winbind
> >
> >
> > is there a faq for samba/winbind on Redhat 8 or 9?
> >
> > I mean I know that there is one at samba.org, but thats isn't
> > always the
> > redhat way and I want to do it the right way with the least
> > amount of pain
> > :)
> >
> >
> > -- 
> > redhat-list mailing list
> > unsubscribe mailto:[EMAIL PROTECTED]
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
>
>
> -- 
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]
> https://www.redhat.com/mailman/listinfo/redhat-list
>
>


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: SAMBA log error? - SOLVED

2003-05-29 Thread Bill Tangren
Bill Tangren wrote:
I get this repeatedly in the logs for samba:

smbd/oplock_linux.c:linux_init_kernel_oplocks(287)  Failed to setup 
RT_SIGNAL_LEASE handler : 136 Time(s)

It doesn't seem to affect the functioning of samba, but I'd like to know 
what is causing this error and how to get rid of it. I've found nothing 
on google (searching on 'RT_SIGNAL_LEASE'), and nothing useful in the 
archives.

Any ideas?

Bill Tangren


I got a response on the samba listserv. I quote from that response:
***
I am just guessing here, but it looks like you are trying to use kernel
oplocks. Maybe your kernel doesn't support them. I am not sure if this
behavior is controlled in the compilation of smbd or in smb.conf.
According to man smb.conf, kernel oplocks are on by default but if the
kernel doesn't support them, it won't cause an error. Why not try:
kernel oplocks = no

in smb.conf.
***
I tried this, and it works. It appears that upgrades from RH 7.x to 9 caused 
this error. I have one boxen that is a fresh install, and it didn't have this error.

Bill



--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


  1   2   3   4   5   6   7   8   9   >