[Samba] Changing machine password

2002-10-03 Thread Pavel Stulik

Hello,

does somebody know what process/software is responsible for changing 
machine password during the process of adding a machine to a domain. 
This one come to chnaging smbpasswd fron NO PASSWORDXX to actual value.

Thanks

Pavel

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



[Samba] Question regarding the possibility of W2K smartcard logon

2002-10-03 Thread Elek Jzsef

Hi!

I could not find any documentation about the possibility of W2K
smartcard-based logon using Samba as a PDC (no MS on the logon server side).
Is it possible?

If yes:
Is it possible in case of MS CA only? Can I use any other (third party) CAs?
Where can I find usable documentation for this?

If not:
Is the following configuration can work: W2K server acting as a PDC (for
performing smartcard-based logons and running the MS CA) and a Samba acting
as a file/printer server for the domain? In this case it would be
interesting if I can use a third party CA for W2K domain logon - but it is
not the question of this list. :)

Any piece of information can help. Thank you in advance,

Elek Jozsef
System Engineer
Kopint-Datorg Rt., Hungary

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



[Samba] SWAT could not start

2002-10-03 Thread Stepen Liu

Hi All Folks,

RH7.3

I could not start 'swat' on Konsole window

# swat
-

It hanged there.  I also tried after having Samba started with the same 
result

# rpm -qa | grep samba-swat
samba-swat-2.2.3a-6

It was there.  I have re-installed it from RH CD with no improvement

Kindly help

Stephen Liu


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



[Samba] WinXP Rotate Photo function do not work on Samba server

2002-10-03 Thread Jesse Mok

Dear all,

I put all my photo to the Samba Server and everything works fine just like,
sometimes better than, my old Win98.
There is a Photo Rotate function comes with WinXP File Explorer.
(You may rotate your JPG without changing the file modify date and meta
data.)
This function does not work when the photo is stored in the Samba.
When I do that, the WinXP will tell me the Photo File is Read only but I
have checked it is not.
I have tested the function is work when the photo is stored in another Win98
on the network.

Jesse


__

Scott Wilson Ltd celebrates its 50th year in Hong Kong!

This e-mail and any attachments to it are intended only for the party to
whom they are addressed. They may contain privileged and/or confidential
information. If you have received this transmission in error please notify
the sender immediately and delete any digital copies and destroy any paper
copies. Thank you.

Scott Wilson accepts no contractual liabilities or commitments arising from
this e-mail unless subsequently confirmed by fax or letter or as an e-mail
attachment giving company name, address, registration number and authorized
signatory.
__


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



[Samba] Samba Winbind Problem - Permissions?

2002-10-03 Thread Gareth Davies

I'm having some problems with Samba and Winbind (Debian 3.0 Samba 2.2.5)

I've got winbind working pretty much as it should be I think, all the wbinfo
commands work fine and and I can login to the local machine using a domain
login/password but it says no HOME directory even when there is one.

I've set the home directory chown my domain user and 'Domain Users' group.

I can see it in Network Neighbourhood but when I try and access it it says
incorrect password or unknown username and prompts me for a username
password.

I've set up 3 shares, public, temp and IT.

With public public = yes and write list = 'DOMAIN+Domain users' I can view,
browse, read and write.

With Temp it's set to just public = yes and I can't write to it.

With the IT share it's set to public = no and write list = 'Domain+IT' and
I can view it but can't write to it.

If I right click and view properties on all the folders they show up
correctly, IT is a valid group and shows up in wbinfo -g and I am a member.

I am getting these error messages:

[2003/10/02 12:20:40, 0] passdb/pdb_smbpasswd.c:pdb_getsampwrid(1416)
  unable to open passdb database.
[2003/10/02 12:20:43, 0] passdb/pdb_smbpasswd.c:pdb_getsampwrid(1416)
  unable to open passdb database.
[2003/10/02 12:30:42, 0] passdb/pdb_smbpasswd.c:pdb_getsampwrid(1416)
  unable to open passdb database.
[2003/10/02 16:49:05, 0] lib/username.c:user_in_winbind_group_list(357)
  user_in_winbind_group_list: winbind_lookup_name for group
'WILLOWBROOK+Domain failed.
[2003/10/03 10:12:19, 0] lib/username.c:user_in_winbind_group_list(357)
  user_in_winbind_group_list: winbind_lookup_name for group
'WILLOWBROOK+Domain failed.
[2003/10/03 11:01:07, 0] lib/username.c:user_in_winbind_group_list(357)
  user_in_winbind_group_list: winbind_lookup_name for group 'WILLOWBROOK+IT'
failed.


[2003/10/03 11:01:07, 0] nsswitch/winbindd_sid.c:winbindd_lookupname(90)
  could not find domain entry for domain 'WILLOWBROOK
[2003/10/03 11:01:07, 0] nsswitch/winbindd_group.c:winbindd_getgrnam(211)
  could not get domain sid for domain 'WILLOWBROOK
[2003/10/03 11:01:07, 0] nsswitch/winbindd_group.c:winbindd_getgrnam(211)
  could not get domain sid for domain 'WILLOWBROOK

conf file:

[global]
workgroup = WILLOWBROOK
server string = Debian Samba Server
hosts allow = 192.168.0.0/255.255.0.0 127.0.0.1
log file = /usr/local/samba/var/log.%m
max log size = 50
security = domain
socket options = TCP_NODELAY
local master = no
wins support = no
wins server = 192.168.1.2
dns proxy = no
password server = WILLOWBROOKLI01
 encrypt passwords = yes
map to guest = bad user
winbind uid = 1-65000
winbind gid = 1-65000
template homedir = /home/%D/%U
template shell = /bin/sh
winbind separator = +
winbind enum users = yes
winbind enum groups = yes


# Share Definitions
==
[homes]
 comment = Home Directories
 browseable = no
 writable = yes
 valid users = %S

# This one is useful for people to share files
[Temp]
   comment = Temporary file space
   path = /temp
   read only = no
   public = yes

[IT]
   comment = IT Staff Only
   path = /it
   read only = no
   public = no
   writable = yes
   printable = no
   create mask = 0777
   write list = 'WILLOWBROOK+IT'

[Public]
   comment = Public Stuff
   path = /public
   public = yes
   writable = yes
   printable = no
   write list = 'WILLOWBROOK+Domain Users'

nt acl support = true


Any ideas what I'm doing wrong?

I guess it must be something fairly simple.

TIA

Gareth Davies - IT Systems
WB Ltd.

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



RE: [Samba] valid users and groups with winbind

2002-10-03 Thread Wieprecht, Karen M.

Andrew,

I was having the same problem with getting groups to work,  so I
tried your solution,  but can't get it to work either.  

1. I set up a read only share,  made sure I didn't have write access.

2. I added 

write list = WALNETNT_karen
 
   and verified that I now had write access.

3. I then changed the write list to give write access to the whole domain
users group 
   (which karen is a member of),   but I no longer had
   write permission ...  I tried all of the following,  
   but none seemed to work: 

write list = 'domain\domain users'  
write list = 'domain\Domain Users'  (case sensitivity check)
write list = 'WALNETNT\Domain Users' (maybe you meant for me to use
my domain name?)
write list = 'WALNETNT_Domain Users' (My winbind separator is _
... Use this?)
write list = 'domain_Domain Users'  
write list = ''domain_domain users' 

I didn't try taking the quotes off,  I didn't think UNIX would deal with the
space in the domain group name very well.  I logged off and back on as
various domain users while testing this to make sure the permissions weren't
being cached on the client PC.  I'm obviously missing something here,
perhaps you can shed some light?  

Thanks,

Karen Wieprecht

