[Samba] smbmnt.

2002-12-15 Thread Erik Jakobsen
Hi.

I'm receiving this message if I try mount a drive:

smbmnt must be installed suid root for direct user mounts (500,500)

How can tackle that ?.

-- 
Med venlig hilsen - Best regards - vy73 de OZ4KK.
Erik Jakobsen - [EMAIL PROTECTED]
Registered Linux user #114875 - http://counter.li.org

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



[Samba] Laggy and faulty Samba server

2002-12-15 Thread Haakon Nilsen
Hi,

I've installed Samba a few times, and I always have the same problem -
except now I really want to get rid of it.

My Samba server is very, very, very slow on occations (not always), and
some times it's really annoying.

What happens is that it doesn't seem to be online for a period of 5-10
seconds once every minute! If I'm copying huge files, it's working
great, but when copying smaller files or doing directory listings, it
screws up by being slow and very laggy.

Now - I've had this problem on all my Samba servers in the past, and I
guess there is something I do wrong. Is there anyone that can help me?

Below you can see my config file.


Thanks!


Best regards,
Haakon Nilsen

-

#
# Generated by ./modify_samba_config.pl
#
[global]
passwdprogram = /usr/bin/passwd %u
guestaccount  = samba
socketoptions = TCP_NODELAY SO_RCVBUF
obeypamrestrictions   = yes
unixpasswordsync  = Yes
maxlogsize= 1000
passwdchat=
*New*password*%n\n*Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
dnsproxy  = no
workgroup = Arbeidsgruppe
pampasswordchange = yes
serverstring  = Game Server
encryptpasswords  = yes
hostsallow= 192.168.1.
security  = share
smbpasswdfile = /etc/samba/smbpasswd
logfile   = /var/log/samba/%m.log

## Section - [temp]
[temp]
readonly  = no
comment   = Temp katalog
public= yes
path  = /data/temp

## Section - [D]
[D]
read only = yes
comment   = D
write list= root, nilsen
public= yes
path  = /data/d

## Section - [D write]
[D write]
writeable = yes
comment   = D write
write list= root, nilsen
public= no
path  = /data/d

## Section - [felles]
[felles]
readonly  = no
comment   = Felles
public= yes
path  = /data/felles

## Section - [Images]
[Images]
readonly  = no
comment   = Images
writable  = no
public= yes
path  = /data/images

## Section - [Images]
[Images write]
writeable = yes
comment   = Images write
public= no
write list= nilsen, root
path  = /data/images

#
# end of generated smb.conf
#


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



[Samba] Laggy and faulty Samba server

2002-12-15 Thread Håkon Nilsen
Hi,

I've installed Samba a few times, and I always have the same problem -
except now I really want to get rid of it.

My Samba server is very, very, very slow on occations (not always), and some
times it's really annoying.

What happens is that it doesn't seem to be online for a period of 5-10
seconds once every minute! If I'm copying huge files, it's working great,
but when copying smaller files or doing directory listings, it screws up by
being slow and very laggy.

Now - I've had this problem on all my Samba servers in the past, and I guess
there is something I do wrong. Is there anyone that can help me?

Below you can see my config file.


Thanks!


Best regards,
Haakon Nilsen

-

#
# Generated by ./modify_samba_config.pl
#
[global]
passwdprogram = /usr/bin/passwd %u
guestaccount  = samba
socketoptions = TCP_NODELAY SO_RCVBUF
obeypamrestrictions   = yes
unixpasswordsync  = Yes
maxlogsize= 1000
passwdchat= *New*password*%n\n*Retype*new*password*
%n\n *passwd:*all*authentication*tokens*updated*successfully*
dnsproxy  = no
workgroup = Arbeidsgruppe
pampasswordchange = yes
serverstring  = Game Server
encryptpasswords  = yes
hostsallow= 192.168.1.
security  = share
smbpasswdfile = /etc/samba/smbpasswd
logfile   = /var/log/samba/%m.log

## Section - [temp]
[temp]
readonly  = no
comment   = Temp katalog
public= yes
path  = /data/temp

## Section - [D]
[D]
read only = yes
comment   = D
write list= root, nilsen
public= yes
path  = /data/d

## Section - [D write]
[D write]
writeable = yes
comment   = D write
write list= root, nilsen
public= no
path  = /data/d

## Section - [felles]
[felles]
readonly  = no
comment   = Felles
public= yes
path  = /data/felles

## Section - [Images]
[Images]
readonly  = no
comment   = Images
writable  = no
public= yes
path  = /data/images

## Section - [Images]
[Images write]
writeable = yes
comment   = Images write
public= no
write list= nilsen, root
path  = /data/images

#
# end of generated smb.conf
#




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



Re: [Samba] OS X slow with Samba server

