Re: [Samba] Upgrading Samba: minimum requirements for Samba wrtSolaris and gcc

2004-01-09 Thread Troy.A Johnson
John,

Thank you very much!

 John P. Nelson [EMAIL PROTECTED] 01/08/04 03:43PM 
an on Solaris 8, the 'configure' step completes 
successfully, but 'make' seems to hang early:
 ...
creating /home/troy/src/samba/samba-3.0.1/source/include/proto.h
[it hangs here for hours if I let it]
This problem occurs if /usr/ucb is in your path ahead of /usr/bin or
/bin.  I tracked this behavior into mkproto.sh: the problem is with
the
tr program in /usr/ucb.  mkproto.sh uses tr in a pipeline like
this:
  ... | tr ' ' '\n' | ...
/usr/ucb/tr substitutes spaces with n characters, where /usr/bin/tr
substitutes newlines.  It makes a HUGE difference to what mkproto.sh
is trying to do.
Frankly, I recommend removing /usr/ucb from your path entirely.

I followed your advise and this problem goes away. 
Thanks!

I have had trouble compiling Samba version 3.0.1 
with gcc version 2.8.1 on Solaris 2.5.1:
$ ./configure
checking for gcc... gcc
checking for C compiler default output... cat: cannot open
conftest.c
configure: error: C compiler cannot create executables
Something fundamental is broken.  Look in config.log - the messages
there may help you figure out what's going wrong.

I looked there and cannot find what is wrong. :-(
The file is located here: http://troy.jdmz.net/config.log

My first guess would be that something is wrong with gcc:  perhaps
gcc
really CAN'T create executables on this system:  try doing a simple
compile of a hello world C program.  

I can compile simple and complex programs, and Samba 
2.2.8a (though that has the 'Broken pipe' problem).

It's weird that configure can't report on the contents of conftest.c,
though.  It's almost like something else is wrong with the standard
shell scripting tools on this system.  I'd try removing any strange
directories from your PATH, and try again.

I have removed everything but /usr and /usr/bin from 
the PATH and still get this error. 

Thank you for helping me progress toward a solution!

Thanks again,

Troy Johnson

P.S. - sorry the quoting is no good here.


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


[Samba] Upgrading Samba: minimum requirements for Samba wrt Solaris and gcc

2004-01-08 Thread Troy.A Johnson
Greetings list!

I have a older Samba (v 2.0.7) server compiled with 
an older gcc (v 2.8.1) running on an older Solaris 
(v 2.5.1).

I would like to upgrade to a newer version of Samba.

I have had trouble compiling Samba version 3.0.1 
with gcc version 2.8.1 on Solaris 2.5.1:

$ ./configure
checking for gcc... gcc
checking for C compiler default output... cat: cannot open conftest.c
configure: error: C compiler cannot create executables

an on Solaris 8, the 'configure' step completes 
successfully, but 'make' seems to hang early:

% make
Using FLAGS =  -O -I./popt -Iinclude
-I/home/troy/src/samba/samba-3.0.1/source/include
-I/home/troy/src/samba/samba-3.0.1/source/ubiqx
-I/home/troy/src/samba/samba-3.0.1/source/smbwrapper  -I.
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/home/troy/src/samba/samba-3.0.1/source
  LIBS = -lsec -lgen -lresolv -lsocket -lnsl -ldl
  LDSHFLAGS = -G 
  LDFLAGS = 
Building include/proto.h
creating /home/troy/src/samba/samba-3.0.1/source/include/proto.h
[it hangs here for hours if I let it]

I have successfully compiled Samba version 
2.2.8a with gcc version 2.8.1 on Solaris 2.5.1,
but I cannot successfully join the NT4 domain.
The 'smbpasswd -j' command returns the text:

Broken pipe

and does the same on Solaris 8 (and gcc 
2.8.1).

I need to be able to join the NT4 domain right 
now, but I will want Samba to take over PDC 
duties soon. The current Samba here (2.0.7) 
doesn't provide group membership information 
to the two W2KS Citrix boxes here, so it isn't 
used as a PDC.

Do I have to get a newer version of gcc to 
compile on Solaris 2.5.1? If so, what version 
would be best to move to? 

Or, do I have to upgrade Solaris to compile and 
run a newer Samba stably? If so, what would 
be the best choice right now. Does Solaris 9 
have any advantage over 8 with regard to 
Samba serving?

Thanks much for reading,

Troy Johnson
Samba Fan

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


Re: [Samba] Possible to make samba ignore file permissions?

2003-10-22 Thread Troy.A Johnson
Adam,

On the share you could make all files 
mode '644' and owned by user 'special'. 
Then use: 
   force user = special
   force create mode = 644
   force directory mode = 755
and maybe some other 'force' type 
parameters on that share. As long as
special isn't in the writelist, things might 
work out for you. You could try 
something similar with 'force group'.

Good luck,

Troy

P.S. - 
man smb.conf
search for force user or force group

 Adam Kennedy [EMAIL PROTECTED] 10/22/03 03:05PM 
I'm stuck between a rock and a hard place.

Is there a way to setup samba to pretty much ignore file permissions, but
allow the write list of users to modify files in shares? 

The problem I have, is users need permission through samba to modify web
pages, but they need to NOT have permission when they FTP in or through
shell.

--
Northern Indiana ESC
Adam Kennedy - [EMAIL PROTECTED] 
Linux Specialist / Network Administrator
Phone: (574) 254-0111 x113
Toll Free: 800-326-5642
Fax: (574) 254-0148

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


Re: [Samba] Edirectory and Samba

2003-10-15 Thread Troy.A Johnson
I am also interesting in good docs on this...
anyone got any? Is it in the grand howto? 
:-)