-Original Message-
From: Andrew Bartlett [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, September 26, 2002 7:10 PM
To: Michael MacIsaac
Cc: [EMAIL PROTECTED]
Subject: Re: [Samba] valid users and groups with winbind


Michael MacIsaac wrote:
 
 Hi,
 
 Just starting on this list.
 
 I have samba (2.2.5a) on Linux/s390 and winbind authenticating and 
 providing shares. I add the global to smb.conf:
 
   valid users = '@Domain Users'

Winbind groups start with DOMAIN\, and as a quirk, don't need the @ prefix.

So valid users = 'domain\domain users' should do what you want.

Andrew Bartlett

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



[Samba] Autoreply to samba digest, Vol 1 #1684 - 24 msgs

2002-10-03 Thread samba

Vielen Dank für Ihre e-mail.

Da ich vom 30.09.-06.10 in Urlaub bin, kann ich sie leider erst danach bearbeiten bzw. 
beantworten.

In dringenden Fällen, können Sie sich gerne an meinen Kollegen Herrn Lamotte wenden. 
Er hat die email-Adresse [EMAIL PROTECTED] und ist telefonisch unter 
07142/596-152 zu erreichen.

Mit freundlichen Grüßen

Michael Müller

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



[Samba] smbstatus

2002-10-03 Thread Kenneth Illingsworth

I believe that I have got the section of Using Samba, section 2.5.1 Starting the 
Daemons by Hand down. It appears that I am going to have to find a way to start 
memorizing all of the paths administrators typically visit. I am also gaining a 
comfort level with VI, but it still drives me nuts.

I am having trouble when I try the smbstatus utility. I am struggling with the 
following error:

[root@cofr3 /etc]# ssmmbbssttaattuuss

connections.tdb not initialised

There is no specific man entry for connections.tdb, and I have not found it anywhere 
else I have looked. Perhaps you have some insight. Thanks in advance for your time.


[root@cofr3 samba]# tteessttppaarrmm

Load smb config files from /etc/samba/smb.conf
Processing section [homes]
Processing section [printers]
Loaded services file OK.
Press enter to see a dump of your service definitions


# Global parameters
[global]
coding system =
client code page = 850
code page directory = /etc/codepages
workgroup = COFRNY.GOV
netbios name = MYSQL
netbios aliases =
netbios scope =
server string = Samba Server sharing MySQL DB.
interfaces =
bind interfaces only = No
security = USER
encrypt passwords = No
update encrypted = No
allow trusted domains = Yes
hosts equiv =
min passwd length = 5
map to guest = Never
null passwords = No
password server =
smb passwd file = /etc/samba/smbpasswd
root directory =
passwd program = /bin/passwd
passwd chat = *new*password* %n\n *new*password* %n\n *changed*
passwd chat debug = No
username map =
password level = 0
username level = 0
unix password sync = No
restrict anonymous = No
lanman auth = Yes
use rhosts = No
log level = 2
syslog = 1
syslog only = No
log file = /var/log/samba/log.%m
max log size = 50
timestamp logs = Yes
debug hires timestamp = No
debug pid = No
debug uid = No
protocol = NT1
min protocol = CORE
read bmpx = No
read raw = Yes
write raw = Yes
nt smb support = Yes
nt pipe support = Yes
nt acl support = Yes
announce version = 4.5
announce as = NT
max mux = 50
max xmit = 65535
name resolve order = wins lmhosts bcast
max packet = 65535
max ttl = 259200
max wins ttl = 518400
min wins ttl = 21600
time server = No
change notify timeout = 60
deadtime = 0
getwd cache = Yes
keepalive = 300
lpq cache time = 10
max smbd processes = 0
max disk size = 0
max open files = 1
read size = 16384
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
stat cache size = 50
total print jobs = 0
load printers = Yes
printcap name = /etc/printcap
enumports command =
addprinter command =
deleteprinter command =
show add printer wizard = Yes
os2 driver map =
strip dot = No
character set =
mangled stack = 50
stat cache = Yes
domain groups =
domain admin group =
domain guest group =
domain admin users =
domain guest users =
machine password timeout = 604800
add user script =
delete user script =
logon script =
logon path = \\%N\%U\profile
logon drive =
logon home = \\%N\%U
domain logons = No
os level = 20
lm announce = Auto
lm interval = 60
preferred master = True
local master = Yes
domain master = True
browse list = Yes
dns proxy = Yes
wins proxy = No
wins server = 172.16.0.121
wins support = No
wins hook =
kernel oplocks = Yes
oplock break wait time = 0
add share command =
change share command =
delete share command =
config file =
preload =
lock dir = /var/lock/samba
utmp dir =
wtmp dir =
utmp hostname = %m
utmp consolidate = No
default service =
message command =
dfree command =
valid chars =
remote announce =
remote browse sync =
socket address = 0.0.0.0
homedir map =
time offset = 0
unix realname = Yes
NIS homedir = No
source environment =
panic action =
hide local users = No
host msdfs = No
winbind uid =
winbind gid =
template homedir = /home/%D/%U
template shell = /bin/false
winbind separator = \
winbind cache time = 15
comment =
path =
alternate permissions = No
username =
guest account = 

[Samba] RESPOND-EFAX/Payong Gig

2002-10-03 Thread Ruben Safir

I'm using efax and faxlpr to send faxes from the Windows computers.
I need to hire someone to hack RESPOND to create a nice Cover Letter with
inforamation in it about each user.

Can someone do this hack?


Ruben
-- 
__

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

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

1-718-382-5752



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



[Samba] HOME share behavior

2002-10-03 Thread Hall, Ken (ECSS)

I have a [homes] share with a group of users.  One of them is greg.

When administrator matt tries to map a share like so:

net use \\server\greg h:

(I might not have the syntax exactly right, it's been a while.)

The function succeeds, but the share actually mapped is MATT's home directory 
(\\server\matt, not greg.

Is this normal behavior for the homes share?

This is Samba 2.2.0 a on SuSE Linux on S/390.

Thanks.

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



[Samba] File corruption with write cache enabled - patch included

2002-10-03 Thread Rasmus Borup Hansen

I recently found out that write caching in samba sometimes leads to
file corruption (the setup program for Sophos Antivirus generates
corrupted files when making a central installation on a Samba
share).

This morning I tracked down the place in the Samba code that leads to
corruption. Here is what happened to me:

write cache size is 8192 bytes. A client opens a new file and writes
byte no. 30959. This byte is cached. Then the program write byte
no. 61919 which is written directly to the disk, since the cache
doesn't go that far. The client then writes bytes no. 0 through
61920. Since these bytes don't fit into the cache they are written
directly to the disk. However, the cached byte at position 30959 is
not discarded. When this byte is later written to the disk, the file
will get corrupted.

The patch below detects this situation and discards the cached
byte(s). I guess that some profiling code should also be added at some
time. The patch is against version 2.2.5.

Perhaps you should warn users of current versions against using write
caching.

I believe that this bug is the same as bug no. 24502 submitted by
Henrik Qwinto [EMAIL PROTECTED].

Best regards, and thank you for making Samba,

Rasmus

-- 
Rasmus Borup Hansen, system adm. Email: [EMAIL PROTECTED]
Institute for Mathematical Sciences  Phone: +45 353 20759
Universitetsparken 5 Cell phone: +45 20829308
DK-2100 Ø, Denmark   Office: E208


--- samba-2.2.5/source/smbd/fileio.c.orig   Thu Oct  3 10:41:36 2002
+++ samba-2.2.5/source/smbd/fileio.cThu Oct  3 12:45:14 2002
@@ -438,7 +438,21 @@
if ( n = wcp-alloc_size  n  wcp-data_size) {
cache_flush_needed = True;
} else {
+
ssize_t ret = real_write_file(fsp, data, pos, n);
+ 
+   /*
+* If the write overlaps the entire
+* cache, then discard the cache.
+*/
+
+   if ( (pos = wcp-offset)  
+(pos + n = wcp-offset + wcp-data_size) ) {
+   DEBUG(9,(discarding invalidated write cache: 
+fd = %d, off=%.0f, size=%u\n,
+fsp-fd, (double)wcp-offset, 
+(unsigned int)wcp-data_size ));
+   wcp-data_size = 0;
+   }
 
DO_PROFILE_INC(writecache_direct_writes);
if (ret == -1)
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Urgent: LDAP showstopper : Solved

2002-10-03 Thread Shekhar

Actually one of the users entry  in LDAP database wasn't complete. Only
posix part was inserted. That's why the problem occured.

Thanks anyway
- Original Message -
From: Shekhar [EMAIL PROTECTED]
To: Samba [EMAIL PROTECTED]
Sent: Thursday, October 03, 2002 1:25 PM
Subject: [Samba] Urgent: LDAP showstopper


 I have a Smaba2.2.5+LDAP Setup
 Many of my newly added users suddenly not able login even I am not able to
 add any new users.
 When I run smbpasswd -D 99 e91255 e91255 it gives the foll o/p.
 This has beame network show-stopper and the users are started complaining.

 TIA
 Shekhar

 [The last few lines may give a hint]
 Initialising global parameters
 params.c:pm_process() - Processing configuration file
/etc/samba/smb.conf
 Processing section [global]
 doing parameter workgroup = FREEDOM
 doing parameter netbios name = CZAR
 handle_netbios_name: set global_myname to: CZAR
 doing parameter server string = File Server
 doing parameter security = USER
 doing parameter encrypt passwords = Yes
 doing parameter min password length = 5
 doing parameter log level = 10
 doing parameter log file = /var/log/samba/%m.log
 doing parameter max log size = 25
 doing parameter socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
 doing parameter logon script = %U.bat
 doing parameter logon drive = h:
 doing parameter logon path =
 doing parameter domain logons = Yes
 doing parameter os level = 80
 doing parameter preferred master = Yes
 doing parameter domain master = Yes
 doing parameter dns proxy = No
 doing parameter admin users = shekhar root
 doing parameter announce as = NT Server
 doing parameter max open files = 2048
 doing parameter oplocks = no
 doing parameter level2 oplocks = no
 doing parameter ldap suffix = dc=viit,dc=edu
 doing parameter ldap admin dn = cn=Manager,dc=viit,dc=edu
 doing parameter domain admin group = @root @admin
 doing parameter ldap server = 127.0.0.1
 doing parameter ldap port = 389
 doing parameter ldap ssl = no
 doing parameter add user script = /scripts/ldap/addmachine %u
 doing parameter passwd program = /scripts/sync %u
 doing parameter passwd chat = *new*password* %n\n *New*password* %n\n
 *Retype*new*password* %n\n *all*
 doing parameter unix password sync = yes
 pm_process() returned Yes
 lp_servicenumber: couldn't find homes
 set_server_role: ROLE_DOMAIN_PDC
 codepage_initialise: client code page = 850
 load_client_codepage: loading codepage 850.
 Adding chars 0x85 0xb7 (l-u = True) (u-l = True)
 Adding chars 0xa0 0xb5 (l-u = True) (u-l = True)
 Adding chars 0x83 0xb6 (l-u = True) (u-l = True)
 Adding chars 0xc6 0xc7 (l-u = True) (u-l = True)
 Adding chars 0x84 0x8e (l-u = True) (u-l = True)
 Adding chars 0x86 0x8f (l-u = True) (u-l = True)
 Adding chars 0x91 0x92 (l-u = True) (u-l = True)
 Adding chars 0x87 0x80 (l-u = True) (u-l = True)
 Adding chars 0x8a 0xd4 (l-u = True) (u-l = True)
 Adding chars 0x82 0x90 (l-u = True) (u-l = True)
 Adding chars 0x88 0xd2 (l-u = True) (u-l = True)
 Adding chars 0x89 0xd3 (l-u = True) (u-l = True)
 Adding chars 0x8d 0xde (l-u = True) (u-l = True)
 Adding chars 0xa1 0xd6 (l-u = True) (u-l = True)
 Adding chars 0x8c 0xd7 (l-u = True) (u-l = True)
 Adding chars 0x8b 0xd8 (l-u = True) (u-l = True)
 Adding chars 0xd0 0xd1 (l-u = True) (u-l = True)
 Adding chars 0xa4 0xa5 (l-u = True) (u-l = True)
 Adding chars 0x95 0xe3 (l-u = True) (u-l = True)
 Adding chars 0xa2 0xe0 (l-u = True) (u-l = True)
 Adding chars 0x93 0xe2 (l-u = True) (u-l = True)
 Adding chars 0xe4 0xe5 (l-u = True) (u-l = True)
 Adding chars 0x94 0x99 (l-u = True) (u-l = True)
 Adding chars 0x9b 0x9d (l-u = True) (u-l = True)
 Adding chars 0x97 0xeb (l-u = True) (u-l = True)
 Adding chars 0xa3 0xe9 (l-u = True) (u-l = True)
 Adding chars 0x96 0xea (l-u = True) (u-l = True)
 Adding chars 0x81 0x9a (l-u = True) (u-l = True)
 Adding chars 0xec 0xed (l-u = True) (u-l = True)
 Adding chars 0xe7 0xe8 (l-u = True) (u-l = True)
 Adding chars 0x9c 0x0 (l-u = False) (u-l = False)
 load_dos_unicode_map: 850
 load_unicode_map: loading unicode map for codepage 850.
 load_unix_unicode_map: ISO8859-1 (init_done=0, override=0)
 load_unicode_map: loading unicode map for codepage ISO8859-1.
 tdb(unknown): tdb_brlock failed (fd=3) at offset 4 rw_type=1 lck_type=13
 ldap_open_connection: starting...
 Initializing connection to 127.0.0.1 on port 389
 ldap_open_connection: connection opened
 ldap_connect_system: Binding to ldap server as cn=Manager,dc=viit,dc=edu
 ldap_connect_system: succesful connection to the LDAP server
 ldap_search_one_user: searching
 for:[((uid=e91255)(objectclass=sambaAccount))]
 get_single_attribute: [uid] = [e91255]
 Entry found for user: e91255
 get_single_attribute: [pwdLastSet] = [1033550079]
 get_single_attribute: [logonTime] = [0]
 get_single_attribute: [logoffTime] = [2147483647]
 get_single_attribute: [kickoffTime] = [2147483647]
 get_single_attribute: [pwdCanChange] = [0]
 get_single_attribute: [pwdMustChange] = [2147483647]
 get_single_attribute: 

[Samba] Fw: 'max_four_gig' parameter to normalize to 4GB

2002-10-03 Thread Thomas Bork

Hi all,

sorry for the repost but there was no answer and this is very important
for me and the users of fli4l.

 Hi,

 at first sorry for my bad english...

 I'm working on a little samba package for a routing projekt:

 www.fli4l.de

 This is a router, which runs from a single floppy. For easier use of
 printing functions for Win-Clients and for simple shares my package
 comes with Samba, with an very old version (1.9.18p10). I need this
 old version because she is very small and fits on the floppy.
 New versions of the fli4l-router allow an install on compact flash
and
 hard disk drives.

 The problem is:

 Samba 1.9.18p10 cannot show the real space on big hard disk drives.
 There is only shown 4GB (3,96 GB). The dfree command doesn't solve
 the problem:

 dfree command = /usr/bin/dfree

 #!/bin/sh
 #df $1 | tail -1 | awk '{print $2 $4}'
 set -f
 set -- `/bin/df $1 | sed -n '$p'`
 echo $2 $4

 Here is the output for df and dfree of /dev/hda4:

 router 2.0.4 # df
 Filesystem   1k-blocks  Used Available Use% Mounted on
 /dev/ram  3899  1032  2867  26% /
 /dev/hda263917  5723 58194   9% /opt
 /dev/hda131640  4538 27102  14% /boot
 /dev/hda4  5913931   212   5913719   0%
 /usr/local/data

 router 2.0.4 # dfree /dev/hda4
 5913931 5913719

 This should be a free space of

 5913719 / 1024 / 1024 = 5,63976192474365234375 GB

 W2K, XP, Win9x/Me only showing 3,96 GB - I don't know why.

 With the same Kernelversion, a newer Samba-Version (2.2.5) and the
 same dfree command there are correct outputs (www.eisfair.org).

 I searched the net for a solution and found Samba cvs messages like
 this:

 ***
 smbd/dfree.c: Added 'max_four_gig' parameter to normalize to 4GB when
 asked
   (used to be the default).
 smbd/open.c smbd/reply.c smbd/trans2.c:
   Changed to allow a 4GB volume size to be returned on a
 trans2
 qfsinfo level 1 call. NT clients refuse to do the correct call to
 Samba servers
 (Herb recons it's the unicode bit) - this allows even a level 1 to
 return a
 volume size up to 9444732961341243916800 bytes (should be enough for
 now,
 until we get the unicode support added :-).
 Jeremy.
 ***

 I there a way for me to correct the old version 1.9.18p10 for showing
 the reals free space on big disks? Your help is very appreciated.

 tom

A little bit shorter:

I need a patch for 1.9.18p10 for showing correct free space on big
harddisks (4GB) with or without dfree command. I'm not an expert in C
programming.

Can anybody help me by this?

tom

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



[Samba] samba30alpha20 informations

2002-10-03 Thread Kalkoul Morad


Hi,

I would Like apply policies on XP Pro Clients.  Either with Group policies
or ntconfig.pol . 

It seems that Samba can apply ntconfig.pol to a set of machines. if somebody
does it with XP Pro can it say to me if that goes well or not?
Samba30alpha19 or 20 manages the Group Policies  via Active Directory? If
somebody uses It , Is what that goes well? 


Thanks In Advance for your Help, Mo



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



[Samba] SambaNT4

2002-10-03 Thread Quang Huy



Hi

I am trying to set the samba service up. 

After i edit samba.conf and start the service, i 
could access windowsNT4 clients' resources like files and printer. But when i 
try connecting samba's share from windows clients. 
It fails and keeps saying 
"the network path not found" or 

"C:\net view linuxSystem error 1234 has 
occurred.
No service is operating at the destination network 
endpointon the remote system."
I have triedsomething related to encrypted passwd and checked subnet mask and broadcast 
address. they are the same for samba server and windows clients. when i try 
smbclient -L samba server i can see all the share names of the samba 
server.

I try the following command

nmblookup -B broadcast address windows 
clients's name it is ok
but


nmblookup -B broadcast address samba 
server's name it is not ok

It seems like all the windows workstations in my 
domain do not know the netbios name of the samba server.

Could anybody here could help me solve this problem 
so that i could access shares of the samba server from windows 
clients.

Thanks,

Huy Pham


[Samba] XP user priviledges with Samba

2002-10-03 Thread Jim Durham

I've read the achives, but I'm not finding anything.

On XP, I can give a local user admin priviledges on his/her
local machine when they are logged in to that machine
and not the domain.

How do I do this when they are logged in to the domain,
with Samba as a PDC?

Some programs need to create tmp files that they can not
if the the user does not have admin privs on his/her machine.

Thanks,

Jim Durham

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



Re: [Samba] XP user priviledges with Samba

2002-10-03 Thread Bradley W. Langhorst

On Thu, 2002-10-03 at 11:31, Jim Durham wrote:
 I've read the achives, but I'm not finding anything.
 
 On XP, I can give a local user admin priviledges on his/her
 local machine when they are logged in to that machine
 and not the domain.
 
 How do I do this when they are logged in to the domain,
 with Samba as a PDC?
 
 Some programs need to create tmp files that they can not
 if the the user does not have admin privs on his/her machine.

in samba2 you need to add the domain user to the local admin group.  You
can map a unix group to Domain Admins or Domain Users groups and add
that group to the local admins but you can't have more granularity than
than.

if you don't mind adding the user to local admin on each machine that is
probably the cleanest solution.  

samba3 can handle arbitrary group mapping 

brad

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



Re: [Samba] SWAT could not start -localhost:901

2002-10-03 Thread Stephen Liu

Hi all,

Could not start SWAT

Browser:- Mozilla (also tried Konqueror)

http://locathost:901

Alert !!!
The connection was refused when attempting to contact localhost:901

Kindly advise.  Thanks

Stephen Liu


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



[Samba] Autoreply to samba digest, Vol 1 #1685 - 12 msgs

2002-10-03 Thread samba

Vielen Dank für Ihre e-mail.

Da ich vom 30.09.-06.10 in Urlaub bin, kann ich sie leider erst danach bearbeiten bzw. 
beantworten.

In dringenden Fällen, können Sie sich gerne an meinen Kollegen Herrn Lamotte wenden. 
Er hat die email-Adresse [EMAIL PROTECTED] und ist telefonisch unter 
07142/596-152 zu erreichen.

Mit freundlichen Grüßen

Michael Müller

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



Re: [Samba] SWAT could not start -localhost:901

2002-10-03 Thread Bradley W. Langhorst

On Thu, 2002-10-03 at 11:49, Stephen Liu wrote:
 Hi all,
 
 Could not start SWAT
 
 Browser:- Mozilla (also tried Konqueror)
 
 http://locathost:901
 
 Alert !!!
 The connection was refused when attempting to contact localhost:901
 
 Kindly advise.  Thanks
 
 Stephen Liu
 
well locathost vs. localhost might have something to do with it...
but i think that's just a typo.


you should try running the swat daemon interactively and watch what
happens.

brad

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



RE: [Samba] Autoreply to samba digest, Vol 1 #1685 - 12 msgs

2002-10-03 Thread no-spam . johnnybb

I had the same problem and was fixed. Just open the readme file in the
SWAT folder, and add the needed line to the xinetd file, and then add
the line to the services file that will add port 901 to the table
listing. I did have the same problem and these items fixed it.

Thank You,

John Berry, Owner
Lantex Voice  Data Systems
6093 Horton Dr
La Mesa, Ca 91942
phone 619-690-4428
fax 619-741-6823
[EMAIL PROTECTED] 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of [EMAIL PROTECTED]
Sent: Thursday, October 03, 2002 8:59 AM
To: [EMAIL PROTECTED]
Subject: [Samba] Autoreply to samba digest, Vol 1 #1685 - 12 msgs

Vielen Dank für Ihre e-mail.

Da ich vom 30.09.-06.10 in Urlaub bin, kann ich sie leider erst danach
bearbeiten bzw. beantworten.

In dringenden Fällen, können Sie sich gerne an meinen Kollegen Herrn
Lamotte wenden. Er hat die email-Adresse [EMAIL PROTECTED] und
ist telefonisch unter 07142/596-152 zu erreichen.

Mit freundlichen Grüßen

Michael Müller

G. Umbreit GmbH  Co.KG
-- 
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] Cannot connect WinXP

2002-10-03 Thread Stephen Liu

Hi All

Can't connect WinXP

(Remark:  Group=SEC  WinXP=M40G  
Samba Server=server.ltsp
ipchains stop)

# mount -t smbfs //M40G/Shared /mnt/WinXP/
params.c:Parameter() - Ignoring badly formed line in configuration file: 
127.0.0.1 localhost localhost.localdomain
params.c:Parameter() - Ignoring badly formed line in configuration file: 
192.168.0.1 M40G
params.c:Parameter() - Unexpected end-of-file at: 192.168.0.254 server.ltsp
Error connecting to 218.188.78.190 (Network is unreachable)
3049: Connection to M40G failed
SMB connection failed


# testparm
Load smb config files from /etc/samba/smb.conf
Processing section [test]
params.c:Parameter() - Ignoring badly formed line in configuration file: 
127.0.0.1 localhost localhost.localdomain
params.c:Parameter() - Ignoring badly formed line in configuration file: 
192.168.0.1 M40G
params.c:Parameter() - Unexpected end-of-file at: 192.168.0.254 server.ltsp
Loaded services file OK.


Configure File
===
#/etc/samba/smb.conf
# Samba config file created using SWAT
# from localhost.localdomain (127.0.0.1)
# Date: 2002/08/05 16:52:24

# Global parameters
[global]
workgroup = SEC
security = SHARE
guest account = M40G

[test]
comment = test share
path = /test
writable = yes
browseable = yes
follow symlinks = yes
wide links = yes
public = yes
read only = No
guest ok = Yes
guest only = Yes


# /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost localhost.localdomain
192.168.0.1 M40G
192.168.0.254   server.ltsp

Kindly advise.

Thanks in advance.

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



[Samba] enumports command

2002-10-03 Thread Didier Brison

Hello,

How to use enumports command,
you can define enumports command to point to a program which should
generate a list of ports, one per line, to standard outputWhat does that
mean? Theprogram look like what?

Thanks.

Didier



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



Re: [Samba] SWAT could not start -localhost:901

2002-10-03 Thread Stephen Liu

Hi Bradley,

At 12:15 PM 10/3/2002 -0400, Bradley W. Langhorst wrote:
- snip -
you should try running the swat daemon interactively and watch what
happens.

Kindly advise how to run swat daemon interactively.

Thanks in advance

Stephen



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



[Samba] VSS and Samba

2002-10-03 Thread Calbazana, Al

Hello,

I'd like to set up a working directory on a linux server that is accessible
under Visual Source Safe.  From VSS, I can see the samba share and I can
have users check files out.  However,  Permissions seem to get mangled.  A
situation occurs where users check files out but are unable to check files
back into VSS.  Are there any guidlines for successfully setting up VSS with
Samba?

Thanks,

Al


**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**

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



[Samba] nmbd not starting

2002-10-03 Thread Kenneth Illingsworth

Fortunately I found the log. Here it is:

[2002/10/01 11:40:51, 0] /samba-2.2.3a/source/./nmbd/nmbd.c:main(783)
  Netbios nameserver version 2.2.3a started.
  Copyright Andrew Tridgell and the Samba Team 1994-2002
[2002/10/01 11:40:51, 0, pid=9411, effective(0, 0), real(0, 0)] /samba-2.2.3a/so
urce/./nmbd/nmbd_subnetdb.c:create_subnets(240)
  create_subnets: No local interfaces !
[2002/10/01 11:40:51, 0, pid=9411, effective(0, 0), real(0, 0)] /samba-2.2.3a/so
urce/./nmbd/nmbd.c:main(861)
  ERROR: Failed when creating subnet lists. Exiting.

I entered an interfaces=eth0 statement in the global section of smb.conf and restarted 
both daemons (smbd and nmbd), but this did not help.  Testparm reflects this change 
and one other to the log file name format. Curiously, the old log file name still 
captures the updates.

Thanks in advance for your suggestions.

Regards,
Ken Illingsworth

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



Re: [Samba] RESPOND-EFAX/Payong Gig

2002-10-03 Thread Keith G. Murphy

Ruben Safir wrote:
 I'm using efax and faxlpr to send faxes from the Windows computers.
 I need to hire someone to hack RESPOND to create a nice Cover Letter with
 inforamation in it about each user.
 
 Can someone do this hack?
 
Be prepared for grief.  This guy posted to the Hylafax list a while 
back, saying he needed it for Hylafax.  I responded, we made a deal, I 
started working on it, but when I had questions he stopped responding.

He made another posting on the same list, I wrote to him again, he 
claimed to have lost my E-mails.

Started work again, had questions, turned out he wasn't sure about what 
he was running; I needed more detail, told him what files he needed to 
send me.

Got no response (for weeks) until I saw this posting.

Maybe someone else will have better luck dealing with this guy.

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



Re: [Samba] Cannot connect WinXP

2002-10-03 Thread daniel . jarboe

Do you really have those last few lines in smb.conf instead of 
/etc/hosts?  If so, I'd have a look there first (/etc/hosts and 
/path/to/smb.conf are two different files).

~ Daniel

[EMAIL PROTECTED] wrote:

Hi All

Can't connect WinXP

(Remark:  Group=SEC  WinXP=M40G  
Samba Server=server.ltsp
ipchains stop)

# mount -t smbfs //M40G/Shared /mnt/WinXP/
params.c:Parameter() - Ignoring badly formed line in configuration file: 
127.0.0.1 localhost localhost.localdomain
params.c:Parameter() - Ignoring badly formed line in configuration file: 
192.168.0.1 M40G
params.c:Parameter() - Unexpected end-of-file at: 192.168.0.254 server.ltsp
Error connecting to 218.188.78.190 (Network is unreachable)
3049: Connection to M40G failed
SMB connection failed


# testparm
Load smb config files from /etc/samba/smb.conf
Processing section [test]
params.c:Parameter() - Ignoring badly formed line in configuration file: 
127.0.0.1 localhost localhost.localdomain
params.c:Parameter() - Ignoring badly formed line in configuration file: 
192.168.0.1 M40G
params.c:Parameter() - Unexpected end-of-file at: 192.168.0.254 server.ltsp
Loaded services file OK.


Configure File
===
#/etc/samba/smb.conf
# Samba config file created using SWAT
# from localhost.localdomain (127.0.0.1)
# Date: 2002/08/05 16:52:24

# Global parameters
[global]
workgroup = SEC
security = SHARE
guest account = M40G

[test]
comment = test share
path = /test
writable = yes
browseable = yes
follow symlinks = yes
wide links = yes
public = yes
read only = No
guest ok = Yes
guest only = Yes


# /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost localhost.localdomain
192.168.0.1 M40G
192.168.0.254   server.ltsp

Kindly advise.

Thanks in advance.

Stephen Liu



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



Re: [Samba] Profiles and automatic drive mappings

2002-10-03 Thread John Benedetto

The actual root of this problem is educating your users to put SHORTCUTS on 
their desktop, not the actual files themselves... poor organization of 
files,  if you ask me.

If you don't want to save profiles, turn them off in the smb.conf.

I don't think you CAN turn off the Z: mapping; think 'feature' not bug 
(blame MS).  Why not just change the H: to Z: in the logon file?

- jb

--On Thursday, October 03, 2002 12:01 AM + Aton [EMAIL PROTECTED] 
wrote:

 Hello,

 I have a mixed network of 98 and 2000 machines with RH 7.3 and Samba 2.2.5

 The problem I'm having is my logon scripts contain a drive map to the
 user's home directory:

 net use H: \\server01\dave$

 That works great for the 98 machines, but the 2000 machines map H: and Z:
 to \\server01\dave$ The 2000 machines also write a profile dirctory in
 that share, and copy the entire desktop contents to it each time the user
 logs off. For most of the users, this isn't a problem, but some users
 have a gig of video files on their desktop, and it writing all that crap
 to the sever is not necessary and slow.

 How do I make samba stop automatically mapping Z: as their home
 directory, and how do I make the profile writing to the server stop?

 Thanks,
 Aton

 --
 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] XP user priviledges with Samba

2002-10-03 Thread Jim Durham

On Thursday 03 October 2002 11:39 am, Bradley W. Langhorst wrote:
 On Thu, 2002-10-03 at 11:31, Jim Durham wrote:
  I've read the achives, but I'm not finding anything.
 
  On XP, I can give a local user admin priviledges on his/her
  local machine when they are logged in to that machine
  and not the domain.
 
  How do I do this when they are logged in to the domain,
  with Samba as a PDC?
 
  Some programs need to create tmp files that they can not
  if the the user does not have admin privs on his/her machine.

 in samba2 you need to add the domain user to the local admin group.  You
 can map a unix group to Domain Admins or Domain Users groups and add
 that group to the local admins but you can't have more granularity than
 than.

 if you don't mind adding the user to local admin on each machine that is
 probably the cleanest solution.

 samba3 can handle arbitrary group mapping


A couple of questions: 
  I'm having trouble understanding terminology regarding the group
  that you are referring to. Are you saying to create a new unix group
 called admins and add the user to it? Or is this the local admin group
 on the XP box?

  Would you recommend upgrading to samba 3? I've got another issue
  regarding BDC on a different subnet that doesn't seem to work properly
  with XP and I'm wondering if samba 3 would handle that better. The
  BDC gets its machine ID file and it's smbpasswd, etc/passwd, /etc/master.
 passwd and the password databases from the master, but occasionally
  you suddenly can't log in from the machines on the subnet where the
  BDC lives. I think it's when the network latency between the main
  site and the remote LAN is bad. Killing domain logons on the BDC fixes
  it. Perhaps that  is a reason to consider samba3?

Thanks,
Jim

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



[Samba] security vs domain in configuration file

2002-10-03 Thread murali


Greetings!

When I changed the security = domain in the configuration file, 
from MS windows, I get Access denied those Unix shares. Whereas, 
it works if security = server (shown below)

 security = server
 password server = 10.1.3.15

The Unix Shares are authenticated against NT domain. 

Any help or clues how to debug this? It has been suggested in this 
forum it is better to have domain instead of server. Any reasons for
that..

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



[Samba] Samba HPUX 11.0

2002-10-03 Thread Servicio Administracion HP

Hello,
I need configure samba, my system is HP N4000 with HPUX 11.0
No problem for the installation of samba 2.2.3a 
I have problem with configuration process (I think so), use testparm
and is OK, daemons are up and running.

tvsaha:/etc # testparm
Load smb config files from /opt/samba/lib/smb.conf
Processing section [test]
Global parameter encrypt passwords found in service
section!
Loaded services file OK.
Press enter to see a dump of your service
definitions

tvsaha:/etc # ps -ef |grep mbd |grep -v grep
root 20971 1  0 17:45:10 ? 0:08 nmbd -D
root 20969 1  0 17:45:10 ? 0:00 smbd -D

I have the follow message with smbclient command 

tvsaha:/etc # smbclient -U% -L localhost
added interface ip=133.1.13.30 bcast=133.1.13.31
nmask=255.255.255.240
added interface ip=133.1.12.25 bcast=133.1.12.31
nmask=255.255.255.240
added interface ip=16.1.1.1 bcast=16.1.1.255
nmask=255.255.255.0
Domain=[SIMPLE] OS=[Unix] Server=[Samba 2.2.3a]
tree connect failed: SUCCESS - 0

I use documentacion for linux.  

Thank you.

Rogelio Cuadros

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



RE: [Samba] XP Pro and Samba 3.0-alpha1.9

2002-10-03 Thread Bradley W. Langhorst

On Wed, 2002-10-02 at 09:14, Irving Carrion wrote:
 Not in my case.  The add user script worked in the previous version
 but when I upgraded from Samba 2.2.3a to the latest CVS version it no
 longer worked.  The way I got it working was to use the add machine
 script.  Now it works just fine.  Anyway, try them both -n- see what ya
 get.
those scripts are great for automating things but
if the machine account already exists it's irrelevant...


brad

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



Re: [Samba] nmbd not starting

2002-10-03 Thread linux power

Silly question:
If you type testparm
it tests the /etc/samba/smb.conf file.
If you type testparm /usr/local/samba/lib/smb.conf
which is where samba-2.2.3 allocate the smb.file,
you test the real smb.file.
So if you have had an older version of samba
installed, this could be confusing.




--- Kenneth Illingsworth
[EMAIL PROTECTED] skrev:  Fortunately I
found the log. Here it is:
 
 [2002/10/01 11:40:51, 0]
 /samba-2.2.3a/source/./nmbd/nmbd.c:main(783)
   Netbios nameserver version 2.2.3a started.
   Copyright Andrew Tridgell and the Samba Team
 1994-2002
 [2002/10/01 11:40:51, 0, pid=9411, effective(0, 0),
 real(0, 0)] /samba-2.2.3a/so
 urce/./nmbd/nmbd_subnetdb.c:create_subnets(240)
   create_subnets: No local interfaces !
 [2002/10/01 11:40:51, 0, pid=9411, effective(0, 0),
 real(0, 0)] /samba-2.2.3a/so
 urce/./nmbd/nmbd.c:main(861)
   ERROR: Failed when creating subnet lists. Exiting.
 
 I entered an interfaces=eth0 statement in the global
 section of smb.conf and restarted both daemons (smbd
 and nmbd), but this did not help.  Testparm reflects
 this change and one other to the log file name
 format. Curiously, the old log file name still
 captures the updates.
 
 Thanks in advance for your suggestions.
 
 Regards,
 Ken Illingsworth
 
 --
 To unsubscribe from this list go to the following
 URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba

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



Re: [Samba] RESPOND-EFAX/Payong Gig

2002-10-03 Thread Ruben I Safir

And you said you couldn't do it

On 2002.10.03 12:56 Keith G. Murphy wrote:
 Ruben Safir wrote:
  I'm using efax and faxlpr to send faxes from the Windows computers.
  I need to hire someone to hack RESPOND to create a nice Cover Letter with
  inforamation in it about each user.
  
  Can someone do this hack?
  
 Be prepared for grief.  This guy posted to the Hylafax list a while 
 back, saying he needed it for Hylafax.  I responded, we made a deal, I 
 started working on it, but when I had questions he stopped responding.
 
 He made another posting on the same list, I wrote to him again, he 
 claimed to have lost my E-mails.
 
 Started work again, had questions, turned out he wasn't sure about what 
 he was running; I needed more detail, told him what files he needed to 
 send me.
 
 Got no response (for weeks) until I saw this posting.
 
 Maybe someone else will have better luck dealing with this guy.
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 
-- 
__

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

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

1-718-382-5752



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



Re: [Samba] Can't mount dir as read/write

2002-10-03 Thread David Rosenstrauch

On Thursday 03 October 2002 02:14 pm, linux power wrote:
 Try this.
  smbmount nbgwu5\\upload
 '/home/darose/mnt/nbgwu5'
 -o
 rw,username=crosen,password=*,workgroup=demo



H.  Didn't make a difference.

I did learn something new about the situation though:

I'm able to read and write from the SMB mounted directory as root, but not as 
any other user.  Obviously I'd like to be able to access this as a regular 
user, so I don't have to go root every time I want to write a file to the 
share dir.

Any other suggestions?


Thanks,

DR

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



RE: [Samba] Can't mount dir as read/write

2002-10-03 Thread Clark Rawlins

Try this:
smbmount //nbgwu5/upload /home/darose/mnt/nbgwu5 -o
rw,username=crosen,password=*,workgroup=demo,uid=your_unix_username,gid=
your_unix_group

-Original Message-
From: David Rosenstrauch [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 03, 2002 1:41 PM
To: [EMAIL PROTECTED]
Subject: Re: [Samba] Can't mount dir as read/write


On Thursday 03 October 2002 02:14 pm, linux power wrote:
 Try this.
  smbmount nbgwu5\\upload
 '/home/darose/mnt/nbgwu5'
 -o
 rw,username=crosen,password=*,workgroup=demo



H.  Didn't make a difference.

I did learn something new about the situation though:

I'm able to read and write from the SMB mounted directory as root, but not
as 
any other user.  Obviously I'd like to be able to access this as a regular 
user, so I don't have to go root every time I want to write a file to the 
share dir.

Any other suggestions?


Thanks,

DR

-- 
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] Can't mount dir as read/write

2002-10-03 Thread David Rosenstrauch

On Thursday 03 October 2002 02:47 pm, you wrote:
 Try this:
 smbmount //nbgwu5/upload /home/darose/mnt/nbgwu5 -o
 rw,username=crosen,password=*,workgroup=demo,uid=your_unix_username,gid
= your_unix_group


Whoomp!  There it is!

Thank you much, Clark!


DR

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



[Samba] Print server on all linux network

2002-10-03 Thread Dan Sawyer

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello, everyone - 

I've been trying for two weeks now to get my print server operational under 
Samba.  After walking through the howtos and tweaking the configs per spec, 
it just ain't working.  Printing from a client machine sends, and then 
nothing happens.  No error messages or anything similar.

Printing from the server works fine, but not from the clients.  

Setup: 

4 machine network, 3 clients, 1 samba file/print server
SuSE 7.3 running on all machines.
HP 2P parallel printer on lp0 of server

What else can I tell you to help figure this out?
- -Dan Sawyer
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9nJ7TaB8ur/y6V8gRArm9AJ9rRc8yhDm5Catchqv4SXedOqs5qwCfSWS/
2IayciR10uTYysD/3F24UdE=
=TMQV
-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] Port 139 versus Port 445

2002-10-03 Thread Jason Joines

 I've noticed that my W2K clients connect to Samba much more quickly 
if I run it on port 445 instead of 139.  However, my WNT clients then 
won't connect at all.  I read somewhere that it was possible to forward 
the requests on port 139 to port 445.  Anyone know how to do this or how 
to listen to both ports simultaneously?

Thanks,

Jason Joines
Open Source = Open Mind


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



Re: [Samba] enumports command

2002-10-03 Thread Gerald (Jerry) Carter

On Thu, 3 Oct 2002, Didier Brison wrote:

 How to use enumports command, you can define enumports command to point
 to a program which should generate a list of ports, one per line, to
 standard outputWhat does that mean? Theprogram look like what?


-cut here--
#!/bin/

echo LPT1:
echo LPT2:
echo LPT3:

-cut here--


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



[Samba] Autoreply to samba digest, Vol 1 #1686 - 31 msgs

2002-10-03 Thread samba

Vielen Dank für Ihre e-mail.

Da ich vom 30.09.-06.10 in Urlaub bin, kann ich sie leider erst danach bearbeiten bzw. 
beantworten.

In dringenden Fällen, können Sie sich gerne an meinen Kollegen Herrn Lamotte wenden. 
Er hat die email-Adresse [EMAIL PROTECTED] und ist telefonisch unter 
07142/596-152 zu erreichen.

Mit freundlichen Grüßen

Michael Müller

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



Re: [Samba] RESPOND-EFAX/Payong Gig

2002-10-03 Thread Keith G. Murphy

The only thing I said I couldn't (more like would not/didn't have time 
to) do was make the frontend (Respond) display PostScript.

