[Samba] lppause command

2002-09-21 Thread Sander van Vliet



Hello,
   
I've just configured my printing service on samba 
2.2.5 and set the lpr,lprm etc commands but when I click 'pause printing' in the 
spool window on a windows box it says Error excuting command. 
My lppause command: lpc -P%p stop 
My lpresume command: lpc -P%p start
 
TIA Maxor


[Samba] smb2www

2002-09-21 Thread Thiruvarasu

have anyone used the samba to web gateway (smb2www) ? Can someone walk me through with 
getting the system up ? I think i installed everything properly, but i just don't know 
how to browse the network. Really hope someone can go through the steps with me. 

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



[Samba] Good luck all of you.

2002-09-21 Thread Rajesh Prakasan



Dear All,
    I am having a good 
new for you. I
I have successfully configured a Linux 
Samba File server for my Corporate. It is handling 100 users, 6 Network Laser 
printers( high volume), 40 GB of Data. It is acting as Primary Domain Controller 
+ Time + WINS Server. The response of the server is very fast, and all my users 
are very vey happy  about the response from the server while printing or 
File Accessing. I am having the clients like Windows 95,98,NT, 2000 & XP 
machines.All these are working very fine.
 I had earlier using Novell 
netware server, this is been completely removed. And all my other servers are 
running in Linux System.
So Try all of you making your corporate 
into fully Linux System.
Thanks to all, & Good 
Luck.
 
Sincerely,
 
Rajesh Prakasan
 
 
 
 


[Samba] Cannot pause printer

2002-09-21 Thread Sander van Vliet



Hi 
 
When I try to pause a printer it spits out an error 
that I don't have permission to pause the printer. It is pretty weird 

because I'm the administrator. I've tried to add 
the write list=ntadmin option but that doesn't work.
 
 Does anyone have a clue?
 
TIA Maxor


[Samba] Hy ..

2002-09-21 Thread Seby

I have a problem joining a win2k to a samba domain .. 

When i try to add the wink machine it says somthing about the trust 
relationship between the wwin2k and samba 

Thankyou,
Excuse my bad english ..



-- 

--- 
http://lapd.cj.edu.ro/~seby
E-mail: [EMAIL PROTECTED]
---


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



[Samba] Win2k problems ..

2002-09-21 Thread Seby


I joined a win2k machine to a samba 2.2.5 domain .. but when i try 
to log on with a user i get this error: 

The system can't log you on to this domain because the system's 
computer account in it's primary domain is mising or the password on that 
account is incorect ...

Thank you,

Seby ...


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



[Samba] Cheap Fags

2002-09-21 Thread Sales Department


Dear Sir or Madam

In the past you have requested information on discounted products. We hope that you 
find this of interest. If you are not a smoker, and find this email offensive, we 
sincerely apologise!  We will be only too happy to take you off our mailing list.

If you are a smoker, however, and are fed up with paying high prices for your 
cigarettes and tobacco, take a look at what we have to offer  by clicking on this link.
http://www.smokersassociation.co.uk/?S=15&ID=2

We can send you, legally, by registered air mail, direct to your door, 4 cartons of 
cigarettes or 40 pouches of rolling tobacco (all brands are available) from only 170 
Euros - about 105 pounds - fully inclusive of postage and packing.  Why pay more?

To remove yourself from our mailing list, please click below
mailto:[EMAIL PROTECTED]

Yours faithfully.
Smokers Association

http://www.smokersassociation.co.uk/?S=15&ID=2

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



Re: [Samba] Win2k problems ..

2002-09-21 Thread Mogens Kjaer



Seby wrote:
>   
>   I joined a win2k machine to a samba 2.2.5 domain .. but when i try 
> to log on with a user i get this error:   

Have you created a machine account for the machine?

Have you set up samba to automatically create the machine
account? If this is so, you should log in as root from
the PC for the first time in order to have the
machine account created automatically.

http://de.samba.org/samba/ftp/docs/htmldocs/samba-pdc-faq.html#AEN103

Mogens

-- 
Mogens Kjaer, Carlsberg Laboratory, Dept. of Chemistry
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: [EMAIL PROTECTED] Homepage: http://www.crc.dk


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



[Samba] another beginner

2002-09-21 Thread root

hi, i have RedHat 7.3 as a server machin, and Windows XP pro as clients, 
i use samba 2.2.3a
i can ping the server from client.
following the manual, i created a windows user root with the password x 
and set the linux root password to x
i added the user root to samba user list with the smbpasswd.
i can see the server icon in the network neighborhood from the client 
pcs but i can't open them
(i am logged on the client pc with the username root)
the message says that i may not have the permission to use this network 
resource, why?
would appreciate any kind of help.
XXXPixie

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



Re: [Samba] Cannot pause printer

2002-09-21 Thread Joel Hammer

Which printing software?
In LPRng, lpd.perms controls this sort of permissions.
Joel
On Sat, Sep 21, 2002 at 01:03:25PM +0200, Sander van Vliet wrote:
> Hi 
> 
> When I try to pause a printer it spits out an error that I don't have permission to 
>pause the printer. It is pretty weird 
> because I'm the administrator. I've tried to add the write list=ntadmin option but 
>that doesn't work.
> 
>  Does anyone have a clue?
> 
> TIA Maxor
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] lppause command

2002-09-21 Thread Joel Hammer

Here is how I have mine:

lppause command = /usr/sbin/lpc hold -PWin4LinZ53 %j
lpresume command = /usr/sbin/lpc release -PWin4LinZ53 %j
Joel



On Sat, Sep 21, 2002 at 11:00:23AM +0200, Sander van Vliet wrote:
> Hello,
>
> I've just configured my printing service on samba 2.2.5 and set the lpr,lprm etc 
>commands but when I click 'pause printing' in the spool window on a windows box it 
>says Error excuting command. 
> My lppause command: lpc -P%p stop 
> My lpresume command: lpc -P%p start
> 
> TIA Maxor
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] updating smb.conf during Samba is working

2002-09-21 Thread Andrew Bartlett

Joel Hammer wrote:
> 
> I believe you just send a sighup to the original smbd daemon.
> The pid when you compile from source with defaults is here:
> /usr/local/samba/var/locks/smbd.pid
> It may be in /var/lock or other places.
> Or, ps ax | grep smbd and usually, if smbd is started on reboot, the lowest
> pid is your original one.
> In linux, signal 1 is sighup, so:
> kill -1 pid
> makes smbd reread smb.conf but current connections are not altered.
> I do not know what happens if you sighup a daughter smbd process.

