Re: [Samba] Share Access

2006-05-04 Thread David Baker

On 5/5/06, David Baker <[EMAIL PROTECTED]> wrote:

Hi
> However, on Windows2003, I:
>connect the share as user1
>unsuccessfully attempt to open the file for writing with vim
> This seems inconsistent with the results on linux, and not what I expected.
> Am I misinterpreting the expected results?  Thanks for any responses.

I am no expert but I ran into a similar issue the other day. Make sure
there are no other accounts connected to the samba share from the
windows computer that could be confusing permissions.
open up command prompt and type net use
ie: start > run > command > net use [enter]
should show a list of current connections.


oh and if there are old connections lying around you can type
net use * /d /y
to clear ALL connections (mapped drives etc..)

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


Re: [Samba] Share Access

2006-05-04 Thread David Baker

Hi


However, on Windows2003, I:
   connect the share as user1
   unsuccessfully attempt to open the file for writing with vim
This seems inconsistent with the results on linux, and not what I expected.
Am I misinterpreting the expected results?  Thanks for any responses.


I am no expert but I ran into a similar issue the other day. Make sure
there are no other accounts connected to the samba share from the
windows computer that could be confusing permissions.
open up command prompt and type net use
ie: start > run > command > net use [enter]
should show a list of current connections.

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


[Samba] Samba interface to CVS/Subversion

2006-05-03 Thread David Baker

Hey all,

Bit of a bogus question here as I only have a basic understanding of
CVS and Subversion.

A lot of the windows development tools we use in the office have CVS
or Subversion modules allowing us greater source code control. It
would be wonderful to have a samba share that acts as an interface to
a CVS or Subversion backend.

That way we can use any development tool and simply save our files to
the network share and let CVS/Subversion handle everything behind the
scenes.

Am I dreaming?

Could this be implemented with a standard samba setup and a bunch of scripts?
Can any smart cookies out there show me samba configurations that
allow programs to be run based on different file operations
(save/delete/move/etc..)?

Cheers heaps :) any pointers at all will be awesome.

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


[Samba] problem adding PC to domain

2004-05-24 Thread David Baker
I am running Red Hat 9 and Samba 3.0.4.  I have a Win2K PC.  I have made the
registry change regarding requiresignorseal and signsecurechannel.  When I
try to join the domain it pops up the username and password.  I put in root
and it's password (which I have added/enabled with Swat).  However I get the
following results.
 
 
The following error occurred attempting to join the domain "domain":
The user name could not be found.
 
 
Here is my smb.conf file.
[global]

workgroup = DOMAIN

server string = rh1

max log size = 0

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u

logon script = login.bat

logon home = \\%L\%U\.profile

domain logons = Yes

os level = 65

preferred master = Yes

domain master = Yes

dns proxy = No

ldap ssl = no

admin users = root

[netlogon]

comment = The domain logon service

path = /etc/samba

browseable = No

[public]

comment = Public

path = /public

read only = No

[homes]

comment = Home Directories

valid users = %S

read only = No

create mask = 0664

directory mask = 0775

browseable = No

 
 
 
Any ideas?
 
Thanks in advance.
 
David
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] How do I use LPRNG and Samba to setup printing to a network print er?

2004-01-02 Thread David Baker
How do I use LPRNG and Samba to setup printing to a network printer?
 
Here is my smb.conf..
 
# Global parameters
[global]
workgroup = DOMAIN
server string = rh1
encrypt passwords = Yes
max log size = 0
time server = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
domain admin group = root
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u
logon script = login.bat
logon path = \\%L\profiles\%U
logon home = \\%L\%U\.profile
domain logons = Yes
os level = 65
preferred master = Yes
domain master = Yes
dns proxy = No
printing = lprng

[netlogon]
comment = The domain logon service
path = /etc/samba
browseable = No

[profiles]
path = /profiles
read only = No
create mask = 0600
directory mask = 0700

[public]
comment = Public
path = /public
read only = No

[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No

[printers]
path = /tmp
guest ok = Yes
printable = Yes
browseable = No

Here is my /etc/printcap.local..
 
Last login: Fri Jan  2 11:29:08 2004 from 192.168.0.118
[EMAIL PROTECTED] root]# cat /etc/printcap.local
# printcap.local
#
# This file is included by printconf's generated printcap,
# and can be used to specify custom hand edited printers.
 
netlp1:\
:sh:\
:sd=/var/spool/lpd/netlp1:\
:rm=192.168.0.110:\
:rp=raw:
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] How do I use LPRNG and Samba to setup printing to a network print er?

2004-01-02 Thread David Baker
How do I use LPRNG and Samba to setup printing to a network printer?
 
Here is my smb.conf..
 
# Global parameters
[global]
workgroup = DOMAIN
server string = rh1
encrypt passwords = Yes
max log size = 0
time server = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
domain admin group = root
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u
logon script = login.bat
logon path = \\%L\profiles\%U
logon home = \\%L\%U\.profile
domain logons = Yes
os level = 65
preferred master = Yes
domain master = Yes
dns proxy = No
printing = lprng