A quote from your E-mail:

The front end should produce a postscript cover page.

I explained that with Respond/printfax.pl, the backend produces the 
PostScript, but that my Respond replacement could provide a preview of 
the fax.

You did not dispute that, and we continued to correspond for a while, so 
I assumed we were still go on the project.

I basically think that you never had a handle on what software you were 
using or how to express what you wanted.  And you apparently had a poor 
understanding of what I was trying to tell you.

That's the charitable interpretation, anyway.

But why you dropped the whole issue as I continued to try to get the 
information I needed to continue, I'm not sure.

None of this is a capital crime.  But I did find you very difficult to 
(try to) work with, and I think my warning was proper.

Anyway, this list is not the place to continue to discuss this.  Not 
that I want to, or have any desire to continue to (try to) work with you...

Ruben I Safir wrote:
 And you said you couldn't do it
 
 On 2002.10.03 12:56 Keith G. Murphy wrote:
 
Ruben Safir wrote:

I'm using efax and faxlpr to send faxes from the Windows computers.
I need to hire someone to hack RESPOND to create a nice Cover Letter with
inforamation in it about each user.

Can someone do this hack?


Be prepared for grief.  This guy posted to the Hylafax list a while 
back, saying he needed it for Hylafax.  I responded, we made a deal, I 
started working on it, but when I had questions he stopped responding.