2002-12-15 Thread Simo Sorce
Any chance you can try 2.2.7a, we fixed a number of transfer problems
(mostly with w9x and DOS tough), and then report if it happens again.

Ah remember also to check the network (try an ftp transfer from both w2k
and debian, it has happened many times that a bad cambling, network
setup or failing interfaces has caused slowliness.

Simo.

On Sat, 2002-12-14 at 22:46, Jeff McClure wrote:
> I have an Apple iBook running OS X 10.2 connected to my network via an 
> 802.11b wireless network. When I transfer files via SMB with my Windows 
> 2000 computer, the speed seems reasonable. However, when I connect to a 
> share on my Debian (x86) box (kernel 2.4.19) running Samba 2.2.3a-12 for 
> Debian, the speed is only about a sixth as fast (transferring files to 
> or from the Win2k box is about 6 times faster).
-- 
Simo Sorce-  [EMAIL PROTECTED]
Samba Team-  http://www.samba.org
Italian Site  -  http://samba.xsec.it
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Laggy and faulty Samba server

2002-12-15 Thread Haakon Nilsen
Hi,

I've installed Samba a few times, and I always have the same problem -
except now I really want to get rid of it.

My Samba server is very, very, very slow on occations (not always), and
some times it's really annoying.

What happens is that it doesn't seem to be online for a period of 5-10
seconds once every minute! If I'm copying huge files, it's working
great, but when copying smaller files or doing directory listings, it
screws up by being slow and very laggy.

Now - I've had this problem on all my Samba servers in the past, and I
guess there is something I do wrong. Is there anyone that can help me?

Below you can see my config file.


Thanks!


Best regards,
Haakon Nilsen

-

#
# Generated by ./modify_samba_config.pl
#
[global]
passwdprogram = /usr/bin/passwd %u
guestaccount  = samba
socketoptions = TCP_NODELAY SO_RCVBUF
obeypamrestrictions   = yes
unixpasswordsync  = Yes
maxlogsize= 1000
passwdchat=
*New*password*%n\n*Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
dnsproxy  = no
workgroup = Arbeidsgruppe
pampasswordchange = yes
serverstring  = Game Server
encryptpasswords  = yes
hostsallow= 192.168.1.
security  = share
smbpasswdfile = /etc/samba/smbpasswd
logfile   = /var/log/samba/%m.log

## Section - [temp]
[temp]
readonly  = no
comment   = Temp katalog
public= yes
path  = /data/temp

## Section - [D]
[D]
read only = yes
comment   = D
write list= root, nilsen
public= yes
path  = /data/d

## Section - [D write]
[D write]
writeable = yes
comment   = D write
write list= root, nilsen
public= no
path  = /data/d

## Section - [felles]
[felles]
readonly  = no
comment   = Felles
public= yes
path  = /data/felles

## Section - [Images]
[Images]
readonly  = no
comment   = Images
writable  = no
public= yes
path  = /data/images

## Section - [Images]
[Images write]
writeable = yes
comment   = Images write
public= no
write list= nilsen, root
path  = /data/images

#
# end of generated smb.conf
#


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



Re: [Samba] smbmnt.

2002-12-15 Thread mark
On Sunday 15 December 2002 08:48, Erik Jakobsen wrote:
> Hi.
>
> I'm receiving this message if I try mount a drive:
>
> smbmnt must be installed suid root for direct user mounts (500,500)
>
> How can tackle that ?.

Just off hand, I'd say set your smbmnt suid root!  ;)

chmod +s `which smbmnt`   

as root might do the trick.  Assuming smbmnt is owned by root.  Which it 
usuall is.  Of course you always want to be wary of setting things suid 
root...

mark

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



[Samba] Public shares under user security level

2002-12-15 Thread Long-Sheng Kuo
Hello,
  I am wondering if under user security level, is this possible to offer a 
public share to anyone without username/password? I tried the following 
setting:

[global]
   security = user
   auto services = tmp
   default service = defaultshare
   null passwords = yes


[tmp]
  path = /tmp
  read only = no
  public = yes
  guest ok = yes
  browseable = yes

[defaultshare]
  copy = tmp



But it failed. Anything options I should modify?  Or should I modify the 
file for the option of username map? If so, how to do it?

Thanks.

Long-ShengDec. 15, 02

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


[Samba] smbmount for soalris

2002-12-15 Thread Sundaram
Hi
in linux you can mount a windows partition by the smbmount command.
How can i do this in solaris ?
can i use the smbclient ..


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



[Samba] can't print more copys than one

2002-12-15 Thread Phil

I'm using Samba 2.2.3 (Debian-testing) and CUPS 1.1.15 with a HP-Deskjet950c

Printing from all Linux-Clients works fine. 
I also can print any document from the Windows-Boxes ( XP & 2k ).

The Problem is : If I want to make more copys than one I still get one paper printed 
out!
This problem only appears when printing from Windows to the Samba-Share.

I also tested lpr/lpd printer spooling system -> same result:
With Windows I could only make one copy of the document.
With Linux all works fine.


my smb.conf :

[global]
   workgroup = IMMORTUX
   netbios name = blub
   guest account = blub
   server string = %h server (Samba %v)
   load printers = yes
   printcap name = /etc/printcap.cups
   printing = bsd   
# I also testet with option 'cups' and without option 'print command' > same result..

   invalid users = root
   log file = /var/log/samba/log.%m
   max log size = 1000
   syslog = 0
   security = share
   encrypt passwords = false
   dns proxy = no
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* 
%n\n .
   obey pam restrictions = yes

[printers]
   comment = All Printers
   browseable = yes
   path = /tmp
   printable = yes
   public = yes
   print command = /usr/bin/lpr -o raw -P%p -r %s
   create mode = 0700
   guest ok = yes

I read the docu without getting new ideas so the mailinglist is my last hope *g*
thx4reading

Phil

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



[Samba] Offtopic question to longtime listusers

2002-12-15 Thread Harry
Hi everybody,

3 weeks ago i lost all my mails when trying to backup them :-(

This is a very serious problem for me because i use the
mails for reference before i send a question to the list ...

So, my question is :

Is there a site, where i can load down the mails from this list
in mbox-format ?

I would like to have all mails since 1.1.2002 

If there's no site, would someone be so kind and
put the mails (in mbox-format) to a place where i can load them
down ???


Thanks to everybody

(unhappy) Harry




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



[Samba] IPCo Mail Server Notification

2002-12-15 Thread IPCO Mail Server Notifier
The IPCo mail relay server has quarantined this message due to adult
content. 

--- Begin Message ---

--- End Message ---


Re: [Samba] Offtopic question to longtime listusers

2002-12-15 Thread Albert Dengg
> Is there a site, where i can load down the mails from this list
> in mbox-format ?
have a look at http://lists.samba.org/pipermail/samba/

mfg Albert Dengg
--
Albert Dengg <[EMAIL PROTECTED]>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Sleeping Clients

2002-12-15 Thread Pat Schlehuber



I have tried posting this problem before and had 
some jelpful suggestions, but to no avail. Let me reword the problem and 
possibly jog someone head.
 
My hardware/software config:
 
Samba 2.2.7a
Suse 8.0 distro
Athlon 2000+ XP machine mucho memory.
One ethernet interface verified running 100 Full-duplex.
 
The problem:
 
The Windows XP clients logon to the Samba server 
and download the roaming profiles extremely fast, but after this point just 
stops. The clients never come back, just keep showing "logging on". The 
SignOrSeal entry has been done on the XP clients.
 
I have turned Samba trace level=3 and it shows the 
sighon and download of the profiles and then shows nothing happening - no 
errors, just nothing.
 
 
The machines(server and clients) appear 
configured correctly as non samba traffic is very robust (FTP, ping, mail etc). 
When I disable roaming profiles I have the same problem after the logon the 
Client is "stuck". This problem happens from 2 totally different XP clients 
(Hardware is very different between the 2). The Router/switch looks heathy. I 
have applied all patches to XP and microcode to the router/switch. I have tried 
Samba 2.2.3a and 2.2.6, 2.2.7, 2.2.7a all with the same result.
 
I am using DHCP from my provided by my router. 

 
I do see in my wins.dat that I have no entrty 1d 
showing a Local Master Browser, but on is displayed when I do a nmblookup - just 
fishing on this.
 
I have run my smb.conf in another network and it 
works great.
 
 
Any ideas from anyone that could help?
 
Pat


[Samba] samba and os/2 "warpserver for ebusiness"

2002-12-15 Thread Nessim Hemmer

Is there anybody who has made experiences with "subject"?
I tried to get a samba printserver vers 2.2.1a on a suse linux box.
It worked successfully so my win 98 clients are able to print via cups
on an network printer.
We also have an existing os/2 "warpserver for ebusiness" as the PDC and fileserver 
which one do the authentication of all users. I'm still not able to configure the 
connection so that the win 98 users could be authenticated by the os/2 server, 
if they want to get access to the printserver. I'm still having two user managements - 
one at the os/2 PDC, one at the linux/samba box.
What i tried so far:
I added the samba server as a trusted server to the os/2 machine.
I set the authentication in smb.conf to "domain" - formerly "user"
But the authentication still fails. As i can see in /var/log/messages, samba  
sent the auth-request to os/2 but got no answer.
Is there anybody who knows something about os/2 issues?
We like to switch over to linux/samba solutions step by step :-)

Thanks in advance nessim


 


just a question about adding a samba server (printer) to an existing 
os/2 Warp Server domain. 
Given: OS/2 Warp Server PDC
          linux server/samba 2.2.1a which shares printers
          win98 users, authenticated by the Warp Server 4.0 

I'm searching for a way to authenticate the printer users through the OS/2 PDC
Until now it works only if i create samba users on the linux machine, means, every
user must have an account on the linux machine.
Is there a way?
Some hints, links, documentation are appreciated.

regards, nessim

__
Keine Zeit fur Firlefanz?  Blitz-SMS von WEB.DE FreeMail! Die SMS, die
direkt auf's Display kommt! http://freemail.web.de/features/?mc=021166

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



[Samba] Re: smbd process with high cpu utilization.

2002-12-15 Thread Marcel Ritter
Hi!

I'm running into the same problems reported by Magnus Nordseth and Marius
Grannaes on this list:

I got one smbd process running wild (using up all CPU) with only two
function calls (nearly all kill(...)):

strace:
...
kill(10245, SIG_0)  = 0
kill(10827, SIG_0)  = 0
kill(10820, SIG_0)  = 0
kill(10759, SIG_0)  = 0
kill(10257, SIG_0)  = 0
kill(10245, SIG_0)  = 0
fcntl64(13, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=336, len=1},
0xb150) = 0
sendto(12, "\3\0\1 \0\0\6\10\0\0\0\0\0\0\306\373\0\0\0\0\0\0\354\1"...,
26, 0, {sin_family=AF_INET, sin_port=htons(1716),
sin_addr=inet_addr("127.0.0.1")}}, 1
6) = 26
fcntl64(13, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=336, len=1},
0xb150) = 0
...