Hitting any smbd with a -HUP should force a reload of the config file,
and reopen the logfiles etc.

(ie killall -HUP smbd should work fine)

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] "@" doesn't work in the NT domain name

2002-09-21 Thread Andrew Bartlett

Gerald Carter wrote:
> 
> On Thu, 19 Sep 2002 [EMAIL PROTECTED] wrote:
> 
> >
> > I am part of a large worldwide Active Directory and all of our individual
> > site NT domain names have an  ampersand symbol in them
> > (for example: VWS@ROCHESTER)  Samba 2.2.6pre2 and older won't join this
> > domain name, or allow connections to it from users in this domain.  The
> > logs state that the domain name is "VWS_ROCHESTER",  the code is squashing
> > the @ to an _ causing all authentification attempts to fail.  Since we are
> > migrating to this domain, all of our samba servers will NOT function for
> > users connecting from the AD domains due to the domain-name mangling.
> >
> > I was told this was done as part of a security audit to the samba code, but
> > it breaks compatibility in a major way. Ampersands are VALID in a netbios
> > domain name, just not in a machine name (AFAIK), but samba doesn't comply
> > in this regard.  Since changing the netbios domain names of our win2k
> > domains is not possible, I need a fix ASAP.  Any suggestions?
> 
> grrr... I hate that alpha_strcpy() code.  I'll get you a fix today.
> Can you send me a level 10 debug log of the failure?

It also catches people with names like O'Reilly (often used with
username map).  The issue is fixing this while keeping a lit on the %U
macro games - particulary with things like 'security=server' and 'add
user script' etc.

In Samba HEAD we come much closer to being able to have a 'safe'
username for %U etc, and an 'unsafe' name for internal use.  Most of the
work remaining is a good code audit...

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] 2k clients

2002-09-21 Thread Matt Bednarik

Hello, I have ran into a fairly large problem. When ever i try to join to samba 
2.2.5 controlled domain with my win 2k client. It says user does not exist. I 
checked to see of the machine trust account was setup correctly and it was. 
Also the username and password i used is a working user because i can logon 
with my 98 box just fine. The trust accounts are made, there is a domain admin 
user which is valid, here is my smb.conf file:


#This is the configuation file for Samba version 2.2.5 for the SME test bundle
[global]
workgroup = ALPHATEST
smbpasswd file = /usr/local/samba/private/smbpasswd
#smbusers file = /usr/local/samba/private/smbusers
netbios name = Alphapdc
os level = 255
security = users
wins support = yes
#password server = "name of the nt or samba server to auth to"
encrypt passwords = yes
printer admin = mattb administrator
add user script = adduser -g 100 -s /bin/false
admin users = mattb administrator
#for domain logons
domain logons = yes
preferred master = yes
domain master = yes
local master = yes
logon drive = H:
logon path = \\alphapdc\homes\%u
#logon drive = F:
#logon path = \\applications
time server = yes

[print$]
path = /usr/local/samba/printers
guest ok = no
browseable = yes
read only = no

write list = mattb administrator

[profiles]
path = /samba/users/profiles
read only = no
browseable = no
writeable = yes

[netlogons]
path = /samba/machines/netlogon
read only = yes
browseable = no
writeable = no
write list = mattb administrator

[homes]
path = /home/%u
read only = no
browseable = yes
writeable = yes

[administrative drop box]
path = /samba/users/admins
read only = no
writeable = yes
browseable = yes
read list = mattb administrator

[backup]
path = /samba/machines
read only = yes
writeable = no
browseable = no
write list = mattb administrator

[applications]
path = /samba/machines/apps
read only = yes
writeable = no
browseable = yes
write list = mattb administrator
I do not see what i am doing wrong. Nothing in your documentation or in any 
mail archives says anything about getting this error message. I hope you can 
help.

Matt Bednarik


-
This mail sent through IMP: http://horde.org/imp/
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] pam_winbind

2002-09-21 Thread Andrew Bartlett

cj wrote:
> 
> >-Original Message-
> >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> >Sent: Thursday, 19 September 2002 7:49 AM
> >To: [EMAIL PROTECTED]
> >Cc: Samba List (E-mail)
> >Subject: Re: [Samba] pam_winbind
> >
> >
> >cj wrote:
> >>
> >> Would any one know what these errors are and how they are created?
> >> I am using pam_winbind in my system-auth file.
> >> But when I try and telnet onto the machine, I get this error message in
> the
> >> log.
> >>
> >> Sep 18 16:41:47 yamin pam_winbind[1160]: request failed, PAM error was 4,
> NT
> >> error was NT_STATUS_INVALID_PARAMETER
> >> Sep 18 16:41:47 yamin pam_winbind[1160]: internal module error (retval =
> 4,
> >> user = `cj'
> 
> >You must use 'domain\username' with winbind in 2.2.
> Where must I use 'domain\username'?
> When I logon? or is there another spot I use 'domain\username'
> I have added the appropiate winbind settings in the smb.con file,

Your username, whey using winbind is always domain\username.  This is
the only form winbind will process.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] pam_mount permissions

2002-09-21 Thread David Leuser II

Has anyone gotten back to you about this yet?  I just got over the
headache of trying the same thing myself... the only way i could get X to
work was to set dmask=0777 (which pam mount will allow you to do in your
pam_mount.conf)... make sure you have the latest version of pam_mount,
there are a few old ones floating around out there.  

This solution was lousy in my case, because I'm running a terminal system,
and everyone would be able to open everyone elses home directory, even
accidentally, with those permissions!  Someone from a Gnome conference
told me the latest version of GDM (2.4.x?) fixes this problem, though i
haven't yet tried it...

... i ended up using a batch script to generate all the domain users home
dirs on the linux box, including a mount point inside the linux home dir,
from which i use pam_mount to mount their SMB home-dir files...  I think
this is actually a better solution anyway, as GDM (in my case) and other
linux programs like Open office create files in the home dir that many of
our users are apt to delete or otherwise break when they see them in their
regular file folder :-)

HTH

[EMAIL PROTECTED] writes:
G'day All

Thank you to every one who has helped me get pam_mount and winbind working.

I can now use winbind to use the passwords from a samba HEAD PDC to do
authentications and pam_mount to mount the users home directory.
YAY

Does any one know what the option is to change the permissions on a mounted
directory in pam_mount?
at present it gives me rwxr-xr-x, which is fine.
But I run startx and it gives me a "cannot lock .Xauthority" message.
Im thinking is it the permissions that are wrong or would there be
something
else?


Thanks

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




David M. Leuser, II
Assistant Network Administrator
New Hampton School
(603) 744-3182 x121
[EMAIL PROTECTED]

"Picture the root account as a magic hat that gives you lots of power,
with which you can, by waving your hands, create or destroy entire cities.
Because it is easy to wave your hands in a destructive manner, it is not a
good idea to wear the magic hat when it is not needed, despite the
wonderful feeling. " -- Gnome User's Guide

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



Re: [Samba] pam_winbind

2002-09-21 Thread David Leuser II

you can add a parameter to your smb.conf, i think it's 
winbind use default domain = yes

someone shared this with me a while back, now I can omit all the "DOMAIN"
and delimmeter garbage and it works awesome!  you need to have a build of
samba that supports it, i don't know at which version they started
implementing (my rh 7.2 didn't )

[EMAIL PROTECTED] writes:
>Would any one know what these errors are and how they are created?
>I am using pam_winbind in my system-auth file.
>But when I try and telnet onto the machine, I get this error message in
>the
>log.
>
>Sep 18 16:41:47 yamin pam_winbind[1160]: request failed, PAM error was 4,
>NT
>error was NT_STATUS_INVALID_PARAMETER
>Sep 18 16:41:47 yamin pam_winbind[1160]: internal module error (retval =
>4,
>user = `cj'
>
>Thanks
>
>-- 
>To unsubscribe from this list go to the following URL and read the
>instructions:  http://lists.samba.org/mailman/listinfo/samba




David M. Leuser, II
Assistant Network Administrator
New Hampton School
(603) 744-3182 x121
[EMAIL PROTECTED]

"Picture the root account as a magic hat that gives you lots of power,
with which you can, by waving your hands, create or destroy entire cities.
Because it is easy to wave your hands in a destructive manner, it is not a
good idea to wear the magic hat when it is not needed, despite the
wonderful feeling. " -- Gnome User's Guide

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



Re: [Samba] smb2www

2002-09-21 Thread Yura Pismerov


I think smb2www is outdated software. 
Not to mention bugs (looping and 100% CPU consumption).
I'd not recommend to use it...

Thiruvarasu wrote:
> 
> have anyone used the samba to web gateway (smb2www) ? Can someone walk me through 
>with getting the system up ? I think i installed everything properly, but i just 
>don't know how to browse the network. Really hope someone can go through the steps 
>with me.
> 
> Thank u.
> --
> 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] smb2www