He made another posting on the same list, I wrote to him again, he 
claimed to have lost my E-mails.

Started work again, had questions, turned out he wasn't sure about what 
he was running; I needed more detail, told him what files he needed to 
send me.

Got no response (for weeks) until I saw this posting.

Maybe someone else will have better luck dealing with this guy.

-- 
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] Windows XP Authentication

2002-10-03 Thread Jim Durham

On Wednesday 02 October 2002 04:06 am, [EMAIL PROTECTED] wrote:
 Hi

 I am trying to set up a Samba domain for a windows xp network. I have
 followd the instructions regarding setting the /etc/password file to setup
 the pc name. The XP machine then connects to the domain ok. However when we
 reboot and try to log into the domain the system reports that Windows
 cannot connect to the domain because the domain controller is down or
 otherwise inavailable or becuase your computer account was not found.
 The domain is ok with win98 boxes.

It sounds like you didn't put in the xp registry mods ? This is
a tiny little file that you need to execute to get rid of some
crypto issue in the XP logon process that doesn't work with
Samba. I can send it to you if you can't find it.

-Jim

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



Re: [Samba] File corruption with write cache enabled - patch included

2002-10-03 Thread jra

On Thu, Oct 03, 2002 at 12:52:10PM +0200, Rasmus Borup Hansen wrote:
 I recently found out that write caching in samba sometimes leads to
 file corruption (the setup program for Sophos Antivirus generates
 corrupted files when making a central installation on a Samba
 share).
 
 This morning I tracked down the place in the Samba code that leads to
 corruption. Here is what happened to me:
 
 write cache size is 8192 bytes. A client opens a new file and writes
 byte no. 30959. This byte is cached. Then the program write byte
 no. 61919 which is written directly to the disk, since the cache
 doesn't go that far. The client then writes bytes no. 0 through
 61920. Since these bytes don't fit into the cache they are written
 directly to the disk. However, the cached byte at position 30959 is
 not discarded. When this byte is later written to the disk, the file
 will get corrupted.
 
 The patch below detects this situation and discards the cached
 byte(s). I guess that some profiling code should also be added at some
 time. The patch is against version 2.2.5.
 
 Perhaps you should warn users of current versions against using write
 caching.
 
 I believe that this bug is the same as bug no. 24502 submitted by
 Henrik Qwinto [EMAIL PROTECTED].
 
 Best regards, and thank you for making Samba,

Damn good call ! Very good bugfix. I've committed it to all
Samba branches. Thanks a *lot* for this fix !

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



[Samba] XP Client Connects to Print Queue, Sends, Fails to Print

2002-10-03 Thread Kevin Bramblett

Hello everyone,

I am having a problem printing to a Xerox Document Centre 440 ST from XP pro
Clients thru my RedHat Linux 7.2 server running Samba 2.2.3a.

The XP Clients connect successfully to the printer queue, sends the file,
but nothing comes out of the printer.  At least for most XP Clients.  I have
one PC that does print, but that person is also an admin on the Linux box.
I know the PCs connect because I have also seen other peoples' print jobs in
the print queue from the PC that is having trouble.

Here is the printer portion of the Samba printer configuration, if it helps:

[global]
 printcap name = /etc/printcap
 load printers = yes
 printing = lprng
 use client driver = yes

[printers]
 comment = All Printers
 path = /usr/spool/samba
 browseable = yes
 print command = lpr -b -r -h -P%p %s
 writeable = no
 printable = yes
 valid users = TUMS+DOMAIN USERS TUMS+DOMAIN WEBUSERS

How can I fix this problem?  All help is welcomed!

Thanks.
Kevin

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



Re: [Samba] SWAT could not start -localhost:901

2002-10-03 Thread Joel Hammer

This certainly sounds like a firewall problem or a problem with xinetd.
Joel
On Thu, Oct 03, 2002 at 11:49:18PM +0800, Stephen Liu wrote:
 Hi all,
 
 Could not start SWAT
 
 Browser:- Mozilla (also tried Konqueror)
 
 http://locathost:901
 
 Alert !!!
 The connection was refused when attempting to contact localhost:901
 
 Kindly advise.  Thanks
 
 Stephen Liu
 
 
 -- 
 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] Print server on all linux network

2002-10-03 Thread Joel Hammer

Do you understand how printing works with samba?
Essentially, you just transfer the file to the samba spool directory, and
invoke lpr to print the file. You will need to look at your smb.conf file to
see what is supposed to happen. I would set up a share just for your printer
and not rely on the generic printer share that smb.conf comes with.

Here is the sort of printer share I have:
This take a postscript file as input, invokes lpr to print to queue ps on
the server, which translates postscript files for my lexmark printer.

Joel



[ps]
path = /tmp
read only = No
create mask = 0700
guest ok = yes
hosts allow = 192.168.
printable = Yes
printing = lprng
print command = echo %J %p %s/tmp/junkJ;\
   a=`echo '%J' | sed s/^.*- //` ;\
   echo This is truncated $a  /tmp/junkJ;\
   /usr/bin/lpr -Pps  -J$a  %s;\
   rm %s
lpq command = /usr/bin/lpq -Pps
lprm command = /usr/bin/lprm -Pps %j
lppause command = /usr/sbin/lpc hold z53 %j
lpresume command = /usr/sbin/lpc release z53 %j
share modes = No
use client driver = yes 



On Thu, Oct 03, 2002 at 12:47:27PM -0700, Dan Sawyer wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hello, everyone - 
 
 I've been trying for two weeks now to get my print server operational under 
 Samba.  After walking through the howtos and tweaking the configs per spec, 
 it just ain't working.  Printing from a client machine sends, and then 
 nothing happens.  No error messages or anything similar.
 
 Printing from the server works fine, but not from the clients.  
 
 Setup: 
 
 4 machine network, 3 clients, 1 samba file/print server
 SuSE 7.3 running on all machines.
 HP 2P parallel printer on lp0 of server
 
 What else can I tell you to help figure this out?
 - -Dan Sawyer
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.0.6 (GNU/Linux)
 Comment: For info see http://www.gnupg.org
 
 iD8DBQE9nJ7TaB8ur/y6V8gRArm9AJ9rRc8yhDm5Catchqv4SXedOqs5qwCfSWS/
 2IayciR10uTYysD/3F24UdE=
 =TMQV
 -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] Port 139 versus Port 445

2002-10-03 Thread Joel Hammer

Just making all this stuff up off the top of my head.
I have never done this, but you could try:
Running two smbd daemon, each listening to different ports.
Redirecting traffic from port 445 to 139 with some firewall rules. I redirect
traffic with ipmasqadm, but there are surely others.
Running smbd with (x)inetd and have it listen  to both ports.
Likely, the delay is because the W2K clients are waiting for a reply,
and finally timing out on port 445. Why not try something funky like
having telnet or apache listen on port 445. Maybe that will tell the client right
away to try a different port, like 139.
Let us know how this works out, if you try any of this stuff.
Joel

On Thu, Oct 03, 2002 at 03:04:41PM -0500, Jason Joines wrote:
  I've noticed that my W2K clients connect to Samba much more quickly 
 if I run it on port 445 instead of 139.  However, my WNT clients then 
 won't connect at all.  I read somewhere that it was possible to forward 
 the requests on port 139 to port 445.  Anyone know how to do this or how 
 to listen to both ports simultaneously?
 
 Thanks,
 
 Jason Joines
 Open Source = Open Mind
 
 
 -- 
 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] Port 139 versus Port 445

2002-10-03 Thread Joel Hammer

man smb.conf
/   -p

Joel

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



Re: [Samba] security vs domain in configuration file

2002-10-03 Thread Andrew Bartlett

[EMAIL PROTECTED] wrote:
 
 Greetings!
 
 When I changed the security = domain in the configuration file,
 from MS windows, I get Access denied those Unix shares. Whereas,
 it works if security = server (shown below)
 
  security = server
  password server = 10.1.3.15
 
 The Unix Shares are authenticated against NT domain.
 
 Any help or clues how to debug this? It has been suggested in this
 forum it is better to have domain instead of server. Any reasons for
 that..

If you set 'security=domain' you must join the domain first.  See
smbpasswd -j -Uadmin%pass

Andrew Bartlett

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



Re: [Samba] Fw: 'max_four_gig' parameter to normalize to 4GB

2002-10-03 Thread Andrew Bartlett

Thomas Bork wrote:
 
 Hi @all,
 
 sorry for the repost but there was no answer and this is very important
 for me and the users of fli4l.

I *really* don't expect you will find 'easy' solutions to the hundreds
of bugfixes in Samba since 1.9.18p10.  Even if you 'fix' this one, there
will be *many* others.  

There are other approaches to reducing binary size - look into the
MAX_DEBUG_LEVEL #define in local.h, and look into making a single
binary, using one main() and using argv[0] to distinguish between
programs, but getting samba small *is* hard.

Andrew Bartlett

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



[Samba] Question on Samba--W2k

2002-10-03 Thread jinchen


I am trying to make samba working on RH7.3.  
 
I even can see Samba server from my W2k machine. However, when I click on 
that, I wait a while and get an error message The network path was not 
found. I 
don't know why? 
 
If I try: 
smbclient -U laoer -L W2Khostname without any password 
I got the error: Error returning browse list: NT_STATUS_ACCESS_DENIED 
 
if I try my password 
I got the error: session setup failed: NT_STATUS_LOGON_TYPE_NOT_GRANTED 
 
If I try: smbclient -M W2kHostname and type some message, I do get those 
message on my W2kHostname machine. It seems the network connection is working. 
 
If I try smbclient -L SambaServer, it is no problem 
 
If I try smbclient '\\sambaserver\tmp', it is working and got smb:\' 
 
If I test the W2k client with nmblookup ( nmblookup -d 2 -B client '*' ), it's 
ok and got a positive name query response 
 
If I test the network with nmblookup ( nmblookup -d 2 '*' ), it got most of 
machines's positive response in domain.  
 
However, when I try to test with 'net view \\sambaserver', it got The network 
path was not found. 
 
I guess the W2k client has problem but don't know what? Help! 
 
Thanks 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] NT Security tab changes

2002-10-03 Thread Jules Agee

Do I need to patch ACL support into the Linux kernel just to allow users 
to change permissions on files hosted on the Samba 2.2.5 server? All I 
really need is to allow users to set read/write/execute on files. Right 
now, I don't have an ACL-patched kernel installed on the server.

My users can see the security tab when they check the preferences on 
Samba-hosted files, but they can't change anything, even if they own the 
file. If the check or un-check a box, it just reverts back as soon as 
they click the Apply button. If I change the file perms using chmod at 
the server console, logged in as the user in question, it works fine...

All users have Windows 2000 Pro (not sure what SP). Samba is 
authenticating to OpenLDAP, and I'm using nss_ldap. Here's the relevant 
section of smb.conf:

[global]
 ldap server = localhost
 ldap port = 389
 ldap suffix = o=internet
 ldap admin dn = cn=Manager,o=internet
 ldap ssl = no
workgroup = IS
netbios name = THOR
server string = Thor File Server
security = server
dos filemode = yes
encrypt passwords = Yes
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No

[private]
comment = Private File Storage
path = /usr/local/fileshare/home
read only = No

-- 
Jules Agee
System Administrator
Pacific Coast Feather Co.
[EMAIL PROTECTED]  x284

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



Re: [Samba] Print server on all linux network

2002-10-03 Thread Dan Sawyer

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Okay, I've removed the [printers] tab.

When I print locally, I do indeed use lpr -Pnec (or at least, that command 
works very well).   However, using that command from the client doesn't do a 
thing for me (nor does printing from a gui program).  I've now modified the 
.conf so it looks like this:

[nec]
comment = NEC Superscript 1200
path = /tmp
read only = No
create mask = 0700
guest ok = Yes
hosts allow = 192.168.
printable = Yes
postscript = Yes
print command = lpr -Pnec
lpq command = /usr/bin/lpq -Pps
lprm command = /usr/bin/lprm -Pps %j
lppause command = /usr/sbin/lpc hold z53 %j
lpresume command = /usr/sbin/lpc release z53 %j
printer name = nec
share modes = No

What's the next step?
- -Dan

On Thursday 03 October 2002 16:54, Joel Hammer wrote:
 I would remove [printers] since neither you or I know what it really does.
 Now, when you print locally, you print to the queue nec?
 This will depend on the lpr command (lpr -Pnec) or if you just use lpr the
 first printer defined in you /etc/princap will be invoked.
 Joel
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9nOFkaB8ur/y6V8gRAj0NAJ9uBivobBUug7ILKnWtvTWFSF7VfACgoE+7
znVXZF5BGzp7IIGXHH19lEo=
=0C98
-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] RESPOND-EFAX/Payong Gig