I had to reboot the system twice last week - due to high load. To fix this
problem I upgraded to SuSE 8.1 with samba 2.2.5 (former version was SuSE
7.3 with samba 2.2.1a) - but the problems seem to be the same - no
improvements.

Any ideas? As more people have observed this behaviour I'd really like to
get this fixed ...

Ciao,
  Marcel

PS: Please CC me - I'm not subscribed to samba-ml.


Marcel Ritter
Linux Betreuer
Regionales Rechenzentrum Erlangen

Unix _IS_ user friendly... It's just selective about who its friends are.

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



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

2002-12-15 Thread Dragan Krnic
>>Have I misquoted you, John?
>>...
>>Have you got some new facts?
>
> Nah, I goofed. ext3 is the poorest, but ReiserFS is
> NOT the fastest and still I use it.
>
> I just installed a new machine as my local server.
> Now running SuSE 8.1 Pro with ReiserFS. MB is MSI
> with Athlon XP1700+, 512MB DDR RAM with WD 80GB
> IDE 7200rpm with 8MB Cache.
>
> I first installed Red Hat 8.0 with ext3 and it was able
> to write to disk faster than 100Mbit/sec ethernet could
> deliver the data. During copying of 34GB data over the 
> wire, memory usage was constant at 335MB. I was using
> rsync (not samba) to copy my data.
>
> I then installed SuSE with ReiserFS. Disk write using
> rsync again was slower than 100Mbit/sec ethernet could
> deliver. Memory usage slowly grew until I was using 100%
> of my 1024MB Swap. In fact I found it was faster when I
> turned swap off!