2002-09-21 Thread Andrew Bartlett

Yura Pismerov wrote:
> 
> I think smb2www is outdated software.
> Not to mention bugs (looping and 100% CPU consumption).
> I'd not recommend to use it...

It also has security issues (XOR encryption is all you get of your
password, and it's kept in the URL).

Look into the FileSys::Smb perl module, I think it includes a new
version that might have fewer issues.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] W2K and Samba Print Services: Access Deny

2002-09-21 Thread Ruben I Safir

Hello

We've been running samba with LPD hooked up to two
HP 5SI prionters through a deskject Direct card.

Occassionally, it stop working.  And the clients get an
access deny messages which seems to be meaningless.

This usually happens when the printer jam.  But it doesn't
seem to come back to a stable configuration either with the
W2K drivers or the deskject direct cards.

THe print spooler is LPD

And solutions?

Ruben

-- 
__

Brooklyn Linux Solutions
__
DRM is THEFT - We are the STAKEHOLDERS http://www.nyfairuse.org

http://www.mrbrklyn.com - Consulting
http://www.nylxs.com/radio - Free Software Radio Show and Archives
http://www.brooklynonline.com - For the love of Brooklyn
http://www.nylxs.com - Leadership Development in Free Software
http://www.nyfairuse.org - The foundation of Democracy
http://www2.mrbrklyn.com/resources - Unpublished Archive or stories and articles from 
around the net
http://www2.mrbrklyn.com/mp3/dr.mp3 - Imagine my surprise when I saw you...
http://www2.mrbrklyn.com/downtown.html - See the New Downtown Brooklyn

1-718-382-5752



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



[Samba] Samba Very Slow When Using AFS and MS Office (is this a Bug?)

2002-09-21 Thread Husain Ali Al-Mohssen

Hi All,

I am having a problem with Samba that seems to be a bug. I say this
because I read the archives and they described a problem similar to mine
and were told that it was a bug in older version of Samba and the latest
version should have it fixed. I am running what is essentially a RH 7.3 on
a 1.4GHz Athon with 1GB or RAM. I compiled Samba 2.2.5 in /opt/samba-2.2.5
and am using the following smb.conf:
[global]
workgroup = FLASH1
interfaces = vmnet1
bind interfaces only = yes
log file = /var/log/samba/log.%m
[homes]
guest ok = no
read only =no

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


What I am trying to do is to have Samba bind only to the internal network
device so that no one can look @ my samba share from the outside network.
vmnet1 is a VMWare vertual network.

My client is a virtual Windows 2k (sp2) with the modification to the
regestry that allows passwords to be sent in the clear as described by the
Samba documentation.

Now everything is good and fast when I try to access the 60GB share that
is a local disk. The problem is that when I try to access my home
directory things are slow and sometimes files don't showup. In particular,
when I try to access MS Office files things are very very slow. If I copy
the same file to the /60GB partition accessing it through samba is very
fast and normal.

Please note that the AFS partion is already mounted before I login to
Samba from the win2k machine so Samba should just see the files there. I
started nmbd and smbd with the -d 1 option and the log.%m file for the
win2k machine is very big but essentially full of things like:
[2002/09/21 00:01:25, 0] locking/posix.c:posix_fcntl_lock(660)
  posix_fcntl_lock: WARNING: lock request at offset 2147483539, length 1
returned
[2002/09/21 00:01:25, 0] locking/posix.c:posix_fcntl_lock(662)
  an Invalid argument error. This can happen when using 64 bit lock
offsets
[2002/09/21 00:01:25, 0] locking/posix.c:posix_fcntl_lock(663)
  on 32 bit NFS mounted file systems.
[2002/09/21 00:01:25, 0] locking/posix.c:posix_fcntl_lock(660)
  posix_fcntl_lock: WARNING: lock request at offset 2147483539, length 1
returned
[2002/09/21 00:01:25, 0] locking/posix.c:posix_fcntl_lock(662)
  an Invalid argument error. This can happen when using 64 bit lock
offsets
[2002/09/21 00:01:25, 0] locking/posix.c:posix_fcntl_lock(663)
  on 32 bit NFS mounted file systems.
[2002/09/21 00:01:25, 0] locking/posix.c:posix_fcntl_lock(660)
  posix_fcntl_lock: WARNING: lock request at offset 2147483539, length 1