Troy

 Joe Stuart [EMAIL PROTECTED] 10/15/03 08:27AM 
I was wondering if anyone has gotten samba to authenticate to
Edirectory? If so is there any good docs anywhere online on how to do
it? I've done some searching, but can't seem to find a whole lot.

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


Re: [Samba] ok, so oplocks: good or bad?

2003-06-20 Thread Troy.A Johnson
The original url got me nothing, but
this:

http://samba.org/~jht/NT4migration/Samba-HOWTO-Collection.pdf 

got me the doc.

 John H Terpstra [EMAIL PROTECTED] 06/20/03 02:38PM 
http://samba.org/~jht/NT4migration/Samba-HOWTO-Collection.html 

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


Re: [Samba] Samba Terminal Services / Citrix

2003-06-04 Thread Troy.A Johnson
Hello Brad and Drew,

We us Samba here with Windows 2000 Terminal 
Server and Citrix. Shares and printers are served 
from a Solaris 2.5.1 box running Samba 2.0.7 in 
security=domain mode and an NT4 PDC. We 
will upgrade when I can grab the time to make 
and thouroughly test one of the latest releases. 
We haven't been bitten by this problem, I 
assume, because we have very few users 
(usually 10-20) per server.

Sorry I can help with this particular problem, but 
it is good see others using similar Samba setup.

Troy Johnson

---
Troy Johnson - [EMAIL PROTECTED]
Programmer / System Administrator
Minnesota Cancer Surveillance System - MDH

 [EMAIL PROTECTED] 06/03/03 09:51AM 
Hi Brad,

We use SAMBA here with our Windows 2000 Terminal Servers quite
successfully.
You are correct about the problems with the session id problem.  What
happens is that by default whenever any user from the same terminal
server
connects to the same SAMBA server they go through the same smb process.
Thus, the more user's connecting from the terminal server, the worse your
file access performance can get.

In the Windows NT 4 version of Terminal Server Microsoft added a registry
option which works around this problem.  The registry entry is :
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Rdr\Parameters]
MultipleUsersOnConnection=dword:
(Note this should be listed in the SAMBA documentation)

However, under the Windows 2000 version of TS, MS took out this registry
value.  The work around we have used here to give each user their own smb
process is we created a local alias in the hosts file, on the Terminal
Server, for the SAMBA server.  For the alias we used the user id's of the
user's access the machine.  For example assume you have SAMBA server
called
samba1 with a share called myshare.  Now if you have a user on a TS with
the
user id smitjoh who wants to connect to the share what we would do is the
TS
hosts file we would add an entry to the file that aliases the IP address
for
the server samba1 to be also known as smitjoh.  Then when the user
connects
they would connect to the share as \\smitjoh\myshare \\smitjoh\myshare
instead of \\samba1\myshare \\samba1\myshare .  (Note : the one catch
with
this is that the user id alias is not visible in the browse list when you
map network drives, however for the folder path can enter \\userid
\\userid  and then click on the browse button and it will show you
the
server with the user id alias).

Another option for this is you could try using the SAMBA netbios aliases
smb.conf option to create the SAMBA server aliases.

Hope this helps.


Message: 38
Date: Fri, 16 May 2003 14:59:02 -0400
From: Portelance, Brad [EMAIL PROTECTED]
Subject: [Samba] Samba  Terminal Services / Citrix
To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain

Hello!
 
I have heard that there is a problem with using Samba along with Windows
Terminal Services and that it's related to session IDs with multiple
users
coming from one server.
 
I'm in the process of moving to Windows Server 2003 using Citrix and
hoping
to be able to revive our samba use.
 
Has anyone had any success with using samba in a Terminal Server / Citrix
environment?
 
Thanks in advance for any information!
 
Brad

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