Just the point I made previously, that unrelated problems
tend to obfuscate the relative performances, especially if
not systematically researched. Using "rsync" must have
something to do with the pathological behaviour of memory
usage. There's something about the way Linux tends to use
up all of the memory available that I find strange compared
to commercial *nices. But to go overboard and claim swap
space can only be caused by an ill-conceived app or an
unexpected interaction with an "improvement" in new kernel.

I personally prefer dump|restore pipeline. It never goes
much below the theoretical throughput capacity (about 11.5
MB/s is what I get) and never any swapping. If I dump to 
"/dev/null" than the throughput is way beyond that,
although I can't pull the precise figure off the top of my
head right now (I'll check it up and report in a future
installment if necessary).

Now, clearly I was talking about ext3, because there is no
dump for reiser and because ACLs and EAs are a late
Addition. I used ext3 until recently. Another reason to
favour ext3 was that Oracle for example doesn't certify
any other system for dynamically growing tablespaces
beyond 2GB. (By the way I got about 3-4 times faster imp of
a 22 GB big Oracle exp with my dual Tyan/K7MP1200, 3 GB ECC
DDR, under RH 7.3, than on a top of the line quad HP-PA RISC
440 MHz under HP-UX 11.0 - but it was not a rigorous
benchmark either, so let's not generalize.)

However, using "tar -b 64" I got the same transfer rates
from reiser to ext3 - the limiting factor is fast ether not
fs. I'll see what I get when I redirect to "/dev/null" and
post it later on.

Now the lack of a decent "dump/restore" for reiser is
another sore fact that might stand in the way of faster
acceptance of this fine fs. I'm all sold on the paradigm
and believe that the authors will make it even better
(read faster) in the coming version 4.

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



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

2002-12-15 Thread Ronan Waide
On December 15, [EMAIL PROTECTED] said:
> usage. There's something about the way Linux tends to use
> up all of the memory available that I find strange compared
> to commercial *nices. But to go overboard and claim swap

Solaris does this also. Only since 2.7 (I think) have you been able to
find out that the used memory is in fact just disk cache blocks that
will be released as soon as you need them for real memory.

Cheers,
Waider.
-- 
[EMAIL PROTECTED] / Yes, it /is/ very personal of me.

"Quantum teleporting is problematic for humans because the original is 
 destroyed in the process of creating the replica." -- Australian News article
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Re: OS X slow with Samba server

2002-12-15 Thread Jeff McClure
I tried your suggestions. 2.2.7a helps, but not enough. FTP works just 
fine to either server. Here are the numerical results thus far:

data: MP3 file, 18564299 bytes

using FTP (OS X client=NCFTP)
-
Linux (server=ProFTPD): 38 seconds
Windows (server=WFTPD): 45 seconds

using SMB (OS X client=native OSX mount point)
--
Linux (server=Samba 2.2.3a-12 Debian): 6 minutes, 9 seconds
Linux (server=Samba 2.2.7a)  : 5 minutes, 21 seconds
Windows (server=native Win2k server) : 1 minute

There's still something going on. Any suggestions on what to check next?

Thanks,
Jeff

Simo Sorce wrote:
Any chance you can try 2.2.7a, we fixed a number of transfer problems
(mostly with w9x and DOS tough), and then report if it happens again.

Ah remember also to check the network (try an ftp transfer from both w2k
and debian, it has happened many times that a bad cambling, network
setup or failing interfaces has caused slowliness.

Simo.

On Sat, 2002-12-14 at 22:46, Jeff McClure wrote:


I have an Apple iBook running OS X 10.2 connected to my network via an 
802.11b wireless network. When I transfer files via SMB with my Windows 
2000 computer, the speed seems reasonable. However, when I connect to a 
share on my Debian (x86) box (kernel 2.4.19) running Samba 2.2.3a-12 for 
Debian, the speed is only about a sixth as fast (transferring files to 
or from the Win2k box is about 6 times faster).



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



Re: [Samba] Sleeping Clients

2002-12-15 Thread Luk Vermeylen



try putting sambaserver as first dnsserver in 
xpclient
 
often slow logins are caused by dns
 
Luk

  - Original Message - 
  From: 
  Pat 
  Schlehuber 
  To: [EMAIL PROTECTED] 
  Sent: Sunday, December 15, 2002 5:10 
  PM
  Subject: [Samba] Sleeping Clients
  
  I have tried posting this problem before and had 
  some jelpful suggestions, but to no avail. Let me reword the problem and 
  possibly jog someone head.
   
  My hardware/software config:
   
  Samba 2.2.7a
  Suse 8.0 distro
  Athlon 2000+ XP machine mucho 
memory.
  One ethernet interface verified running 100 Full-duplex.
   
  The problem:
   
  The Windows XP clients logon to the Samba server 
  and download the roaming profiles extremely fast, but after this point just 
  stops. The clients never come back, just keep showing "logging on". The 
  SignOrSeal entry has been done on the XP clients.
   
  I have turned Samba trace level=3 and it shows 
  the sighon and download of the profiles and then shows nothing happening - no 
  errors, just nothing.
   
   
  The machines(server and clients) appear 
  configured correctly as non samba traffic is very robust (FTP, ping, mail 
  etc). When I disable roaming profiles I have the same problem after the logon 
  the Client is "stuck". This problem happens from 2 totally different XP 
  clients (Hardware is very different between the 2). The Router/switch looks 
  heathy. I have applied all patches to XP and microcode to the router/switch. I 
  have tried Samba 2.2.3a and 2.2.6, 2.2.7, 2.2.7a all with the same 
  result.
   
  I am using DHCP from my provided by my router. 
  
   
  I do see in my wins.dat that I have no entrty 1d 
  showing a Local Master Browser, but on is displayed when I do a nmblookup - 
  just fishing on this.
   
  I have run my smb.conf in another network and it 
  works great.
   
   
  Any ideas from anyone that could 
  help?
   
  Pat


[Samba] Login across domains

2002-12-15 Thread Minh Duong
Hi,

I need some help with accessing across Samba domains. 
I can access the Samba shares with my Win98 machine,
but can't seem to access the server with my Win2K
laptop.

>From my Win2K laptop, I can access the network
neighborhood.  I can access the domain, but I can't
access either machine (my Win98 or the Samba server)
on the domain.

The error I get is:
 
\\server is not available

There are currently no logon servers available to the
logon request.

My Win2K machine is may work laptop and is registered
on my work domain.  Is this the problem?

I have noticed that nmb will not stay running.

This is how my network is setup:

linux firewall/router:
Bering LRP
DNS server
DHCP server

linux server:
Redhat 8.0
Samba server
Domain controller
NIS server

everyday workstation:
Win98

laptop:
Win2K

Thanks is advance,

Minh

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] can't print more copys than one

2002-12-15 Thread Joel Hammer
I assume you get multiple copies when the printer is connected directly to
the windows client.

We had the same complaint a while back. Are you the same person that
complained before? I looked into how the multiple copy
thing worked at that time.


I did some testing. I used a postscript format for the print jobs. 
>From both linux (abiword) and windows (word), only a single document is sent
to print.  Contained within each document was the code (postscript is a
computer language which runs on some printers.) to output multiple copies.
That is, samba has no influence on the number of copies printed, at least with
postscript printers.

So, maybe this is a driver problem, not a samba problem? 


Shifting now to pure speculation, maybe the windows client computer and
the printer need to be in two way communication to allow multiple copies
to be printed.

I have found (On my little home network) that the best solution to
most printing problems is to set up a queue on the linux server which
handles postscript files well, and then send everything to that queue
as a postscript job. I use HP Laserjet III + and it works fine, and all
flavors of windows seems to have that printer driver available.


Joel





On Sun, Dec 15, 2002 at 03:46:42PM +0100, Phil wrote:
> 
> I'm using Samba 2.2.3 (Debian-testing) and CUPS 1.1.15 with a HP-Deskjet950c
> 
> Printing from all Linux-Clients works fine. 
> I also can print any document from the Windows-Boxes ( XP & 2k ).
> 
> The Problem is : If I want to make more copys than one I still get one paper printed 
>out!
> This problem only appears when printing from Windows to the Samba-Share.
> 
> I also tested lpr/lpd printer spooling system -> same result:
> With Windows I could only make one copy of the document.
> With Linux all works fine.
> 
> 
> my smb.conf :
> 
> [global]
>workgroup = IMMORTUX
>netbios name = blub
>guest account = blub
>server string = %h server (Samba %v)
>load printers = yes
>printcap name = /etc/printcap.cups
>printing = bsd 
> # I also testet with option 'cups' and without option 'print command' > same result..
> 
>invalid users = root
>log file = /var/log/samba/log.%m
>max log size = 1000
>syslog = 0
>security = share
>encrypt passwords = false
>dns proxy = no
>passwd program = /usr/bin/passwd %u
>passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* 
>%n\n .
>obey pam restrictions = yes
> 
> [printers]
>comment = All Printers
>browseable = yes
>path = /tmp
>printable = yes
>public = yes
>print command = /usr/bin/lpr -o raw -P%p -r %s
>create mode = 0700
>guest ok = yes
> 
> I read the docu without getting new ideas so the mailinglist is my last hope *g*
> thx4reading
> 
> Phil
> 
> -- 
> 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] ACL issues still unresolved