returned
[2002/09/21 00:01:25, 0] locking/posix.c:posix_fcntl_lock(662)
  an Invalid argument error. This can happen when using 64 bit lock
offsets
[2002/09/21 00:01:25, 0] locking/posix.c:posix_fcntl_lock(663)
  on 32 bit NFS mounted file systems.
[2002/09/21 00:02:03, 0] smbd/oplock.c:oplock_break(796)
  oplock_break: receive_smb timed out after 30 seconds.
  oplock_break failed for file Cluster/WesternScientific/Mit911a.xls (dev
= 9, inode = 1097925642, file_id = 56).
[2002/09/21 00:02:03, 0] smbd/oplock.c:oplock_break(868)
  oplock_break: client failure in oplock break in file
Cluster/WesternScientific/Mit911a.xls
[2002/09/21 00:02:13, 0] locking/posix.c:posix_fcntl_lock(660)
  posix_fcntl_lock: WARNING: lock request at offset 2147483539, length 1
returned
[2002/09/21 00:02:13, 0] locking/posix.c:posix_fcntl_lock(662)
  an Invalid argument error. This can happen when using 64 bit lock
offsets
[2002/09/21 00:02:13, 0] locking/posix.c:posix_fcntl_lock(663)
  on 32 bit NFS mounted file systems.
[2002/09/21 00:02:13, 0] locking/posix.c:posix_fcntl_lock(660)
  posix_fcntl_lock: WARNING: lock request at offset 2147483539, length 1
returned
[2002/09/21 00:02:13, 0] locking/posix.c:posix_fcntl_lock(662)
  an Invalid argument error. This can happen when using 64 bit lock
offsets
[2002/09/21 00:02:13, 0] locking/posix.c:posix_fcntl_lock(663)
  on 32 bit NFS mounted file systems.
[2002/09/21 00:02:13, 0] locking/posix.c:posix_fcntl_lock(660)
  posix_fcntl_lock: WARNING: lock request at offset 2147483539, length 1
returned
[2002/09/21 00:02:13, 0] locking/posix.c:posix_fcntl_lock(662)
  an Invalid argument error. This can happen when using 64 bit lock
offsets
[2002/09/21 00:02:13, 0] locking/posix.c:posix_fcntl_lock(663)
  on 32 bit NFS mounted file systems.



Also there are other things like:
[2002/09/21 00:21:02, 0] locking/posix.c:posix_fcntl_lock(660)
  posix_fcntl_lock: WARNING: lock request at offset 2147483538, length 1
returned
[2002/09/21 00:21:02, 0] locking/posix.c:posix_fcntl_lock(662)
  an Invalid argument error. This can happen when using 64 bit lock
offsets
[2002/09/21 00:21:02, 0] locking/posix.c:posix_fcntl_lock(663)
  on 32 bit NFS mounted file systems.
[2002/09/21 00:57:30, 0] lib/util_sock.c:read_data(436)
  read_data: read failure for 4. Error = No route to host
[2002/09/21 00:57:30, 1] smbd/service.c:close_cnum(69

[Samba] path too deep

2002-09-21 Thread Juan Manuel Hdez . García

I have Debian Woody installed, with samba server 2.2.3a-6 and home shares
for users.

When I try to move a file from a client to the server, it takes a long time
and ends up with a 'path too deep' error message, though sometimes the file
is copied.

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] another beginner

2002-09-21 Thread Knut Ove Hauge

I assume the smbpasswd also is x.
run regedit32 on start menu on the xp, and check this. 
In the registry change

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\netlogon\parameters
"requiresignorseal"=dword:0001

to

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\netlogon\parameters
"RequireSignOrSeal"=dword:


--- root <[EMAIL PROTECTED]> skrev: > hi, i have RedHat 7.3 as a server
machin, and Windows XP pro as
> clients, 
> i use samba 2.2.3a
> i can ping the server from client.
> following the manual, i created a windows user root with the password
> x 
> and set the linux root password to x
> i added the user root to samba user list with the smbpasswd.
> i can see the server icon in the network neighborhood from the client
> 
> pcs but i can't open them
> (i am logged on the client pc with the username root)
> the message says that i may not have the permission to use this
> network 
> resource, why?
> would appreciate any kind of help.
> XXXPixie
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

=
Investigating the Norwegain 4.th Secret ServiceThe multiheaded 
beast.http://home.no.net/~knutove/knut_ove_hauge_kuren.htm

__
Se den nye Yahoo! Mail på http://no.yahoo.com/
Nytt design, enklere å bruke, alltid tilgang til Adressebok, Kalender og Notisbok
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Can I print throw samba directly to winprinter (/dev/usb/lp0) without lp-driver?

2002-09-21 Thread Vladimir I. Umnov

Hello, samba.

subj.

-- 
 Vladimir I. Umnov mailto:[EMAIL PROTECTED]

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



[Samba] Bad links in user profile

2002-09-21 Thread Vladimir I. Umnov

Hello, samba.

Why some times apears bad links in user profiles. After that profile
can not load correctly. After deletion this bad links (usually in
NetHood, some times it is files in different folders), all work fine. W2K
client report, what this files can not read, but I can read them in default
profile mode from home directory.
Users can not login with they profile information before I delete this
files.


-- 
 Vladimir I. Umnov mailto:[EMAIL PROTECTED]

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



[Samba] È«ÊÐ×î±ãÒ˵ÄÊл°Í¨ºÍCDMA\GSMÊÖ»ú

2002-09-21 Thread easytest8341

CDMAÊÖ»ú900ÔªËÍ1300»°·Ñ£¨Ã¿·ÖÖÓ0¡£20Ôª£©=
 ÏÖ´ú1100Êл°Í¨600Ôª£¨º¬400»°·Ñ
CDMAÊÖ»ú¿¨150ÔªÒ»ÕÅ£¨º¬1000Ôª»°·Ñ£©´òÊÐÄڵ绰Ï൱ÓÚ7·ÖǮһ·ÖÖÓ
SONY100Êл°Í¨500Ôª£¨ËÍ400»°·Ñ
ĦÍÐÂÞÀ­ÀÏ¿îÊÖ»ú120Ԫһ̨
ÄÜÉÏÍøµÄÎ÷ÃÅ×Ó3508ÊÖ»ú430Ôª
ÄÜÉÏÍøµÄ°®Á¢ÐÅT29ÊÖ»ú500Ôª
Êл°Í¨´ø»úÈę̈150ÔªËÍ400»°·Ñ
ÏêÇéÇë×Éѯ26840989

