[Samba] mapping accountnames and SID's error in winxp sp1

2002-11-28 Thread Bas Goes

Hi all,

I am trying to set up a samba pdc with several win95 and winxp sp1 pc's
connecting to it. I've used the samba-ldap-pdc howto with samba 2.2.7
and as far as i know i am all settled. Still i get a message when really
connecting to the domain instead of shares from winxp (no problems in
win95) that tells me that it can't map the accountnames to the
security-id's or something like it (I had to translate it from dutch to
english). Authentication is ok, I can access shares in xp (can this be
turned off as in domain logon only, or will I get problems with win95
then?), but when i try to do domain logons I get the previously
mentioned message. Seems like I have missed a step. Had done the
registry editing signorseal and have set up groups in ldap and they're
working in linux. I have assigned the users to the group: Domain Users
still it ain't working. Where did i get stupid (probably 27 years ago or
something :))?

Thanks in advance

Bas

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



[Samba] Problem with creating machine account for domain logon

2002-11-28 Thread Ernst Cozijnsen
Title: Problem with creating machine account for domain logon





Hi,


If i try to let my laptop logon to my samba domain i see in the logfiles that there must me a machine account in the /etc/passwd file.

So i created manualy useradd machine$
This works fine and i'm able to log on to the domain.
Why doesn't create samba this machine account automaticly?? do u need a special option for that??


greetz,


Ernst Cozijnsen


--

This message contains information that may be privileged or confidential and
is the property of the Cap Gemini Ernst  Young Group. It is only intended
for the person to whom it is addressed. If you are not the intended
recipient, you are not authorized to read, print, retain, copy disseminate,
distribute, or use this message or any part thereof. If you receive this
message in error, please notify the sender immediately and delete all copies
of this message.






RE: [Samba] libnss on solaris

2002-11-28 Thread Terry
Hello,

 
  have you ever made nss_wins work on solaris ?
 
 No. But others have. This WINS support library was built on Solaris.
could you please give me a contact to such a person ?

from nsswitch/README: This extension provides a wins module for NSS on glibc2/Linux.

 
 Make sure that you rename nss_wins.so to libnss_wins.so and 
 set links
 accordingly.
I did, as I wrote in previous email.

 
 Also, please check Solaris documentation to find how to 
 bind dynamic link
 libaries so that solaris can find them. Do you have an 
 /etc/ld.so.conf
 file? Maybe it is in /etc/system.{cnf,conf}. I used to run 
 Solaris X86 and
 vaguely remember a file like it.

i checked the docs and without any tweaking libraries are searched
for in /usr/lib. you can change it with crle command, but in this case
i dont think it needs any changes.

 
 Also, what happens it you have in your /etc/nsswitch.conf?
 
 hosts: wins dns file,  ie: wins first.
i tried even hosts: wins only, with no luck :(

 
 Please show command failure output.
bash-2.05# ping cww
ping: unknown host cww

i have also ran snoop (sun's network sniffer) and if i do a ping
i cant see any broadcasts nor wins traffic... so i guess
that nss library is not even touched :(

how can i debug it ? truss doesnt show anything useful :|

i need it badly,

terry

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



[Samba] system error 64, win xp and samba

2002-11-28 Thread mlh

Just so that it gets into the archives for
future googlers:

If you get 'system error 64' on a windows xp
machine trying to connect to samba, then
make sure you have nothing running on port 445.

I had an apache ssl instance running on that port.

Doh!  Had to scratch my head a bit over it.

XP doesn't actually need anything to be on 445,
it just gets confused and gives up if there is.


Matt

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



[Samba] Problem with creating machine account for domain logon

2002-11-28 Thread Ernst Cozijnsen
Title: Problem with creating machine account for domain logon





Hi,


If i try to let my laptop logon to my samba domain i see in the logfiles that there must me a machine account in the /etc/passwd file.

So i created manualy useradd machine$
This works fine and i'm able to log on to the domain.
Why doesn't create samba this machine account automaticly?? do u need a special option for that??


greetz,


Ernst Cozijnsen


--

This message contains information that may be privileged or confidential and
is the property of the Cap Gemini Ernst  Young Group. It is only intended
for the person to whom it is addressed. If you are not the intended
recipient, you are not authorized to read, print, retain, copy disseminate,
distribute, or use this message or any part thereof. If you receive this
message in error, please notify the sender immediately and delete all copies
of this message.






[Samba] Problem authenticating against a W2K server

2002-11-28 Thread Ingimar Robertsson
Hi there.

I'm having a problem letting a Samba server (MYSAMBA) authenticate users
(using security = domain and a password server = MYPDC) against a
Windows 2000 PDC (MYPDC).  The Windows 2000 machine seems (I'm not 100%
sure about this) to be configured to restrict anonymous and it seems to
me that this is where the problem lies but don't know what to do.

I joined the MYDOMAIN domain by first confirming that MYSAMBA was not already
a member of the domain.  Then I issued the following command:

  smbpasswd -j MYDOMAIN -r MYPDC -U Administrator

And the Windows administrator typed in the password.  The command responded
that I had joined the domain and a secrets.tdb file got created in the
/etc/samba directory.  We confirmed on the Windows side that the machine
was now a member of the domain.

So.. anyone have some pointers for me?  Below are some more information
about my setup and the errors I get.  Hope it's not too much or too
irrelevant. :-)

This is what I get if I try to connect to a share on MYSAMBA from a Linux
client (MYCLIENT):

  [username@MYCLIENT]$ smbclient //MYSAMBA/tmp -U username -W MYDOMAIN
  added interface ip=10.10.20.42 bcast=10.10.20.255 nmask=255.255.255.0
  Password:- Here I typed in the password, not empty password
  session setup failed: NT_STATUS_LOGON_FAILURE
  [username@MYCLIENT]$ 

And I get this in the /var/log/samba/10.10.20.42.log file:

  [2002/11/28 09:39:53, 0] smbd/password.c:connect_to_domain_password_server(1335)
connect_to_domain_password_server: machine MYPDC rejected the tconX on the IPC$ 
share. Error was : NT_STATUS_ACCESS_DENIED.
  [2002/11/28 09:39:53, 0] smbd/password.c:domain_client_validate(1599)
domain_client_validate: Domain password server not available.
  [2002/11/28 09:39:53, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1369)
unable to open passdb database.
  [2002/11/28 09:39:53, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1369)
unable to open passdb database.

The Windows administrators can't see anything in the logs on MYPDC but I've
confirmed using tcpdump that there is a dialogue between MYSAMBA and MYPDC.

Here are also some commands I use to test connections from MYSAMBA to MYPDC:

  [root@MYSAMBA]# smbclient -L MYPDC   
  added interface ip=10.10.10.90 bcast=10.10.10.255 nmask=255.255.255.0
  added interface ip=10.10.10.91 bcast=10.10.10.255 nmask=255.255.255.0
  Password:   -- Just type Enter (emtpy password)
  Anonymous login successful
  Domain=[MYDOMAIN] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
  tree connect failed: NT_STATUS_ACCESS_DENIED

  [root@MYSAMBA]# smbclient //MYPDC/ipc\$ 
  added interface ip=10.10.10.90 bcast=10.10.10.255 nmask=255.255.255.0
  added interface ip=10.10.10.91 bcast=10.10.10.255 nmask=255.255.255.0
  Password:-- Just type Enter (emtpy password)
  Anonymous login successful
  Domain=[MYDOMAIN] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
  tree connect failed: NT_STATUS_ACCESS_DENIED

  [root@MYSAMBA]# smbclient //MYPDC/ipc\$ -U username  
  added interface ip=10.10.10.90 bcast=10.10.10.255 nmask=255.255.255.0
  added interface ip=10.10.10.91 bcast=10.10.10.255 nmask=255.255.255.0
  Password:   -- Type the password of the user username
  Domain=[MYDOMAIN] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
  smb: \ ls
  NT_STATUS_ACCESS_DENIED listing \*
  
  0 blocks of size 0. 0 blocks available
  smb: \ quit
  [root@mars samba]# 

Here are my globals from smb.conf:

 [global]
workgroup = MYDOMAIN
netbios name = MYSAMBA
server string = Samba Print Server
security = DOMAIN
encrypt passwords = Yes
password server = MYPDC
syslog only = Yes
log file = /var/log/samba/%I.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
name resolve order = lmhosts wins bcast host
local master = no
remote announce = 10.10.10.255 10.10.20.255
hosts allow = 127. 10.10.10. 10.10.20.
printing = lprng



Best regards,

Ingimar

-- 
Ingimar Robertsson, Systems Administrator   EMAIL: [EMAIL PROTECTED]
Skyrr Ltd, Iceland Information Management   TEL:   +354-5695100
Armuli 2, 108 Reykjavik, ICELANDFAX:   +354-5695128
http://www.skyrr.is/legal/disclaimer.txt
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Cups

2002-11-28 Thread Simon Chappell
Can anyone advise how to get Cups to survive a reboot with samba.
After Reboot both samba and cups are running but there are no samba preinters
unless I restart Samba. I have set links to rc3.d so that cups starts before
samba but still doesnt work.

Any help would be greatly appreceiated



Regards



Simon 


-
This mail sent through IMP on Redhat 8.0 and Qmail with Ldap.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] how to use policy files with samba (NT/w2k)

2002-11-28 Thread M . Müller
Hi,
I have set up samba as a PDC with OPenLDAP.
I would like to have the users have some policys enforced.
I read some things about *.adm files but do not know how to create or use
them. Especially there is a system.adm which could be very valuable in
creating network-wide policys. But where do I put them? In the profile path
of all users?
Are there any documents describing the possibilitys I have (written for a
windows novice)?

Thanks,

Malte Mueller

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



[Samba] samba server for windows (I know it defeats the object...)

2002-11-28 Thread Dave . Lloyd
Title: samba server for windows (I know it defeats the object...)





Hi, 


is there a samba server for windows that UNIX samba clients can access.


I know this wouldn't make sense and windows mounting a unix SMB exported directory would make so much more sense but a colleague swears that a windows samba server exists and it is proving hard to demonstrate its absence!


Dave




DISCLAIMER

The information contained in this e-mail is confidential and is intended
for the recipient only.

If you have received it in error, please notify us immediately by reply 
e-mail and then delete it from your system. Please do not copy it or
use it for any other purposes, or disclose the content of the e-mail
to any other person or store or copy the information in any medium. 

The views contained in this e-mail are those of the author and not 
necessarily those of GEHE Group companies.






Re: [Samba] Problem authenticating against a W2K server

2002-11-28 Thread Gareth Davies
- Original Message - 
From: Ingimar Robertsson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, November 28, 2002 10:00 AM
Subject: [Samba] Problem authenticating against a W2K server


 Hi there.
 
 I'm having a problem letting a Samba server (MYSAMBA) authenticate users
 (using security = domain and a password server = MYPDC) against a
 Windows 2000 PDC (MYPDC).  The Windows 2000 machine seems (I'm not 100%
snip

Add the machine to the domain on the Win2k PDC using AD.

Then smbpasswd -j DOMAINNAME -r PDCIP -U Administrator%password

Then wbinfo -A Administrator%password

Then it should work fine.

I'm kinda getting tired of this, can't we redo the docs for Winbind LOL

 Shaolin - IT Systems
 WB Ltd.
.: http://www.security-forums.com :.

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



Re: AW: [Samba] attrib +R myowndir fails to write-protect my own dir

2002-11-28 Thread Ronan Waide
On November 28, [EMAIL PROTECTED] said:
 actually a second attempt at drawing your attention to the fact 
 that compliance with M$ quirks and kinks is not something to be 
 ashamed of but rather reason to be proud.

I think you'll find that the Samba team are quite familiar with this
opinion, especially in the context of the Samba TNG fork :)

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

kate says, no, there's a lot of red in heliotrope.
kate says, we're talking like #993366 or so
-- 
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 against a W2K server

2002-11-28 Thread Ingimar Robertsson
On Thu, Nov 28, 2002 at 10:30:17AM -, Gareth Davies wrote:
 From: Ingimar Robertsson [EMAIL PROTECTED]
  I'm having a problem letting a Samba server (MYSAMBA) authenticate users
  (using security = domain and a password server = MYPDC) against a
  Windows 2000 PDC (MYPDC).  The Windows 2000 machine seems (I'm not 100%
 snip
 
 Add the machine to the domain on the Win2k PDC using AD.
 
 Then smbpasswd -j DOMAINNAME -r PDCIP -U Administrator%password
 
 Then wbinfo -A Administrator%password
 
 Then it should work fine.
 
 I'm kinda getting tired of this, can't we redo the docs for Winbind LOL

I agree.  I had already stumbled upon this -A switch to wbinfo and then
read the winbindd man file and it states: winbindd is a daemon that
provides a service for the Name Service Switch capability that is present
in most modern C libraries.  This sounded to far from what I was trying
to do. :-)

I'll try setting up the winbindd and using wbinfo -A.  Thanks for the help!


Best regards,

Ingimar

-- 
Ingimar Robertsson, Systems Administrator   EMAIL: [EMAIL PROTECTED]
Skyrr Ltd, Iceland Information Management   TEL:   +354-5695100
Armuli 2, 108 Reykjavik, ICELANDFAX:   +354-5695128
http://www.skyrr.is/legal/disclaimer.txt
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Samba3.0Alpha21- error on logging in to KDC

2002-11-28 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 28 Nov 2002 [EMAIL PROTECTED] wrote:

 Hi all,
 
 I have just downloaded and tested with the Samba3.0 Alpha21 Release. I want
 to try to create the server account in the active directory, however,
  when I logged in to the KDC by /usr/kerberos/bin/kinit
 [EMAIL PROTECTED], but error returned as
 
 KDC has no support for encryptions type while getting the initial
 credentials , then I can't go on for creating the acount.

Make sure that 

default_tkt_enctypes = des-cbc-md5 des-cbc-crc

is set in /etc/krb5.conf





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/

iD8DBQE95gSQIR7qMdg1EfYRAu9oAJ4zXBuHiT7+yTpKavfgbf9hTCXD5ACcCTh9
boGFXzwXAalRqQuui9hLsuk=
=ypQB
-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] CUPS cancel print problem

2002-11-28 Thread Paul Mitchell
Strange problem here, whenever a job is selected by the user to delete, it 
disappears from the print queue visible from Windows (after press F5), but 
still remains in the cups queue.

I've seen some mention of using disable spoolss, to fix problems like this, 
however, we have the printer drivers on the samba box.

The configuration below is from our sandbox server, sandbox.  The domain 
master is a Samba server.  The sandbox is runing SuSE 8.1, CUPS 1.1.15 and 
Samba 2.2.6

This also happens on our production server SuSE 7.3 CUPS 1.1.15 and Samba 2.26

Thanks,
Paul