2002-12-15 Thread Ronan Waide
On December 6, [EMAIL PROTECTED] said:
> It would be a tremendous help for all newbies and other migrants if 
> someone lurking on this maillist went a step further than I did and 
> were willing to share the experience.

I'm currently looking at exactly this setup in order to migrate some
shares off an NT box. I see two basic problems here:

1. smbclient and smbmnt/smbmount don't, apparently, have any support
   for ACLs
2. smbcacls is not format-compatible with getfacls.

I would presume the first is on the (eventual) todo list for the samba
team, but the second seems to be a short-term solution that would work
nicely.

As is, I'm thinking I'm better off with the approach suggested by
another poster, which is to take this opportunity to review the ACLs
on the shares and correct them manually. It's going to hurt, of
course, but the end result will be a better configuration.

Cheers,
Waider.
-- 
[EMAIL PROTECTED] / Yes, it /is/ very personal of me.

"The interior decorating site is something to behold. Preferably with
 welders glasses." - AjD
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] PAM, PDC and Winbind

2002-12-15 Thread Diego Rivera
Hello all,

I currently have the following setup working nicely:

A Samba PDC, with LDAP-SAM, syncs passwords between LDAP and Samba (and
/etc/shadow when appropriate) correctly - either when changing them
through Samba (samba has PAM support enabled and working) or through
normal Unix mechanisms (/usr/bin/passwd, using pam_smbpass, pam_ldap,
etc.).