Re: [Samba] Drive mappings disappearing

2003-03-05 Thread Troy.A Johnson
What kind of clients are they (win3.x, winxp, ...)?

I haven't found the reconnect on logon options 
to be very reliable, so I usually reconnect the 
shares I want with a login script of some kind.

Do your clients login to the Samba server on boot?

 Sutto Zoltan [EMAIL PROTECTED] 03/05/03 04:27PM 
I have another problem related to samba (2.2.7 on RedHat 7.3). Some users
reported me that drive mappings are disappearing. I have enabled
Reconnect
at Log-On option every time when a Drive mapping was created.
Any idea, suggestion?

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


Re: [Samba]

2003-02-18 Thread Troy.A Johnson
David,

Look in the man page for smb.conf 
for these options:

public
guest ok
guest account
guest only

read their descriptions, and see if 
they work for you.

Good luck,

Troy

 David Sexton [EMAIL PROTECTED] 02/18/03 02:20PM 
I am trying to figure out how to set up a directory on 
samba to be wide open for any one to use.  I have it so 
people have to access to the share by there user name or 
just type in public as a user with no password. But I want 
it so they don't get a user name and password prompt when 
trying to access it form windows.  So all they have to is 
click on the share and they can get in to it. Any ideas 
would be much appreciated 

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



[Samba] Re: Interesting problem with samba and .ntprofile

2003-02-06 Thread Troy.A Johnson
Ronald,

I am not sure, but I think I remember 
reading that some strange behavior 
connected with roaming profiles can be 
taken care of by turning nt acl support 
off on the profile share. I don't know if 
it applies here or if is is dependent on 
other unknown factors (OS of Samba 
machine, phase of moon, ...).

Good luck,

Troy

 Ronald [EMAIL PROTECTED] 02/06/03 02:25PM 
here is a update

We are now trying to upgrade all of our domain client machines from WinNT
to Windows2000 (we're actually doing clean installs, not upgrades). 
Under
our limited testing this worked well.

Now that we're rolling it out to the masses in our department, many users
are beginning to have roaming profile problems.  Upon logging in, Win2k
(SP3) gives access denied errors to seemingly random files in a users'
profile, and then login using a local profile.

I delete the trouble-maker files, and a user can login... once.  They
logout, and try to login again, and then we get some access denied
errors
again.

(I can access these files by hand just fine once logged in).

 same problem someone else had a from a long time ago.


Ronald [EMAIL PROTECTED] wrote in message
b1u5jb$d9t$[EMAIL PROTECTED]">news:b1u5jb$d9t$[EMAIL PROTECTED]...
 To ANYONE that can help :),

 we where using samba version 2.0.7 and everything worked great. we
just
 upgraded to version 2.2.7a. and now we get this weird/wicked problem.
 sometimes when a user logs out and then trys to log back in it says
 //servername/.ntprofile/share/file cannot be copied over. i can
delete
the
 file and then another file cant be copied over. i at times cant delete
the
 folder or file. windows will say access denied source file is in use.
i
 cant even delete the file when i boot up into safe mode. i have to
change
 the permissions all over just to be able to delete it. it only happens
to
a
 few people. now the thing is if i go to a different win2k machine the
 profile will download file and it will save fine. something is
happening
 since we went to the new version of samba and i cant seem to figure it
out.
 if you need more help or .information please send a email to
 [EMAIL PROTECTED]

 Thank you to all


 smb.conf =
 workgroup = ??? (our workgroup)
 security = DOMAIN
 encrypt passwords = Yes
 password server = PDC (our pdc)
 passwd chat = *login*password* %o\n *New*password* %n\n
 *new*password* %n\n *changed*
 debug level = 0
 max disk size = 1000
 logon script = scripts\%U.bat
 logon path = \\%N\%U\.ntprofile
 logon home = \\%N\%U\.wprofile
 homedir map = auto_home
 NIS homedir = Yes
 create mask = 0664
 directory mask = 0775
 hide files = /DesktopFolderDB/TrashFor%m/resource.frk/
 delete readonly = Yes


 --
 Ronald Rusnak
 Wall Street Source
 212-479-1451



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




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



Re: [Samba] Novice question

2003-02-06 Thread Troy.A Johnson
Glen,

Add:

  force create mode = 0777
  force directory mode = 0777

to the config file. That is a sure 
way to accomplish your goal.
 
You could change the default 
umask for bash in /etc/bashrc, 
but this may or may not affect 
the default umask of Samba 
created files. You could try it 
though. :-/

Troy

 Glen Overman [EMAIL PROTECTED] 02/06/03 03:32PM 