[global]
workgroup = MODUS
netbios name = sandbox
server string = IT Test server
os level = 32
time server = yes
unix extensions = yes
encrypt passwords = yes
log level = 1
syslog = 0
printing = CUPS
printcap name = CUPS
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
wins support = no
veto files = /*.eml/*.nws/riched20.dll/*.{*}/
map to guest = Bad User
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Re-enter*new*password* %n\n 
*Password*changed*
unix password sync = Yes
preferred master = no
domain master = no
security = domain
password server = *

[homes]
comment = Home Directories
valid users = %S
browseable = no
writeable = yes
create mask = 0640
directory mask = 0750
[printers]
comment = All Printers
path = /var/tmp
printable = yes
create mask = 0600
browseable = no
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775

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



Re: [Samba] Cups

2002-11-28 Thread Martin Zielinski
Perhaps you are using an older version of cups (1.1.15 or earlier).
In this versions the daemon puts itself to background before having loaded all
printers (including ppds, filters...).
This leads to the situation, that samba may request the list of printers 
before cups is ready to serve it.
That's the reason, why samba gets the list after a restart.
Solution: 
wait a little time after cups has been started or (better) 
use a current release of cups (1.1.16 or cvs).

bye

On Thursday 28 November 2002 11:22, Simon Chappell wrote:
 Can anyone advise how to get Cups to survive a reboot with samba.
 After Reboot both samba and cups are running but there are no samba
 preinters unless I restart Samba. I have set links to rc3.d so that cups
 starts before samba but still doesnt work.

 Any help would be greatly appreceiated



 Regards



 Simon


 -
 This mail sent through IMP on Redhat 8.0 and Qmail with Ldap.

-- 
Martin Zielinski   [EMAIL PROTECTED]

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



[Samba] still no sol. !!!

2002-11-28 Thread bimal pandit
dear sir hello,
well i did all my effort to run samba with Xp but its not working, 
i think it is not compitable with Xp and still getting the same 
problem... ,so do you have any other opinion or solution about 
it??
need your view about it...
pls help,
regards,
bimal

On Sat, 16 Nov 2002 bimal  pandit wrote :

dear sir/madam hello
i am trying to run a samba server with linux 7.3 and win xp but 
loaded rpm of samba of linux 7.2
the thing is that i am able to see the workgroup in windows xp 
but the contents of it are invisible
what could be the prob.
the log file is showing following errors
1)
smbd/connection.c:yield_connection(62)
yield_connection:tdb_delete failed with error record does 
not exist
2)
lib/access.c:check_access(320)
 denied connection from 10.10.10.10( ip of xp machine)
the ip of my linux m/c is 10.10.10.12


can anyone help me??

looking for your quick response.

with thanks

bimal



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



Re: [Samba] Cups

2002-11-28 Thread Bjoern Jacke
On 2002-11-28 at 10:22 + Simon Chappell sent off:

Can anyone advise how to get Cups to survive a reboot with samba.
After Reboot both samba and cups are running but there are no samba preinters
unless I restart Samba. I have set links to rc3.d so that cups starts before
samba but still doesnt work.


you simply need to make sure that cupsd is being *fully* started (not 
just starting in background) before samba is being started. I don't 
know much about the RH init script internals, so I can't tell you what 
to do exactly. On SuSE Linux it works out of the box. On RH, try 
changing the order the scripts are executed and make sure the cupsd is 
fully up. A little sleep might help in the script, too.

Bjoern


msg09691/pgp0.pgp
Description: PGP signature


Re: AW: [Samba] attrib +R myowndir fails to write-protect my own dir

2002-11-28 Thread Dragan Krnic
On November 28, [EMAIL PROTECTED] said:
 actually a second attempt at drawing your attention to the fact 
 that compliance with M$ quirks and kinks is not something to be 
 ashamed of but rather reason to be proud.

I think you'll find that the Samba team are quite familiar with this
opinion, especially in the context of the Samba TNG fork :)

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

TNG fork was a preventable disaster. I think the problem is a lot of
us are sitting on our thumbs and letting Jeremy and the band pick
out all the problems for us. When schedules get too tight and there
are different priorities there's always a gang leader for a schism.
That it plays into the hands of the great Satan duplicating the
effort and splitting the community is a matter of grave concern for
all. M$ will underbid any serious attempt at a mass migration to open
source with hefty rebates, and there's little we can do against that
except strive to be a serious alternative and not a bunch of 
fundamentalists picking at articles of faith.

What's wrong about admitting that the u-g-o octals were too narrow a
view of security and accepting that a businessperson may be a 
visionary in her own right by just thinking a little out of *nix box?
For open source to have a chance, it needs to be ahead of the pack
and you can't do that before you catch up.

A little rant helps relieve the tension of an admin's day of work.

Bye now,
Dragan

PS: On a different note: Ron, do you have a constructive comment on
my posting 'Special link folders - Readonly attrib', Tue Nov 26
20:53:28 2002, or are you just a kibitzer?


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



[Samba] IP address change

2002-11-28 Thread Tombs, Donna
A while back samba was installed on a machine with IP address 10.1.0.19,
default router 10.1.0.1. The IP address was recently changed to 10.2.0.57,
default router 10.2.0.1. The share used to be available across our network
as specified by hosts allow. However, since the IP Address change ONLY 10.2
machines can see the share. It is no longer available to the whole network.
The server itself can be seen without any difficulty from the whole network,
either using the new IP address or the hostname. It can also be seen thru NT
as a sharable machine but when you try to connect to it from anywhere other
than 10.2 you get a 'Network path was not found' message.
Does samba support changing the IP address in this way?

 Donna 
 
 Donna Tombs
 IT Manager OST
 Information Technology Section
 East Renfrewshire Council
 Phone: 0141 577 3456
 Fax: 0141 577 3421
 mailto:[EMAIL PROTECTED]
 
 
 
 


**
This e-mail and any files transmitted with it are not necessarily the view of East 
Renfrewshire Council. It is intended only for the person or entity named above. If you 
have received this e-mail in error please notify the author by replying to this e-mail 
and then erasing the e-mail from your system. If you are not the intended recipient, 
you are hereby notified that any use, review, dissemination, distribution or copying 
of the e-mail is strictly prohibited.
East Renfrewshire Council may monitor outgoing and incoming e-mails.
This footnote also confirms that this e-mail message has been swept 
 for the presence of computer viruses.
**

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



[Samba] Installing Samba

2002-11-28 Thread DeCoene Damien
Title: Installing Samba





While trying to install samba on our Unix server, step 1: building Binaries.
I have the following error message while executing the command ./configure


checking configure summary... WARNING: No automated network interface determinat
ion
ERROR: no seteuid method available
configure: error: summary failure. Aborting config


How can I result this error?


Best regards,


Damien Decoene
Administrator


Netagco AVR
Meensesteenweg 545
8800 Roeselare
Tel: 051/25.98.74
Fax: 051/22.95.61
e-mail: [EMAIL PROTECTED]





Re: [Samba] IP address change

2002-11-28 Thread Marian Mlcoch, Ing
You have posible two problems:
1. Change ip is dificultly of more systems not only samba... you must check
your firewall, router firewall , samba conf host allow , etc hosts allow
2. If you use wins server or domain you must check or stop samba and delete
samba cache files to samba recreate databases.



- Original Message -
From: Tombs, Donna [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, November 28, 2002 2:23 PM
Subject: [Samba] IP address change


 A while back samba was installed on a machine with IP address 10.1.0.19,
 default router 10.1.0.1. The IP address was recently changed to 10.2.0.57,
 default router 10.2.0.1. The share used to be available across our network
 as specified by hosts allow. However, since the IP Address change ONLY
10.2
 machines can see the share. It is no longer available to the whole
network.
 The server itself can be seen without any difficulty from the whole
network,
 either using the new IP address or the hostname. It can also be seen thru
NT
 as a sharable machine but when you try to connect to it from anywhere
other
 than 10.2 you get a 'Network path was not found' message.
 Does samba support changing the IP address in this way?

  Donna
 
  Donna Tombs
  IT Manager OST
  Information Technology Section
  East Renfrewshire Council
  Phone: 0141 577 3456
  Fax: 0141 577 3421
  mailto:[EMAIL PROTECTED]
 
 
 
 


 **
 This e-mail and any files transmitted with it are not necessarily the view
of East Renfrewshire Council. It is intended only for the person or entity
named above. If you have received this e-mail in error please notify the
author by replying to this e-mail and then erasing the e-mail from your
system. If you are not the intended recipient, you are hereby notified that
any use, review, dissemination, distribution or copying of the e-mail is
strictly prohibited.
 East Renfrewshire Council may monitor outgoing and incoming e-mails.
 This footnote also confirms that this e-mail message has been swept
  for the presence of computer viruses.
 **

 --
 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



[Samba] problem with smbc_init in libsmbclient

2002-11-28 Thread Razvan
Hi,

I have attached a very simple c program, that first does a smbc_init and
then a smbc_opendir. The problem: smbc_init return an error (No such file
or directory) and then i get a segmentation fault. I don't know what
possibly could be the problem. Maybe some of you guys have an idea. I
think i have libsmbclient from samba 2.2.7(compiled on my own system) and
the rest of the samba stuff is the one that comes with mandrake 8.2. 

Thanks,
Razvan Rotaru



/* 
   Unix SMB/Netbios implementation.
   Version 2.0
   SMB client library test program
   Copyright (C) Andrew Tridgell 1998
   Copyright (C) Richard Sharpe 2000
   Copyright (C) John Terpsra 2000
   
   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2 of the License, or
   (at your option) any later version.
   
   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.
   
   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/

#include stdio.h
#include errno.h
#include string.h
#include unistd.h
#include libsmbclient.h


void auth_fn(const char *server, const char *share,
 char *workgroup, int wgmaxlen, char *username, int unmaxlen,
 char *password, int pwmaxlen)
{
  char temp[128];

  fprintf(stdout, Need password for //%s/%s\n, server, share);

  fprintf(stdout, Enter workgroup: [%s] , workgroup);
  fgets(temp, sizeof(temp), stdin);

  if (temp[strlen(temp) - 1] == 0x0a) /* A new line? */
temp[strlen(temp) - 1] = 0x00;

  if (temp[0]) strncpy(workgroup, temp, wgmaxlen - 1);

  fprintf(stdout, Enter username: [%s] , username);
  fgets(temp, sizeof(temp), stdin);

  if (temp[strlen(temp) - 1] == 0x0a) /* A new line? */
temp[strlen(temp) - 1] = 0x00;

  if (temp[0]) strncpy(username, temp, unmaxlen - 1);

  fprintf(stdout, Enter password: [%s] , password);
  fgets(temp, sizeof(temp), stdin);

  if (temp[strlen(temp) - 1] == 0x0a) /* A new line? */
temp[strlen(temp) - 1] = 0x00;

  if (temp[0]) strncpy(password, temp, pwmaxlen - 1);

}



int main(int argc, char *argv[])
{
int err, fd, dh;
//char dirbuf[512];
//char *dirp;
struct stat st1, st2;
struct smbc_dirent dirp[128];
char path[]=smb://cherban/;


err = smbc_init(auth_fn,  10);
if (err  0) {
fprintf(stderr, Initializing the smbclient library : %s\n, strerror(errno));
}


dh=smbc_opendir(path);
if (dh 0) {
fprintf(stderr, Could not open directory: %s: %s\n,path,strerror(errno));
exit(1);
}


/* Now, list those directories, but in funny ways ... */

/*if ((dirc = smbc_getdents(dh1,dirp,sizeof(struct smbc_dirent)*128))  0) {

  fprintf(stderr, Problems getting directory entries: %s\n,
  strerror(errno));

  exit(1);

}
*/
/* Now, process the list of names ... */

/*fprintf(stdout, Directory listing, size = %u\n, dirc);

while (dirc  0) {

  dsize = ((struct smbc_dirent *)dirp)-dirlen;
  fprintf(stdout, Dir Ent, Type: %u, Name: %s, Comment: %s\n,
  ((struct smbc_dirent *)dirp)-smbc_type, 
  ((struct smbc_dirent *)dirp)-name, 
  ((struct smbc_dirent *)dirp)-comment);

  dirp += dsize;
  (char *)dirc -= dsize;

}

*/
  return 0;
}



[Samba] Connection failed with smbclient

2002-11-28 Thread David A. Bandel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Folks,

I looked through the archives, but didn't see anything like this.

I have a network with a mix of Win95, Win98, and WinME clients (and one
Linux system w/ Samba server version 2.2.2).

All systems belong to a workgroup called Oteima.

All Win95 and Win98 clients see all other systems (including the Linux
box) in one list.

However, a couple of systems (notably the WinME systems) see _two_ Oteima
workgroups.

Problem is, the Samba server, using nmblookup can find _all_ systems, but
using smbclient can only connect to the Windoze systems listed in one
Oteima workgroup, but get a connection failed when trying to connect to
systems in the other Oteima workgroup.

I very methodically checked using nmblookup and sbmclient whether I could
see/connect to every system.

[root@appgen root]# nmblookup caja
querying caja on 192.168.5.255
192.168.5.42 caja00
[root@appgen root]# smbclient //caja/c
added interface ip=192.168.5.50 bcast=192.168.5.255 nmask=255.255.255.0
Connection to caja failed

if I could resolve _why_ some Win systems have _two_ Oteima workgoups (one
to which I can connect to _all_ listed systems and one to which I cannot
connect to any) I could resolve this dilemna.

I've tried:  changing workgroup name (all lowercase, all uppercase, mixed
upper/lower case); encrypt passwds yes/no.  Changing protocol mins and
maxs (from CORE to NT1).  I'm running out of ideas.

Any and all suggestions welcome.

David A. Bandel
- -- 
Focus on the dream, not the competition.
-- Nemesis Racing Team motto
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE95iiG3uVcotqGMQcRAsIbAKCvG630vfFHmod71Hyh+IpkUGfVQwCgwuog
nbjz45yzhN5ygZ3HDFPMmJA=
=xJ+8
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] Problem with creating machine account for domain logon

2002-11-28 Thread Kalkoul Morad
Title: Problem with creating machine account for domain logon



in 
smb.conf use "add user script" option .

  -Message d'origine-De: Ernst Cozijnsen 
  [mailto:[EMAIL PROTECTED]]Envoyé: jeudi 28 novembre 
  2002 10:02À: [EMAIL PROTECTED]Objet: [Samba] 
  Problem with creating machine account for domain logon
  Hi, 
  If i try to let my laptop logon to my samba domain i see in 
  the logfiles that there must me a machine account in the /etc/passwd 
  file.
  So i created manualy "useradd machine$" 
  This works fine and i'm able to log on to the domain. 
  Why doesn't create samba this machine account automaticly?? 
  do u need a special option for that?? 
  greetz, 
  Ernst Cozijnsen 
  --  
  This message contains information that may be privileged or 
  confidential and is the property of the Cap Gemini 
  Ernst  Young Group. It is only intended for the 
  person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy 
  disseminate, distribute, or use this message or any 
  part thereof. If you receive this message in error, 
  please notify the sender immediately and delete all copies of this message.  
  


[Samba] Installing

2002-11-28 Thread willie . obrien
Hi 

I have downloaded samba latest version and am trying to install on 
our Alpha running Tru64 Unix version 5a.

When I run the configure script in the source directory I get the 
message 
Configure: error: summary failure. aborting configure

On reading the config.log file It tells me It can't file the include files. 
but these are in the /usr/include/sys directory. I have also used the 
./confilgure --includedir=/usr/include/sys but still get the same 
message.

Any ideas

Mank thanks

Willie O'Brien 


**
Important Notice
The information in this e-mail and any files transmitted with it 
are confidential and may also be legally privileged intended 
solely for the individual or entity to whom they are addressed 
and are not intended to be relied upon by any person without 
subsequent written confirmation of its contents.  The content 
of this e-mail is the personal view of the sender and does not 
represent the advice, views or opinion of the Office of Public 
Works.  Accordingly, the Office of Public Works disclaims all 
responsibility and accepts no liability (including in negligence) 
for the consequences of any person acting, or refraining from 
acting, on such information prior to the receipt by those 
persons of subsequent written confirmation.  In particular 
(but not by way of limitation) the Office of Public Works 
disclaims all responsibility and accepts no liability for any 
e-mails or their attachments which are defamatory, offensive, 
racist or which in any other way are in breach of an individuals 
rights, including breach of confidence, privacy or other rights.  
If you have received this e-mail message in error, inform us 
immediately at [EMAIL PROTECTED] and delete it and all copies 
from your system.
This footnote also confirms that this e-mail message has 
been checked for the presence of computer viruses.
**

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



[Samba] samba nfs...

2002-11-28 Thread Stefan Nordlander
Hi, I'm having problems with M$ Office files on an samba mounted fs.
Here's the deal.

Server A is an NFS server holding the homes. (Irix 6.5.14)
Server B is the Samba server (Samba 2.2.2, kernel oplocks = no, Irix
6.5.14)

The homes are nfs-mounted on the Samba server (autofs), and all is well
until someone tries to open or create an Microsoft Office Document.
I suppose it has something to do with the (bloody) ~$blahblah.doc files
that are created by Office..
The log.smbd gives:

[2002/11/28 14:05:54, 0] locking/posix.c:(667)
  posix_fcntl_lock: WARNING: lock request at offset 2147483538, length 1