Several other Linux machines, running Samba, using winbind/pam_winbind
(NOT nss_winbind), and nss_ldap to authenticate against the PDC.

Using pam_winbind to sync passwords allows me to exploit the fact that
the Samba processes in the PDC does sync the LDAP and Samba passwords
for me.  Avoiding nss_winbind allows me to conserve the userid's stored
in LDAP and reuse them throughout the network, without suffering from
the winbind limitation of the "first-come, first-served" userid
assignment.  Windows machines do not, of course, suffer from this.

Basically, Samba is just the auth/password change mechanism for my
client machines (local unix passwords are also affected when
appropriate).

My dilemma is with my PDC's configuration: I currently use pam_smbpass
to do the synching of Samba passwords when the password change occurs
external to Samba.  I don't particularly like this - I'd rather use
something like pam_winbind to do my password changes *through* samba as
opposed to parallel to it.

However, I've had no success in getting winbind to do this while running
on the PDC (although I could join the machine to its own domain - some
trickery there; and get wbinfo to display the correct list of users and
groups - which means that winbind is attaching itself to the PDC
correctly).  It won't, however, do password authentication and changes
correctly.

Any ideas? Advice? 

I had run into pam_smb (pam_domain? pam_ntdom?) earlier, which
supposedly could do this for me, but IIRC it wasn't being maintained,
and it was pretty buggy.