2002-10-03 Thread Ruben I Safir

I need it to create a front end cover page.

It's the only aditional thing I need it to do.

Can you do this?


On 2002.10.03 16:17 Keith G. Murphy wrote:
 The only thing I said I couldn't (more like would not/didn't have time 
 to) do was make the frontend (Respond) display PostScript.
 
 A quote from your E-mail:
 
 The front end should produce a postscript cover page.
 
 I explained that with Respond/printfax.pl, the backend produces the 
 PostScript, but that my Respond replacement could provide a preview of 
 the fax.
 
 You did not dispute that, and we continued to correspond for a while, so 
 I assumed we were still go on the project.
 
 I basically think that you never had a handle on what software you were 
 using or how to express what you wanted.  And you apparently had a poor 
 understanding of what I was trying to tell you.
 
 That's the charitable interpretation, anyway.
 
 But why you dropped the whole issue as I continued to try to get the 
 information I needed to continue, I'm not sure.
 
 None of this is a capital crime.  But I did find you very difficult to 
 (try to) work with, and I think my warning was proper.
 
 Anyway, this list is not the place to continue to discuss this.  Not 
 that I want to, or have any desire to continue to (try to) work with you...
 
 Ruben I Safir wrote:
  And you said you couldn't do it
  
  On 2002.10.03 12:56 Keith G. Murphy wrote:
  
 Ruben Safir wrote:
 
 I'm using efax and faxlpr to send faxes from the Windows computers.
 I need to hire someone to hack RESPOND to create a nice Cover Letter with
 inforamation in it about each user.
 
 Can someone do this hack?
 
 
 Be prepared for grief.  This guy posted to the Hylafax list a while 
 back, saying he needed it for Hylafax.  I responded, we made a deal, I 
 started working on it, but when I had questions he stopped responding.
 
 He made another posting on the same list, I wrote to him again, he 
 claimed to have lost my E-mails.
 
 Started work again, had questions, turned out he wasn't sure about what 
 he was running; I needed more detail, told him what files he needed to 
 send me.
 
 Got no response (for weeks) until I saw this posting.
 
 Maybe someone else will have better luck dealing with this guy.
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 
  
 
 
-- 
__

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

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

1-718-382-5752



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



Re: [Samba] Fw: 'max_four_gig' parameter to normalize to 4GB

2002-10-03 Thread Thomas Bork

Hallo Andrew,

thanks for your answer:

 I *really* don't expect you will find 'easy' solutions to the
hundreds
 of bugfixes in Samba since 1.9.18p10.  Even if you 'fix' this one,
 there will be *many* others.

The *only* bugfix I need is showing the real size of harddisks ;o)
Nothing about security=user|domain and so on, only shares per ip/net
(hosts allow).

Is it possible, that

dfree command

worked in 1.9.18p5 but not in 1.9.18p10? OK, I'll try all
1.9.18-versions.

 There are other approaches to reducing binary size - look into the
 MAX_DEBUG_LEVEL #define in local.h,

Thank you for that.

 and look into making a single
 binary, using one main() and using argv[0] to distinguish between

This is not a solution because in fli4l-samba-configuration it is
possible to use only smbd without nmbd (for people, which don't have
enough space on the floppy; only smbd will be copied to the floppy).

 programs, but getting samba small *is* hard.

I know, that's why I want to use this old version...


tom

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



Re: [Samba] Print server on all linux network

2002-10-03 Thread Joel Hammer

Well, you have to talk to the samba server from the client:
The basic command is as follows:
cat file | smbclient //server/nec -c 'print -'
Does this command work for you?
The file has to be in a format the printer (queue) can use on the server.
If this works, then you can set up print queues on the clients to do this.
Joel


On Thu, Oct 03, 2002 at 05:31:28PM -0700, Dan Sawyer wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Okay, I've removed the [printers] tab.
 
 When I print locally, I do indeed use lpr -Pnec (or at least, that command 
 works very well).   However, using that command from the client doesn't do a 
 thing for me (nor does printing from a gui program).  I've now modified the 
 .conf so it looks like this:
 
 [nec]
   comment = NEC Superscript 1200
   path = /tmp
   read only = No
   create mask = 0700
   guest ok = Yes
   hosts allow = 192.168.
   printable = Yes
   postscript = Yes
   print command = lpr -Pnec
   lpq command = /usr/bin/lpq -Pps
   lprm command = /usr/bin/lprm -Pps %j
   lppause command = /usr/sbin/lpc hold z53 %j
   lpresume command = /usr/sbin/lpc release z53 %j
   printer name = nec
   share modes = No
 
 What's the next step?
 - -Dan
 
 On Thursday 03 October 2002 16:54, Joel Hammer wrote:
  I would remove [printers] since neither you or I know what it really does.
  Now, when you print locally, you print to the queue nec?
  This will depend on the lpr command (lpr -Pnec) or if you just use lpr the
  first printer defined in you /etc/princap will be invoked.
  Joel
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.0.6 (GNU/Linux)
 Comment: For info see http://www.gnupg.org
 
 iD8DBQE9nOFkaB8ur/y6V8gRAj0NAJ9uBivobBUug7ILKnWtvTWFSF7VfACgoE+7
 znVXZF5BGzp7IIGXHH19lEo=
 =0C98
 -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] space in netbios name

2002-10-03 Thread Guillaume GROS

Hi everyone,

On my network there is no WINS server and I had to set up the lmhost file but 
some computer have space in their netbios name so when I try to connect to 
such a server the client is unable to resolve the address.

I have tried to put backslashes before the space but it doesn't work.

So if anybody could give me the solution I would really appreciate it.

Bye,

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



Re: [Samba] Print server on all linux network

2002-10-03 Thread Joel Hammer

Try putting a space between print and - 
Joel


On Thu, Oct 03, 2002 at 09:32:49PM -0700, Dan Sawyer wrote:
 -BEGIN PGP SIGNED MESSAGE-
 thedude@floyd:~ cat kittykey.txt | smbclient //bob/nec -c 'print-'
 added interface ip=192.168.1.100 bcast=192.168.1.255 nmask=255.255.255.0
 Got a positive name query response from 192.168.1.101 ( 192.168.1.101 )
 Password:
 Domain=[AWP] OS=[Unix] Server=[Samba 2.2.1a]
 print-: command not found
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] Port 139 versus Port 445

2002-10-03 Thread Javid Abdul-AJAVID1

am curious and need to configure this and test, any ideas how to make it
work, i mean how do start 2 smbd parent process
is it port based or something else

samba technical group please comment on this if you get chance
thanks in advance

-Original Message-
From: Joel Hammer [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 03, 2002 5:47 PM
To: Javid Abdul-AJAVID1; [EMAIL PROTECTED]
Subject: Re: [Samba] Port 139 versus Port 445


I suspect that you can have two smbd's running. Each one will spawn other
daemons as needed, I THINK.
Joel

On Thu, Oct 03, 2002 at 05:41:39PM -0500, Javid Abdul-AJAVID1 wrote:
 I am just curious of running 2 smbds, as i think one parent smbd process
 runs on 139 and all others are children
 
 -Original Message-
 From: Joel Hammer [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, October 03, 2002 5:32 PM
 To: Jason Joines; [EMAIL PROTECTED]
 Subject: Re: [Samba] Port 139 versus Port 445
 
 
 Just making all this stuff up off the top of my head.
 I have never done this, but you could try:
 Running two smbd daemon, each listening to different ports.
 Redirecting traffic from port 445 to 139 with some firewall rules. I
 redirect
 traffic with ipmasqadm, but there are surely others.
 Running smbd with (x)inetd and have it listen  to both ports.
 Likely, the delay is because the W2K clients are waiting for a reply,
 and finally timing out on port 445. Why not try something funky like
 having telnet or apache listen on port 445. Maybe that will tell the
client
 right
 away to try a different port, like 139.
 Let us know how this works out, if you try any of this stuff.
 Joel
 
 On Thu, Oct 03, 2002 at 03:04:41PM -0500, Jason Joines wrote:
   I've noticed that my W2K clients connect to Samba much more quickly

  if I run it on port 445 instead of 139.  However, my WNT clients then 
  won't connect at all.  I read somewhere that it was possible to forward 
  the requests on port 139 to port 445.  Anyone know how to do this or how

  to listen to both ports simultaneously?
  
  Thanks,
  
  Jason Joines
  Open Source = Open Mind
  
  
  -- 
  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: [PATCH] sam backend parameter

2002-10-03 Thread Andrew Bartlett

[EMAIL PROTECTED] wrote:
 
 On Thu, Oct 03, 2002 at 04:06:37PM +1000, Andrew Bartlett wrote:
 
  The use of multiple backends in passdb has acknowledged issues, and I'm
  not particularly fussed if you feel it should not ship with this
  functionality enabled.  However, please do note that this *is* being
  used at present, and cannot be 'just removed'.  (We map our non-passdb
  users into the system via this method).  Volker has some solutions to
  this issue however, which look very neat.  I'll need to check if they
  actually catch it all the cases.
 
 Well it's not being used really, as it's not in a production
 release. We don't make guarentees until it gets into a production
 release. What non-passdb users are being mapped into the system
 via this method ?  Surely as a PDC we need passdb entries for every
 user we're exporting ?

I mean it's being used by code.

The problem is mainly on the fileserver:  For the DC side of things,
every user is in the SAM, or they can't really do much.  But on the
fileserver side, we have the problem that a user may select to view the
Owner or the ACL entries of a file.

This file may have a completely arbitrary owner.  

- Winbind user?  Fine.  (we simply lookup the uid-sid with wibnind, and
we simply proxy requests for the name-sid/sid-name to the DC)

- passdb user?  Again, OK.  
In 2.2, we just used an algorithmic mapping of all such users.  Remember
'2*uid+1000'?  :-)  Names were then looked up in the system get{pw,gr}*
calls

In HEAD, we tried to make this a bit smarter.  This may or may not have
been a good thing, because it can be slow.  We do getpwuid(uid), then
lookup that name in the passdb.  The returned SID is sent to the client.

For names, it's a bit easier, we lookup the SID in passdb then return
the name.  The reverse for name-sid.  I did it this way to allow for
arbitrary RIDs.

- not in either... Not so pretty:

The tricky bit is users not in passdb.  The code that deals with this is
hideous, particularly because we don't have a unified groupdb/passdb,
and mostly because I wanted to support arbitrary RIDs. (Hence one of the
reasons I started trying to rewrite this).  

We need to allocate this 'unknown' user or group a RID.  We need to
ensure it does not conflict with other users, and that it 'maps back'.  

Why?  Well, there are system accounts etc, and there are users who
appear in the system via NIS etc.  The 2.2 code maps these to
SIDs/Names, and I took this as a requirement that we must do the same in
3.0

The addition of 'unixsam' was designed to put common code together. 
Other parts of passdb had to deal with making a SAM entry from a passwd
struct, so I merged the code.  I had considered a complete merge with
smbpasswd, but never got that far.  Volker has noted a number of areas
in the auth code that could be simplified by exploiting this.

This also assisted in moving our calls to Get_Pwnam() into a very small
number of places.  It is very rarely called now.

If required, this code could be split back out again, however we still
have the issue of RID allocation.  (the cascading change did not affect
this, it is noted for completeness).  

The rids in HEAD are allocated by '2*uid+lp_algorithmic_rid_base()', to
allow the administrator to 'push' the algorithmic space 'out of the
way'.  We should look into 'automatic' RID allocation, but I am wary of
inflicting this on all our file-server users.

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



Re: [PATCH] sam backend parameter

2002-10-03 Thread Jelmer Vernooij

On Thu, Oct 03, 2002 at 06:15:01AM +, [EMAIL PROTECTED] wrote about 'Re: [PATCH] 
sam backend parameter':
 On Thu, Oct 03, 2002 at 04:06:37PM +1000, Andrew Bartlett wrote:
  The use of multiple backends in passdb has acknowledged issues, and I'm
  not particularly fussed if you feel it should not ship with this
  functionality enabled.  However, please do note that this *is* being
  used at present, and cannot be 'just removed'.  (We map our non-passdb
  users into the system via this method).  Volker has some solutions to
  this issue however, which look very neat.  I'll need to check if they
  actually catch it all the cases.
 Well it's not being used really, as it's not in a production
 release. We don't make guarentees until it gets into a production
 release. What non-passdb users are being mapped into the system
 via this method ?  Surely as a PDC we need passdb entries for every
 user we're exporting ?
See the pdb_unix backend. We currently map users that are only in the
system database as well. This means that you can see files owned 
by certain users that are not mapped in any of the other loaded pdb'
. When a sysadmin tries to update the properties of such a user, it is 
added to the default pdb backend. 

Jelmer



Re: [PATCH] sam backend parameter

2002-10-03 Thread Simo Sorce

On Thu, 2002-10-03 at 03:01, Andrew Bartlett wrote:
 Simo Sorce wrote:
 
  Plus I have some questions about the current sam interface:
  
  - what is all the context thing needed for?
 
 I don't like global variables, and this allows us to construct seperate
 contexts for operations like sam2sam, and testing, without fiddiling
 with global variables.

There's no problem in having global variables, provided they are used
correctly. Insisting to not use them in any case just as a preconcept is
as wrong as using them too much.

It is all a question on how and where you use them.

sam2sam operation does not need access checking and interface
virtualization, it is an administrative task only anyway, try to put
sam2sam above the sam interface instead of making it directly connect to
the backends is just a bad idea, it add complexity and potential
problems and gain nothing, imho.

And sam2 sam is the only case where it could be useful to have 2
backends loaded at the same time. So it is perfectly possible to make
it's own init function that load 2 backends into 2 local (to samedit)
variables, while still loading the sam backend into a global variable
used by the sam interface inside smbd.

  - what is the handle thing needed for ?
 
 Same as the SAM_ACCOUNT in pdb.  

If it's a SAM_ACCOUNT then call it with it's name.
Also I really to not like the private substructure.
We are all adult and vaccinated, and must trust each other ability to
code and use internal structures properly, trying to say:  I do not
trust other coders  is not a bright move imho, add unneeded complexity,
SAM_ACCOUNT structure directly will do so regardless if theres a thing
called private or not. Adding this layer only makes the interface a lot
more heavier and trickier, make code slower (adds a function call for
each parameter to be set into a structure) and the sam interface a lot
bigger.

Effort should be spent to educate other programmers to use the thing the
right way by writing documentation, not by setting artificial barriers.

  - what is access desired meant to do ? Authorization is a different
  thing then storage, a backend is a storage!
 
 The SAM interface layer is the 'choke point'.  If we do not wan't nasty
 races, then we must reterive things like the security descriptor with
 the data it applies to.  This implies that the ACL checking code must
 resise either in the SAM backend, or the SAM interface.  If we export it
 above this layer, we *will* get places where we don't check it properly.

It must be in the Interface, putting it on the backend is the wrong move
for many reasons:
- code duplication, you have to implement the access checking into evry
backend.
- code review, authorization is a critical part of the security in
samba, if you have to double check every module to be sure it does
things the right way, you simply castrate the potentiality of a loadble
module interface, as you put too much responsibility on independent
module coders.
- consistency every change you need to make to the access checking code,
bust be made to any module and will make out of sync any modules not
under your control, increasing the module versioning nightmare.
- races may be easily solved supporting locks on the backend.

  - why do we insist to have a thing called unix accounts? It just does
  not make sense to me. We need real users/groups mapping instead
  (opposed to created on the fly by winbind based accounts).
 
 I'm not sure what you mean here - the current code doesn't even know
 about unix accounts.

They are present in pdb, and I remember at some point of the discussion
we had on IRC someone claimed that multiple modules were also a way to
solve the unix accounts problem like done in with pdb backends.

What Instead I think is that we should not threat unix accounts in any
special way, but instead we need to map them to normal users when they
are present, if a user do not have a local unix user then it will be
created in winbindd, otherwise the uid-SID mapping will be done so that
the user is mapped on a unix user.

All the mapping should consist ONLY of a SID-[u,g]id mapping imho, and
we should discourage using unix groups provided from /etc/group file and
use instead winbindd to provide them to the system, but still use them
from /etc/group if the administrator want to do so.

Simo.

-- 
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: [PATCH] sam backend parameter

2002-10-03 Thread Jelmer Vernooij

On Thu, Oct 03, 2002 at 08:34:47PM +1000, Andrew Bartlett wrote about 'Re: [PATCH] sam 
backend parameter':
 There is no intention to create a similar backend for the sam.  Instead,
 we do intend to solve this problem in exactly the way you indicate
 below.  There is no intention to provide a 'mulidb' module either.  The
 only way to load more than one module will be to have separate domains.
Why? I think having a multidb module would be the perfect solution for
when one has multiple backends - it doesn't clutter the interface and 
provides those people who need it support for multiple backends.

Jelmer



Re: [PATCH] sam backend parameter

2002-10-03 Thread Simo Sorce

On Thu, 2002-10-03 at 07:22, Jelmer Vernooij wrote:
 On Thu, Oct 03, 2002 at 12:16:53AM +0200, Simo Sorce wrote about 'Re: [PATCH] sam 
backend parameter':
  yes a thing I'm not sure has ever been a good idea.
  to be able to have sam2sam that is really read a backend + store all
  info into another backend we may take several ways.
 
  We never need the 2 backend to be loaded at the same time to do the
  operation, we may easily read all the accounts chnage the backend and
  store them into the new one, or simply make custom code to load 2
  different backends, and use theyr calls.
 
  It's easy to have 2 structures calle backend1 and backend2 that holds
  the functon pointers for 2 backends.
 
  Al the context things always seemed to me overcomplicated even for
  multiple backend code.
 the context stuff has been in passdb since the beginning and is not
 at all used for multiple backends - multiple backends are achieved by
 having multiple 'methods' structs in one context. 
 
 Next to that, a 'multidb' backend will have to use multiple contexts. 
 
 We don't want to spoil global name space with the variables
 sam_context contains.
 
 If we are removing multiple domain support, we could remove
 sam_methods perhaps and move all the functions in sam_methods to 
 sam_context, but sam_context definitely has to stay...
 
 Jelmer

Ok, I looked back at what do currently context contain in passdb (see
below Appendix A).

It is simply a structure containing the function pointers of the
backend.

Of course it need to stay here, it only have a really bad name that make
you think of a totally different thing :-)