---
   ±¾ÓʼþÓÉËÑÒ×Ê×´´¡°ÎÞÐèSMTPȺ·¢Æ÷¡±·¢ËÍ£¬ÄÚÈÝÓë±¾¹«Ë¾Î޹ء£

   ×î¼ÑȺ·¢ÖÊÁ¿£ºÆÕͨPCÖÕ¶Ë×Ô½¨SMTP£¬¶Ôÿ¸öÓÊÖ·ÌØ¿ìרµÝ·¢ËÍ¡£

   ×î¼ÑȺ·¢Ëٶȣº¶àÏß³Ìͬ²½¸ßËÙ·¢ËÍ£¬²»´æÔÚÓʼþ´«ÊäÑÓ³ÙÏÖÏó¡£

   ×î¼ÑȺ·¢Ð§¹û£ºÍ»ÆÆÒ»ÇзþÎñÆ÷¹ýÂË£¬²»ÔÙµ£ÐÄ·¢³öÓʼþ»á¶ªÊ§¡£

   Ò»Á÷ÉÌÎñÈí¼þÕ¾µã  http://www.seekeasysoft.net
---
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



cups raw mode, was Re: [Samba] unlink data file in cups_job_submit

2002-09-21 Thread Paul Janzen

Gerald Carter <[EMAIL PROTECTED]> writes:
> Looks right to me :-)  Applying it now.  Thanks.  I've been meaning to 
> track this one down.

Thanks!

While we are on the subject... :-)

If I am using native printer drivers on Windows clients, I would like
the "raw" option to get propagated to CUPS.  Otherwise cups does not
pass the data on to the printer.  (If I enable cups's application/
octet-stream raw-data passthrough feature, both cupsomatic and the
Windows driver add PJL headers and footers, which is not what I want
either.) 

With traditional lpr, you can just add "-oraw" to the "print command"
line in smb.conf.  With cups, you don't have that alternative.

The result is that to support both unix printing and native-driver
Windows printing from CUPS, you have to have two logical printers per
physical printer: one ("cooked") for Unix clients and one ("raw") for
Samba to use.

The attached patch allows you to specify an option string for cups
printers in smb.conf.  So, if you want to use native Windows drivers,
all you need is

cups printer options = raw 

in smb.conf.  You can add any other options that cups and the printer
understand.

--- samba-2.2.5/source/printing/print_cups.c.cups   Thu May  2 18:03:31 2002
+++ samba-2.2.5/source/printing/print_cups.cSat Sep 21 10:35:20 2002
@@ -582,6 +582,8 @@
ipp_t   *request,   /* IPP Request */
*response;  /* IPP Response */
cups_lang_t *language;  /* Default language */
+   cups_option_t   *options; 
+   int num_options;
charuri[HTTP_MAX_URI]; /* printer-uri attribute */
 
 
@@ -639,6 +641,17 @@
 
ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "job-name", NULL,
 pjob->jobname);
+   
+  /* 
+   * Add Samba-specific CUPS options 
+   */
+   options = (cups_option_t *)NULL; 
+   num_options = 0;
+
+   num_options = cupsParseOptions(lp_cupsprinteroptions(snum),
+  num_options, &options);
+   cupsEncodeOptions(request, num_options, options);
+   cupsFreeOptions(num_options, options);
 
   /*
* Do the request and get back a response...
--- samba-2.2.5/source/param/loadparm.c~Tue Jun 18 18:13:45 2002
+++ samba-2.2.5/source/param/loadparm.c Sat Sep 21 10:27:51 2002
@@ -320,6 +320,7 @@
char *szLpresumecommand;
char *szQueuepausecommand;
char *szQueueresumecommand;
+   char *szCupsPrinterOptions;
char *szPrintername;
char *szPrinterDriver;
char *szPrinterDriverLocation;
@@ -441,6 +442,7 @@
NULL,   /* szLpresumecommand */
NULL,   /* szQueuepausecommand */
NULL,   /* szQueueresumecommand */
+   NULL,   /* szCupsPrinterOptions */
NULL,   /* szPrintername */
NULL,   /* szPrinterDriver - this is set in init_globals() */
NULL,   /* szPrinterDriverLocation */
@@ -911,6 +913,7 @@
{"lpresume command", P_STRING, P_LOCAL, &sDefault.szLpresumecommand, NULL, 
NULL, FLAG_PRINT | FLAG_GLOBAL},
{"queuepause command", P_STRING, P_LOCAL, &sDefault.szQueuepausecommand, NULL, 
NULL, FLAG_PRINT | FLAG_GLOBAL},
{"queueresume command", P_STRING, P_LOCAL, &sDefault.szQueueresumecommand, 
NULL, NULL, FLAG_PRINT | FLAG_GLOBAL},
+   {"cups printer options", P_STRING, P_LOCAL, &sDefault.szCupsPrinterOptions, 
+NULL, NULL, FLAG_PRINT | FLAG_GLOBAL},
 