Hi,
New to Samba  this list, so please forgive if I make a faux pas.
I've got a Redhat 7.3 box with Samba,  2 Win stations, called ws1 
ws2.
When either station creates files on the server, all the files get created
with
permissions of  rw-r--r-- (644).  How do I get them created with 777?
ws1  ws2 are both set up as entries in the /etc/passwd file  in the
samba password file, with umask 000 in their respective
.bash_profile's.
root user also has umask 000.  The smb.conf attempts are shown below:

[homes]
   comment = Home Directories
   browseable = yes
   public = yes
   writable = yes
   create mode = 0777
;   valid users = %S
   directory mode = 0777
   read only = no
# If you want users samba doesn't recognize to be mapped to a guest user
; map to guest = bad user

Thanks for any help,  I'll go ahead  say Duh! right now.
Glen 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] Samba Authentication against NT domain

2003-01-10 Thread Troy.A Johnson
No, not in my experience. 

Since Samba (in domain mode) will forward all authentication requests to
the PDC of the domain, it just has to join the domain (which causes the PDC
to create a machine account for the Samba server automagically). 

 Beast [EMAIL PROTECTED] 01/09/03 20:20 PM 
At 01:48 PM 1/9/2003 -0600, you wrote:
Try something like this...
...

# useradd machine% -- with the dollar sign
# smbpasswd -a -m machine

Is this command required? its for samba acting as PDC only.

from man page :

   -m This  option tells smbpasswd that the account being
  changed is a MACHINE  account.  Currently  this  is
  used  when  Samba  is  being  used as an NT Primary
  Domain Controller.

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



RE: [Samba] Samba Authentication against NT domain

2003-01-09 Thread Troy.A Johnson
Danielle,

Did you join the domain with the 
new Samba server?

   smbpasswd -j DOMAIN -U Administrator

(or something similar).

Good luck,

Troy

 Gram, Danielle A. [EMAIL PROTECTED] 01/09/03 12:59PM 
Any other ideas?
On Thu, 2003-01-09 at 12:10, Gram, Danielle A. wrote:
 Hi Everyone, 
 
 I have Samba version 2.2.2 installed on an HP-UX 11.0 server.  With
 Samba, I have users on NT/2000 clients mapping drives to the server, but
I
 want it to authenticate automatically (against their NT domain
accounts).
 Currently, when a user maps a drive to the server, they are prompted for
a
 Samba password.  But, I only want to create one account for each user
on
the
 UNIX server and have them authenticate and map automatically (without
being
 prompted), so I don't have to create Samba accounts too.
  
 Currently, we have another server running Samba that is doing this,
but
 I can't remember what the setting/configuration is.  I have searched
all
 through SWAT and haven't found it.  I was thinking there was a switch
in
 some other file...??
  
 Any ideas??  I would really appreciate any help...

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



Re: [Samba] Removing Samba

2003-01-08 Thread Troy.A Johnson
Ted,

This is an more of a RedHat/Mandrake/Whatever
YourLinuxDistroNameIs question than a Samba
question, but here is an answer:

   rpm -qa | grep samba

will get you the samba related package names.

   rpm -e samba-related-packagename

will remove those packages.

If that doesn't fix your wagon (and even if it does),
please include your OS Distribution, OS Version, and
any other info that might help a person know your 
situation better before suggestion something (or 
ignoring your post).

Good luck to you,

Troy

 Ted Gervais [EMAIL PROTECTED] 01/08/03 01:12PM 
Does anyone know how to remove Samba, using the RPM utility?

I have tried but not sure on the correct use of RPM and of course I am not

sure of the proper name for removing Samba??

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



Re: [Samba] Removing Samba

2003-01-08 Thread Troy.A Johnson
Ted, 

No problem, but you still didn't include the info 
I asked for. :-|

What are you installing Samba on? Red Hat 
Linux? 
What version? 5.1?
On what hardware? A 486?

Where did you get the original RPMs for the 
Samba verson that is installed now? Did they 
come on the same CD as the distribution? Do 
you know what the filenames are? What is the 
output of the 'rpm -qa | grep samba' command 
that I sent previously (it doesn't change anything 
just provides information).

Where did you get the RPMs for the version 
of Samba you want to install now (the one 
you tried to update to)? Did they come from 
the same vendor, or the Samba web site? 
What is the name of the file (or files)? 

I could try to guess at the details, but I 
could waste a lot of time doing that. Please 
fill in the blanks so I don't have to try, and 
keep the conversation on the list so others 
can possibly benefit from whatever answers 
are given (and perhaps correct mine if I am 
wrong).

Good luck, 

Troy

 Ted Gervais [EMAIL PROTECTED] 01/08/03 01:54PM 
On Wednesday 08 January 2003 03:27 pm, Troy.A Johnson wrote:


Thanks Troy for your quick response.