[netlogon]
comment = The domain logon service
path = /etc/samba
browseable = No

[profiles]
path = /profiles
read only = No
create mask = 0600
directory mask = 0700

[public]
comment = Public
path = /public
read only = No

[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No

[printers]
path = /tmp
guest ok = Yes
printable = Yes
browseable = No

Here is my /etc/printcap.local..
 
Last login: Fri Jan  2 11:29:08 2004 from 192.168.0.118
[EMAIL PROTECTED] root]# cat /etc/printcap.local
# printcap.local
#
# This file is included by printconf's generated printcap,
# and can be used to specify custom hand edited printers.
 
netlp1:\
:sh:\
:sd=/var/spool/lpd/netlp1:\
:rm=192.168.0.110:\
:rp=raw:
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Win98 authenticaton problems with Samba PDC

2003-12-22 Thread David Baker
I get "your password is invalid or your logon share is inaccessible" when I
try to authenticate with a Win98 machine.  Can you tell me if there is
something special that I have to do?  Thanks. 
 
# Global parameters
[global]
workgroup = DOMAIN
server string = sbs
max log size = 0
time server = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u
logon script = login.bat
logon path = \\%L\profiles\%U
logon home = \\%L\%U\.profile
domain logons = Yes
os level = 65
preferred master = Yes
domain master = Yes
dns proxy = No

[netlogon]
comment = The domain logon service
path = /etc/samba
browseable = No

[profiles]
path = /profiles
read only = No
create mask = 0600
directory mask = 0700

[public]
comment = Public
path = /public
read only = No

[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] PDC and profiles

2003-08-01 Thread David Baker
Good afternoon all.  I have a RedHat8 machine with Samba 2.2.8.  I just got
the PDC function working with help from you guys.  I was wondering if you
might be able to tell me how to use the PDC function without using the
roaving profiles?  Any help is appreciated.  Thanks.
 
David
 
MY SMB.CONF FILE
 
 Global Parameters 
[global]
workgroup = DOMAIN
server string = rh1
encrypt passwords = Yes
max log size = 0
time server = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
domain admin group = root
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u
logon script = login.bat
logon path = \\%L\profiles\%U  
logon home = \\%L\%U\.profile  
domain logons = Yes
os level = 65[17;9Hpreferred master = Yes
domain master = Yes
dns proxy = No
 
[netlogon]
comment = The domain logon service
path = /etc/samba
read only = No
create mask = 0600
directory mask = 0700
 
 Network Shares 
[public]
comment = Public
path = /public
read only = No
 
[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No
 
 Network Printers 
[lj4]
path = /var/spool/lpd/lp1
printable = Yes
printer name = lp1
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] login script variable problem

2003-07-22 Thread David Baker
Good morning.  Let me start by thanking those of you who helped with my
first question posed to this group.
 
Now, I have a working PDC.  This is wonderful.  I have a problem with my
login script though.  I can't seem get the %u or %U variable to work.  I am
trying to map a drive letter via the login.bat script file for each user
that authenticates to the domain, however it seems to strip the % symbol
while running and gives an error that it can't find \\ntilinux\u
  or \\ntilinux\U   respectively.
 
I am running Red Hat 8.0, Samba 2.2.8 and a W2K workstation.
 
Can anyone help?  Thanks.
 
Copy of my smb.conf file

[global]
workgroup = DOMAIN
server string = ntilinux
encrypt passwords = Yes
smb passwd file = /etc/samba/passwd
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u
domain logons = Yes
os level = 65
preferred master = Yes
domain master = Yes
dns proxy = No
logon script = login.bat
 
[netlogon]
comment = The domain logon service
path = /etc/samba
public = no
writeable = no
browsable = no
 
[Public]
comment = Public
path = /home/public
valid users = 
read only = No
 
[homes]
comment = Home Directories
browseable = no
writable = yes
valid users = %S
create mode = 0664
directory mode = 0775
 
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] maximum connections samba server can (should) handle

2002-05-13 Thread David Baker



I am running Redhat 
7.2 using the samba version 2.0.7.  My configuration is that the Linux 
machine is providing SMB content to multiple NT IIS web servers via mapped 
directories.
 
100 mBps Layer 3 
switching
    
-  NT  

LINUX   -  NT   LOAD 
BALANCER  FIREWALL
    
-  NT  

 
Each server had 
about 40 mapped directories into the Linux server.  It works fine (after a 
lot of work on the permissions), but I notice every now and then an error 
message from NT stating ...
 
"The network BIOS 
command limit has been reached."
 
I think this is 
coming from NT and not samba, but I wanted to see what other users have 
experienced.  Also, I have tried various setting with the max connections 
command and it has never fixed the issue.
 
Thank 
you,
 
David Baker
Director
 
David K. Burnap Internet 
Solutions7106 Corporate WayDayton, Ohio 45459-4271

Phone: (937) 913-2858Fax: (937) 434-1260Cell: (937) 
416-0129Email: [EMAIL PROTECTED]