Best

Diego

PS/ If you want copy of my configs, let me know and I'll e-mail them to
you directly.

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



Re: [Samba] ACL issues still unresolved

2002-12-15 Thread Dragan Krnic
>I'm currently looking at exactly this setup in order to migrate
>some shares off an NT box. I see two basic problems here:
>
>1. smbclient and smbmnt/smbmount don't, apparently,
>   have any support for ACLs
>2. smbcacls is not format-compatible with getfacls.
>
>I would presume the first is on the (eventual) todo list for
>the samba team, but the second seems to be a short-term
>solution that would work nicely.

When I moved shares I used Veritas BackupExec to restore a
regular NT backup to a *nix. This gave all rights to 
smbnull:smbnull. Since I was frustrated with NT acl
commands I never came around to format conversions.
A one-time manual adjustment wasn't nearly as hard as I
thought it would be.


_
Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year.
http://login.mail.lycos.com/brandPage.shtml?pageId=plus&ref=lmtplus
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] SAMBA/LINUX/WindowsNT?2000

2002-12-15 Thread Enrique Wong

I have:
1)Red Hat Linux 7.2 (server)
samba 2.2.1a
smbclient -NL dhcppc5 gives me
 Server = dhcppc5
 Workgroup = HOME , etc
smbclient '//dhcppc5/homes' -Uewong (Password = 5448998) gives
  me connection so that I can use ls to view the files.
testparm is OK.
 In smb.conf I have beside other things
   [globa] encrypt passords = yes
   [global] smb passwd file = /etc/samba/smbpasswd
 smclient to the remote client WindowsNT is OK. 
I can see the client's files.

2)WindowsNT (client)
  In the network neighborhood under Home I can
  see Dhcppc5.
  When I click on Dhcppc5, I get this error message
"The network path was not found"
  I try in Map Network Drive under path:
\\Dhcppc5\ewong
  And still it gives me an error:
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] Using the right network interface

2002-12-15 Thread Simeonidis, Steve
Title: RE: [Samba] Using the right network interface





Sorry Eric, I'm talking about Windows DOMAIN/WORKGROUPS.


One interface will have a different Domain to the other.


eg.
eth0 Domain - DomainA
eth1 Domain - DomainB



I was just wondering if nmbd will work properly.



Thanks



Steve Simeonidis
Network Engineer, Spherion Education
Spherion Group Ltd


"Making the Workplace Work Better"


1st Floor, 493 St. Kilda Rd,
Melbourne VIC 3004, 
Australia
+61 3 9243 2382
[EMAIL PROTECTED]