I should have said a bit more than what I did.  I think I have messed up
my 
Samba installation such that I think it best to just start over.  An
Update 
using the latest release of Samba and using RPM files won't work. And
rather 
than do everything by hand I thought if I could just use RPM to remove
what I 
have, I could than load up a new version of Samba without any
difficulties.

At least that is what I was thinking.  

Thanks..



 Ted,

 This is an more of a RedHat/Mandrake/Whatever
 YourLinuxDistroNameIs question than a Samba
 question, but here is an answer:

rpm -qa | grep samba

 will get you the samba related package names.

rpm -e samba-related-packagename

 will remove those packages.

 If that doesn't fix your wagon (and even if it does),
 please include your OS Distribution, OS Version, and
 any other info that might help a person know your
 situation better before suggestion something (or
 ignoring your post).

 Good luck to you,

 Troy

  Ted Gervais [EMAIL PROTECTED] 01/08/03 01:12PM 

 Does anyone know how to remove Samba, using the RPM utility?

 I have tried but not sure on the correct use of RPM and of course I am
not

 sure of the proper name for removing Samba??

-- 
T.L.Gervais
Coldbrook, NS
Canada.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Desperate Help Required Getting SAMBA back on line

2002-12-19 Thread Troy.A Johnson
Dan,

First things first, read the troubleshooting chapter:

http://us6.samba.org/samba/ftp/docs/Samba24Hc13.pdf

of this Samba book. It should set you on the way to a 
working Samba installation immediately. Good luck,

Troy

 Dan Tappin [EMAIL PROTECTED] 12/19/02 03:04PM 
I am running SAMBA on Red Hat 7.0 and after a bad upgrade my SAMBA server
is dead.  I
ended up re-installing from the source and now my server is not accessible
to our Win9x
clients.  smbstatus show the server running but no one on the network can
see the server.

I am still a bit of a newbie and I am having trouble troubleshooting this.
 I really am in
a jam and I need some help ASAP.

I am not sure where to start.

Thanks,

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



Re: [Samba] Issue with Samba and Microsoft Word

2002-12-02 Thread Troy.A Johnson
Michael,

There are some missing details:

Client Platform (Win95?)
Client Patchlevel (SP1?)
Word Version (6.0?)
Word Patchlevel (SP2?)
Which share the Workgroup Templates 
   are located on (Common Files?)

Many things _could_ be assumed, 
but it always better not to.

Good luck,

Troy

 Michael Luevane [EMAIL PROTECTED] 12/02/02 01:44PM 
Hello, all

I was wondering if anyone else has seen this:

I'll arrive in the morning, start Microsoft Word. It takes 30-45
seconds to
open.
I'll hit the File menu item - takes about 30 secnods to open.

If I close Word and open it back up, it all works fine (i.e., no
delays).
If I close Word and come back to it in half an hour or so, it all
starts
over.

I think I've posted this here before, but I don't remember. My
apologies if
I did. I'm still trying to find an answer, and if I can't, we'll most
likely
be switching from Samba to Win2K server.

Word is configured so that the everything in the Options|File Locations
is
on the C: drive except for the Workgroup templates, which is out on
the
server.

My smb.conf is below.

Many many many thanks in advance.

# Samba config file created using SWAT
# from localhost.localdomain (127.0.0.1)
# Date: 2002/12/02 08:13:49

# Global parameters
[global]
workgroup = QUANTEC2
netbios name = QSERVER
server string = Quantec Server running Samba Server %v
encrypt passwords = Yes
username map = /var/lib/samba/maps/user.map
unix password sync = Yes
log level = 3
log file = /var/log/samba/log.%m
max log size = 50
name resolve order = host lmhosts wins
deadtime = 5
socket options = IPTOS_LOWDELAY TCP_NODELAY
printcap name = cups
domain admin group = root
add user script = /usr/sbin/useradd  -d /dev/null -g 100 -s
/bin/false -M
%u
logon script = logon.bat
logon path =
logon drive = Z:
logon home = \\%N\homes\%u
domain logons = Yes
os level = 64
preferred master = True
domain master = True
dns proxy = No
wins support = Yes
winbind uid = 1-2
winbind gid = 1-2
winbind cache time = 300
winbind use default domain = Yes
printer admin = root, mike, sue, heather
hosts allow = 127.0.0.1 10.0.0.
printing = cups
printer driver location = /usr/local/samba/printers

[homes]
comment = Home Directories
path = /home/
read only = No
browseable = No

[print$]
comment = Printer drivers
path = /var/lib/samba/printers
write list = @adm root mike
guest ok = Yes

[public]
comment = Public space with read-write access
path = /mnt/common/home/local/samba-public
read only = No