returned
[2002/11/28 14:05:54, 0] locking/posix.c:(669)
  an No locks available error. This can happen when using 64 bit lock
offsets
[2002/11/28 14:05:54, 0] locking/posix.c:(670)
  on 32 bit NFS mounted file systems.

[2002/11/28 14:06:06, 0] locking/posix.c:(667)
  posix_fcntl_lock: WARNING: lock request at offset 2147483538, length 1
returned
[2002/11/28 14:06:06, 0] locking/posix.c:(669)
  an No locks available error. This can happen when using 64 bit lock
offsets
[2002/11/28 14:06:06, 0] locking/posix.c:(670)
  on 32 bit NFS mounted file systems.

[2002/11/28 14:06:32, 0] locking/posix.c:(667)
  posix_fcntl_lock: WARNING: lock request at offset 2147483538, length 1
returned
[2002/11/28 14:06:32, 0] locking/posix.c:(669)
  an No locks available error. This can happen when using 64 bit lock
offsets
[2002/11/28 14:06:32, 0] locking/posix.c:(670)
  on 32 bit NFS mounted file systems.



Does anyone have any idea what the h£$% is going on?

Thanks!
:wq
//shoe - UNIX _IS_ user friendly, its just picky 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



[Samba] Problems with Passwordchange from NT4 to samba 2.7.7

2002-11-28 Thread Andreas Hartmann
Hello all,

I've got a little problem to change the user-password from NT4 on a samba-server
(RedHat 8.0) - but I can get without any problem shares on that server with that
user and password. Why does samba say, I would supply a wrong password to my
userid?

What am I doing wrong?


Thank you for your tips,
kind regards,
Andreas Hartmann


smb.conf

# Global parameters
[global]
workgroup = FAGCID3
server string = Samba Server fagcid3
encrypt passwords = Yes
min passwd length = 8
obey pam restrictions = Yes
pam password change = no
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n 
*passwd:*all*authentication*tokens*updated*successfully*
username map = /etc/samba/smbusers
password level = 16
username level = 16
unix password sync = No
log level = 2
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
character set = ISO8859-15
domain admin group = root,user2
logon script = %U.cmd
logon path = \\%L\Profiles\%U
logon drive = h:
domain logons = Yes
os level = 64
preferred master = Yes
domain master = Yes
dns proxy = No
wins support = Yes
create mask = 0777
directory mask = 0777
inherit acls = Yes
printing = cups
map system = Yes
map hidden = Yes
csc policy = disable

[wintransl]
comment = Testshare
path = /home/samba/wintrans
valid users = @wintrans
force group = wintrans
read only = No


Log:

[2002/11/28 16:27:34, 2] smbd/password.c:pass_check_smb(575)
  pass_check_smb failed - invalid password for user [daahb]
^

[2002/11/28 16:27:34, 1] rpc_server/srv_pipe.c:api_pipe_ntlmssp_verify(366)
  api_pipe_ntlmssp_verify: User D055812\daahb from machine D055812 failed 
authentication on named pipe samr.
[2002/11/28 16:27:34, 0] lib/util_sec.c:assert_gid(114)
  Failed to set gid privileges to (0,99) now set to (0,-1) uid=(0,99)
[2002/11/28 16:27:34, 0] lib/util.c:smb_panic(1094)
  PANIC: failed to set gid

[2002/11/28 16:27:34, 0] lib/util_sec.c:assert_gid(114)
  Failed to set gid privileges to (0,99) now set to (0,-1) uid=(0,99)
[2002/11/28 16:27:34, 0] lib/util.c:smb_panic(1094)
  PANIC: failed to set gid

[2002/11/28 16:27:34, 0] lib/util_sec.c:assert_gid(114)
  Failed to set gid privileges to (0,99) now set to (0,-1) uid=(0,99)
[2002/11/28 16:27:34, 0] lib/util.c:smb_panic(1094)
  PANIC: failed to set gid

[2002/11/28 16:27:34, 2] smbd/password.c:pass_check_smb(575)
  pass_check_smb failed - invalid password for user [daahb]
[2002/11/28 16:27:34, 1] rpc_server/srv_pipe.c:api_pipe_ntlmssp_verify(366)
  api_pipe_ntlmssp_verify: User D055812\daahb from machine D055812 failed 
authentication on named pipe samr.
[2002/11/28 16:27:34, 0] lib/util_sec.c:assert_gid(114)
  Failed to set gid privileges to (0,99) now set to (0,-1) uid=(0,99)
[2002/11/28 16:27:34, 0] lib/util.c:smb_panic(1094)
  PANIC: failed to set gid

[2002/11/28 16:27:34, 0] lib/util_sec.c:assert_gid(114)
  Failed to set gid privileges to (0,99) now set to (0,-1) uid=(0,99)
[2002/11/28 16:27:34, 0] lib/util.c:smb_panic(1094)
  PANIC: failed to set gid

[2002/11/28 16:27:34, 0] lib/util_sec.c:assert_gid(114)
  Failed to set gid privileges to (0,99) now set to (0,-1) uid=(0,99)
[2002/11/28 16:27:34, 0] lib/util.c:smb_panic(1094)
  PANIC: failed to set gid



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



[Samba] CUPS installation with SAMBA

2002-11-28 Thread cantisan
I installed samba via rpm and I want to install cups
using the source code, anyone knows what are the
procedure to that ?

ps- CUPS will works with samba..

RedHat 7.2 Samba 2.2.5


__
Venha para a VilaBOL!
O melhor lugar para você construir seu site. Fácil e grátis!
http://vila.bol.com.br


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



[Samba] Trusted domains with Samba 3.0alpha21?

2002-11-28 Thread Nir Soffer

Hi there!

I appear to be having problems with trusted domains using 3.0a21.

Using Samba as a member server, as user nirs on domain Exanet-il I
am unable to log on to a member server (snow) who is a member of the
Exanet-qa domain. The exanet-qa is supposed to trust exanet-il,
and it all worked with 2.2 . This is the relevant log snippet I can
find:

[2002/11/28 18:26:05, 0] auth/auth_domain.c:domain_client_validate(425)
  domain_client_validate: unable to validate password for user nirs in
domain EX
ANET-QA to Domain controller \\KENGURO. Error was
NT_STATUS_NO_SUCH_USER.
[2002/11/28 18:26:05, 2] auth/auth.c:check_ntlm_password(271)
  check_password:  Authentication for user [nirs] - [nirs] FAILED with
error NT
_STATUS_NO_SUCH_USER
[2002/11/28 18:26:05, 3] smbd/sesssetup.c:do_map_to_guest(38)
  No such user nirs [EXANET-IL] - using guest account
[2002/11/28 18:26:05, 3] smbd/sec_ctx.c:push_sec_ctx(255)


Anyone have any idea? Is this supposed to work in 3.0 now?

thanks,
Nir.


--
Nir Soffer -=- Software Engineer, Exanet Inc. -=-
The poor little kittens; They lost their mittens;
 And now you all must die. Mew, Mew, Mew, Mew, 
 And now you all must die. www.sluggy.com, 24/10/02
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[SAMBA] config/performance problem on solaris 8

2002-11-28 Thread Justin Richards



Please help! I am getting awesome read 
performance from my samba server, but writing to it is terrible.

My server configuration is SUN Ultra 2 dual 400 mhz 
CPUs (Solaris 8 64bit mode) 1 gig of ram and dual 100 meg network cards running 
samba 2.2.6
windows box is XP home, 1 gig AMD with 384 megs ram 
and 100 meg network card

I can pull 6.5 meg/sec copying an ISO from the 
samba server to the windows box, but only about 500K sec writing back to the 
samba server from the same machine. for writes I am using a 400 meg avi 
file.

Please look at my config and let me know where i 
screwed up! Thanks!!



# Global parameters[global] workgroup 
=WRKGRP
 netbios 
name =SERVER server string 
=SAMBA File Server security 
= usr encrypt passwords = 
Yes restrict anonymous = 
Yes log level = 
1 log file = 
/var/adm/samba/log.%m max log size 
= 256000 large readwrite = 
Yes deadtime = 
15 max open files = 
2000 read size = 
65535 socket options = TCP_NODELAY 
IPTOS_LOWDELAY SO_SNDBUF=16384 
SO_RCVBUF=16384 lock dir = 
/var/tmp/samba_locks remote 
announce = yes remote browse sync 
= yes socket address = 
192.168.0.1 hosts allow = 
192.168.0.
 max 
connections = 150 write cache size 
= 65535 strict locking = 
no strict sync = 
no sync always = 
no read prediction = 
yes max xmit = 
65535 read raw = 
yes write raw = 
yes oplocks = 
on


re: [Samba] Problems with Passwordchange from NT4 to samba 2.2.7

2002-11-28 Thread Andreas Hartmann

Just to mention the correct samba-version :-). Sorry.


Kind regards,
Andreas Hartmann


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



Re: [Samba] I want no browsing

2002-11-28 Thread John H Terpstra
On Thu, 28 Nov 2002, BEOI 7308 wrote:

 Ok
 But will the ntlm authentication still work ?

smbd handles ALL authentication requests, not nmbd.

- John T.


 Thanks

 John H Terpstra a écrit :

  On Wed, 27 Nov 2002, Dan Am wrote:
 
   AFAIR the parameter is called
   BROWSABLE = no
 
  No. That just hides as share, but the samba server will still announce
  itself.
 
  If you want to NOT announce at all, then simply do NOT run nmbd.
 
  - 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



Re: [Samba] system error 64, win xp and samba

2002-11-28 Thread John H Terpstra
On Thu, 28 Nov 2002, mlh wrote:


 Just so that it gets into the archives for
 future googlers:

 If you get 'system error 64' on a windows xp
 machine trying to connect to samba, then
 make sure you have nothing running on port 445.

 I had an apache ssl instance running on that port.

Really? The well known port for that is 443.


 Doh!  Had to scratch my head a bit over it.

 XP doesn't actually need anything to be on 445,
 it just gets confused and gives up if there is.

Port 445 is the port Win2K and WinXP use for netbiosless SMB.
It is the correct well known TCP port that Microsoft have registered for
the purpose.

- 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



Re: [Samba] Cups

2002-11-28 Thread John H Terpstra
On Thu, 28 Nov 2002, Simon Chappell wrote:

 Can anyone advise how to get Cups to survive a reboot with samba.
 After Reboot both samba and cups are running but there are no samba preinters
 unless I restart Samba. I have set links to rc3.d so that cups starts before
 samba but still doesnt work.

 Any help would be greatly appreceiated

You must start samba after cups is running. Your boot order is the
problem.

In the rc3.d directory your will find a script called Sxxname for each
service. The xx for cupsd needs to be earlier than the one for smb (or
samba).

- 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



[Samba] samba-2.2.7-1.7.3 Win XP home vs Pro?

2002-11-28 Thread David F. Reed
Many thanks all for the help with the printer hookup
problem.

I can now print and use drives/shares on my samba server
from my XP-home edition just fine.

My problem now I think is a windows problem, but some of
you have probably seen this or know how to avoid it in
any case.

My XP-Professional boxes seem unable to find my
samba server for either network drives or printer.

I note the following, hoping it might help you to help me.

Hosts-   OS
-
david- RedHat Linux 7.3 (samba server)
dfr  - XP - Home Edition
fu   - XP - Home Edition
armando  - XP - Professional Edition
aichingf - XP - Professional Edition

[root@david root]# nmblookup david
querying david on 192.168.131.255
192.168.131.124 david00

[root@david root]# nmblookup dfr 
querying dfr on 192.168.131.255
192.168.131.121 dfr00

[root@david root]# nmblookup fu
querying fu on 192.168.131.255
192.168.131.125 fu00

[root@david root]# nmblookup armando
querying armando on 192.168.131.255
querying armando on 192.168.130.255
name_query failed to find name armando

[root@david root]# nmblookup aichingf
querying aichingf on 192.168.131.255
querying aichingf on 192.168.130.255
name_query failed to find name aichingf

Many thanks for your help.

--
Dave
--
David F. Reed - email: [EMAIL PROTECTED]
(for pgp key: [EMAIL PROTECTED] http://keys.pgp.com/ )


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


[Samba] RPMs of alpha21 for Mandrake 9.0

2002-11-28 Thread Buchan Milne
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I have built RPMs for Mandrake 9.0 that will parallel install with an
existing samba-2.2.x installation (you should be running 2.2.7-2.1mdk if
your machine is up-to-date).

RPMS here:
http://ranger.dnsalias.com/mandrake/mandrake9.0/samba-3.0alpha21/

The srpm should build cleanly on anything from Mandrake 7.2 and up, but
I don't have time at the moment to build for other releases.

No testing besides it installs and runs

Regards,
Buchan
- --
|--Another happy Mandrake Club member--|
Buchan MilneMechanical Engineer, Network Manager
Cellphone * Work+27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE95jhOrJK6UGDSBKcRAlG8AKCjIb/Tu0+iYYaXjRAg4FtGhrHf9gCfdWVs
eAxYNQOD1gUMFnyW5l7Gd+g=
=Pv9c
-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] Samba and WindowsXP

2002-11-28 Thread VB
Hello all.  I'm writing to inquire about two particular problems with Samba
and Windows XP that have me perplexed.

Problem #1:

I have a Solaris9 Samba 2.2.5 server, which acts as a print server to all
the other UNIX nodes on the network.  This works fine, however, when I print
from WindowsXP, instead of getting the actual printout, I get the PostScript
source code, pages and pages of it.  The printer is an HP LaserJet4ML/PS, so
it's PS capable.  Under UNIX, it's set up as a PS printer on the print
server.  I've already read the documentation under docs/Registry and applied
the WinXP_SignOrSeal.reg.
UNIX clients (IRIX, RedHat, HP-UX) print to it without any problems.

Problem #2:

I can not map a network drive on an IRIX 6.5.17f box, even though I can see
the share.  I log in under XP with the identical login as I would under
IRIX.  When I try to map the drive, I even pick Connect using a different
user name and type in my UNIX login and passwd, but it won't map the
network drive.  I've applied the Win2000_PlainPassword.reg, with no results,
of course.  The only thing that works right now is reading and writing to a
share that has guest ok = yes configured.

Another two crucial pieces of information are that the PC bucket which runs
XP is part of a work group, as are the Samba servers.  The reason being, I
use NIS and for a Samba server to be a domain controller, I would have to
maintain three separate passwd files.  One for local system accounts, one
for NIS users, and one for Samba, which obviously defeats the whole purpose
having NIS.  Does Samba not work with authenticating against NIS?  I thought
this is handled at the OS level, and not by Samba.


Can anyone help with suggestions or experiences?
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] Samba share is not writeable

2002-11-28 Thread James
Steve, thanks. Your tip makes mounting the share easier. 
I found what I believe was the problem, so I'll share it in case someone
else has the same troubles, and browses upon this thread...
I read somewhere that you can only set permissions on Win XP machines
that are formatted to use the NTFS file system. Mine was FAT 32. So I
changed my file system type to NTFS without data loss by executing:
convert c: FS:NTFS /V
And viola, whatever I say dmask is, it is!
Regards,
--James