{"enumports command", P_STRING, P_GLOBAL, &Globals.szEnumPortsCommand, NULL, 
NULL, 0},
{"addprinter command", P_STRING, P_GLOBAL, &Globals.szAddPrinterCommand, NULL, 
NULL, 0},
@@ -1119,6 +1122,7 @@
 {
string_set(&sDefault.szPrinterDriver, "");
string_set(&sDefault.szDriverFile, DRIVERFILE);
+   string_set(&sDefault.szCupsPrinterOptions, "");
 
/* choose defaults depending on the type of printing */
switch (sDefault.iPrinting)
@@ -1714,6 +1718,7 @@
 FN_LOCAL_STRING(lp_lpresumecommand, szLpresumecommand)
 FN_LOCAL_STRING(lp_queuepausecommand, szQueuepausecommand)
 FN_LOCAL_STRING(lp_queueresumecommand, szQueueresumecommand)
+FN_LOCAL_STRING(lp_cupsprinteroptions, szCupsPrinterOptions)
 static FN_LOCAL_STRING(_lp_printername, szPrintername)
 FN_LOCAL_STRING(lp_driverfile, szDriverFile)
 FN_LOCAL_STRING(lp_printerdriver, szPrinterDriver)


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



Re: [Samba] Can I print throw samba directly to winprinter (/dev/usb/lp0) without lp-driver?

2002-09-21 Thread linux power

You can try the -o raw option that use winprinter
drivers.


 --- "Vladimir I. Umnov" <[EMAIL PROTECTED]> skrev: >
Hello, samba.
> 
> subj.
> 
> -- 
>  Vladimir I. Umnov
> mailto:[EMAIL PROTECTED]
> 
> -- 
> To unsubscribe from this list go to the following
> URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

__
Se den nye Yahoo! Mail på http://no.yahoo.com/
Nytt design, enklere å bruke, alltid tilgang til Adressebok, Kalender og Notisbok
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Bad links in user profile

2002-09-21 Thread Jay Ts

On Sat, Sep 21, 2002 at 10:34:09PM +0400, Vladimir I. Umnov wrote:
> 
> Why some times apears bad links in user profiles.

Bad shortcuts can appear if the computer that created or
modified the profile has a file or application on it
(that the shortcut refers to) that does not exist on
other computers. But ...

> After deletion this bad links (usually in
> NetHood, some times it is files in different folders), all work fine. W2K
> client report, what this files can not read, but I can read them in default
> profile mode from home directory.
> Users can not login with they profile information before I delete this
> files.

this seems to be something different. Are you sharing profiles
among different Windows versions?  That is, do you have anything
other than Windows 2000 using the same profile?  I've found that
sharing profiles among different versions to be problematic.

Microsoft acknowledges that there are incompatibilities (there
was a Knowledge Base article I found that was about a problem
sharing profiles between, IIRC(?) Windows 95 and Windows 98).
I would suggest that first, you never share profiles between
Windows 95/98/Me and Windows NT/2000/XP, and beyond that, things
seem to work better (here, at least) if profiles are restricted
to use only within the same specific version (e.g., do not let
Windows 2000 and Windows XP share them).

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



Re: [Samba] Bad links in user profile

2002-09-21 Thread Malte Starostik

On Saturday 21 September 2002 20:34, Vladimir I. Umnov wrote:
> Hello, samba.
>
> Why some times apears bad links in user profiles. After that profile
> can not load correctly. After deletion this bad links (usually in
> NetHood, some times it is files in different folders), all work fine. W2K
> client report, what this files can not read, but I can read them in default
> profile mode from home directory.
> Users can not login with they profile information before I delete this
> files.
NetHood is special. You might also see my (unanswered) mail about DOS 
Attributes for directories I posted here some weeks ago. It boils down to the 
fact that WinXP (and maybe W2K does it too?) creates directories in NetHood, 
which *need* to have the "System" attribute set to make the links work. The 
directories contain the actual link as a file called "target.lnk". 
Unfortunately there seems to be no way to retain the "System" attribute with 
samba, as "map system" only works for files, not folders.
If you find a workaround, I'd be glad if you could share your experience!

Regards,
-Malte


msg04711/pgp0.pgp
Description: signature


[Samba] Another printing problem...

2002-09-21 Thread Jeff Shipman

I'm running samba 2.2.3a-6 under Debian (testing) and I
am having a heck of a time getting Windows 2000 to print
to my printer. I keep getting that "Access denied, unable
to connect" message. At one point I had it so you could
print test pages, but as soon as you tried to print from
an application, it would break. However, that doesn't
even work anymore. I've been reading around, but none
of the solutions I've seen work for me. Here is what I
have in my smb.conf file for the printer:

[Epson]
 use client driver = Yes
 path = /var/spool/samba
 comment = Epson Stylus COLOR 777
 guest ok = Yes
 printable = Yes
 print command = lpr -P %p -o raw %s -r
 printer name = Epson
 browseable = Yes
 guest ok = Yes
 writable = no

My /var/spool/samba looks like this:

drwxrwxrwt2 root root 4096 Sep 21 14:28 /var/spool/samba

Here is a section from my log:

[2002/09/21 15:07:54, 2] smbd/server.c:open_sockets(198)
   waiting for a connection
[2002/09/21 15:09:32, 2] lib/access.c:check_access(321)
   Allowed connection from  (192.168.0.3)
[2002/09/21 15:09:32, 2] smbd/reply.c:reply_special(92)
   netbios connect: name1=NEPTUNE  name2=SEPHIRA
[2002/09/21 15:09:32, 2] smbd/reply.c:reply_special(111)
   netbios connect: local=neptune remote=sephira
[2002/09/21 15:09:32, 2] smbd/reply.c:reply_sesssetup_and_X(972)
   Defaulting to Lanman password for bonnie
[2002/09/21 15:09:32, 2] smbd/password.c:pass_check_smb(584)
   pass_check_smb failed - invalid password for user [bonnie]
[2002/09/21 15:09:32, 2] lib/access.c:check_access(321)
   Allowed connection from  (192.168.0.3)
[2002/09/21 15:09:34, 2] lib/access.c:check_access(321)
   Allowed connection from  (192.168.0.3)
[2002/09/21 15:09:45, 2] lib/access.c:check_access(321)
   Allowed connection from  (192.168.0.3)
[2002/09/21 15:09:45, 2] smbd/reply.c:reply_sesssetup_and_X(972)
   Defaulting to Lanman password for bonnie
[2002/09/21 15:09:45, 2] smbd/password.c:pass_check_smb(584)
   pass_check_smb failed - invalid password for user [bonnie]
[2002/09/21 15:09:45, 2] lib/access.c:check_access(321)
   Allowed connection from  (192.168.0.3)
[2002/09/21 15:09:45, 1] smbd/service.c:make_connection(615)
   sephira (192.168.0.3) connect to service jaz as user bonnie 
(uid=1001, gid=100
1) (pid 1712)

At some point it seems to be checking the Lanman password?
I have no idea why it's doing that. The password bonnie logs
in with is the same as the unix password. Plus, she is allowed
to login to all of the other shares (which can be seen in the
last line).

If anyone could provide me assistance with this, I would greatly
appreciate it. I've been scratching my head over this for a couple
of days now.

-- 
Jeff "Shippy" Shipman E-Mail: [EMAIL PROTECTED]
Computer Science MajorICQ: 1786493
New Mexico Institute of Mining and Technology
Homepage: http://www.nmt.edu/~shippy

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



[Samba] LDAP HOWTO

2002-09-21 Thread Bostjan Golob

Hello all,

I'd like to know if there is any interest in a Samba with LDAP HOWTO 
using Samba 3.0? During the last days I was compiling some documentation 
about it and I would be prepared to write some documentation.
I didn't do any detailed search on the 'net however I'm unaware of any 
comprehensive howto on this topic.

Bostjan Golob
Gimnazija Bezigrad NOC

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



[Samba] I have problem with winbindd in 2.2.6pre2

2002-09-21 Thread Michail A.Baikov

After starts with winbind -i, i get this error:

Creating get_dc_name_cache entry for MOSFILM.RU
Could not look up dc's for domain MOSFILM.RU
Could not open a connection to MOSFILM.RU for \PIPE\lsarpc
(NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND)
Retrying startup domain sid fetch for MOSFILM.RU
returning negative get_dc_name_cache entry for MOSFILM.RU
Could not open a connection to MOSFILM.RU for \PIPE\lsarpc
(NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND)
Retrying startup domain sid fetch for MOSFILM.RU
returning negative get_dc_name_cache entry for MOSFILM.RU
Could not open a connection to MOSFILM.RU for \PIPE\lsarpc
(NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND)
Retrying startup domain sid fetch for MOSFILM.RU
returning negative get_dc_name_cache entry for MOSFILM.RU
Could not open a connection to MOSFILM.RU for \PIPE\lsarpc
(NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND)
Retrying startup domain sid fetch for MOSFILM.RU
get_dc_name_cache entry expired for MOSFILM.RU
Creating get_dc_name_cache entry for MOSFILM.RU
Could not look up dc's for domain MOSFILM.RU
Could not open a connection to MOSFILM.RU for \PIPE\lsarpc
(NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND)
Retrying startup domain sid fetch for MOSFILM.RU
returning negative get_dc_name_cache entry for MOSFILM.RU
Could not open a connection to MOSFILM.RU for \PIPE\lsarpc
(NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND)


my smb.cfg
--
security = domain
password server = * (i tryed 192.168.0.1 (our W2K PDC (native mode))).


Thanks for any help.

Kind Regards,
Michail.
_
Michail A.Baikov,
Linderdaum Team
http://www.gamedot.ru
http://linderdaum.gamedot.ru


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



Re: [Samba] LDAP HOWTO

2002-09-21 Thread Jay Ts

On Sat, Sep 21, 2002 at 11:28:36PM +0200, Bostjan Golob wrote:
> 
> I'd like to know if there is any interest in a Samba with LDAP HOWTO 
> using Samba 3.0? During the last days I was compiling some documentation 
> about it and I would be prepared to write some documentation.
> I didn't do any detailed search on the 'net however I'm unaware of any 
> comprehensive howto on this topic.

Would it be very different than the Samba-LDAP-HOWTO.html document?
That one, which is in the docs/htmldocs directory of the Samba
source distribution, is for using the --with-ldapsam configure option
in pre-3.0 releases (2.2.x).  That was removed from Samba 3.0, but
it still uses OpenLDAP.

Either way, I think it would be a good idea.  Really, just about
anything that will help people use the Active Directory support
and other features in Samba 3.0 would be good at this point!

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



Re: [Samba] Another printing problem...

2002-09-21 Thread Martin Zimmerman

At 23:12 2002-09-21, you wrote:
>[Epson]
>
> writable = no

Try to set writable to yes

/ Martin

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



Re: [Samba] Another printing problem...

2002-09-21 Thread Andrew Bartlett

Martin Zimmerman wrote:
> 
> At 23:12 2002-09-21, you wrote:
> >[Epson]
> >
> > writable = no
> 
> Try to set writable to yes

No, you don't set writeable on a printer.  You set printable, but not
writeable...

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Another printing problem...

2002-09-21 Thread Andrew Bartlett

Jeff Shipman wrote:
> 
> I'm running samba 2.2.3a-6 under Debian (testing) and I
> am having a heck of a time getting Windows 2000 to print
> to my printer. I keep getting that "Access denied, unable
> to connect" message. At one point I had it so you could
> print test pages, but as soon as you tried to print from
> an application, it would break. However, that doesn't
> even work anymore. I've been reading around, but none
> of the solutions I've seen work for me. Here is what I
> have in my smb.conf file for the printer:
> 
> [Epson]
>  use client driver = Yes
>  path = /var/spool/samba
>  comment = Epson Stylus COLOR 777
>  guest ok = Yes
>  printable = Yes
>  print command = lpr -P %p -o raw %s -r
>  printer name = Epson
>  browseable = Yes
>  guest ok = Yes
>  writable = no
> 
> My /var/spool/samba looks like this:
> 
> drwxrwxrwt2 root root 4096 Sep 21 14:28 /var/spool/samba
> 
> Here is a section from my log:
> 

> At some point it seems to be checking the Lanman password?

I don't know, but Samba 2.2 does some werid stuff...

> I have no idea why it's doing that. The password bonnie logs
> in with is the same as the unix password. Plus, she is allowed
> to login to all of the other shares (which can be seen in the
> last line).
> 
> If anyone could provide me assistance with this, I would greatly
> appreciate it. I've been scratching my head over this for a couple
> of days now.

You probably need to turn up the debug level, and show exactly where the
connection to [epson] is failing.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] replacing the default samba clients on Windows platforms