[Common files]
comment = Quantec common files directory
path = /mnt/common
force group = Staff
read only = No
directory mask = 0777
inherit permissions = Yes
inherit acls = Yes
oplocks = No
level2 oplocks = No
vfs object = /usr/lib/samba/vfs/recycle.so
vfs options = /etc/samba/recycle.conf

[netlogon]
comment = NT's netlogon share - where the logon.bat file lives
path = /var/lib/samba/netlogon
write list = root ntadmin
browseable = No

[profiles]
comment = Path to user profiles
path = /var/lib/samba/profiles
read only = No
create mask = 0600
directory mask = 0700

[Server CDROM]
comment = Server's CD-ROM
path = /mnt/cdrom

[LaserJet]
comment = HP LaserJet 4050
path = /var/spool/cups
printer admin = mike root
printable = Yes
print command = lpr-cups -P %p -o raw %s
lpq command = lptat -o %p
lprm command = cancel %p-%j
printer driver location = \\%h\print$

[Phaser850]
comment = Phaser 850DP printer
path = /var/spool/cups
printable = Yes

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



RE: [Samba] Issue with Samba and Microsoft Word

2002-12-02 Thread Troy.A Johnson
Michael,

I think you should probably patch 
Office 2000. We had a problem 
with Word file corruption until we 
did, but it was from a Citrix box, 
so that problem may not affect you.

Troy

 Michael Luevane [EMAIL PROTECTED] 12/02/02 04:22PM 
My bad! :)

Clients are all Win2K, SP2
All have Office 2000, no SP, or SP1
The workgroup templates are located on the Common files share, in a
directory called Admin/forms/quantec templates

Sorry! :/

/===\
| Michael Luevane   | 503.228.2992  |
| Network Administrator | [EMAIL PROTECTED]   |
| Quantec, LLC  | http://www.quantecllc.com |
\===/

-Original Message-
From: Troy.A Johnson [mailto:[EMAIL PROTECTED]] 
Sent: Monday, December 02, 2002 2:06 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED] 
Subject: Re: [Samba] Issue with Samba and Microsoft Word


Michael,

There are some missing details:

Client Platform (Win95?)
Client Patchlevel (SP1?)
Word Version (6.0?)
Word Patchlevel (SP2?)
Which share the Workgroup Templates
   are located on (Common Files?)

Many things _could_ be assumed,
but it always better not to.

Good luck,

Troy

 Michael Luevane [EMAIL PROTECTED] 12/02/02 01:44PM 
Hello, all

I was wondering if anyone else has seen this:

I'll arrive in the morning, start Microsoft Word. It takes 30-45
seconds to
open.
I'll hit the File menu item - takes about 30 secnods to open.

If I close Word and open it back up, it all works fine (i.e., no
delays).
If I close Word and come back to it in half an hour or so, it all
starts
over.

I think I've posted this here before, but I don't remember. My
apologies if
I did. I'm still trying to find an answer, and if I can't, we'll most
likely
be switching from Samba to Win2K server.

Word is configured so that the everything in the Options|File
Locations
is
on the C: drive except for the Workgroup templates, which is out on
the
server.

My smb.conf is below.

Many many many thanks in advance.

# Samba config file created using SWAT
# from localhost.localdomain (127.0.0.1)
# Date: 2002/12/02 08:13:49

# Global parameters
[global]
workgroup = QUANTEC2
netbios name = QSERVER
server string = Quantec Server running Samba Server %v
encrypt passwords = Yes
username map = /var/lib/samba/maps/user.map
unix password sync = Yes
log level = 3
log file = /var/log/samba/log.%m
max log size = 50
name resolve order = host lmhosts wins
deadtime = 5
socket options = IPTOS_LOWDELAY TCP_NODELAY
printcap name = cups
domain admin group = root
add user script = /usr/sbin/useradd  -d /dev/null -g 100 -s
/bin/false -M
%u
logon script = logon.bat
logon path =
logon drive = Z:
logon home = \\%N\homes\%u
domain logons = Yes
os level = 64
preferred master = True
domain master = True
dns proxy = No
wins support = Yes
winbind uid = 1-2
winbind gid = 1-2
winbind cache time = 300
winbind use default domain = Yes
printer admin = root, mike, sue, heather
hosts allow = 127.0.0.1 10.0.0.
printing = cups
printer driver location = /usr/local/samba/printers

[homes]
comment = Home Directories
path = /home/
read only = No
browseable = No

[print$]
comment = Printer drivers
path = /var/lib/samba/printers
write list = @adm root mike
guest ok = Yes

[public]
comment = Public space with read-write access
path = /mnt/common/home/local/samba-public
read only = No

[Common files]
comment = Quantec common files directory
path = /mnt/common
force group = Staff
read only = No
directory mask = 0777
inherit permissions = Yes
inherit acls = Yes
oplocks = No
level2 oplocks = No
vfs object = /usr/lib/samba/vfs/recycle.so
vfs options = /etc/samba/recycle.conf