-Original Message-
From: Eric Boehm [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 12, 2002 11:58 PM
To: Simeonidis, Steve
Cc: [EMAIL PROTECTED]
Subject: Re: [Samba] Using the right network interface



On Thu, Dec 12, 2002 at 11:16:39PM +1100, Simeonidis, Steve wrote:
> "Steve" == Simeonidis, Steve <[EMAIL PROTECTED]> writes:


    Steve>  Thanks for that, I'll give it a go!  Will nmbd work
    Steve> properly if one "interface" belongs to a different domain
    Steve> than the other?



What kind of domain do you mean? A Windows domain or a DNS domain? If
its a DNS domain, I don't think it matters. If it is a Windows domain,
I am not sure.


I'm not sure I understand the question. In the link for the thread I
sent you


http://marc.theaimsgroup.com/?t=10130473722&r=1&w=2


The examples I provide run a separate smbd *and* nmbd for each
interface. 


BTW, I built 2.2.5 and it only binds to one interface for me if I just
specify 


interfaces = 192.168.1.1/24


even if "bind interfaces only = yes" is commented out.


    Steve> Will it get mixed up?



-- 
Eric M. Boehm  /"\  ASCII Ribbon Campaign
[EMAIL PROTECTED]   \ /  No HTML or RTF in mail
    X   No proprietary word-processing

Respect Open Standards / \  files in mail


The information contained in this email and any attachments to it:

(a) may be confidential and if you are not the intended recipient, any interference with, 
use, disclosure or copying of this material is unauthorised and prohibited; and

(b) may contain personal information of the recipient and/or the sender as defined 
under the Privacy Act 1988 (Cth). Consent is hereby given by the recipient(s) to 
collect, hold and use such information and any personal information contained in a 
response to this email, for any reasonable

purpose in the ordinary course of Spherion’s business, including forwarding this email 
internally or disclosing it to a third party. All personal information collected by Spherion 
will be handled in accordance with Spherion’s Privacy Policy. If you have received 
this email in error, please notify the sender and delete it.






Re: [Samba] ACL issues still unresolved

2002-12-15 Thread Andrew Furey
2. smbcacls is not format-compatible with getfacls.

the second seems to be a short-term solution that would work nicely.


Following the suggestion of Tony BT I'm planning to write a Perl script 
to get the output of smbcacls for each file and convert it to the 
appropriate chown/setfacl commands (and apply them) for each file that 
has been copied.

If anyone wants a copy when I'm done, let me know.

--
ANDREW FUREY <[EMAIL PROTECTED]> - Sysadmin/developer for Terminus.
Providing online networks of Australian lawyers (http://www.ilaw.com.au)
and Linux experts (http://www.linuxconsultants.com.au) for instant help!
Disclaimer: http://www.terminus.net.au/disclaimer.html. GCS L+++ P++ t++

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


Re: [Samba] domain local groups in winbindd

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

On Sat, 14 Dec 2002, Guenther Deschner wrote:

> but my question was: why are domain local groups only supported in
> native win2k-domains and not in mixed-mode domains?

Cause this is how Windows does it.

> if i just comment out some native-mode checks in winbind i do see all
> the domain local groups properly as well in my mixed-mode domain.
> apparently this works. maybe there some technical reasons why the
> authors disabled domain local groups in mixed-mode win2k domains that i
> just don't see right now?

That was my code.  It works based on the Windows documentation and 
behavior that I observed.  If you use domain local groups of a server in a 
mixed mode domain, I have no idea how the Winows clients accessing shares 
on that server will react.  My gut feelnig is that you will see some
unresolved SIDs, but I could be wrong.




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

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

iD8DBQE9/TgBIR7qMdg1EfYRAgw0AKC91wqSeRTSJuya54GODRP31em9sgCg6Hcn
T2kJ7aedXyVFwG7cgMHhsiE=
=dEFz
-END PGP SIGNATURE-

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



[Samba] SMB LDAP tools

2002-12-15 Thread Gregory Chagnon
Hi-
I'm using the SMB ldap tools to add entries to my ldap database for use with 
Samba.  Does anyone know how I can create the userPassword field with PHP?  
I've tried a few things, but none of them worked.  Thanks!!
-Greg

_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus

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


[Samba] password problems

2002-12-15 Thread Marcus James Bloodworth
i have red hat 7.2 running samba 2.2.6
i am using win2k and win98 to connect as clients
i have the server configured as share level access.
the server still asks clients attempting to map for username and password.
When i supply username and password the samba server says the it is
incorrect.
i have encrypted passwords enabled.





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



[Samba] sync /etc/passwd with samba's smbpasswd file

2002-12-15 Thread Patrick Kwan
Hi all,

I want to sync the password to smbpasswd when I change the
Linux system a/c password in /etc/passwd.

I have compiled samba with --with-pam_smbpasswd and install
the file pam_smbpass.so to /lib/security.

I have looked into the samba's source directory:
source/pam_smbpass/samples, their is a directory named
"password-sync". How can I use this file to sync password from
 system a/c to smbpasswd a/c.

Or, there is another way to do that?


I can sync password from smbpasswd to /etc/passwd with the
following config in global:

[global]
unix password sync = true
passwd program   = /usr/bin/passwd %u
passwd chat= \
   *password* %n\n \
   *password* %n\n \
   *successful*

My system config:
Redhat 7.3
samba 2.2.7a

Many thanks!

Patrick








-
This email was sent using SquirrelMail.
   "Webmail for nuts!"
http://pat.dyndns.info/webmail/


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



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

2002-12-15 Thread Javier Castillo Alcibar
Sure, I did it without problem.

-Mensaje original-
De: John H Terpstra [mailto:[EMAIL PROTECTED]] 
Enviado el: viernes, 13 de diciembre de 2002 18:44
Para: Javier Castillo Alcibar
CC: [EMAIL PROTECTED]
Asunto: Re: [Samba] Problem authenticating with Samba (security=domain)
+ Windows 2000 PDC

On Fri, 13 Dec 2002, Javier Castillo Alcibar wrote:

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

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

> Is this a know behaviour??

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

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

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