On Wed, 2002-11-27 at 21:18, James wrote:
 Thanks for the speedy reply. Sorry if the word 'permissions' is
 incorrect. 
 I did as you suggested below, making the appropriate changes for my
 network. Then I executed 
 mount /home/samba
 and it mounted the share without error, but it was still not writeable.
 The directory changed from drwx-- (unmounted) to dr-xr-xr-x
 (mounted). I added dmask=0700 th the line that I added in /etc/fstab
 between gid=500 and credentials... Then the mounted directory was
 dr-x--.
 
 On Wed, 2002-11-27 at 20:45, Simeonidis, Steve wrote:
  I haven't played with permissions much but I've got the following
  line in my /etc/fstab file and it works fine.
  
  
  //abinidi/common/abinidi/common smbfs
  uid=500,gid=500,credentials=/etc/smbmount_passwd,workgroup=SGL-AUS,rw 0 0
  
  The content of the smbmount_passwd is
  username = xxx
  password = xx
  
  owned by root.
  
  
  
  I hope that helps.
  
  Thanks
  
  Steve Simeonidis
  Network Engineer, Spherion Education
  Spherion Group Ltd
  
  1st Floor, 493 St. Kilda Rd, Melbourne VIC 3004, Australia
  Phone:  +61 3 9243 2382Fax:+61 3 9820 2010
  Email: [EMAIL PROTECTED]
  
  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.
  
  
  
  -Original Message-
  From: James [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, November 28, 2002 12:30 PM
  To: [EMAIL PROTECTED]
  Subject: [Samba] Samba share is not writeable
  
  
  I am having difficulty with Windows shares mounted with smb on my linux
  machine. The mount directory will not have write permissions for anyone,
  no matter what. The mount directory that I use is /home/samba. It has
  0700, or drwx-- permissions when it is not connected to Samba. It is
  owned by the user jhall, and the group root. When I mount it, if I use
  dmask 0777, I get dr-xr-xr-x. If I use dmask 0700, I get dr-x--, and
  so on. The subdirectories have the proper dmask, and thus are writeable.
  
  The shared directory on my Win XP Pro box is SharedDocs, and jhall has
  full permissions in this directory.
  
  Below is an example of my shell commands and subsequent output:
  
  [root@laptop jhall]# ls -l /home
  ##See that the dir samba is writable by jhall
  drwx--   37 jhallusers4096 Nov 27 19:42 jhall
  drwx--2 jhallusers4096 Nov 27 11:09 samba
  drwx--   21 stephie  stephie  4096 Nov 27 14:58 stephie
  
  ##This is how I mount the share 
  [root@laptop jhall]# mount -t smbfs -o
  user=jhall,uid=jhall,gid=root,dmask=0700,fmask=0777 //desktop/SharedDocs
  /home/samba
  Password: 
  
  [root@laptop jhall]# ls -l /home
  ##Now it is mounted, and I can read and execute everything that 
  ##is on my shared windows directory, but can only write things that
  ##are in a subdirectory, because they have the proper dmask of 0700
  ##I am logged in as jhall when I try to write to the directory.
  drwx--   37 jhallusers4096 Nov 27 19:42 jhall
  dr-x--1 jhallroot 4096 Nov 24 11:54 samba
  drwx--   21 stephie  stephie  4096 Nov 27 14:58 stephie
  
  [root@laptop jhall]# smbumount /home/samba
  ##I unmount the directory
  
  [root@laptop jhall]# ls -l /home
  ##And again have write permission
  drwx--   37 jhallusers4096 Nov 27 19:42 jhall
  drwx--2 jhallusers4096 Nov 27 11:09 samba
  drwx--   21 stephie  stephie  4096 Nov 27 14:58 stephie
  
  I hope that this is enough information. Any help is appreciated!
  
  
  
  -- 
  To unsubscribe from this list go to the following URL and read the
  instructions:  

[Samba] Netware copy fails

2002-11-28 Thread David Stone
Affected: Various 2.x.x releases of samba on Solaris 2.6/8 and Netware 5.1 SP5.
Problem: Unable to copy files from a mapped  Netware drive to a mapped samba share on 
a PC desktop (W2K).
Error: Several, but commonly Cannot copy MYFILE. Access is denied. The source file 
may be in use or An unexpected network error has occurred.

Has anyone seen similar?

It appears that some sort of corruption happens to a file once it goes to a Netware 
server. This does not corrupt the data in the file, but prevents the file being able 
to be transferred to the samba share.

For example,

I have a W2K desktop with:
S: mapped to a samba share.
N: mapped to a Netware drive.
I create a new file on my PC, call it 'MYFILE'.
I can drop this file onto S:(samba) OK.
Now, I can also drop this file onto N:(Netware) OK.
I get the error if I try copying from N: to S:
Now, if I then copy the file back from N: to my desktop, the file is broken! I can no 
longer copy the file from my PC hard drive to the S: drive.
If, however, I do a Save As from within Word, I can ALWAYS save the file to S:.

This happens with both IP and IPX connections to N:.

If I ftp the broken file from my PC to the Solaris server, and then copy it back to my 
PC, it is fixed. I can once again drag and drop it to the samba share.

ftp both the good file and the bad file to Solaris. Run bdiff, and the files are 
identical. So, is it something in the inode information (or whatever there is in 
Netware) that is causing the problem?

It would be good to hear from someone who has seen similar so I know I'm not imagining 
this!

David

David Stone
Systems and Database Administrator
The Macaulay Institute
Craigiebuckler
Aberdeen AB15 8QH
Scotland, UK

Tel: +(44) (0) 1224 498200 Ext 2131
Fax: +(44) (0) 1224 311556
e-mail: [EMAIL PROTECTED]
http://www.macaulay.ac.uk/ 


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



Re: [Samba] Samba and WindowsXP

2002-11-28 Thread Joel Hammer
#1
I would print a job to a file on the client, transfer it manually to your
server and  view it with gv, vi, or whatever,  to make sure  it
is a proper postscript file. Then, try to print it on the server to your
printer. If all goes well, then you have to simply change the print command
in your samba share to the print command you used to successfully print the
file manually.
Also, note there are different versions of postscript. Maybe your printer
doesn't understand the version being sent to it.

Joel


On Thu, Nov 28, 2002 at 01:03:34PM -0500, VB wrote:
 Hello all.  I'm writing to inquire about two particular problems with Samba
 and Windows XP that have me perplexed.
 
 Problem #1:
 
 I have a Solaris9 Samba 2.2.5 server, which acts as a print server to all
 the other UNIX nodes on the network.  This works fine, however, when I print
 from WindowsXP, instead of getting the actual printout, I get the PostScript
 source code, pages and pages of it.  The printer is an HP LaserJet4ML/PS, so
 it's PS capable.  Under UNIX, it's set up as a PS printer on the print
 server.  I've already read the documentation under docs/Registry and applied
 the WinXP_SignOrSeal.reg.
 UNIX clients (IRIX, RedHat, HP-UX) print to it without any problems.
 
 Problem #2:
 
 I can not map a network drive on an IRIX 6.5.17f box, even though I can see
 the share.  I log in under XP with the identical login as I would under
 IRIX.  When I try to map the drive, I even pick Connect using a different
 user name and type in my UNIX login and passwd, but it won't map the
 network drive.  I've applied the Win2000_PlainPassword.reg, with no results,
 of course.  The only thing that works right now is reading and writing to a
 share that has guest ok = yes configured.
 
 Another two crucial pieces of information are that the PC bucket which runs
 XP is part of a work group, as are the Samba servers.  The reason being, I
 use NIS and for a Samba server to be a domain controller, I would have to
 maintain three separate passwd files.  One for local system accounts, one
 for NIS users, and one for Samba, which obviously defeats the whole purpose
 having NIS.  Does Samba not work with authenticating against NIS?  I thought
 this is handled at the OS level, and not by Samba.
 
 
 Can anyone help with suggestions or experiences?
 -- 
 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



[Samba] delay while browsing printer list

2002-11-28 Thread Holger Krull
Hello,

while using samba 2.2.7 with cups as print server for windows clients, 
every user gets a 15-20 seconds freeze of the complete desktop (mouse 
movement still works) when opening the printer list the first time after 
login. (If all printers are closed the can be reproduced).

Has anyone else noticed this ?

The workaround is to use a local printer instead and point its port from 
lpt1: to /servername/printershare. While this stops the delay it 
prevents the users from seeing print jobs of others, not quite what a 
print queue is good for.

Known solutions available?


   Holger


[printers]
  path = /samba/dtemp
  create mask = 0744
  printable = yes
  browsable = no
  guest ok = yes
  use client driver = yes

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


[Samba] DOMAIN SID in samba ldap

2002-11-28 Thread gnu_is_not_unix
Hi !
 
Where the DOMAIN SID is stored when the LDAP backend is used ?
 
I got a lot of errors (C19b) when trying to log to samba domain from NT WRK. I 
have found in FAQs and archives that this problem appear when domain sid will change 
after registering nt wrk in the domain.
 
greetz
gnu_is_not_unix

---
Hackman i De Vito poka Ci, co znaczy prawdziwa mio... do pienidzy!
SKOK w kinach - od 29 listopada  http://film.wp.pl/p/film.html?id=1782 


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



Re: [Samba] samba nfs...

2002-11-28 Thread jra
On Thu, Nov 28, 2002 at 05:02:24PM +0100, Stefan Nordlander wrote:
 Hi, I'm having problems with M$ Office files on an samba mounted fs.
 Here's the deal.
 
 Server A is an NFS server holding the homes. (Irix 6.5.14)
 Server B is the Samba server (Samba 2.2.2, kernel oplocks = no, Irix
 6.5.14)
 
 The homes are nfs-mounted on the Samba server (autofs), and all is well
 until someone tries to open or create an Microsoft Office Document.
 I suppose it has something to do with the (bloody) ~$blahblah.doc files
 that are created by Office..
 The log.smbd gives:
 
 [2002/11/28 14:05:54, 0] locking/posix.c:(667)
   posix_fcntl_lock: WARNING: lock request at offset 2147483538, length 1
 returned
 [2002/11/28 14:05:54, 0] locking/posix.c:(669)
   an No locks available error. This can happen when using 64 bit lock
 offsets
 [2002/11/28 14:05:54, 0] locking/posix.c:(670)
   on 32 bit NFS mounted file systems.

Errr - I'd guess what's happening is what the error says :-).
And when I added that message I thought it'd be very clear :-(.

The kernel Samba is running on supports 64 bit fcntl locks,
however the underlying (NFS) filesystem that the files are
being shared from only supports 32 bit locks. Thus the lock
request is being denied.

If these files are only being accessed by Windows users (the
usual case for MS-Office files, unless you have OpenOffice
on IRIX) then you can turn off the mapping down to POSIX locking
by setting the parameter posix locking = False. No harm done.

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



[Samba] no logon servers available

2002-11-28 Thread Nicholas Sushkin
Hi,

I am running samba 2.2.7 as a PDC with a couple of Win2k workstations
participating in the domain. Once in a while of the workstations, I can't
access shares on the other, getting a message no logon servers available.
Once I restart smbd and nmbd via /etc/init.d/smb stop start, the problem
goes away immediately. I tried to search in samba logs, but there were no
error messages. What might be the problem?

Thanks,

--
Nicholas Sushkin

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



Re: [SAMBA] config/performance problem on solaris 8

2002-11-28 Thread jra
You know the default tuning parameters we ship should just
work, especially in 2.2.7.

Try removing the following paramters and seeing if it helps.

Jeremy.

On Thu, Nov 28, 2002 at 10:41:25AM -0600, Justin Richards wrote:
 [global]
 read size = 65535
 socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=16384 SO_RCVBUF=16384
 max connections = 150
 write cache size = 65535
 read prediction = yes
 max xmit = 65535
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [SAMBA] config/performance problem on solaris 8

2002-11-28 Thread Justin Richards
I have tried your advice, infact I removed everything but the necessary
server information and still no difference.  read speed still very good,
write speed still way below par.

- Original Message -
From: [EMAIL PROTECTED]
To: Justin Richards [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, November 28, 2002 1:33 PM
Subject: Re: [SAMBA] config/performance problem on solaris 8


 You know the default tuning parameters we ship should just
 work, especially in 2.2.7.

 Try removing the following paramters and seeing if it helps.

 Jeremy.

 On Thu, Nov 28, 2002 at 10:41:25AM -0600, Justin Richards wrote:
  [global]
  read size = 65535
  socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=16384
SO_RCVBUF=16384
  max connections = 150
  write cache size = 65535
  read prediction = yes
  max xmit = 65535
 --
 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] config/performance problem on solaris 8

2002-11-28 Thread jra
On Thu, Nov 28, 2002 at 02:24:16PM -0600, Justin Richards wrote:
 I have tried your advice, infact I removed everything but the necessary
 server information and still no difference.  read speed still very good,
 write speed still way below par.

Ok, now you have to do some work to profile the system and see
where the bottleneck may be. What is the maximum write speed
onto the disk from a local process (ufs on Solaris is notoriously
slow) ? Start there to find what your maximum should be and work
back into Samba to find the bottleneck. System profile tools
(top, vmstat, iostat) are useful here.

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



Re: [SAMBA] config/performance problem on solaris 8

2002-11-28 Thread Justin Richards
using iostat and doing some basic file testing such as:
time dd if=/dev/zero of=./tst bs=8192 count=8192
time dd if=./tst of=/dev/null bs=8192 count=8192

my write speed was about 13.5 meg a sec, and read was 13 meg a sec.

I didn't explain my disk set up before, let me do that briefly.

I have a SUN 1010 fiber disk array, with 16 18gig drives and 10 9gig drives.
The file systems I am doing my tests on are a stripe of 4 18gig drives.  I
also did some tests with a SUN 711 attached to the same system which has a
36 gig drive in it, with that I get right under 20 meg/sec read and right
(711 is attached with fast-wide scsi)

I'm going to recompile 2.2.7 and see if I get any different results..