I think pdb_functions could have been a better name (no not methods, we
are programmin in C not in Java ;-)

Simo.


Appendix A:

typedef struct pdb_context 
{
struct pdb_methods *pdb_methods;
struct pdb_methods *pwent_methods;

/* These functions are wrappers for the functions listed above.
   They may do extra things like re-reading a SAM_ACCOUNT on update */

BOOL (*pdb_setsampwent)(struct pdb_context *, BOOL update);

void (*pdb_endsampwent)(struct pdb_context *);

BOOL (*pdb_getsampwent)(struct pdb_context *, SAM_ACCOUNT *user);

BOOL (*pdb_getsampwnam)(struct pdb_context *, SAM_ACCOUNT *sam_acct,
const char *username);

BOOL (*pdb_getsampwsid)(struct pdb_context *, SAM_ACCOUNT *sam_acct,
const DOM_SID *sid);

BOOL (*pdb_add_sam_account)(struct pdb_context *, SAM_ACCOUNT
*sampass);

BOOL (*pdb_update_sam_account)(struct pdb_context *, SAM_ACCOUNT
*sampass);

BOOL (*pdb_delete_sam_account)(struct pdb_context *, SAM_ACCOUNT
*username);

void (*free_fn)(struct pdb_context **);

TALLOC_CTX *mem_ctx;

} PDB_CONTEXT;


-- 
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: [PATCH] sam backend parameter

2002-10-03 Thread Simo Sorce

On Thu, 2002-10-03 at 08:06, Andrew Bartlett wrote:
 [EMAIL PROTECTED] wrote:
  Let just remove the multi-domain stuff for now and try
  and get 3.0 in a shippable state.
 
 The 'new SAM' stuff is not being proposed for 3.0!  Certainly not yet,
 we have a *lot* of work to do, before it gets there!
 
 Also, *please* don't confuse that with the multi-backend stuff.  That
 has a very different purpose, and was not included in the new SAM design
 for exactly the reasons people don't want it in passdb.
 
 The use of multiple backends in passdb has acknowledged issues, and I'm
 not particularly fussed if you feel it should not ship with this
 functionality enabled.  However, please do note that this *is* being
 used at present, and cannot be 'just removed'.  (We map our non-passdb
 users into the system via this method).  Volker has some solutions to
 this issue however, which look very neat.  I'll need to check if they
 actually catch it all the cases.
 

So let me understand:

you say sam will not be in 3.0
you see currently passdb has been made so that nobody like it and is not
good

but you also say we should not end up using a correct solution because
you want to maintain the status quo?

We have to fix passdb or sam, just let decide on which one we should
work on or go for a third way.

Simo.

-- 
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: [PATCH] sam backend parameter

2002-10-03 Thread Simo Sorce

On Thu, 2002-10-03 at 08:47, Andrew Bartlett wrote:
 [EMAIL PROTECTED] wrote:
  Well it's not being used really, as it's not in a production
  release. We don't make guarentees until it gets into a production
  release. What non-passdb users are being mapped into the system
  via this method ?  Surely as a PDC we need passdb entries for every
  user we're exporting ?
 
 I mean it's being used by code.
 
 The problem is mainly on the fileserver:  For the DC side of things,
 every user is in the SAM, or they can't really do much.  But on the
 fileserver side, we have the problem that a user may select to view the
 Owner or the ACL entries of a file.

I think we should simply document the fact the admins should really map
each user or groups that own files on the shares, and if they do not do
it they may get in troubles.

When they do not do it, I think we should simply return a simple
Unknown SID allocated for that purpose. This will eliminate the
problem and make us not need algorithmic mapping at all, that is however
wrong solution, as today also the uid/gid space is 32 bit as rid space
so that we can go out of mapping space anyway and need to handle that
situation too.
Algorithmic mapping should go away completely imho.

Simo.

-- 
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: [PATCH] sam backend parameter

2002-10-03 Thread Andrew Bartlett

Simo Sorce wrote:
 
 On Thu, 2002-10-03 at 08:06, Andrew Bartlett wrote:
  [EMAIL PROTECTED] wrote:
   Let just remove the multi-domain stuff for now and try
   and get 3.0 in a shippable state.
 
  The 'new SAM' stuff is not being proposed for 3.0!  Certainly not yet,
  we have a *lot* of work to do, before it gets there!
 
  Also, *please* don't confuse that with the multi-backend stuff.  That
  has a very different purpose, and was not included in the new SAM design
  for exactly the reasons people don't want it in passdb.
 
  The use of multiple backends in passdb has acknowledged issues, and I'm
  not particularly fussed if you feel it should not ship with this
  functionality enabled.  However, please do note that this *is* being
  used at present, and cannot be 'just removed'.  (We map our non-passdb
  users into the system via this method).  Volker has some solutions to
  this issue however, which look very neat.  I'll need to check if they
  actually catch it all the cases.
 
 
 So let me understand:
 
 you say sam will not be in 3.0

I did not say that.  I said that I have not yet proposed the SAM for
3.0.  I will not propose it for 3.0 until it's ready.  

 you see currently passdb has been made so that nobody like it and is not
 good

I think the structure in the passdb code is OK.  The mulibackend issues
are minor, and are quite well suited to inclusion in a module.  

I'll let others comment on what is so broken about it (particularly
compared to 2.2) and how to fix it within the current constraints.  

 but you also say we should not end up using a correct solution because
 you want to maintain the status quo?

'a correct solution'?  I am working hard on the 'new SAM' stuff because
I believe it to be a 'correct solution'.  I am also actively reviewing
proposed changes to passdb.  

 We have to fix passdb or sam, just let decide on which one we should
 work on or go for a third way.

I've seen Volker's patches, and I think that passdb can be made to work
for the needs of 3.0, but it is messy.  I believe the code as it
*currently stands* can support 'net rpc vampire', but will consult
volker more closely on this matter.  I'm very impressed with voker's
work in doing many of the things that were not thought possible with
passdb.

Of course I would much prefer we move directly to the 'new SAM' work,
but I'll see the guidance of the release manager on that point, when I
think the code is ready.

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



Re: [PATCH] sam backend parameter

2002-10-03 Thread Simo Sorce

On Thu, 2002-10-03 at 12:34, Andrew Bartlett wrote:
 Simo Sorce wrote:
  It is all a question on how and where you use them.
^^

 Except that global variables are particularly nasty in C - we don't have
 an autoprototyper on them, and we cannot ensure that they are correctly
 declared in all modules.  Also, we cannot validate the input into any
 such variables, or assume auto-initialisation.  The methods employed in
 the pdb and sam provide this.

 Honestly, it is a matter of taste.  I like the way that pdb (and now the
 SAM code) has been constructed, and the distinct lack of 'special
 cases'.  If pdbedit becomes a special case, then it is more likely to
 break.  If the rest of Samba has to use that code path, then accidents
 are less likely to happen.