[netlogon]
comment = NT's netlogon share - where the logon.bat file lives
path = /var/lib/samba/netlogon
write list = root ntadmin
browseable = No

[profiles]
comment = Path to user profiles
path = /var/lib/samba/profiles
read only = No
create mask = 0600
directory mask = 0700

[Server CDROM]
comment = Server's CD-ROM
path = /mnt/cdrom

[LaserJet]
comment = HP LaserJet 4050
path = /var/spool/cups
printer admin = mike root
printable = Yes
print command = lpr-cups -P %p -o raw %s
lpq command = lptat -o %p
lprm command = cancel %p-%j
printer driver location = \\%h\print$

[Phaser850]
comment = Phaser 850DP printer
path = /var/spool/cups
printable = Yes

--
To unsubscribe from

[Samba] security=domain and Citrix MetaFrame on W2K was Windows 2000Terminal Server and Samba

2002-11-27 Thread Troy.A Johnson
Does this work for:

security = domain

situations? Do you have to 
do anything special with regard 
to joining the domain.

 [EMAIL PROTECTED] 11/27/02 09:16AM 
I saw your postings and thought I would through in my two cents for
the
Windows 2000 Terminal Server and Samba.  The MultipleUsersOnConnection
does
not seem to work in Windows 2000 version of Terminal Server (at least
not
for me).  My understanding is that Microsoft has removed that option
in
Windows 2000.  What I have found, through various discussions in the
Samba
newsgroups, as well as testing, it is possible to give a unique SMB
process
to Terminal Server SAMBA connection, however to do this they need to
access
the samba server through an alias for the SAMBA server.  In my tests
this
was tried with both the SAMBA netbios aliases option, as well as
creating
server name aliases through the local hosts file on my Terminal server.
 In
both cases, each connection to the server, with a different host name
alias,
was found to create a new smb process for each alias name connection
and
this in turn helped with my file server performance problems (as well
as
some file locking problems).

What I have started to do is create a unique server alias for each user
that
goes to access the server (this way each user gets their own unique
SMB
process), and so far no problems.  I have implemented this by creating
a
SAMBA server host name alias in my Terminal server hosts file using
the
users user id (this way the user id is not visible to anyone off of
that
terminal server).  

Something to be aware of though is that in my case the most aliases I
have
had to create at anyone time is around 50, so I do not know what the
maximum
number of aliases possible would be (for either the netbios aliases
option
or the local hosts file) so this may not be do-able in a large
environment.
Also, in my case, user's normally only access files from one SAMBA
server so
the user id aliases can work for me.  If someone needs to access
another
server they just access it through the regular NetBIOS name, but since
this
does not happen too often, it does not create noticeable performance
problems for my users (or at least none have been reported or
noticed).

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



Re: [Samba] (no subject)

2002-11-18 Thread Troy.A Johnson
Pravin,

You don't necessarily need a login script, 
but it is nice for mounting shared drives
and printers, or just copying/installing 
files.

Use an empty login script to start, then 
use the Windows command line (the 
net use /? command is helpful here) to 
mount and attach to services you want. 
Put those commands into the login 
script and use environment variables 
(like $HOME and $USERNAME) to 
generalize them (so every user can 
benefit from them).

Then test (the echo command is useful 
here, i.e. echo $HOME $USERNAME).

Good luck,

Troy

 pravin choubey [EMAIL PROTECTED] 11/18/02 01:18PM 
Hi,
   Does anyone have a simple login script which i can put in smb.conf
for my 
samba server.I am installing samba first time and dont know perl.I
copied 
one from book Using samba but it does not work.
Thanks
pravin





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

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



Re: [Samba] help with NT-to-Samba

2002-11-14 Thread Troy.A Johnson
Peter,

Try:

D:\TEMPnet use s: \\natvpn2\wohl /user:wohl

and it will probably behave better.

Good luck,

Troy

 Peter Wohl [EMAIL PROTECTED] 11/14/02 10:12AM 
Hello,

I have a PC running NT 4.0 SP6 and a SUN Solaris (natvpn2) running
Samba 
2.2.2-sun-solaris-2.8. I installed and configured Samba myself from the

wealth of documentation available. I passed all steps in DIAGNOSIS.txt,

except that TEST 9 does not ask for a password:

D:\TEMPnet use s: \\natvpn2\wohl 
The command completed successfully.

... and this is my problem: Samba logs me on as nobody, so I have but
few 
permissions on the UNIX box. I would like to log on as wohl (with 
password, of course).

# This is my smb.conf:

[global]
workgroup = WORKGROUP
server string = Samba Server
hosts allow = 192.168.1.100 192.168.1.11
# These are:  my NT^^^ SUN^