- Original Message -
From: [EMAIL PROTECTED]
To: Justin Richards [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, November 28, 2002 2:29 PM
Subject: Re: [SAMBA] config/performance problem on solaris 8


 On Thu, Nov 28, 2002 at 02:24:16PM -0600, Justin Richards wrote:
  I have tried your advice, infact I removed everything but the necessary
  server information and still no difference.  read speed still very good,
  write speed still way below par.

 Ok, now you have to do some work to profile the system and see
 where the bottleneck may be. What is the maximum write speed
 onto the disk from a local process (ufs on Solaris is notoriously
 slow) ? Start there to find what your maximum should be and work
 back into Samba to find the bottleneck. System profile tools
 (top, vmstat, iostat) are useful here.

 Jeremy.


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



Re: [Samba] How to disable anonymous account on SAMBA

2002-11-28 Thread Andrew Bartlett
On Thu, 2002-11-28 at 08:10, Tran Andy Contr 61 CS/SCBN wrote:
 Hi all,
 
 I have tried to disable anonymous in smb.conf, by include the global:
 
 restrict anonymous = true
 password server = *
 encrypt passwords = yes
 null passwords = no
 
 Buy when I ran the : ./smbclient -L  myserver -N
 I have this message:
 
 added interface ip=111.xx.xx.xx bcast=111.xx.xx.255 nmask=255.255.252.0 
 Got a positive name query response from 111.xx.xx.xx( 111.xx.xxx.xx)
 Anonymous login successful
 
 So how can I disable/block  the anonymous account???

In Samba 3.0, 'restrict anonymous' has this behavior - set 'restrict
anonymous = 2' for what you want.  

However, in Samba 2.2, this parameter has the behavior described in
smb.conf.  (i.e. not what you would expect - and not a security
advantage).

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



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


Re: [Samba] samba 3.0a21+pdc+ldap+pam_ldap - add machines [Cananyone help?]

2002-11-28 Thread Andrew Bartlett
On Thu, 2002-11-28 at 08:20, Samba Guy wrote:
 Well I installed a21 and I was able to add a machine account.  The first
 time it comes back bad password, then the second attempt it works.  But
 now when i restart and try to login it says it cant find the computer
 account.  Am I missing something(yes i have signorseal)?  Here is the log
 from the login attempt:

You must either set 'passdb backend = ldapsam unixsam' or add the guest
account to LDAP.  The guest account must have a RID of 501.

(unixsam does a similar thing, based on the 'guest user' in smb.conf and
standard getpw*() calls).

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



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


Re: [Samba] Trusted domains with Samba 3.0alpha21?

2002-11-28 Thread Andrew Bartlett
On Fri, 2002-11-29 at 03:29, Nir Soffer wrote:
 
 Hi there!
 
 I appear to be having problems with trusted domains using 3.0a21.
 
 Using Samba as a member server, as user nirs on domain Exanet-il I
 am unable to log on to a member server (snow) who is a member of the
 Exanet-qa domain. The exanet-qa is supposed to trust exanet-il,
 and it all worked with 2.2 . This is the relevant log snippet I can
 find:
 
 [2002/11/28 18:26:05, 0] auth/auth_domain.c:domain_client_validate(425)
   domain_client_validate: unable to validate password for user nirs in
 domain EX
 ANET-QA to Domain controller \\KENGURO. Error was
 NT_STATUS_NO_SUCH_USER.
 [2002/11/28 18:26:05, 2] auth/auth.c:check_ntlm_password(271)
   check_password:  Authentication for user [nirs] - [nirs] FAILED with
 error NT
 _STATUS_NO_SUCH_USER
 [2002/11/28 18:26:05, 3] smbd/sesssetup.c:do_map_to_guest(38)
   No such user nirs [EXANET-IL] - using guest account
 [2002/11/28 18:26:05, 3] smbd/sec_ctx.c:push_sec_ctx(255)
 
 
 Anyone have any idea? Is this supposed to work in 3.0 now?

That error is returned by the remote server.  The event log on both DCs
might be useful.

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



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


Re: [SAMBA] config/performance problem on solaris 8

2002-11-28 Thread jra
On Thu, Nov 28, 2002 at 02:39:14PM -0600, Justin Richards wrote:
 using iostat and doing some basic file testing such as:
 time dd if=/dev/zero of=./tst bs=8192 count=8192
 time dd if=./tst of=/dev/null bs=8192 count=8192
 
 my write speed was about 13.5 meg a sec, and read was 13 meg a sec.
 
 I didn't explain my disk set up before, let me do that briefly.
 
 I have a SUN 1010 fiber disk array, with 16 18gig drives and 10 9gig drives.
 The file systems I am doing my tests on are a stripe of 4 18gig drives.  I
 also did some tests with a SUN 711 attached to the same system which has a
 36 gig drive in it, with that I get right under 20 meg/sec read and right
 (711 is attached with fast-wide scsi)
 
 I'm going to recompile 2.2.7 and see if I get any different results..

Yes, you might find 2.2.7 is better - it does a much better
job of pretending to be a W2K server.

The clients don't always write in nice 8k chuncks, which is why
it isn't as good as the raw numbers would seem.

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



Re: [SAMBA] config/performance problem on solaris 8

2002-11-28 Thread Justin Richards
same issue with 2.2.7..  I didn't have this issue on my Sparc 20 that I
replaced a few days ago with the U2.  on the Sparc20, I would get about the
same local read/write performance, but with samba, I would get about 3 meg
read and 3 meg write.

does samba have any known issues running on a 64bit version of solaris? that
is the only other major change other than the faster hardware..


- Original Message -
From: [EMAIL PROTECTED]
To: Justin Richards [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, November 28, 2002 3:18 PM
Subject: Re: [SAMBA] config/performance problem on solaris 8


 On Thu, Nov 28, 2002 at 02:39:14PM -0600, Justin Richards wrote:
  using iostat and doing some basic file testing such as:
  time dd if=/dev/zero of=./tst bs=8192 count=8192
  time dd if=./tst of=/dev/null bs=8192 count=8192
 
  my write speed was about 13.5 meg a sec, and read was 13 meg a sec.
 
  I didn't explain my disk set up before, let me do that briefly.
 
  I have a SUN 1010 fiber disk array, with 16 18gig drives and 10 9gig
drives.
  The file systems I am doing my tests on are a stripe of 4 18gig drives.
I
  also did some tests with a SUN 711 attached to the same system which has
a
  36 gig drive in it, with that I get right under 20 meg/sec read and
right
  (711 is attached with fast-wide scsi)
 
  I'm going to recompile 2.2.7 and see if I get any different results..

 Yes, you might find 2.2.7 is better - it does a much better
 job of pretending to be a W2K server.

 The clients don't always write in nice 8k chuncks, which is why
 it isn't as good as the raw numbers would seem.

 Jeremy.


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



[Samba] Connection to a Remote XP Box

2002-11-28 Thread Joseph A Nagy Jr
What I've done so far:

Studied man samba
Connected to my parents XP box on my LAN (two different connections, even).

root@omega-fleet root]# smbclient -L 64.131.112.121
added interface ip=192.168.1.11 bcast=192.168.1.255 nmask=255.255.255.0
added interface ip=192.168.1.10 bcast=192.168.1.255 nmask=255.255.255.0
session request to some.ip failed (Called name not present)
session request to some failed (Called name not present)
Password:
Domain=[HOME] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

Sharename  Type  Comment
-    ---
IPC$   IPC   Remote IPC
D$ Disk  Default share
ADMIN$ Disk  Remote Admin
C$ Disk  Default share
Win98 SE (F)   Disk

Server   Comment
----
CHRIS

WorkgroupMaster
----
HOME CHRIS

 ping -c 10 some.ip
PING some.ip (some.ip) from 192.168.1.11 : 56(84) bytes of data.
64 bytes from some.ip: icmp_seq=0 ttl=116 time=337.167 msec
64 bytes from some.ip: icmp_seq=1 ttl=116 time=279.711 msec
64 bytes from some.ip: icmp_seq=2 ttl=116 time=279.710 msec
64 bytes from some.ip: icmp_seq=3 ttl=116 time=259.711 msec
64 bytes from some.ip: icmp_seq=4 ttl=116 time=279.709 msec
64 bytes from some.ip: icmp_seq=5 ttl=116 time=279.691 msec
64 bytes from some.ip: icmp_seq=6 ttl=116 time=269.588 msec
64 bytes from some.ip: icmp_seq=7 ttl=116 time=259.712 msec
64 bytes from some.ip: icmp_seq=8 ttl=116 time=269.710 msec
64 bytes from some.op: icmp_seq=9 ttl=116 time=269.784 msec

--- 64.131.112.121 ping statistics ---
10 packets transmitted, 10 packets received, 0% packet loss
round-trip min/avg/max/mdev = 259.711/278.449/337.167/20.947 ms

He's connected directly to the gateway. No firewall.

mount -t smbfs -o username=somename,password=somepass
   //s.o.m.e.i.p/F /chris/
   21287: session request to s.o.m.e.i.p. failed (Called name not present)
   21287: session request to s failed (Called name not present)
   21287: tree connect failed: ERRDOS - ERRnosuchshare (You specified an
   invalid share name)
   SMB connection failed

But the command works when I use:

mount -t smbfs -o username=username,password=somepass //hal9001/C /linux/ ((box on lan))

What am I missing/doing wrong?
--
Joseph A Nagy Jr Purgatory is where Windows users go when they
Founder and CEO  die so they can figure out Linux and ascend into
Joseph A Nagy Jr Enterprises whatever higher plane one belives in.
http://jan-jr-ent.homelinux.org  Linux - The Choice of Every Generation

C.S.S.: Construct Skilled in Sabotage
H.T.M.L.: Hazardous Troubleshooting and Mathematics Lifeform
http://www.brunching.com/cgi/cyborger.cgi?acronym=Linux

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



Re: [Samba] Connection to a Remote XP Box

2002-11-28 Thread Joseph A Nagy Jr
The one thing I missed...I'M behind a router (Linksys DSL/Cable 4-Port router).


--
Joseph A Nagy Jr Purgatory is where Windows users go when they
Founder and CEO  die so they can figure out Linux and ascend into
Joseph A Nagy Jr Enterprises whatever higher plane one belives in.
http://jan-jr-ent.homelinux.org  Linux - The Choice of Every Generation

C.S.S.: Construct Skilled in Sabotage
H.T.M.L.: Hazardous Troubleshooting and Mathematics Lifeform
http://www.brunching.com/cgi/cyborger.cgi?acronym=Linux

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



Re: [SAMBA] config/performance problem on solaris 8

2002-11-28 Thread Jim Morris
Justin,

What type of performance do you get when putting a file to the server 
using FTP?  Or NFS for that matter?  If there is a networking issue 
other than Samba, you should see slow write performance using those 
protocols as well  Samba will probably be close to NFS in speed, 
with both being somewhat slower than FTP, which has less protocol 
overhead (no filesystem involved).

 --
Jim Morris ([EMAIL PROTECTED])

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


[Samba] Changing samba account password from Windows XP

2002-11-28 Thread Michael



Hi all,

I understand that the changing of samba account 
password can be achieved through the Windows 2000 client by means of 
CTRL-ALT-DELand selecting "Change Password". How do we achieve such 
equivalent in Windows XP clients?

Michael



[Samba] Current master browser = UKNOWN

2002-11-28 Thread Simeonidis, Steve
Title: Current master browser = UKNOWN





samba 2.2.5


We use an NT PDC for password authentication
and an NT WINS server.


Both of those systems are on a different subnet.


I have setup remote announce = PDC subnet broadcast and
remote browse sync = WINS server IP



Do I have to setup the SAMBA server as a master browser?
I don't want to mess things up with the WINS servers.



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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 29, 2002 7:29 AM
To: Justin Richards
Cc: [EMAIL PROTECTED]
Subject: Re: [SAMBA] config/performance problem on solaris 8



On Thu, Nov 28, 2002 at 02:24:16PM -0600, Justin Richards wrote:
 I have tried your advice, infact I removed everything but the necessary
 server information and still no difference. read speed still very good,
 write speed still way below par.


Ok, now you have to do some work to profile the system and see
where the bottleneck may be. What is the maximum write speed
onto the disk from a local process (ufs on Solaris is notoriously
slow) ? Start there to find what your maximum should be and work
back into Samba to find the bottleneck. System profile tools
(top, vmstat, iostat) are useful here.


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






Re: [SAMBA] config/performance problem on solaris 8

2002-11-28 Thread Justin Richards
Jim,

Good call!  ftp suffered same performance.  i never noticed a NFS problem to
my other Sparc's because most of the time I was reading data off of the
server.  Now to determine where the problem is..

the only settings I have changed in /etc/system is adding:

set tcp:tcp_conn_hash_size=32768
set hme:hme_adv_autoneg_cap = 0
set hme:hme_adv_100fdx_cap = 1

no other changes (such as ndd commands).

I took the 3 above settings out of /etc/system, rebooted and ftp performance
was over 10 meg/sec both directions, samba is now doing 7.5 m/s read from
server and 8 m/s write to server.  It seems strange that I can write to the
samba shares faster than I can read??  both nic's come up as 100meg full
duplex, so it must have been the tcp:tcp_conn_hash_size setting.

at any rate, thank you both for helping me look at this problem!  this kind
of performance will keep me happy for a while!

Any idea why tcp:tcp_conn_hash_size=32768 would have such negative affect?
We have tweaked this setting on some of our larger servers at work (E4500's,
E6500's and Sunfire 4800's) and it never had bad results..


- Original Message -
From: Jim Morris [EMAIL PROTECTED]
To: Justin Richards [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, November 28, 2002 7:39 PM
Subject: Re: [SAMBA] config/performance problem on solaris 8


 Justin,

 What type of performance do you get when putting a file to the server
 using FTP?  Or NFS for that matter?  If there is a networking issue
 other than Samba, you should see slow write performance using those
 protocols as well  Samba will probably be close to NFS in speed,
 with both being somewhat slower than FTP, which has less protocol
 overhead (no filesystem involved).

   --
 Jim Morris ([EMAIL PROTECTED])

 --
 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] Connection to a Remote XP Box

2002-11-28 Thread Joel Hammer
As I recall your error was called name not present, yes?

I am not sure what is doing this.

To troubleshoot this, I would make sure that your host resolution is working
right. The parameter:
[global]
name resolve order = lmhosts wins bcast hosts
determines how things are looked up.
lmhosts = lmhosts file on your linux box
wins  = use wins server
bcast = broadcast
hosts = use host lookup. Will check /etc/hosts, then your DNS.

The default order, as listed in loadparam.c, seems to be:
string_set(Globals.szNameResolveOrder, lmhosts host wins bcast);  
(Yes, host and hosts both seem to work, dunno.)

Edit smb.conf, and use just one method at a time, eg:
   name resolve order = wins
smbclient will only try the wins server with this options specified.
You might be able to track down where the error is coming from.

You don't have to restart smbd after you make these changes.

My suspicion is that one of the methods of lookup is returning wrong data.

Joel






On Thu, Nov 28, 2002 at 06:53:28PM -0600, Joseph A Nagy Jr wrote:
 The one thing I missed...I'M behind a router (Linksys DSL/Cable 4-Port router).
 
 
 -- 
 Joseph A Nagy Jr Purgatory is where Windows users go when they
 Founder and CEO  die so they can figure out Linux and ascend into
 Joseph A Nagy Jr Enterprises whatever higher plane one belives in.
 http://jan-jr-ent.homelinux.org  Linux - The Choice of Every Generation
 
 C.S.S.: Construct Skilled in Sabotage
 H.T.M.L.: Hazardous Troubleshooting and Mathematics Lifeform
 http://www.brunching.com/cgi/cyborger.cgi?acronym=Linux
 
 -- 
 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] Connection failed with smbclient

2002-11-28 Thread Joel Hammer
nmblookup likely  uses bcasting or a wins server to find a host, whereas
smbclient may use lmhost and  host (/etc/host and DNS) as well, or none
of these, depending on smb.conf. What if you mess with name resolve
order in your global section of smb.conf?

Joel
  On Thu, Nov 28, 2002 at 09:30:30AM -0500, David A. Bandel wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Folks,
 
 I looked through the archives, but didn't see anything like this.
 
 I have a network with a mix of Win95, Win98, and WinME clients (and one
 Linux system w/ Samba server version 2.2.2).
 
 All systems belong to a workgroup called Oteima.
 
 All Win95 and Win98 clients see all other systems (including the Linux
 box) in one list.
 
 However, a couple of systems (notably the WinME systems) see _two_ Oteima
 workgroups.
 
 Problem is, the Samba server, using nmblookup can find _all_ systems, but
 using smbclient can only connect to the Windoze systems listed in one
 Oteima workgroup, but get a connection failed when trying to connect to
 systems in the other Oteima workgroup.
 
 I very methodically checked using nmblookup and sbmclient whether I could
 see/connect to every system.
 
 [root@appgen root]# nmblookup caja
 querying caja on 192.168.5.255
 192.168.5.42 caja00
 [root@appgen root]# smbclient //caja/c
 added interface ip=192.168.5.50 bcast=192.168.5.255 nmask=255.255.255.0
 Connection to caja failed
 
 if I could resolve _why_ some Win systems have _two_ Oteima workgoups (one
 to which I can connect to _all_ listed systems and one to which I cannot
 connect to any) I could resolve this dilemna.
 
 I've tried:  changing workgroup name (all lowercase, all uppercase, mixed
 upper/lower case); encrypt passwds yes/no.  Changing protocol mins and
 maxs (from CORE to NT1).  I'm running out of ideas.
 
 Any and all suggestions welcome.
 
 David A. Bandel
 - -- 
 Focus on the dream, not the competition.
   -- Nemesis Racing Team motto
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.1 (GNU/Linux)
 
 iD8DBQE95iiG3uVcotqGMQcRAsIbAKCvG630vfFHmod71Hyh+IpkUGfVQwCgwuog
 nbjz45yzhN5ygZ3HDFPMmJA=
 =xJ+8
 -END PGP SIGNATURE-
 -- 
 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] Another Samba+ACLs thread

2002-11-28 Thread Andrew Furey
 $ setfacl -m DOMAIN+andrewfu:rwx myfile
 setfacl: Option -m: Invalid argument near character 1


I had a similar issue on my Debian box.  It seemed that setfacl didn't
care for special characters.  I changed the separator character to -
(dash) instead of + or \ and it worked fine.


It looks like that error (invalid argument) is coming up any time the 
username is not found on the system. This of course includes anything 
added onto it - like DOMAIN+name, DOMAIN-name, etc.

Also, the only mention of a separator that I see in smb.conf is in 
relation to winbind, which I'm not using at present (need real users due 
to ownership of files; I'm using add user script instead). Should I in 
fact be using winbind? If so, how does it fit into the picture?


--
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


[Samba] Access Linux PC from other windows machines in the WorkGroup

2002-11-28 Thread Rakesh Rajan
Dear Sir,
I want to access my Linux shared folder from other
windows PC's in the same work group. I have installed
TurboLinux7.0 in my PC. It has got samba server
shipped with it. I made settings in the /etc/smb.conf
file.
Now we can see my machine from the network
neighbourhood of other machines in the workgroup. But
when we try to access the linux PC from other windows
machine, it gives the following error message
The account is not authorised to login from this
machine
Please give me more information on this.
Thanks  BestRegards,
Raks