2002-09-21 Thread Andrew Bartlett

Rajiv Dayal wrote:
> 
> I want to replace the default samba clients with the one that I can
> build using the client code from samba.org along with some modifications
> to it. Is this possible? This is for Windows 2000/XP/Me systems. I would
> like to know how can I do that so that all applications like the Windows
> Explorer or others using the Windows Common Open Dialog can still access
> the files on the samba server using this modified client instead of the
> default ones supplied along with these Windows systems?

No, Samba does not supply a windows client - we stick to the server and
posix client stuff only (plus smbfs etc).  In thoery, such a client can
be written - it's just an installable filesystem essentially, in the
same way as Novell maintians their client, but there isn't much interest
in doing so.

One of the main benifits of Samba is that by and large we don't require
client modifications to function.  (and where we do, like the WinXP sign
or seal issue, we are working to correct that and fall back in line with
MS).

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] pam_winbind

2002-09-21 Thread Andrew Bartlett

David Leuser II wrote:
> 
> you can add a parameter to your smb.conf, i think it's
> winbind use default domain = yes
> 
> someone shared this with me a while back, now I can omit all the "DOMAIN"
> and delimmeter garbage and it works awesome!  you need to have a build of
> samba that supports it, i don't know at which version they started
> implementing (my rh 7.2 didn't )

As I mentioned earlier in this thread, this is only supported in Samba
3.0 - Samba 2.2 has known flaws in it's implementatin of this option.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Another printing problem...

2002-09-21 Thread Bunny Pfau

At 09:40 AM 9/22/2002 +1000, Andrew Bartlett wrote:
>Jeff Shipman wrote:
> >
> > I'm running samba 2.2.3a-6 under Debian (testing) and I
> > am having a heck of a time getting Windows 2000 to print
> > to my printer. I keep getting that "Access denied, unable
> > to connect" message. At one point I had it so you could
> > print test pages, but as soon as you tried to print from
> > an application, it would break. However, that doesn't
> > even work anymore. I've been reading around, but none
> > of the solutions I've seen work for me. Here is what I
> > have in my smb.conf file for the printer:
> >
> > [Epson]
> >  use client driver = Yes
> >  path = /var/spool/samba
> >  comment = Epson Stylus COLOR 777
> >  guest ok = Yes
> >  printable = Yes
> >  print command = lpr -P %p -o raw %s -r
> >  printer name = Epson
> >  browseable = Yes
> >  guest ok = Yes
> >  writable = no
> >
> > My /var/spool/samba looks like this:
> >
> > drwxrwxrwt2 root root 4096 Sep 21 14:28 /var/spool/samba
> >
> > Here is a section from my log:
> >
>
> > At some point it seems to be checking the Lanman password?
>
>I don't know, but Samba 2.2 does some werid stuff...
>
> > I have no idea why it's doing that. The password bonnie logs
> > in with is the same as the unix password. Plus, she is allowed
> > to login to all of the other shares (which can be seen in the
> > last line).
> >
> > If anyone could provide me assistance with this, I would greatly
> > appreciate it. I've been scratching my head over this for a couple
> > of days now.
>
>You probably need to turn up the debug level, and show exactly where the
>connection to [epson] is failing.
>
>Andrew Bartlett


I'd be interested in the answer, too--I see this consistently under Samba
2.2.1 (Solaris 7/Win2k clients).  The way we work around
it is to create a mount --like to the PC user's UNIX home directory,
a SAMBA share--once the user authenticates on that file system share,
the printer works okay..

Bunny Pfau

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



Re: [Samba] LDAP HOWTO

2002-09-21 Thread Gerald Carter

On Sat, 21 Sep 2002, Jay Ts wrote:

> On Sat, Sep 21, 2002 at 11:28:36PM +0200, Bostjan Golob wrote:
> > 
> > I'd like to know if there is any interest in a Samba with LDAP HOWTO 
> > using Samba 3.0? During the last days I was compiling some documentation 
> > about it and I would be prepared to write some documentation.
> > I didn't do any detailed search on the 'net however I'm unaware of any 
> > comprehensive howto on this topic.
> 
> Would it be very different than the Samba-LDAP-HOWTO.html document?

Yes it would since many of the parameters have changed.

Bostjan, please send me amy updates you have and i'oll get them 
into HEAD.

> Either way, I think it would be a good idea.  Really, just about
> anything that will help people use the Active Directory support and
> other features in Samba 3.0 would be good at this point!

Maybe we are on different pages here, but the ldap support
Bostjan is referring to has nothing to do with AD.



cheers, jerry
 -
 Hewlett-Packard http://www.hp.com
 SAMBA Team   http://www.samba.org
 --http://www.plainjoe.org
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.  ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--

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



[Samba] XP and Samba

2002-09-21 Thread hugh duguid

After getting Win98 to connect to Samba, our IT dept replaced the Win98 with 
an XP box, and while I can still get to the temp directory on Samba/Linux as 
guest, I can no longer access the other shares. 
Samba is running on RH-Linux 7.3 as an NT workstation. It and the XP box are 
on an WinNT/2000 domain. My suspicion is that my problem has to do with 
passwords, but haven't figured that out.
So, If someone can provide a fix, or point me to the documentation, it would 
be appreciated. 
-- 
Nullius in verba

Hugh A. Duguid
[EMAIL PROTECTED]
www.duguid.org

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



Re: [Samba] I have problem with winbindd in 2.2.6pre2

2002-09-21 Thread Nathan R. Valentine

I have been having the same problem with what sounds like a very similar
setup. I attempted to find the root of the problem and, as near as I can
tell, there might be a bug winbindd's name cache. Unfortunately, I don't
have any answers for you. 

 
-- 
---
Nathan Valentine - [EMAIL PROTECTED]
Jabber: NRVesKY AIM: NRVesKY ICQ: 39023424



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


Re: [Samba] Another printing problem...

2002-09-21 Thread Bradley W. Langhorst

On Sat, 2002-09-21 at 17:12, Jeff Shipman wrote:
> I'm running samba 2.2.3a-6 under Debian (testing) and I
>
2.2.3a had some serious problems with printing and 2k/XP clients...
try upgrading to 2.2.6pre

brad

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



RE: [Samba] 2k clients

2002-09-21 Thread Timothy Kersten

Your add user script seems a bit "light on", it should be more something
like the following:

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


In particular the "-M %u" part. Try that.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of Matt Bednarik
Sent: Saturday, 21 September 2002 11:40 PM
To: [EMAIL PROTECTED]
Subject: [Samba] 2k clients


Hello, I have ran into a fairly large problem. When ever i try to join
to samba 
2.2.5 controlled domain with my win 2k client. It says user does not
exist. I 
checked to see of the machine trust account was setup correctly and it
was. 
Also the username and password i used is a working user because i can
logon 
with my 98 box just fine. The trust accounts are made, there is a domain
admin 
user which is valid, here is my smb.conf file:


#This is the configuation file for Samba version 2.2.5 for the SME test
bundle [global] workgroup = ALPHATEST smbpasswd file =
/usr/local/samba/private/smbpasswd
#smbusers file = /usr/local/samba/private/smbusers
netbios name = Alphapdc
os level = 255
security = users
wins support = yes
#password server = "name of the nt or samba server to auth to" encrypt
passwords = yes printer admin = mattb administrator add user script =
adduser -g 100 -s /bin/false admin users = mattb administrator #for
domain logons domain logons = yes preferred master = yes domain master =
yes local master = yes logon drive = H: logon path = \\alphapdc\homes\%u
#logon drive = F: #logon path = \\applications time server = yes

[print$]
path = /usr/local/samba/printers
guest ok = no
browseable = yes
read only = no

write list = mattb administrator

[profiles]
path = /samba/users/profiles
read only = no
browseable = no
writeable = yes

[netlogons]
path = /samba/machines/netlogon
read only = yes
browseable = no
writeable = no
write list = mattb administrator

[homes]
path = /home/%u
read only = no
browseable = yes
writeable = yes

[administrative drop box]
path = /samba/users/admins
read only = no
writeable = yes
browseable = yes
read list = mattb administrator

[backup]
path = /samba/machines
read only = yes
writeable = no
browseable = no
write list = mattb administrator

[applications]
path = /samba/machines/apps
read only = yes
writeable = no
browseable = yes
write list = mattb administrator
I do not see what i am doing wrong. Nothing in your documentation or in
any 
mail archives says anything about getting this error message. I hope you
can 
help.

Matt Bednarik


-
This mail sent through IMP: http://horde.org/imp/
-- 
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