#My SUN user name is wohl; my NT user name is different
username = wohl

load printers = yes
log file = /usr/local/samba/var/log.%m
max log size = 50

security = share
encrypt passwords = yes

socket options = TCP_NODELAY

dns proxy = no

[homes]
comment = Home Directories
browseable = yes
writable = yes
read only = no
public = yes

[tmp]
comment = Temporary file space
path = /tmp
read only = no
public = yes


Can you help please?

-Peter

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



Re: [Samba] Server v. Workstation installation

2002-11-14 Thread Troy.A Johnson
What is the output of these commands:

/sbin/ipchains
/sbin/iptables

 naugaranch [EMAIL PROTECTED] 11/14/02 01:42PM 
Hopefully someone can help me.  I've been running a windows 2000
Workstation
and Server.

This spring I added a Linux workstation (Red Hat 7.2 - Samba 2.2.3a) to
the
network.  Took some work but that is running fine.  smb.conf seems to
be
giving me what I want.

LAN addresses are assigned with DHCP.  I have had several people tell
me
that they have a network running with static addresses.  I DO NOT have
a
domain controller.

While upgrading some machines, I decided to try a Linux server. 
Installed
Red Hat 7.2 as a server.  First installation of Samba was that
distributed
with Red Hat 7.2.  I could read files on the windows machines but the
W2K
machines did not recognize the Linux Server.  I could ping the address
or
server name and get a replay - just not available (Network Path Not
Found)
from windows.  Even though I could ee the linux server in Netwrok
Neighborhood.

I tried upgrading to the latest Samba at the time - 2.2.5 -- still no
luck -- even with smb.conf that is identical to the one on the
workstation
except for Netbios Name and Server String, identifiying the server.

I appear to have a valid password file.  This has been rebuilt a
couple
times.

Here's a copy of the server smb.conf.  I hope someone can help me.

Thanks in advance.

Tom Winfield

; Samba Workstation Configuration File
; Tom Winfield 10/25/02

[global]
  netbios name = linux-server
  server string = Tom's Linux Server
  workgroup = HOME
  hosts allow = 192.168.0. 127.
  encrypt passwords = yes
  guest ok = yes
  log level = 1
  max log size = 100
  security = user
  browsable = yes
  local master = yes
  domain master = no
  preferred master = no
  os level = 0
  smb passwd file = /etc/samba/smbpasswd
  dns proxy = no
  path = /windows

[homes]

  browseable = no
  writable = yes
  create mode = 0664
  directory mode = 0775

[public]

   comment = Public Directory
   path = /windows
   guest ok = yes
   public = yes
   writable = yes
   write list = tomw napp

[tomwsdir]

   comment = Tom's Directory
   path = /home/tomw
   valid users = tomw
   public = no
   writable = yes
   printable = no

[nappsdir]

   comment = John's Directory
   path = /home/napp
   valid users = napp
   public = no
   writable = yes
   printable = no

[root]

   comment = Linux root for root
   path = /
   valid users = tomw john
   public = no
   writable = no
   printable = no


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



Re: [Samba] Wins over subnets

2002-10-29 Thread Troy.A Johnson
Sandro,

What version of Samba are you running?
What OS and version are you running Samba on?
Can you confirm that 'nmbd' is running?
Can the list see the smb.conf file?
What version of NT server was it before?
What version(s) of windows clients are connecting?
Do they all behave the same in that they cannot browse other subnets?

Good luck,

Troy

 Sandro J. Ferreira [EMAIL PROTECTED] 10/29/02 08:36AM

Hello Folks

After a upgrade of a NT network, with a PDC and different workgroups
over subnets, to SAMBA,im having some problems with WINS over subnets.
I have a DOMAIN in my primary net and some workgroups on the subnets, a
different workgroup to each subnet.
I need that each subnet see all the workgroups in the Network
Neighborhood.
In the primary net i've SAMBA being a PDC, master browser and WINS
server and all the desktops are pointing to this WINS server. I've tried
Netbios over TCP/IP e also LMHOSTS. I've read lots of documentation and
anyone could help me or give me some advise.
All the nets and desktops could be reached, i can access the desktops
typing \\netbios_name

Thanks for now

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



Re: [Samba] Please help, going mad with permissions

2002-10-18 Thread Troy.A Johnson
It maybe isn't the problem now, but it may be that your OS has a cron job, utility, or 
patch  that modifies the permissions of files/directories under /dev. This is 
because it may assume that all files/directories there are devices. For that reason 
alone, I would definitely find another location for this share.

Just my 2 cents, and good luck!

Troy

 [EMAIL PROTECTED] 10/18/02 02:13PM 
[accounts]
path = /dev/accounts


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