__
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] system error 64, win xp and samba

2002-11-28 Thread mlh
On Thu, Nov 28, 2002 at 04:59:42PM +, John H Terpstra wrote:
 On Thu, 28 Nov 2002, mlh wrote:
 
 
  Just so that it gets into the archives for
  future googlers:
 
  If you get 'system error 64' on a windows xp
  machine trying to connect to samba, then
  make sure you have nothing running on port 445.
 
  I had an apache ssl instance running on that port.
 
 Really? The well known port for that is 443.

Yeah, I know.   I have a whole bunch of apache servers,
of potentially different versions, hence different ports.
(rather than use virtual servers)
The first uses 80+443, the second 81+444, the third ... well
you can guess :-)

  Doh!  Had to scratch my head a bit over it.
 
  XP doesn't actually need anything to be on 445,
  it just gets confused and gives up if there is.
 
 Port 445 is the port Win2K and WinXP use for netbiosless SMB.
 It is the correct well known TCP port that Microsoft have registered for
 the purpose.

Does any present or future Samba plan to use it too?
(I presume the answer is yes for future, but I think
no for the present.?)

Matt
PS.  I may go to virtual ips for my multiple apaches
but that's enough on apache for this list.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Access Linux PC from other windows machines in the WorkGroup

2002-11-28 Thread Jay Ts
It looks like you probably need to read some
beginner's introduction to Samba.

To answer your question, we'd need a copy of
your smb.conf file, at least. You also might
add information such as:

1. Unix version used as Samba host.
2. Version of Samba in use.
3. Is your Windows network a workgroup or domain?
4. Version of Windows the client is running.

My guess is that you didn't set up your accounts
on the Samba server using smbpasswd.  Try:

# smbpasswd -a username

(run as root user), where username is the name of
an account on the Samba host (Unix system), and is
used by the Windows user to log on.

- Jay Ts

-
On Thu, Nov 28, 2002 at 08:41:27PM -0800, Rakesh Rajan wrote:
 Dear Sir,
 I want to access my Linux shared folder from other
 windows PC's in the same work group. I have installed
 TurboLinux7.0 in my PC. It has got samba server
 shipped with it. I made settings in the /etc/smb.conf
 file.
 Now we can see my machine from the network
 neighbourhood of other machines in the workgroup. But
 when we try to access the linux PC from other windows
 machine, it gives the following error message
 The account is not authorised to login from this
 machine
 Please give me more information on this.
 Thanks  BestRegards,
 Raks
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Need a cron script written

2002-11-28 Thread Kevin Brown
I do this manually:
smbmount //Beverley/C /home/data
pwd: insert pwd
cp -ruv /home/samba/public /home/data
smbumount /home/data

This lets me do the following:
make a copy of all my samba shares on the server to a client named Beverley C 
drive.
ruv does the following
recursive (all subdirectories and subfolders)
unchanged (only write over when newer)
verbose

pwd: insert pwd would be my password for that share (secret!!)
the only problem is I can not get cp to do this quietly or without input, even 
dropping 
the v makes me confirm each write.
I need to unmount the share at end of backup.
Any ideas of doing it another way much appreciated.
I currently run a cron job, tar -cvfpP /dev/st0 /home/samba/public weekly to save all 
my samba server shares to tape.

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



[Samba] Build problem - 2.2.7 (latest)

2002-11-28 Thread Lightfoot.Michael
I'm trying to build samba 2.2.7 (latest tarball) downloaded about 2
hours ago.

System is SunFire 3800, Solaris 8 (Generic_108528-16) and gcc 3.2
(downloaded from Sunfreeware).  Gcc -v output is:
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --disable-nls
Thread model: posix
gcc version 3.2

Here is the last few output lines from configure:

checking whether or not getgroups returns EGID too many times... no
checking whether struct passwd has pw_comment... yes
checking whether struct passwd has pw_age... yes
checking for poptGetContext in -lpopt... yes
checking whether to use included popt... no
checking configure summary... configure: error: summary failure.
Aborting config


Any ideas?  I've never had a configure problem before.





Michael Lightfoot
Unix Consultant
ISG Host Systems
Comcare
+61 2 62750680


NOTICE: This e-mail message and attachments may contain confidential 
information. If you are not the intended recipient you should not use or 
disclose any information in the message or attachments. If received in 
error, please notify the sender by return email immediately.  Comcare 
does not waive any confidentiality or privilege.


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



[Samba] Build problem - 2.2.7 (latest) - further info

2002-11-28 Thread Lightfoot.Michael
Should have included the relevant config.log output with my last
message:

configure:14155: checking configure summary
configure:14164: gcc -o conftest -O   -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64  conftest.c -lsec -lgen -lsocket -lnsl  -ldl
-lpopt 15
configure: failed program was:
#line 14160 configure
#include confdefs.h
#include ./tests/summary.c

The relevant lines from the configure script are:
# final configure stuff
echo $ac_n checking configure summary... $ac_c 16
echo configure:14155: checking configure summary 5
if test $cross_compiling = yes; then
  echo configure: warning: cannot run when cross-compiling 12
else
  cat  conftest.$ac_ext EOF
#line 14160 configure
#include confdefs.h
#include ${srcdir-.}/tests/summary.c
EOF
if { (eval echo configure:14164: \$ac_link\) 15; (eval $ac_link)
25; }  test -s conftest${ac
_exeext}  (./conftest; exit) 2/dev/null
then
  echo $ac_tyes 16
else
  echo configure: failed program was: 5
  cat conftest.$ac_ext 5
  rm -fr conftest*
  { echo configure: error: summary failure. Aborting config 12; exit
1; }; exit 1;
fi
rm -fr conftest*
fi




Michael Lightfoot
Unix Consultant
ISG Host Systems
Comcare
+61 2 62750680


NOTICE: This e-mail message and attachments may contain confidential 
information. If you are not the intended recipient you should not use or 
disclose any information in the message or attachments. If received in 
error, please notify the sender by return email immediately.  Comcare 
does not waive any confidentiality or privilege.


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



[Samba] need smbmount cron script

2002-11-28 Thread Kevin Brown
I do this manually:
smbmount //Beverley/C /home/data
pwd: insert pwd
cp -ruv /home/samba/public /home/data
smbumount /home/data

This lets me do the following:
make a copy of all my samba shares on the server to a client named
Beverley C drive. ruv does the following recursive (all subdirectories and
subfolders) unchanged (only write over when newer) verbose

pwd: insert pwd would be my password for that share (secret!!)
the only problem is I can not get cp to do this quietly or without input,
even dropping the v makes me confirm each write. I need to unmount the
share at end of backup. Any ideas of doing it another way much
appreciated. I currently run a cron job, tar -cvfpP /dev/st0
/home/samba/public weekly to save all my samba server shares to tape.

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



Re: [Samba] Build problem - 2.2.7 (latest)

2002-11-28 Thread Andrew Bartlett
On Fri, 2002-11-29 at 16:47, Lightfoot.Michael wrote:
 I'm trying to build samba 2.2.7 (latest tarball) downloaded about 2
 hours ago.
 
 System is SunFire 3800, Solaris 8 (Generic_108528-16) and gcc 3.2
 (downloaded from Sunfreeware).  Gcc -v output is:
 Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2/specs
 Configured with: ../configure --with-as=/usr/ccs/bin/as
 --with-ld=/usr/ccs/bin/ld --disable-nls
 Thread model: posix
 gcc version 3.2
 
 Here is the last few output lines from configure:
 
 checking whether or not getgroups returns EGID too many times... no
 checking whether struct passwd has pw_comment... yes
 checking whether struct passwd has pw_age... yes
 checking for poptGetContext in -lpopt... yes
 checking whether to use included popt... no
 checking configure summary... configure: error: summary failure.
 Aborting config
 
 
 Any ideas?  I've never had a configure problem before.

It usually means that the 'summary' is unable to link.  Yes, it really
should be made clearer...  Dive into the configure logs, and try to see
what the link line becomes.

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



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


Re: [Samba] samba server for windows (I know it defeats theobject...)

2002-11-28 Thread Andrew Bartlett
On Thu, 2002-11-28 at 21:17, [EMAIL PROTECTED] wrote:
 Hi, 
 
 is there a samba server for windows that UNIX samba clients can access.
 
 I know this wouldn't make sense and windows mounting a unix SMB exported
 directory would make so much more sense but a colleague swears that a
 windows samba server exists and it is proving hard to demonstrate its
 absence!

I'm sure he is really talking about an NFS server for windows...

Samba would run under windows, except that we do not currently support
the locking primitives that windows uses.  (This would naturally imply
using cygwin).  In fact, there is rumour that an old version of Samba
had been ported there at one point - it's certainly possible, given the
existence of the OS/2 port.

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



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


Re: [Samba] Need a cron script written

2002-11-28 Thread Anthony J. Breeds-Taurima
On Thu, 28 Nov 2002, Kevin Brown wrote:

 I do this manually:
 smbmount //Beverley/C /home/data
 pwd: insert pwd
 cp -ruv /home/samba/public /home/data
 smbumount /home/data
 
 This lets me do the following:
 make a copy of all my samba shares on the server to a client named Beverley C 
 drive.
 ruv does the following
 recursive (all subdirectories and subfolders)
 unchanged (only write over when newer)
 verbose
 
 pwd: insert pwd would be my password for that share (secret!!)

If you change this to:
smbmount //Beverley/C /home/data -o,username=KevinBrown,password=SECRET
You shouldn't get prompted for a password.

 the only problem is I can not get cp to do this quietly or without input, even 
dropping 
 the v makes me confirm each write.

try /bin/cp -a /home/samba/public /home/data

 I need to unmount the share at end of backup.
 Any ideas of doing it another way much appreciated.
 I currently run a cron job, tar -cvfpP /dev/st0 /home/samba/public weekly to save 
all 
 my samba server shares to tape.


Yours Tony

   Jan 22-25 2003   Linux.Conf.AUhttp://linux.conf.au/
  The Australian Linux Technical Conference!

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



Re: [SAMBA] config/performance problem on solaris 8

2002-11-28 Thread Marian Mlcoch, Ing
Check you UTP cable and driver for nic.
UTP must have pairs 12 36 connected not 12 34 (if this then only one way
work 100Mb)


- Original Message -
From: Justin Richards [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, November 28, 2002 9:24 PM
Subject: Re: [SAMBA] config/performance problem on solaris 8


 I have tried your advice, infact I removed everything but the necessary
 server information and still no difference.  read speed still very good,
 write speed still way below par.

 - Original Message -
 From: [EMAIL PROTECTED]
 To: Justin Richards [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Thursday, November 28, 2002 1:33 PM
 Subject: Re: [SAMBA] config/performance problem on solaris 8


  You know the default tuning parameters we ship should just
  work, especially in 2.2.7.
 
  Try removing the following paramters and seeing if it helps.
 
  Jeremy.
 
  On Thu, Nov 28, 2002 at 10:41:25AM -0600, Justin Richards wrote:
   [global]
   read size = 65535
   socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=16384
 SO_RCVBUF=16384
   max connections = 150
   write cache size = 65535
   read prediction = yes
   max xmit = 65535
  --
  To unsubscribe from this list go to the following URL and read the
  instructions:  http://lists.samba.org/mailman/listinfo/samba
 

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

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



Re: [Samba] Connection to a Remote XP Box

2002-11-28 Thread Andrew Gaffney


Joseph A Nagy Jr wrote:


Win98 SE (F)   Disk

  


mount -t smbfs -o username=somename,password=somepass
   //s.o.m.e.i.p/F /chris/
   21287: session request to s.o.m.e.i.p. failed (Called name not present)
   21287: session request to s failed (Called name not present)
   21287: tree connect failed: ERRDOS - ERRnosuchshare (You specified an
   invalid share name)
   SMB connection failed


I think this is a fairly easy problem. The name of the share is not 'F' 
but 'Win98 SE (F)' if I'm not mistaken. That is why you are getting the 
error about no such share.

--
Um, can you repeat the part of the stuff where you
 said all about the things?
   - Homer Simpson

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


spoolname smbprn.XXXXXX.aaaaaa

2002-11-28 Thread Schmieg Friedemann
Hello There,

since a samba update from 2.0.5. to 2.2.5 (AIX)  we have new spooling names
like smbprn.XX.aa instead of the previous NT file name. We are
printing in a shell for creating pdf - files and after that we are searching
for the master document in our PDM system to check in the pdf as a scondary
file format. But of course with the new spool file name we lost all
information about the file and can't identify it any more in the database.

Is there a way to get the old filename back? We kept the smb.conf unchanged.


Regards, F. Schmieg



problem with Samba 2.2.3a (Suse dist)

2002-11-28 Thread Rafael Moll Campello



 
Hi, I have a problem with Samba 2.2.3a (Suse dist). We have a server , 
with = DHCP and Samba.We have migrated from Caldera 2.1.The clients are 
= Win95/98.All the thinghs seems to be Ok, but in a few minutes , the 
= clients lost the share units in Samba if nobody are using the units.I 
= modified samba.conf with: [global] 
deadtime=3D0 keep alive =3D 30  in order to resolve the 
problem, but I can=B4t do it. The clients lost = the conection even if 
some programs have files open. If you click over = the unit with the 
Explorer , reconnect it easily. We don=B4t have net = problems: ping 
work nice, and the network wires are tested and ok.We = dont have any 
problems with the old dist (Caldera). I use the same samba.conf 
with Suse dist that Caldera in order to test = , but nothing 
change... Any idea? Thanks  
/---/ The harware are: Pentium IV 2,5=20 QDI 
Platinix 2D/533 Mhz 512 Mb DDR Ram=20 Hd Seagate 40 Gb 7200 rpm 
Barracuda.  The samba.conf file are:  # 
/etc/samba/smb.conf ist the main samba configuration file. Cf. the # 
manual page of smb.conf and the included documantation in # 
/usr/share/doc/packages/samba in order to understand the options # 
listed here and many more features. # # Lines in this example 
which starts with ; and # are ignored comment # ones. # indicates a 
comment and ; a deactivated example line. # # We suggest to use 
the command 'testparm' after any changes you made. # # Copyright 
(c) 1999 - 2001 SuSE GmbH Nuernberg, Germany. # # Please send 
bugfixes or comments to [EMAIL PROTECTED]. # 
[global] workgroup 
=3D OFICINA server 
string =3D TLC SMB 
SERVER log file 
=3D 
/var/log/samba/smb.%m.%U 
debug level=3D2 
max log size =3D 
50 security =3D 
user encrypt 
passwords =3D yes 
smb passwd file =3D 
/etc/samba/smbpasswd 
username map =3D 
/etc/samba/smbusers 
socket options =3D TCP_NODELAY IPTOS_THROUGHPUT = SO_RCVBUF=3D4096 
SO_SNDBUF=3D4096 
getwd cache =3D 
yes read size =3D 
65536 read 
prediction =3D yes 
read raw =3D no 
write raw =3D no 
max xmit =3D 16384 
deadtime=3D0 
keep alive =3D 30 
 local master =3D 
yes os level =3D 
33 domain master 
=3D yes preferred 
master =3D yes 
domain logons =3D 
yes logon script 
=3D %U.bat include 
=3D 
/etc/samba/%m.conf 
include =3D 
/etc/samba/%U.conf 
include =3D 
/etc/samba/generic.conf 
default case =3D 
upper case 
sensitive =3D no  # Where to store roving profiles (only for 
Win95 and WinNT) # %L 
substitutes for this servers netbios name, %U is username 
# You must uncomment the [Profiles] 
share below ; logon path =3D \\%L\Profiles\%U 
; wins support =3D yes  # WINS Server - Tells the 
NMBD components of Samba to be a WINS Client 
# Note: Samba can be either a WINS Server, 
or a WINS Client, but = NOT=20 both ; wins 
server =3D w.x.y.z  # WINS Proxy - Tells Samba to answer name 
resolution queries on # behalf of a non WINS capable client, for this to 
work there must be # at least one WINS Server on the network. The 
default is NO. ; wins proxy =3D yes  # DNS 
Proxy - tells Samba whether or not to try to resolve NetBIOS names # via 
DNS nslookups. The built-in default for versions 1.9.17 is yes, # this 
has been changed in version 1.9.18 to no. dns 
proxy =3D no  # Case Preservation can be handy - system default 
is _no_ # NOTE: These can be set on a per share basis ; 
preserve case =3D no ; short preserve case =3D no # 
Default case is normally upper case for all DOS files ; default 
case =3D lower # Be very careful with case sensitivity - it can break 
things! ; case sensitive =3D no  
#=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= 
=3D=3D=3D=3D Share Definitions = 
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= 
=3D=3D=3D=3D=3D [homes] comment =3D Home 
Directories ; this gives access to a 'Public' sub-directory in each 
user's home... ; (it is named 'public' as it is intended to be used by 
other sharing ; technologies (like NetWare, appletalk) too and may get 
disclosed due ; to weak protocols! -- hmm, even less secure than NFS? 
:) path =3D 
/apps/users/%U browseable =3D 
no writable =3D 
yes create mask =3D 0750  # 
Un-comment the following and create the netlogon directory for Domain = 
Logons [netlogon] comment 
=3D Samba Network Logon Service path =3D 
/logon guest ok =3D 
no writable =3D 
no browsable =3D 
no root preexec =3D /usr/bin/hala.pl %U 
%h   # Un-comment the following to provide a specific 
roving profile share # the default is to use the user's home 
directory ;[Profiles] ; path =3D 
/home/samba/profiles ; browseable =3D no 
; guest ok =3D yes   # A publicly 
accessible directory, but read only, except for people in # the "users" 
group [tot$] comment =3D 
disco_red volume =3D 
linux path =3D 
/apps browseable =3D 
yes public =3D 
yes writable =3D 
yes printable =3D 
no create mask =3D 0777  
[contabilidad$] comment =3D 
contabilidad volume =3D 
contabilidad path =3D 
/apps/contabilidad browseable =3D 
no public =3D 
yes 