pdbedit is not a special case, it only uses the backend interface and
not the sam interface, they will be both quite consistent!
No better the backend interface should be even more solid and stable
then sam interface as it have to deal with potentially external modules,
so i really do not see pdb/sam/gums/**edit to break so easily.


| smbd|
---
   |
---
|sam interface|
---
   |   
   |--|  pdbedit
   |   
---
|   backend   |
---

  Effort should be spent to educate other programmers to use the thing the
  right way by writing documentation, not by setting artificial barriers.
 
 Here we disagree.  I take a different approach, were I prefer to make it
 harder to make mistakes.  

Harder to make mistake is good only when it does not imply harder to
code. I abide to the Keep it Simple Stuipd! religion :-)

 The use of 'set' routines has also allowed us to (with minimal changes
 to the interface) track 'default' values for many parameters - avoiding
 the storage of extra (fixed) values in LDAP.  I intend to expand this to
 every attribute for the new SAM.

The set routines may stay at the sam interface level, nobody prohibits
you to use them and they are certainly appealing in some situation, even
if I do not like them much and would prefer do be able to change a
structure directly if I need to do it (again I have to remember we are
using C not Java, and an object oriented way to do things is not always
a good thing imho).

Also I think it is bad you do not put extra values in LDAP, what happen
if you discover you need to support that to provide some functionality?
A re you going to change the LDAP schema between minor releases?

 Furthermore, we use the get/set routines to allow the users of the
 passdb interface to get feedback on the ability to get/set *individual*
 elements on the SAM handle, rather than the lot.

ability to set/get individual values ?
What do you exactly mean ?

 I advocate strong interfaces, because I feel it assists in modular
 programming.  By using the get/set routines, I can ensure that data is
 correctly 'const', for example.  Finally, it allows us to strdup() all
 assigned strings, and ensure they are not accidentally assigned stack
 pointers, while avoiding memory leaks.
 
 On a project as large as Samba, I prefer all the help I can get in
 ensuring code quality.

You will get more quality documenting it then making barriers into it
imho.
I'm not saying we do not need clean interfaces, but that we should just
not push too much.

  It must be in the Interface, putting it on the backend is the wrong move
  for many reasons:
  - code duplication, you have to implement the access checking into evry
  backend.
  - code review, authorization is a critical part of the security in
  samba, if you have to double check every module to be sure it does
  things the right way, you simply castrate the potentiality of a loadble
  module interface, as you put too much responsibility on independent
  module coders.
  - consistency every change you need to make to the access checking code,
  bust be made to any module and will make out of sync any modules not
  under your control, increasing the module versioning nightmare.
  - races may be easily solved supporting locks on the backend.
 
 We cannot assume locks in the backend.  The interface is not designed in
 isolation - we have to work with the fact that LDAP *will* be a primary
 backend, and does not support this kind of locking.  I prefer to create
 a solution that does not impose additional constraints on this.

We can of course. There are many way to simulate locks even for ldap, as
it is clear that people should not be able to change user values if not
going through samba. Reading is not a problem, we only need lock on
write.

 Your points are very valid, and I have proposed a solution in the my
 reply to Jerry's mail.  That is, the backend can do it's own ACL checks
 if it likes, but it passes the security descriptor to the 

How prevent many logins

2002-10-03 Thread Marcus Grando


Hi list,

How prevent user log many times on different machines?

Samba log connections? how read this information on samba?

Regards

--
Marcus Grando
Tecnologia da Informação
marcus at big dot univali dot br
marcus at sbh dot eng dot br




Re: Explaining the new SAM

2002-10-03 Thread Simo Sorce

On Thu, 2002-10-03 at 03:13, Andrew Bartlett wrote:
 Jean Francois Micouleau wrote:
 
  It's getting clear that you are reinventing something we already have.
  All your SAM api is simply the SAMR server pipe code. Why do you want to
  implement a new api as we already have one ?
 
 I have a history of doing this - and I intend to continue...

I think jfm was criticizing the fact that you are building the interface
too much close to samr one, and that we do not have the need to do so.
I really do not think the jfm was proposing to use the samr interface
for internal use.
I agree to this vision, following too much the samr interface make us
only more unfriendly to the rest of samba code, that need much greater
flexibility as you recognized.

Simo.

-- 
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: How prevent many logins

2002-10-03 Thread Marcus Grando


Hi,

On Thu, 3 Oct 2002, Andrew Bartlett wrote:

 Marcus Grando wrote:
 
  Hi list,
 
  How prevent user log many times on different machines?
 
  Samba log connections? how read this information on samba?

 There is currently no internal mechinism for dealing with this, but a
 PAM module might be able to construct a suitable solution.

 (Then setup samba --with-pam and 'obey pam restrictions' in smb.conf).

But I dont use pam.

Any other method?


 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


--
Marcus Grando
Tecnologia da Informação
marcus at big dot univali dot br
marcus at sbh dot eng dot br




Re: Server name being truncated in Winbindd

2002-10-03 Thread chuckg


jerry,
  Finally got a chance to try upgrade and 3.0alpha20 does resolve the
problemThanks,
chuck




Gerald Carter [EMAIL PROTECTED] on 09/30/2002 08:58:09 AM

To:[EMAIL PROTECTED]
cc:[EMAIL PROTECTED]
Subject:Re: Server name being truncated in Winbindd


On Thu, 26 Sep 2002 [EMAIL PROTECTED] wrote:

 I am runing Samba-3.0-alpha18 winbindd and attempting to join a w2k
 domain that has a 15 character server name.. as you can see from the log
 below the name gets truncated to 14 characters which then results in the
 NT_STATUS_INVALID_COMPUTER_NAME when attempting authenticationI am
 not at work to look at the code but I did notice the message from
 convert_string() about requiring 16 character and only 15 being
 available.. This works fine if the domain name is less than 15
 characters...

Can you retest against 3.0alpha20 ?  Thanks.




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









sendfile profiling patch for utils/status.c

2002-10-03 Thread Pierre Belanger

Hello all,

I'm including a tiny patch for utils/status.c , in
diff -u format ... Hope I did this right!

After applying the patch...

  # ./bin/smbstatus -P
  {snip}
  read_bytes: 0
  write_count:1
  write_time: 166
  write_bytes:54
  sendfile_count: 4
  sendfile_time:  16262
  sendfile_bytes: 20480
  lseek_count:2
  lseek_time: 18
  rename_count:   0
  {snip}

The patch is attached in the mail. Fell free to all the
required printf where I add them, after the write_bytes,
or anywhere else...

Thank you,
Pierre B.

--- utils/status.c  Mon Aug 26 12:08:01 2002
+++ utils/status.c.new  Thu Oct  3 09:50:19 2002
 -194,6 +194,11 
printf(write_count:%u\n, profile_p-syscall_write_count);
printf(write_time: %u\n, profile_p-syscall_write_time);
printf(write_bytes:%u\n, profile_p-syscall_write_bytes);
+#ifdef HAVE_SENDFILE
+   printf(sendfile_count:%u\n, 
+profile_p-syscall_sendfile_count);
+   printf(sendfile_time: %u\n, 
+profile_p-syscall_sendfile_time);
+   printf(sendfile_bytes:%u\n, 
+profile_p-syscall_sendfile_bytes);
+#endif
printf(lseek_count:%u\n, profile_p-syscall_lseek_count);
printf(lseek_time: %u\n, profile_p-syscall_lseek_time);
printf(rename_count:   %u\n, 
profile_p-syscall_rename_count);



Re: Samba 3.0a20+LDAP-backend group-builit and mapping questions

2002-10-03 Thread Ignacio Coupeau

Ignacio Coupeau wrote:
 I'm been playing with the groups and LDAP (passdb backend) and found two 
 problems:
 


I found the answer.
The problem was caused by unknow type in the group type field.
By default the builtin-domain and every new group created is marked as 
Group type: Unknown type:

Domain Admins
 SID   : S-1-5-21-298858960-1863792627-3661451959-512
 Unix group: admins
 Group type: Unknown type
 Comment   :
 Privilege : SaAddUsers SeMachineAccountPrivilege SaPrintOp

With the command smbgroupedit and the flag -t d I solved some of the 
problems: the groups may be searched/imported from the XP and the ldap 
database is not enumerated.

Ignacio


-- 

Ignacio Coupeau, Ph.D. e-mail: [EMAIL PROTECTED]
CTI, Director  fax:948 425619
University of Navarra  voice:  948 425600
Pamplona, SPAINhttp://www.unav.es/cti/




Re: [PATCH] sam backend parameter

2002-10-03 Thread jra

On Thu, Oct 03, 2002 at 09:25:39PM +1000, Andrew Bartlett wrote:
 
 I've seen Volker's patches, and I think that passdb can be made to work
 for the needs of 3.0, but it is messy.  I believe the code as it
 *currently stands* can support 'net rpc vampire', but will consult
 volker more closely on this matter.  I'm very impressed with voker's
 work in doing many of the things that were not thought possible with
 passdb.

net rpc vampire is one of the most important elements of 3.0.
Anything that makes this function easier is a major priority.
If fixing the passdb backend gets us there then let's do that
and experiment with the SAM stuff later.

Jeremy.



[jonas@gnu.org: Bug#162956: libsmbclient-dev: libsmbclient.h doesn't work without client.h]

2002-10-03 Thread Steve Langasek

I imagine those who favor the use of libsmbclient might be interested to
know that the header files are currently in disarray.  I've verified that
this is also a problem in 3.0alpha20.

Should libsmbclient.h duplicate the functionality of client.h, or does
client.h need to be pulled in as a dependency of libsmbclient.h?

Steve Langasek
postmodern programmer

- Forwarded message from Jonas Öberg [EMAIL PROTECTED] -

Subject: Bug#162956: libsmbclient-dev: libsmbclient.h doesn't work without
client.h
Reply-To: Jonas Öberg [EMAIL PROTECTED], [EMAIL PROTECTED]
Resent-From: Jonas Öberg [EMAIL PROTECTED]
Original-Sender: Jonas Oberg [EMAIL PROTECTED]
Resent-To: [EMAIL PROTECTED]
Resent-CC: [EMAIL PROTECTED] (Eloy A. Paris), [EMAIL PROTECTED]
Resent-Date: Tue, 01 Oct 2002 07:48:01 GMT
Resent-Message-Id: [EMAIL PROTECTED]
X-Debian-PR-Message: report 162956
X-Debian-PR-Package: libsmbclient-dev
X-Debian-PR-Keywords: Received: via spool by [EMAIL PROTECTED] 
id=B.103345760724642 (code B
ref -1); Tue, 01 Oct 2002 07:48:01 GMT
From: Jonas Öberg [EMAIL PROTECTED]
To: Debian Bug Tracking System [EMAIL PROTECTED]
Date: Tue, 01 Oct 2002 09:33:23 +0200
Resent-Sender: Debian BTS [EMAIL PROTECTED]
X-PTS-Package: samba
X-PTS-Keyword: bts
X-Unsubscribe: echo 'unsubscribe samba' | mail [EMAIL PROTECTED]
X-pstn-levels: (C:75.3595 M:97.0754 P:95.9108 S:26.9476 )
X-pstn-settings: 3 (1.:2.) pmCr
X-pstn-addresses: from [EMAIL PROTECTED] forward (good recip) 
X-Spam-Status: No, hits=0.0 required=5.0 tests= version=2.20
X-Spam-Level: 

Package: libsmbclient-dev
Version: 2.999+3.0cvs20020906-1
Severity: grave
Justification: renders package unusable

When I recently did an upgrade of the system, a new libsmbclient was
installed that introduced a problem, namely that libsmbclient.h (line
199) accessed a structure called cli_state. This structure is not defined
anywhere, which causes compilation to fail when using libsmbclient.h.

When looking around, it appears that this structure is defined in
client.h, however, I can not find this file in any other Debian package
either. If I use a client.h from the samba source package, this
introduces additional requirements, so all in all, I'd think that
libsmbclient-dev ought to include several more header files, or the
appropriate definitions inserted into libsmbclient.h :-)


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux fiona 2.4.19 #2 SMP Tue Sep 3 08:17:02 CEST 2002 i686
Locale: LANG=C, LC_CTYPE=sv_SE.ISO8859-1

Versions of packages libsmbclient-dev depends on:
ii  libsmbclient  2.999+3.0cvs20020906-1 Shared library that allows applica

-- no debconf information



- End forwarded message -



msg03500/pgp0.pgp
Description: PGP signature


ARRRGGG!!!!!!! Recent Upgrade to Fix SNAP Server Problem

2002-10-03 Thread Irving Carrion


Arrrggg!!

Smile =)

After upgrading from Samba 2.2.3a to 2.999+3.0cvs20 I'm experiencing the
following problem:

When a user logs on they get a message from windows that says the
following:
Your Roaming profile is not available

Then it says

Windows cannot find the local profile and is logging you on with a
temporary profile

When the user logs in again none of the settings remain.

I have the following to lines in my smb.conf

logon path = 
logon home = 

What DA HELL AM I SCREWING UP!!
Smile =)

IRV

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Andrew
Bartlett
Sent: Wednesday, October 02, 2002 11:05 AM
To: Irving Carrion
Cc: [EMAIL PROTECTED]
Subject: Re: Recent Upgrade to Fix SNAP Server Problem

Irving Carrion wrote:
 
 Greetings!
 
 We just recently upgraded from Samba 2.2.3a to 2.999+3.0cvs20 and are
 having a few problems.  The domain admin group that used to work in
 the previous version no longer does. According to the docs
 smb.conf.5.html the command is still there and still active.
Obviously
 I have missed something... can anyone relay some info my way.

You are trusting our documentation...?

 Also testparm has reported that I am using wins support and wins
 server commands in the smb.conf file, but I am NOT.  All I have is 
 wins support = Yes.

Known issue

 Any info on the postscript error below would help but not critical at
 this point.
 
 I'm running testparm on my smb.conf and I get the following errors:
 
 ///ERRORS BEGIN
 Unknown parameter encountered: domain admin group
 Ignoring unknown parameter domain admin group

See smbgroupedit.  It handles this stuff for now.

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




smbcacl doesn't work for me

2002-10-03 Thread Zoltan Bogdan




Hi,

I share an XFS-volume via samba 2.2.4.



fetching the acls works like the following for me:





hermes:/secrets # smbcacls //hermes/xfs-share test -U TOGO/hzbogdan

Password:

REVISION:1

OWNER:TOGO\hzbogdan

GROUP:TOGO\users

ACL:TOGO\hzbogdan:ALLOWED//RW

ACL:TOGO\users:ALLOWED//R

ACL:\Everyone:ALLOWED//R

-



When I try to set - or rather modify - the Acl for the group users, I get strange results:



-

hermes:/secrets # smbcacls //hermes/xfs-share test -U TOGO/hzbogdan -M ACL:TOGO\users:0/0/W

Password:

Failed to parse ACL ACL:TOGOusers





Using various substitutions for type/flags/mask Values didn't get better results.



Could someone provide some help?



Thanks

z.









Zoltan Bogdan



Zoltan Bogdan - Linux SystemIntegration

Kreutzerstr. 71 D-90439 Nrnberg

Tel. +49 (0)911 929 191 25

Fax +49 (0)911 929 191 26

Mobil +49 (0)175 521 705 4

[EMAIL PROTECTED]










[PATCH] winbindd use flat files

2002-10-03 Thread Josh Durham

HISTORY
  I've had a little bit of a dilemma ever since Windows XP SP1 came 
out - roaming profiles that are stored on a Samba server broke.  They 
also broke earlier when Windows 2000 SP2 was released, but was fixed by 
adding 'nt acl support = no' in the profile's definition.  This option 
(according to previous posts) prevents XP SP1 from using roaming 
profiles.  The reason behind this is the SID returned by the Samba 
server was the SID of the SAMBASERVER\user account, instead of the 
DOMAIN\user account.
  The easy solution was to use winbind.  Winbind will map Domain 
Account SIDs (DOMAIN\user) to UNIX UIDs.   The problem I had with this 
is it dynamically allocates the UNIX UID.  This was unacceptable in my 
situation because we also use NFS, which requires consistent UNIX UIDs 
across different computers.  If we used Winbind, the UIDs are allocated 
on a 'first come, first serve' basis.

SOLUTION
  I hacked winbindd to use 'flat files', such as /etc/passwd and 
/etc/group.  When winbindd gets a request to map a sid to an uid, it 
will now check to see if that account already exists in a flat file.  
If it does, it will map the preexisting UID to the SID.  It does the 
check by seeing if the Windows (user|group)name exists in the 
(passwd|group) file.  If it doesn't find the account, it will do the 
normal dynamic allocation as before.
  The attached patches add three configuration options:
winbind use flat files (G)
This parameter specifies whether winbindd should use flat files to look 
up UIDs, instead of always dynamically allocating them.  If winbindd 
can not find the uid of the request, it will fall back to the dynamic 
allocation.

Default: winbind use flat files = false

Example: winbind use flat files = true


winbind password file path (G)
This parameter specifies the file it should use to look up user IDs 
when using flat files.  This file has to be a standard UNIX passwd file.

Default: winbind password file path = /etc/passwd

Example: winbind password file path = /etc/global-passwds

winbind group file path (G)
This parameter specifies the file it should use to look up group IDs 
when using flat files.  This file has to be a standard UNIX group file.

Default: winbind password file path = /etc/group

Example: winbind password file path = /etc/global-groups


ISSUES
  This system will fail if it is in a domain with trusts and there 
are accounts with the same name.   I'm not sure exactly what will 
happen, but I'm pretty sure it won't be what you want.


NOTES
I did notice on the Samba 3.0 Roadmap, there is 'hook for utilizing a 
centralized winbindd id map database', and I'm not sure exactly what 
this is.  Or if this may do what was wanted.  It sounds like some sort 
of master (LDAP?) database that all the client winbindds can find a 
UID/GID.   This seemed a little too complex, when all I have to worry 
about now is distributing the passwd/group files to all the winbindd 
computers.  So, I don't expect this to go into the distribution unless 
the team deems it very useful.

BTW, I'm a Sysadmin, not a programmer.  I hope it doesn't show. :)

Attached are two patches.  one is the patch against samba-2.5, and the 
other is against samba-3.0alpha20.  I've tested the samba-2.5 
extensively, I haven't run the samba-3.0 at all; I'm not even sure it 
compiles.  But the places I modified in 2.5 havn't changed in 3.0 
(except for some new flags in loadparm.c, which I just copied.)

Please comment.  I'd like this to be more useful for other people, but 
it was a way to fix a problem I was having.

- Josh



samba2.5-winbind-flat-files.patch
Description: Binary data


samba3.0-winbind-flat-files.patch
Description: Binary data


RE: [Samba] Port 139 versus Port 445

2002-10-03 Thread Javid Abdul-AJAVID1

am curious and need to configure this and test, any ideas how to make it
work, i mean how do start 2 smbd parent process
is it port based or something else

samba technical group please comment on this if you get chance
thanks in advance

-Original Message-
From: Joel Hammer [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 03, 2002 5:47 PM
To: Javid Abdul-AJAVID1; [EMAIL PROTECTED]
Subject: Re: [Samba] Port 139 versus Port 445


I suspect that you can have two smbd's running. Each one will spawn other
daemons as needed, I THINK.
Joel

On Thu, Oct 03, 2002 at 05:41:39PM -0500, Javid Abdul-AJAVID1 wrote:
 I am just curious of running 2 smbds, as i think one parent smbd process
 runs on 139 and all others are children
 
 -Original Message-
 From: Joel Hammer [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, October 03, 2002 5:32 PM
 To: Jason Joines; [EMAIL PROTECTED]
 Subject: Re: [Samba] Port 139 versus Port 445
 
 
 Just making all this stuff up off the top of my head.
 I have never done this, but you could try:
 Running two smbd daemon, each listening to different ports.
 Redirecting traffic from port 445 to 139 with some firewall rules. I
 redirect
 traffic with ipmasqadm, but there are surely others.
 Running smbd with (x)inetd and have it listen  to both ports.
 Likely, the delay is because the W2K clients are waiting for a reply,
 and finally timing out on port 445. Why not try something funky like
 having telnet or apache listen on port 445. Maybe that will tell the
client
 right
 away to try a different port, like 139.
 Let us know how this works out, if you try any of this stuff.
 Joel
 
 On Thu, Oct 03, 2002 at 03:04:41PM -0500, Jason Joines wrote:
   I've noticed that my W2K clients connect to Samba much more quickly

  if I run it on port 445 instead of 139.  However, my WNT clients then 
  won't connect at all.  I read somewhere that it was possible to forward 
  the requests on port 139 to port 445.  Anyone know how to do this or how

  to listen to both ports simultaneously?
  
  Thanks,
  
  Jason Joines
  Open Source = Open Mind
  
  
  -- 
  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



CVS update: samba/source

2002-10-03 Thread abartlet


Date:   Thu Oct  3 07:25:08 2002
Author: abartlet

Update of /data/cvs/samba/source
In directory dp.samba.org:/tmp/cvs-serv11298

Modified Files:
Makefile.in 
Log Message:
VFStest uses all of smbd's .o files, so needs -lpam and crypt.


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



CVS update: samba/source/libads

2002-10-03 Thread tridge


Date:   Thu Oct  3 14:23:06 2002
Author: tridge

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

Modified Files:
ldap.c 
Log Message:
.NET likes both forms of servicePrincipalName in the machine account
record


Revisions:
ldap.c  1.81 = 1.82
http://www.samba.org/cgi-bin/cvsweb/samba/source/libads/ldap.c?r1=1.81r2=1.82



CVS update: samba/docs/manpages

2002-10-03 Thread jerry


Date:   Thu Oct  3 16:32:23 2002
Author: jerry

Update of /data/cvs/samba/docs/manpages
In directory dp.samba.org:/tmp/cvs-serv18825/manpages

Modified Files:
  Tag: SAMBA_2_2
smb.conf.5 
Log Message:
apply fixes from Herb to do with synonyms in smb.conf(5)

Revisions:
smb.conf.5  1.103.2.85 = 1.103.2.86

http://www.samba.org/cgi-bin/cvsweb/samba/docs/manpages/smb.conf.5?r1=1.103.2.85r2=1.103.2.86



CVS update: samba/docs/manpages

2002-10-03 Thread jelmer


Date:   Thu Oct  3 16:32:26 2002
Author: jelmer

Update of /home/cvs/samba/docs/manpages
In directory dp.samba.org:/tmp/cvs-serv18722/manpages

Modified Files:
smb.conf.5 
Log Message:

Document 'hide special files'


Revisions:
smb.conf.5  1.129 = 1.130

http://www.samba.org/cgi-bin/cvsweb/samba/docs/manpages/smb.conf.5?r1=1.129r2=1.130



CVS update: samba/docs/docbook/manpages

2002-10-03 Thread jerry


Date:   Thu Oct  3 16:52:22 2002
Author: jerry

Update of /data/cvs/samba/docs/docbook/manpages
In directory dp.samba.org:/tmp/cvs-serv22735/docbook/manpages

Modified Files:
  Tag: SAMBA_2_2
smb.conf.5.sgml 
Log Message:
alphabetical ordering of 'use sendfile'

Revisions:
smb.conf.5.sgml 1.1.2.104 = 1.1.2.105

http://www.samba.org/cgi-bin/cvsweb/samba/docs/docbook/manpages/smb.conf.5.sgml?r1=1.1.2.104r2=1.1.2.105



CVS update: samba/docs/htmldocs

2002-10-03 Thread jerry


Date:   Thu Oct  3 16:52:23 2002
Author: jerry

Update of /data/cvs/samba/docs/htmldocs
In directory dp.samba.org:/tmp/cvs-serv22735/htmldocs

Modified Files:
  Tag: SAMBA_2_2
smb.conf.5.html 
Log Message:
alphabetical ordering of 'use sendfile'

Revisions:
smb.conf.5.html 1.15.2.77 = 1.15.2.78

http://www.samba.org/cgi-bin/cvsweb/samba/docs/htmldocs/smb.conf.5.html?r1=1.15.2.77r2=1.15.2.78



CVS update: samba/source/nmbd

2002-10-03 Thread jra


Date:   Thu Oct  3 17:30:57 2002
Author: jra

Update of /data/cvs/samba/source/nmbd
In directory dp.samba.org:/tmp/cvs-serv29510/nmbd

Modified Files:
  Tag: SAMBA_3_0
nmbd_winsserver.c 
Log Message:
Merging tridge's wins fixes. Tridge - we're supposed to be keeping 3.0 up
to date :-).
Jeremy.


Revisions:
nmbd_winsserver.c   1.51.2.1 = 1.51.2.2

http://www.samba.org/cgi-bin/cvsweb/samba/source/nmbd/nmbd_winsserver.c?r1=1.51.2.1r2=1.51.2.2



CVS update: samba/source/nmbd

2002-10-03 Thread jra


Date:   Thu Oct  3 17:31:16 2002
Author: jra

Update of /data/cvs/samba/source/nmbd
In directory dp.samba.org:/tmp/cvs-serv29574/nmbd

Modified Files:
  Tag: APPLIANCE_HEAD
nmbd_winsserver.c 
Log Message:
Merging tridge's wins fixes.
Jeremy.


Revisions:
nmbd_winsserver.c   1.38.2.4 = 1.38.2.5

http://www.samba.org/cgi-bin/cvsweb/samba/source/nmbd/nmbd_winsserver.c?r1=1.38.2.4r2=1.38.2.5



CVS update: samba/source/param

2002-10-03 Thread herb


Date:   Thu Oct  3 17:37:16 2002
Author: herb

Update of /data/cvs/samba/source/param
In directory dp.samba.org:/tmp/cvs-serv30391/samba/source/param

Modified Files:
  Tag: SAMBA_2_2
loadparm.c 
Log Message:
make the default printed values for boolean the same for all parameters.


Revisions:
loadparm.c  1.251.2.118 = 1.251.2.119

http://www.samba.org/cgi-bin/cvsweb/samba/source/param/loadparm.c?r1=1.251.2.118r2=1.251.2.119



CVS update: samba/source/param

2002-10-03 Thread herb


Date:   Thu Oct  3 18:02:01 2002
Author: herb

Update of /data/cvs/samba/source/param
In directory dp.samba.org:/tmp/cvs-serv1292/samba/source/param

Modified Files:
loadparm.c 
Log Message:
make the default printed values for boolean the same for all parameters.


Revisions:
loadparm.c  1.455 = 1.456

http://www.samba.org/cgi-bin/cvsweb/samba/source/param/loadparm.c?r1=1.455r2=1.456



CVS update: samba/docs/docbook

2002-10-03 Thread jelmer


Date:   Thu Oct  3 18:10:16 2002
Author: jelmer

Update of /home/cvs/samba/docs/docbook
In directory dp.samba.org:/tmp/cvs-serv3018/docbook

Modified Files:
Makefile.in 
Log Message:

Fix links in html versions of manpages


Revisions:
Makefile.in 1.27 = 1.28

http://www.samba.org/cgi-bin/cvsweb/samba/docs/docbook/Makefile.in?r1=1.27r2=1.28



CVS update: samba/docs/htmldocs

2002-10-03 Thread jelmer


Date:   Thu Oct  3 18:10:16 2002
Author: jelmer

Update of /home/cvs/samba/docs/htmldocs
In directory dp.samba.org:/tmp/cvs-serv3018/htmldocs

Modified Files:
findsmb.1.html lmhosts.5.html make_smbcodepage.1.html 
make_unicodemap.1.html net.8.html nmbd.8.html nmblookup.1.html 
pdbedit.8.html rpcclient.1.html samba.7.html smb.conf.5.html 
smbcacls.1.html smbclient.1.html smbcontrol.1.html smbd.8.html 
smbgroupedit.8.html smbmnt.8.html smbmount.8.html 
smbpasswd.5.html smbpasswd.8.html smbsh.1.html smbspool.8.html 
smbstatus.1.html smbtar.1.html smbumount.8.html swat.8.html 
testparm.1.html testprns.1.html wbinfo.1.html winbindd.8.html 
Log Message:

Fix links in html versions of manpages


Revisions:
findsmb.1.html  1.4 = 1.5

http://www.samba.org/cgi-bin/cvsweb/samba/docs/htmldocs/findsmb.1.html?r1=1.4r2=1.5
lmhosts.5.html  1.9 = 1.10

http://www.samba.org/cgi-bin/cvsweb/samba/docs/htmldocs/lmhosts.5.html?r1=1.9r2=1.10
make_smbcodepage.1.html 1.8 = 1.9

http://www.samba.org/cgi-bin/cvsweb/samba/docs/htmldocs/make_smbcodepage.1.html?r1=1.8r2=1.9
make_unicodemap.1.html  1.3 = 1.4

http://www.samba.org/cgi-bin/cvsweb/samba/docs/htmldocs/make_unicodemap.1.html?r1=1.3r2=1.4
net.8.html  1.2 = 1.3

http://www.samba.org/cgi-bin/cvsweb/samba/docs/htmldocs/net.8.html?r1=1.2r2=1.3
nmbd.8.html 1.14 = 1.15

http://www.samba.org/cgi-bin/cvsweb/samba/docs/htmldocs/nmbd.8.html?r1=1.14r2=1.15
nmblookup.1.html1.11 = 1.12

http://www.samba.org/cgi-bin/cvsweb/samba/docs/htmldocs/nmblookup.1.html?r1=1.11r2=1.12
pdbedit.8.html  1.3 = 1.4

http://www.samba.org/cgi-bin/cvsweb/samba/docs/htmldocs/pdbedit.8.html?r1=1.3r2=1.4
rpcclient.1.html1.12 = 1.13

http://www.samba.org/cgi-bin/cvsweb/samba/docs/htmldocs/rpcclient.1.html?r1=1.12r2=1.13
samba.7.html1.10 = 1.11

http://www.samba.org/cgi-bin/cvsweb/samba/docs/htmldocs/samba.7.html?r1=1.10r2=1.11
smb.conf.5.html 1.35 = 1.36

http://www.samba.org/cgi-bin/cvsweb/samba/docs/htmldocs/smb.conf.5.html?r1=1.35r2=1.36
smbcacls.1.html 1.7 = 1.8

http://www.samba.org/cgi-bin/cvsweb/samba/docs/htmldocs/smbcacls.1.html?r1=1.7r2=1.8
smbclient.1.html1.15 = 1.16

http://www.samba.org/cgi-bin/cvsweb/samba/docs/htmldocs/smbclient.1.html?r1=1.15r2=1.16
smbcontrol.1.html   1.11 = 1.12

http://www.samba.org/cgi-bin/cvsweb/samba/docs/htmldocs/smbcontrol.1.html?r1=1.11r2=1.12
smbd.8.html 1.17 = 1.18

http://www.samba.org/cgi-bin/cvsweb/samba/docs/htmldocs/smbd.8.html?r1=1.17r2=1.18
smbgroupedit.8.html 1.2 = 1.3

http://www.samba.org/cgi-bin/cvsweb/samba/docs/htmldocs/smbgroupedit.8.html?r1=1.2r2=1.3
smbmnt.8.html   1.5 = 1.6

http://www.samba.org/cgi-bin/cvsweb/samba/docs/htmldocs/smbmnt.8.html?r1=1.5r2=1.6
smbmount.8.html 1.6 = 1.7

http://www.samba.org/cgi-bin/cvsweb/samba/docs/htmldocs/smbmount.8.html?r1=1.6r2=1.7
smbpasswd.5.html1.7 = 1.8

http://www.samba.org/cgi-bin/cvsweb/samba/docs/htmldocs/smbpasswd.5.html?r1=1.7r2=1.8
smbpasswd.8.html1.11 = 1.12

http://www.samba.org/cgi-bin/cvsweb/samba/docs/htmldocs/smbpasswd.8.html?r1=1.11r2=1.12
smbsh.1.html1.6 = 1.7

http://www.samba.org/cgi-bin/cvsweb/samba/docs/htmldocs/smbsh.1.html?r1=1.6r2=1.7
smbspool.8.html 1.8 = 1.9

http://www.samba.org/cgi-bin/cvsweb/samba/docs/htmldocs/smbspool.8.html?r1=1.8r2=1.9
smbstatus.1.html1.11 = 1.12

http://www.samba.org/cgi-bin/cvsweb/samba/docs/htmldocs/smbstatus.1.html?r1=1.11r2=1.12
smbtar.1.html   1.7 = 1.8

http://www.samba.org/cgi-bin/cvsweb/samba/docs/htmldocs/smbtar.1.html?r1=1.7r2=1.8
smbumount.8.html1.3 = 1.4

http://www.samba.org/cgi-bin/cvsweb/samba/docs/htmldocs/smbumount.8.html?r1=1.3r2=1.4
swat.8.html 1.10 = 1.11

http://www.samba.org/cgi-bin/cvsweb/samba/docs/htmldocs/swat.8.html?r1=1.10r2=1.11
testparm.1.html 1.10 = 1.11

http://www.samba.org/cgi-bin/cvsweb/samba/docs/htmldocs/testparm.1.html?r1=1.10r2=1.11
testprns.1.html 1.7 = 1.8

http://www.samba.org/cgi-bin/cvsweb/samba/docs/htmldocs/testprns.1.html?r1=1.7r2=1.8
wbinfo.1.html   1.6 = 1.7

http://www.samba.org/cgi-bin/cvsweb/samba/docs/htmldocs/wbinfo.1.html?r1=1.6r2=1.7
winbindd.8.html 1.14 = 1.15

http://www.samba.org/cgi-bin/cvsweb/samba/docs/htmldocs/winbindd.8.html?r1=1.14r2=1.15



CVS update: samba/source/smbd

2002-10-03 Thread jra


Date:   Thu Oct  3 18:10:59 2002
Author: jra

Update of /data/cvs/samba/source/smbd
In directory dp.samba.org:/tmp/cvs-serv3240/smbd

Modified Files:
  Tag: SAMBA_3_0
fileio.c 
Log Message:
Write cache bugfix from Rasmus Borup Hansen, system adm. Email: [EMAIL PROTECTED]
Jeremy.


Revisions:
fileio.c1.40.2.2 = 1.40.2.3

http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/fileio.c?r1=1.40.2.2r2=1.40.2.3



CVS update: samba/source/smbd

2002-10-03 Thread jra


Date:   Thu Oct  3 18:11:12 2002
Author: jra

Update of /data/cvs/samba/source/smbd
In directory dp.samba.org:/tmp/cvs-serv3276/smbd

Modified Files:
fileio.c 
Log Message:
Write cache bugfix from Rasmus Borup Hansen, system adm. Email: [EMAIL PROTECTED]
Jeremy.


Revisions:
fileio.c1.43 = 1.44
http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/fileio.c?r1=1.43r2=1.44



CVS update: samba/source/smbd

2002-10-03 Thread jra


Date:   Thu Oct  3 18:11:28 2002
Author: jra

Update of /data/cvs/samba/source/smbd
In directory dp.samba.org:/tmp/cvs-serv3310/smbd

Modified Files:
  Tag: APPLIANCE_HEAD
fileio.c 
Log Message:
Write cache bugfix from Rasmus Borup Hansen, system adm. Email: [EMAIL PROTECTED]
Jeremy.


Revisions:
fileio.c1.22.2.6 = 1.22.2.7

http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/fileio.c?r1=1.22.2.6r2=1.22.2.7



CVS update: samba/docs/docbook

2002-10-03 Thread jelmer


Date:   Thu Oct  3 18:37:37 2002
Author: jelmer

Update of /home/cvs/samba/docs/docbook
In directory dp.samba.org:/tmp/cvs-serv8294

Modified Files:
samba.dsl 
Log Message:

Fix generation of FAQ


Revisions:
samba.dsl   1.3 = 1.4
http://www.samba.org/cgi-bin/cvsweb/samba/docs/docbook/samba.dsl?r1=1.3r2=1.4



CVS update: samba/docs/docbook/faq

2002-10-03 Thread jelmer


Date:   Thu Oct  3 18:37:37 2002
Author: jelmer

Update of /home/cvs/samba/docs/docbook/faq
In directory dp.samba.org:/tmp/cvs-serv8294/faq

Modified Files:
sambafaq.sgml 
Log Message:

Fix generation of FAQ


Revisions:
sambafaq.sgml   1.2 = 1.3

http://www.samba.org/cgi-bin/cvsweb/samba/docs/docbook/faq/sambafaq.sgml?r1=1.2r2=1.3



CVS update: samba/docs/faq

2002-10-03 Thread jelmer


Date:   Thu Oct  3 18:43:39 2002
Author: jelmer

Update of /home/cvs/samba/docs/faq
In directory dp.samba.org:/tmp/cvs-serv9540

Added Files:
clientapp.html general.html install.html samba-faq.html 
Log Message:

Add generated files for FAQ


Revisions:
clientapp.html  NONE = 1.1
http://www.samba.org/cgi-bin/cvsweb/samba/docs/faq/clientapp.html?rev=1.1
general.htmlNONE = 1.1
http://www.samba.org/cgi-bin/cvsweb/samba/docs/faq/general.html?rev=1.1
install.htmlNONE = 1.1
http://www.samba.org/cgi-bin/cvsweb/samba/docs/faq/install.html?rev=1.1
samba-faq.html  NONE = 1.1
http://www.samba.org/cgi-bin/cvsweb/samba/docs/faq/samba-faq.html?rev=1.1



  1   2   >