2nd attempt: Modify location of printerdriverfiles

2002-11-28 Thread Kätzler, Ralf
Hi!

Maybe this time someone can give me a hint - or is my english that bad - so that 
nobody can catch the point - or my question is posted to the false list?
Please each answer is welcome! Thank you!

Hello, Samba-Team, hello samba-freaks!

My question/problem:
I like to use a samba-server as printer-server for about 500 users with ~ 40 
different printers.
The client OS is NT4 or XP. The problem I encountered is that there are 
printerdrivers out there which use for different models dlls with the same name but 
the dlls are not
compatible - great!! - ! So only the last installed printer works flawless, because 
the dll for the other model is overwritten during driverinstall.
My question: Is there a tool, which allows save tempering with the *.tdb, to change 
the path to the driverfiles or to change the behavior to rpc getdriverinfo?
This way it would be possible to create an own driver-directory-structur and all 
those printerdriver related problems are gone...

Greetings
Ralf

Btw.: Redhat 8.0 and latest Samba.
Calling the printermanufactor is hopeless. The only answer I got is: This must be a 
problem  with your OS... thanks for your help. :(

Greetings
Ralf



Re: 2nd attempt: Modify location of printerdriverfiles

2002-11-28 Thread Simo Sorce
That would change nearly nothnig, because the printer drivers will be
copyed in the same structure on the client and there you will find the
same naming problem.

It is a known windows problem (just faces some day ago with drivers for
2 HP laser printers on a windows 98 :-/)

If the Printer Manufacturer tell you so she is both right an wrong.

Right it is an OS problem, A windows OS problem.

Wrong the manufacter must know this issue and try not to make drivers
with overlapping names.


However you may try just a workaround. If any of your clients will use
only one printer, you may try some symlink + macro expansion tricks to
use different directories, but it may not work or corrupt badly your
printer settings and prnting related tdb file, so at your own risk:

- you may use a macro expansion on the print$ share path and then make a
number of directories that match that macro expansion

eg:
path = /usr/share/samba/%G/drivers

and have a pool of printers per group or other parameter.

Simo.

On Thu, 2002-11-28 at 11:21, Kätzler, Ralf wrote:
 Hi!
 
 Maybe this time someone can give me a hint - or is my english that bad - so that 
nobody can catch the point - or my question is posted to the false list?
 Please each answer is welcome! Thank you!
 
 Hello, Samba-Team, hello samba-freaks!
 
 My question/problem:
 I like to use a samba-server as printer-server for about 500 users with ~ 40 
different printers.
 The client OS is NT4 or XP. The problem I encountered is that there are 
printerdrivers out there which use for different models dlls with the same name but 
the dlls are not
 compatible - great!! - ! So only the last installed printer works flawless, because 
the dll for the other model is overwritten during driverinstall.
 My question: Is there a tool, which allows save tempering with the *.tdb, to change 
the path to the driverfiles or to change the behavior to rpc getdriverinfo?
 This way it would be possible to create an own driver-directory-structur and all 
those printerdriver related problems are gone...
 
 Greetings
 Ralf
 
 Btw.: Redhat 8.0 and latest Samba.
 Calling the printermanufactor is hopeless. The only answer I got is: This must be a 
problem  with your OS... thanks for your help. :(
 
 Greetings
 Ralf
-- 
Simo Sorce - [EMAIL PROTECTED]
Xsec s.r.l.
via Durando 10 Ed. G - 20158 - Milano
tel. +39 02 2399 7130 - fax: +39 02 700 442 399



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


RE RE: 2nd attempt: Modify location of printerdriverfiles

2002-11-28 Thread Kätzler, Ralf
I think the workaround will not work. I can´t predict which user on which machine will 
use which printer.
Our users have in most case max. two networkprinters connected - for our luck long 
physikal ways prevent the need to connect to more printers.
We have created a small script which erases all printerrelated registry-entries and 
files on the client.
A user or admin can run this script and the client is clean for a new 
printer-installation. This way we work around the naming-problem on the client. (The 
users *theoretical* know which printers cannot be installed at the same time).
Of course this works not on the printserver :)).

If there is no other solution, we have to fight another skirmish with HP ... maybe 
we can convince them to take more care when naming there files..
... on the other hand maybe someone is happy to implement the needed variables to the 
samba-core?? :)
The moto would be: Power is nothing without control

Simo: Thanks for your answer.

Have a nice day.
Ralf

 -Ursprüngliche Nachricht-
 Von: Simo Sorce [mailto:[EMAIL PROTECTED]]
 Gesendet: Donnerstag, 28. November 2002 11:34
 An: Kätzler, Ralf
 Cc: [EMAIL PROTECTED]
 Betreff: Re: 2nd attempt: Modify location of printerdriverfiles
 
 
 That would change nearly nothnig, because the printer drivers will be
 copyed in the same structure on the client and there you will find the
 same naming problem.
 
 It is a known windows problem (just faces some day ago with 
 drivers for
 2 HP laser printers on a windows 98 :-/)
 
 If the Printer Manufacturer tell you so she is both right an wrong.
 
 Right it is an OS problem, A windows OS problem.
 
 Wrong the manufacter must know this issue and try not to make drivers
 with overlapping names.
 
 
 However you may try just a workaround. If any of your clients will use
 only one printer, you may try some symlink + macro expansion tricks to
 use different directories, but it may not work or corrupt badly your
 printer settings and prnting related tdb file, so at your own risk:
 
 - you may use a macro expansion on the print$ share path and 
 then make a
 number of directories that match that macro expansion
 
 eg:
 path = /usr/share/samba/%G/drivers
 
 and have a pool of printers per group or other parameter.
 
 Simo.
 
 



Re: RE RE: 2nd attempt: Modify location of printerdriverfiles

2002-11-28 Thread Simo Sorce
Uhm not sure either if this will work, but you could try to use %S as
substitution

This way you may have a directory for each printer name ...
of course if you rename a printer you may get into troubles, but it is
unlikely that you like changing printer names every day :-)


Here it is a list of macros you may think to try:

   These substitutions are mostly noted in  the  descriptions
   below,  but  there  are  some  general substitutions which
   apply whenever they might be relevant. These are:

   %S the name of the current service, if any.

   %P the root directory of the current service, if  any.

   %u user name of the current service, if any.

   %g primary group name of %u.

   %U session  user  name  (the user name that the client
  wanted, not necessarily the same as  the  one  they
  got).

   %G primary group name of %U.

   %H the home directory of the user given by %u.

   %v the Samba version.

   %h the Internet hostname that Samba is running on.

   %m the  NetBIOS  name of the client machine (very use-
  ful).

   %L the NetBIOS name of the server. This allows you  to
  change  your  config based on what the client calls
  you. Your server can have a dual personality.

  Note that this  paramater  is  not  available  when
  Samba  listens  on  port  445, as clients no longer
  send this information

   %M the Internet name of the client machine.


   %N the name of your NIS home directory  server.   This
  is  obtained  from  your NIS auto.map entry. If you
  have not compiled Samba with  the  --with-automount
  option then this value will be the same as %L.

   %p the  path of the service's home directory, obtained
  from your NIS  auto.map  entry.  The  NIS  auto.map
  entry is split up as %N:%p.

   %R the selected protocol level after protocol negotia-
  tion. It can be one  of  CORE,  COREPLUS,  LANMAN1,
  LANMAN2 or NT1.

   %d The process id of the current server process.

   %a the  architecture  of the remote machine. Only some
  are recognized, and those may not be 100% reliable.
  It  currently  recognizes Samba, WfWg, Win95, WinNT
  and  Win2k.  Anything  else  will   be   known   as
  UNKNOWN. If it gets it wrong then sending a level
  3 log to [EMAIL PROTECTED]
   URL:mailto:[EMAIL PROTECTED] should allow it to be
  fixed.

   %I The IP address of the client machine.

   %T the current date and time.

   %$(envvar)
  The value of the environment variable envar.

   There are some quite creative things that can be done with
   these substitutions and other smb.conf options.





On Thu, 2002-11-28 at 12:16, Kätzler, Ralf wrote:
 I think the workaround will not work. I can´t predict which user on which machine 
will use which printer.
 Our users have in most case max. two networkprinters connected - for our luck long 
physikal ways prevent the need to connect to more printers.
 We have created a small script which erases all printerrelated registry-entries and 
files on the client.
 A user or admin can run this script and the client is clean for a new 
printer-installation. This way we work around the naming-problem on the client. (The 
users *theoretical* know which printers cannot be installed at the same time).
 Of course this works not on the printserver :)).
 
 If there is no other solution, we have to fight another skirmish with HP ... maybe 
we can convince them to take more care when naming there files..
 ... on the other hand maybe someone is happy to implement the needed variables to 
the samba-core?? :)
 The moto would be: Power is nothing without control
 
 Simo: Thanks for your answer.
 
 Have a nice day.
 Ralf
 
  -Ursprüngliche Nachricht-
  Von: Simo Sorce [mailto:[EMAIL PROTECTED]]
  Gesendet: Donnerstag, 28. November 2002 11:34
  An: Kätzler, Ralf
  Cc: [EMAIL PROTECTED]
  Betreff: Re: 2nd attempt: Modify location of printerdriverfiles
  
  
  That would change nearly nothnig, because the printer drivers will be
  copyed in the same structure on the client and there you will find the
  same naming problem.
  
  It is a known windows problem (just faces some day ago with 
  drivers for
  2 HP laser printers on a windows 98 :-/)
  
  If the Printer Manufacturer tell you so she is both right an wrong.
  
  Right it is an OS problem, A windows OS problem.
  
  Wrong the manufacter must know this issue and try not to make drivers
  with overlapping names.
  
  
  However you may try just a workaround. If any of your clients will use
  only one printer, you may try some symlink + macro expansion tricks 

Re: 2nd attempt: Modify location of printerdriverfiles

2002-11-28 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 28 Nov 2002, Kätzler, Ralf wrote:

 I like to use a samba-server as printer-server for about 500 users with
 ~ 40 different printers. The client OS is NT4 or XP. The problem I
 encountered is that there are printerdrivers out there which use for
 different models dlls with the same name but the dlls are not compatible

Can you give more details on how you came up with this conclusion?

 - great!! - ! So only the last installed printer works flawless, because
 the dll for the other model is overwritten during driverinstall. My

This is basically a Windows design flaw which driver manufacturers have to 
very careful with.

 question: Is there a tool, which allows save tempering with the *.tdb,
 to change the path to the driverfiles or to change the behavior to rpc
 getdriverinfo? This way it would be possible to create an own
 driver-directory-structur and all those printerdriver related problems
 are gone...

No.  Not really, but what you would need to do is to modify the 
DRIVER_INFO_3 structure to reflect where you placed the files.

 Calling the printermanufactor is hopeless. The only answer I got is:
 This must be a problem with your OS... thanks for your help. :(

Was this HP?  If so contact me off list.




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/

iD8DBQE95iMjIR7qMdg1EfYRAmkWAJ9zynR81D2ZwbabzanjNkun01J3QACfdYAA
fIhCGZWa/nmZXLFTXUNvA8U=
=9lxJ
-END PGP SIGNATURE-




Re: Encrypted Passwords Restricting Logon Attempts

2002-11-28 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, 27 Nov 2002, Jim Morris wrote:

 Now their corporate headquarters has identified this issue (unlimited 
 login attempts allowed) as the primary violation on a recent security 
 audit of the network in this branch office of the company.  I think 
 they have only given the local MIS guy a few days to achieve compliance.
 
  From a personal standpoint, 3.0 is soon enough.  For the company
 involved, I think they may end up switching to plaintext passwords as a
 temporary solution.  I've had a conversation with them today, and it
 sounds like the local guys are willing to do that for the
 short-term.


That's funny!  Switching to plain text passwords to be in compliance with 
a security audit :-)  I'm choking on the irony of it all!




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/

iD8DBQE95iQMIR7qMdg1EfYRAgZVAJ4mckVPwZGbpTwhz5jZ8mCO4koxiACg7KcZ
lyOdKNmyK3kjYpNcq9ZNr+w=
=qQcu
-END PGP SIGNATURE-




RE: tracking user logins

2002-11-28 Thread Boyce, Nick
On Wednesday, November 27, 2002, at 19:55  PM, Jim Morris wrote:

 I must say that I know of no NT/2000 option to allow only login from 
 one client PC, although I recall Netware having such an option.

Agreed again.  (I think you meant something different from the facility John
Terpestra referred to - on NT/2K you can specify which machines, perhaps
only one, that a user account can use, but you can't specify Maximum number
of concurrent sessions; on Netware you can do both.)

 Giving the growing presence of Samba in the large enterprise, with more 
 and more companies becoming security conscious as time goes forward, we 
 are going to hit these type issues more and more.

Mmm.  I've only *just* managed to demonstrate to the Powers-That-Be around
here the full horror of an unswitched LAN with unencrypted passwords and a
sniffer ... so _now_ changes are underway.   Password encryption *with*
failed login tallying *will* be part of security policy ..

 ... What is needed is an examination of the various 
 security policies that can be setup in an NT/2000 Server environment, 
 so that a list of such items that are appropriate to a Samba 
 environment can be built.  

I'd just like to add a vote for another item for this list - something which
can be done on Netware, VMS, and on some Unixen, but not NT/2K (AFAIK) -
allow a password expiry grace period to be configured if desired - a
period of time after a password has expired, during which a user account can
still login but is forced straight into a password-change dialog.  This
allows for those occasions when (e.g.) someone is away for a whole month,
during which their password expires.

 ...  I would be glad to help in this effort in any way I can, 
 including documentation and code.

Likewise, but only for documentation ..

Nick Boyce
EDS Southwest Solution Centre, Bristol, UK



Re: tracking user logins

2002-11-28 Thread Jim Morris
On Thursday, November 28, 2002, at 08:36  AM, Boyce, Nick wrote:


Agreed again.  (I think you meant something different from the 
facility John
Terpestra referred to - on NT/2K you can specify which machines, 
perhaps
only one, that a user account can use, but you can't specify Maximum 
number
of concurrent sessions; on Netware you can do both.)

Yes - what I was talking about, and the original poster in this thread, 
was restricting the NUMBER of logons, not necessarily where the logons 
come from.

Mmm.  I've only *just* managed to demonstrate to the Powers-That-Be 
around
here the full horror of an unswitched LAN with unencrypted passwords 
and a
sniffer ... so _now_ changes are underway.   Password encryption *with*
failed login tallying *will* be part of security policy ..

Well - sounds like you are going to put yourself into the same 
situation I have been talking about in the thread 'Encrypted Passwords 
 Restricting Logon Attempts' over the past day or so.  If you have 
followed that thread, you know that there is no way to do the tallying 
with current versions of Samba.  I implemented PAM support for the 
company I am consulting for in order to expire passwords every 60 days 
- PAM allows for no grace period, but does allow for a warning period. 
During the logon script execution on the PC's, I implemented a process 
to throw up the user's web browser if they are within that warning 
period, prior to expiration. They are given a change to go to a web 
page and change their Samba password, or told that they can do it 
through the Windows Control Panel as well. I would have just invoked 
the Control Panel option to change passwords, but did not know how to 
do so. Plus, there are Win95/98/NT/2000 boxes to support, and each one 
has a different way to set the Windows networking password.

... What is needed is an examination of the various
security policies that can be setup in an NT/2000 Server environment,
so that a list of such items that are appropriate to a Samba
environment can be built.


I'd just like to add a vote for another item for this list - something 
which
can be done on Netware, VMS, and on some Unixen, but not NT/2K (AFAIK) 
-
allow a password expiry grace period to be configured if desired - a
period of time after a password has expired, during which a user 
account can
still login but is forced straight into a password-change dialog.  This
allows for those occasions when (e.g.) someone is away for a whole 
month,
during which their password expires.

That sounds great. Right now, the problem they are having is that many 
PC's are left on for days or weeks at a time. Or people will be on 
vacation when  their password expires. So in those cases, they suddenly 
loose access to network resources, without seeing the expiration 
warning, since that is only displayed during the logon process.  
Having a chance to change the password on the next logon after it 
expires would be great. PAM won't give me this flexibility right now.
 --
Jim Morris ([EMAIL PROTECTED])



Re: Smb passwords 8 chars

2002-11-28 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 28 Nov 2002, Olaf Flebbe wrote:

 A samba server with encrypted paawords on Solaris8 does not correctly
 handle passwords containing more than eight characters. A local
 smbclient can correctly handle this situation, but NT 4.0 and W2K cannot
 connect to a share protected with encrypted password 9 chars long. The
 newly ported LynxOS Server shows the same problem ;-)
 

Make sure REPLACE_GETPASS is defined in config.h.  I tested this on 
Solaris 8 prior to release and everything was working fine.




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/

iD8DBQE95iRrIR7qMdg1EfYRAjVtAJ43/SJUdfNMX5RIEgjMMfiHjsnFdACdGZCn
kIbA7CJxUJG89M2hzVyJ/Z0=
=UE/f
-END PGP SIGNATURE-




Re: Smb passwords 8 chars

2002-11-28 Thread Olaf Flebbe


Make sure REPLACE_GETPASS is defined in config.h.  I tested this on 
Solaris 8 prior to release and everything was working fine.




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/

iD8DBQE95iRrIR7qMdg1EfYRAjVtAJ43/SJUdfNMX5RIEgjMMfiHjsnFdACdGZCn
kIbA7CJxUJG89M2hzVyJ/Z0=
=UE/f
-END PGP SIGNATURE-

OH forgive me... The solaris server I tested was 2.2.4. And yes, it works 
correctly with 2.2.7.

I tried the REPLACE_GETPASS with lynxos, and it seems to work now. Thank you 
very much.


Olaf

--
  Dr. Olaf FlebbePhone +49 (0)7071-9457-254
  Software Solutions FAX   +49 (0)7071-9457-211
  science + computing ag
  Hagellocher Weg 73-75
  D-72070 TuebingenEmail: [EMAIL PROTECTED]

  The amount of work to be done increases in proportion to the
  amount of work already completed.




Re: samba on lynxos 3.0

2002-11-28 Thread Olaf Flebbe


Unfortunatly there is no crypt() available on Lynxos. So you have to
work around this issue somehow.


With a little work, you can probably port the FreeBSD version of crypt.c to
your system. The FreeBSD license should not give you any problems.


Hi,

The freebsd sources are not particulary useful because the DES algorithm seems 
to be missing in libcrypt. Anyway, I used the fcrypt.c from the libdes package.

Olaf

--
  Dr. Olaf FlebbePhone +49 (0)7071-9457-254
  Software Solutions FAX   +49 (0)7071-9457-211
  science + computing ag
  Hagellocher Weg 73-75
  D-72070 TuebingenEmail: [EMAIL PROTECTED]

  The amount of work to be done increases in proportion to the
  amount of work already completed.




Re: spoolname smbprn.XXXXXX.aaaaaa

2002-11-28 Thread jra
On Thu, Nov 28, 2002 at 09:27:08AM +0100, Schmieg Friedemann wrote:
 Hello There,
 
 since a samba update from 2.0.5. to 2.2.5 (AIX)  we have new spooling names
 like smbprn.XX.aa instead of the previous NT file name. We are
 printing in a shell for creating pdf - files and after that we are searching
 for the master document in our PDM system to check in the pdf as a scondary
 file format. But of course with the new spool file name we lost all
 information about the file and can't identify it any more in the database.
 
 Is there a way to get the old filename back? We kept the smb.conf unchanged.

The NT filename is still being stored in the printing tdb, but
isn't exposed to the filesystem I'm afraid. You'd need to hack
the printing/printing.c source to do this, sorry.

Jeremy.



DOMAIN SID

2002-11-28 Thread gnu_is_not_unix
Hi !

Where the DOMAIN SID is stored when the LDAP backend is used ?

greetz
boka

---
Hackman i De Vito poka Ci, co znaczy prawdziwa mio... do pienidzy!
SKOK w kinach - od 29 listopada  http://film.wp.pl/p/film.html?id=1782 





Kerberos login sniffer and cracker for Windows 2000/XP (fwd)

2002-11-28 Thread Achim Dreyer
Hy,

This could be useful. Haven't tried it thou'..


Regards,
Achim Dreyer

--
A. Dreyer, Senior SysAdmin (UNIXNetwork) / Internet Security Consultant


-- Forwarded message --
Date: Thu, 28 Nov 2002 07:06:15 +0100
From: Arne Vidstrom [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Kerberos login sniffer and cracker for Windows 2000/XP

Hi all,

I've coded a simple Kerberos login sniffer and cracker for Windows 2000/XP
that you might find useful. You can find it for download at:

http://ntsecurity.nu/toolbox/kerbcrack/

Regards /Arne





Re: unsubscribe me please

2002-11-28 Thread Rafal Szczesniak
On Thu, Nov 28, 2002 at 05:44:21PM +0100, [EMAIL PROTECTED] wrote:
 
 unsubscribe me please

You can easily do it yourself using web interface at
http://lists.samba.org if you don't like doing it via email.


-- 
cheers,
++
|Rafal 'Mimir' Szczesniak [EMAIL PROTECTED]   |
|*BSD, GNU/Linux and Samba  /
|__/



RE: Samba 3.0 alpha 20 problem with timegm-mktime() on HP-UX

2002-11-28 Thread Andrew Bartlett
On Thu, 2002-11-28 at 11:17, [EMAIL PROTECTED] wrote:
 I have already included a fix for this which you could try. See previous
 e-mail to Andrew and samba-technical attached. Hopefully this will be
 adopted as a fix at some stage.

I got tridge to have a look at that patch, and he did some work on a
replacement.  (He didn't see exactly what it was trying to do).  What
was more interesting was seeing his IRC comments while coding a
replacement...  It seems POSIX is quite brain-dead in this area -
ignoring daylight savings, normalising the time struct, and generally
being 'helpful' :-).  (Of course, GMT is never on daylight savings).

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



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


Re: unsubscribe me please

2002-11-28 Thread Marcus Grando

View mail headers.

List-Unsubscribe: 
http://lists.samba.org/mailman/listinfo/samba-technical,
mailto:[EMAIL PROTECTED]?subject=unsubscribe

Regards

On Thu, 28 Nov 2002 [EMAIL PROTECTED] wrote:

 
 unsubscribe me please
 
 

-- 
Marcus Grando
marcus at big dot univali dot br
marcus at sbh dot eng dot br




2nd attempt: Modify location of printerdriverfiles

2002-11-28 Thread Kurt Pfeifle


Message: 2 


Subject: 2nd attempt: Modify location of printerdriverfiles 
Date: Thu, 28 Nov 2002 11:21:47 +0100 
From:  [EMAIL PROTECTED]
To: [EMAIL PROTECTED] 


Hi! Maybe this time someone can give me a hint - or is my english that 
bad - so that nobody can catch the point - or my question is posted to 
the false list? Please each answer is welcome! Thank you!



Hello, Samba-Team, hello samba-freaks!

My question/problem:
I like to use a samba-server as printer-server for about 500 users
with ~ 40 different printers.
The client OS is NT4 or XP. The problem I encountered is that there are
printerdrivers out there which use for different models dlls with the
same name but the dlls are not compatible - great!! - ! So only the

last installed printer works flawless, because the dll for the other
model is overwritten during

driverinstall.



My question: Is there a tool, which allows save tempering with the
*.tdb, to change the path to the driverfiles or to change the behavior
to rpc getdriverinfo?



This way it would be possible to create an own
driver-directory-structur and all those printerdriver related problems
are gone...




Greetings
Ralf



Btw.: Redhat 8.0 and latest Samba.
Calling the printermanufactor is hopeless. The only answer I got is: =
This must be a problem  with your OS... thanks for your help.  [:(] 

Greetings
Ralf


Hi, Ralf,

may I suggest a radically different approach to your problem?

* Let the Windows Clients use a PostScript driver, to produce
  PostScript as their print output sent towards the Samba print
  server (just like any Linux or Unix Client would also use
  PostScript to send to the server...)

* make the Unix printing subsystem which is underneath Samba
  convert the incoming PostScript files to the native print
  format of the target printers (would likely be PCL?
  I understand you have mainly HP models?)

* You're afraid, that this would just mean a *Generic* PostScript
  driver for the clients? With no Simplex/Duplex selection,
  no paper tray choice? But you need them to be able to set up
  their jobs, ringing all the bells and whistles of the printers?

  -- Not possible with traditional spooling systems!

  -- But perfectly supported by CUPS (which uses PPD files to
  describe how to control the print options for PostScript and
  non-PostScript devices alike...

  CUPS PPDs are working perfectly on Windows
  clients who use Adobe PostScript drivers (or the new CUPS
  PostScript driver for Windows NT/2K/XP). Clients can use
  them to setup the job to their liking and CUPS will use
  the received job options to make the (PCL-, ESC/P- or
  PostScript-) printer behave as required.

* You want to have the additional benefit of page count logging
  and accounting? In this case the CUPS PostScript driver
  is the best choice (better than the Adobe one).

* You want to make the drivers downloadable for the clients?
  cupsaddsmb is your friend. It will setup the [print$]
  share on the Samba host to be ready to serve the clients
  for a point and print driver installation...

What strings are attached?, I hear you asking...

You are right, there are some. But, given the sheer CPU power
you can buy nowadays in German supermarkets, these can be
overcome easily.

The strings: Well, if the
CUPS/Samba side will have to print a *lot* onto 40 printers
serving 500 users, you probably will need to set up a second
server (which can do automatic load balancing with the first
one, plus a degree of fail-over mechanism). Converting the
incoming PostScript jobs, interpreting them for
non-PostScript printers, amounts to the work of a RIP
(Raster Image Processor) done in software. This requires
more CPU and RAM than for the mere raw spooling task
your current setup is solving... It all depends on the
avarage and peak printing load the server should be
able to handle

If you want, I can point you to or give you more more
info in private mail.

Cheers,
Kurt




Re: DOMAIN SID

2002-11-28 Thread Bradley W. Langhorst
On Thu, 2002-11-28 at 11:38, [EMAIL PROTECTED] wrote:
 Hi !
 
 Where the DOMAIN SID is stored when the LDAP backend is used ?
 
it's in one of the tdb files...
if you put a text file MACHINE.SID in your conf area it still gets
imported (if i remember correctly)

brad
-- 
Bradley W. Langhorst [EMAIL PROTECTED]




Re: [PATCH] add 'modules path' and handle 'configure --with-configdir' right

2002-11-28 Thread Jelmer Vernooij
On Tue, Nov 26, 2002 at 08:06:07AM +0100, Stefan (metze) Metzmacher wrote about 'Re: 
[PATCH] add 'modules path' and handle 'configure --with-configdir' right':
 here's the next version of the patch. (it's now attached :-)

I've applied a part of your patch, but I'm waiting with the
lp_modules_dir() stuff until we've resolved the problems around the
new module system - the loading of charset modules and ab's comments.

 I added --with-sambadatadir  witch is default ${datadir}/samba (--with-fhs) 
 or ${datadir}
 ${datadir} is ${prefix}/share by default, so $(sambadatadir) is 
 ${prefix}/share/samba or ${prefix}/share.

 the valid.dat ... files are now installed to sambadatadir

 I'm happy with this patch, but NOT with the name 'sambadatadir' DOES 
 ANYBODY HAVE ABETTER IDEA?
Need a new capslock key? ;-) Would the name datadir be ok to you - is
there anyone who has problems with putting the *.dat files not in the 
libdir ?

How's your winsdb stuff btw?

Jelmer



msg04706/pgp0.pgp
Description: PGP signature


Re: DOMAIN SID

2002-11-28 Thread Rafal Szczesniak
On Thu, Nov 28, 2002 at 01:23:31PM -0500, Bradley W. Langhorst wrote:
 On Thu, 2002-11-28 at 11:38, [EMAIL PROTECTED] wrote:
  Hi !
  
  Where the DOMAIN SID is stored when the LDAP backend is used ?
  
 it's in one of the tdb files...

secrets.tdb, namely.


-- 
cheers,
++
|Rafal 'Mimir' Szczesniak [EMAIL PROTECTED]   |
|*BSD, GNU/Linux and Samba  /
|__/



Porting guide Samba 2.2.x - 3.0

2002-11-28 Thread Rainer Link
Folks,

unfortunately I wasn't able to follow the 3.0 development nor this ML 
very closely. Does a porting guide from 2.2.x to 3.0 exist?

I've just discovered that the following code

void send_message(pstring msg) {
[..]
unix_to_dos(msg);

len = strlen(msg);

if (!cli_message_start(cli, remote_machine, username, grp_id)) {
DEBUG(0,(message start: %s, cli_errstr(cli)));
return;
}
[..]

does not compile anymore with Samba 3.0 alpha 20, as the unix_to_dos 
function seems to be removed. Any equivalent available?

Thanks!

best regards,
Rainer Link
OpenAntiVirus.org



Re: DOMAIN SID

2002-11-28 Thread Andrew Bartlett
On Fri, 2002-11-29 at 05:23, Bradley W. Langhorst wrote:
 On Thu, 2002-11-28 at 11:38, [EMAIL PROTECTED] wrote:
  Hi !
  
  Where the DOMAIN SID is stored when the LDAP backend is used ?
  
 it's in one of the tdb files...

Just as a note - it has been proposed that in Samba HEAD we should store
it in LDAP - I would like to see a 'domain' record that contains things
like this, account policies - so we don't need to worry about TDBs for
basic PDC/BDC operation.

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



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


CVS update: samba/source

2002-11-28 Thread jelmer

Date:   Thu Nov 28 14:26:32 2002
Author: jelmer

Update of /home/cvs/samba/source
In directory dp.samba.org:/tmp/cvs-serv17630

Modified Files:
Makefile.in 
Log Message:

Add PDBLIBDIR, just like VFSLIBDIR


Revisions:
Makefile.in 1.582 = 1.583
http://www.samba.org/cgi-bin/cvsweb/samba/source/Makefile.in?r1=1.582r2=1.583



  1   2   >