RE: [Samba] Usernames with dots

2003-01-07 Thread daniel . jarboe
Actually you were having a two part-problem. The fix your remaining problem, put your DOMAIN and seperator before the user. chown -R GENEEDINC+chris.palmer: chris.palmer/ That'll do it ~ Daniel -Original Message- From: Chris Palmer [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January

[Samba] smbd using alot of cpu on HP-UX 11.11

2003-01-07 Thread P Ranjit Kumar
Hello Danny Travis, I am assuming you are using generic Samba 2.2.3a version. We came across the problem and you can fix it by setting the cache variable on the devnm() system cal to 1. Just set the last parameter to the devnm() call in smbd/quotas.c to 1. ### #

Re: [Samba] Precisions to bug 26128

2003-01-07 Thread David G Maynard
On Thursday 12 December 2002 07:53, Jean-Paul ARGUDO wrote: # smbd -V Version 2.2.3a-12 for Debian mine is Version 2.2.3a from a SuSE 8.0 rpm # uname -a Linux master 2.4.20 #2 SMP Mon Dec 2 18:49:26 CET 2002 i686 unknown # cat /etc/debian_version 3.0 mine is Linux dgmserver 2.4.18-4GB #1

RE: [Samba] Usernames with dots

2003-01-07 Thread Chris Palmer
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Try 'chown chris.palmer: myfile' ... with the trailing :, chown does not get fooled by the . in your username, and if no group follows then your default login group is used, and it will correctly use chris.palmer in its entirety for your

[Samba] Usernames with dots

2003-01-07 Thread Chris Palmer
Now that I have winbind working, life is good. However, I've hit upon a real kick in the pants. As you can see from my email address, we have a convention here of usernames being firstname.lastname. So, when I go to change the owner ship of a file: $ chown chris.palmer myfile Linux thinks I

Re: [Samba] Problem with Winbind and groups

2003-01-07 Thread dj
On Mon, 6 Jan 2003, Jennifer Fountain wrote: ./wbinfo -g - i get a listing of all my domain groups ./wbinfo -r jfountain - i get all the groups gid but if i type groups jfountain i only get domain admins nsswitch.conf passwd: files winbind group: files winbind Looks OK. samba

[Samba] copy files (20k) to samba server fails

2003-01-07 Thread Thei Wijnen
Hi, I try to copy a file to the linux samba server from a Windows2000 host, but files larger than 20 kbytes cannot be copied ! Is there a limit somewhere on the smb server ? Is there a limit on the Windows registry ??? Regards, Thei Wijnen.

[Samba] Strange Behavior

2003-01-07 Thread snowch
I have just migrated some users from a NT4 server to a redhat samba server (SME e-smith server 5.5, samba version 2.2.4-3). One of the users has mentioned that some changes they made to a spreadsheet on Friday have been lost. The user also mentioned that another user amended the spreadhsheet

[Samba] help

2003-01-07 Thread ebrahimi
We want have an active directory linux server for our lan with win2kperfostional and winxp.Wath we do for this.ThanksEbrahimi

[Samba] winbind performance in large domains

2003-01-07 Thread Heiko Ettelbrueck
Hi, what are your experiences using winbind in large domains, say with some 10,000 users? I have set up a test box (celeron 1000, 512 mb ram, suse 8.1) and see a cpu usage of 100% for some seconds after each login, similar times for doing a ls -l or ps -A. On the other hand, ls -n does need

[Samba] XP oplock woes

2003-01-07 Thread Simon Faulkner
It seems that it is just one of the XP workstations that has the problem. Could there be a registry setting that causes this error maybe? Simon ERROR FOLLOWS I keep getting problems with XP word documents becoming read only during editing and this is a typical log entry for the event:

Re: [Samba] Strange Behavior

2003-01-07 Thread snowch
I think the problem may be due to file locking. Should I change strict locking to yes? Best regards, Chris On Tue, Jan 07, 2003 at 03:45:07AM -0500, [EMAIL PROTECTED] wrote: I have just migrated some users from a NT4 server to a redhat samba server (SME e-smith server 5.5, samba version

RE: [Samba] Initial configuration help

2003-01-07 Thread Bryan Brannigan
First thing I notice is that your net use command doesn't point to any of the shares you have configured, but this shouldn't give you password problems, just an error. What happens if you run net view \\yourservername ? -Original Message- From: tufkal [mailto:[EMAIL PROTECTED]] Sent:

Re: [Samba] Initial configuration help

2003-01-07 Thread Buchan Milne
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Message: 21 From: tufkal [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: 06 Jan 2003 17:02:08 -0600 Subject: [Samba] Initial configuration help I have my Linux box setup net_masq (internet connection sharing) for a windows XP PC. I am using

[Samba] user names containing @

2003-01-07 Thread Roman Manz
Hi, we are running Samba 2.2.2 on Solaris8; one client (MS 2000) is not able to map a drive: The tcpdump shows the correct user name user@dom. smbd -d 3 shows user_dom and thus the authentication on the PDC fails. Does anybody know why Samba translates the @ into an _? Thanks a lot, Roman

Re: [Samba] help

2003-01-07 Thread Christopher Barry
not possible. On Tue, 2003-01-07 at 04:00, ebrahimi wrote: We want have an active directory linux server for our lan with win2k perfostional and winxp. Wath we do for this. Thanks Ebrahimi -- To unsubscribe from this list go to the following URL and read the instructions:

[Samba] Samba 2.2.7a PDC gives errors - HELP!!!

2003-01-07 Thread Enrico Payne
Hi, I have recently upgraded from an old version of Samba - Pre 2.2 to 2.27a, running on RH8.0. My network is setup as follows: Multiple Samba Servers, each with 2 NIC's One Server is configured as PDC with WINS. The other servers are configured as BDC using the PDC for WINS support. I do not

[Samba] Re: Samba machine trust account setting in FreeBSD

2003-01-07 Thread Jeffrey R. Meyer
I am assuming that you edited the /etc/passwd file via vi or another text editor? If this is the case, appending a $ to the machine account will not work under FreeBSD. Instead as root type vipw and then append the $ to the machine account. I have done this and it works under FreeBSD. Jeff

RE: [Samba] Usernames with dots

2003-01-07 Thread Chris Palmer
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] chown -R GENEEDINC+chris.palmer: chris.palmer/ Very good! Thanks. I really, really should have thought of that... Samba is a great product and this list is a great resource. I really appreciate them. -- Chris PalmerSystems Programmer

RE: [Samba] Usernames with dots

2003-01-07 Thread daniel . jarboe
From: Chris Palmer [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 2:12 PM To: [EMAIL PROTECTED] Subject: [Samba] Usernames with dots Now that I have winbind working, life is good. However, I've hit upon a real kick in the pants. As you can see from my email address, we

[Samba] Troubleshooting Printer setup

2003-01-07 Thread John Blue
I am running SuSE V8.0, and Samba 2.2.7a on a small network server. I have been having problems relating to sorting out printing from an NT4 workstation to a laser printer on the Samba server. I had to reboot my Windoze PC and am logged in as myself (I have Administrator rights). I can see

[Samba] Printing OK but bad message.

2003-01-07 Thread Ascodas
Hello, I print from a Win2000 Station to a Debian SID with Samba and cups ( [samba 2.999+3.0.alph] [cupsys 1.1.18-1] ), I can print but on the Win2000 I have the message (unable to connect on the printer ) and this is a part of my error_log file: adPPDs: Read

Re: [Samba] Usernames with dots

2003-01-07 Thread mlh
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] writes chown -R GENEEDINC+chris.palmer: chris.palmer/ FWIW, you should always use the -h option (don't follow symlinks) when chown'ing, especially recursive chowns. Matt -- To unsubscribe from this list go to the following URL and read the

[Samba] Default domain for winbindd?

2003-01-07 Thread Chris Palmer
Hello once again, I've got winbind doing authentication not just for the samba service but also sshd and login. It's great. However, I have to give a fully-qualified username (e.g. GENEEDINC+chris.palmer) as the username when logging in via these methods. I wondered, Is there any way to get

[Samba] Getting NT Domain password.

2003-01-07 Thread Sundaram Ramasamy
I would like to know this is possible. I want to move my windows domain users to Linux samba account. Is it possible to get the current windows domain password and populate the ldap database? Thanks SR

[Samba] Wow im dumb

2003-01-07 Thread tufkal
I think the reason im getting problems is the PC that is running SAMBA is also my firewall, and it blocks pretty much all requests, even from internal addresses. What port(s) do I need to open? Or now am I really confused? -- To unsubscribe from this list go to the following URL and read the

Re: [Samba] Wow im dumb

2003-01-07 Thread Stephen Kuhn
On Wed, 2003-01-08 at 14:07, tufkal wrote: I think the reason im getting problems is the PC that is running SAMBA is also my firewall, and it blocks pretty much all requests, even from internal addresses. What port(s) do I need to open? Or now am I really confused? port 139 -- kuhn

[Samba] Sigh....ok once more with feeling

2003-01-07 Thread tufkal
The firewall didnt help matters. I think its FUBAR and I need to reformat anyways, so ill reformat and reinstall and put fresh SAMBA up, on Mandrake 9.0. The system has 2 NICs and NET_MASQ shares internet to the XP machine. Therein it acts as a DHCP server and has a firewall. I will open 139

[Samba] print issue with 2.2.4a on FreeBSD

2003-01-07 Thread David Bear
I have installed samba 2.2.7 on freebsd from the ports collections. I had a previous installation of samba 2.0 and I used my old smb.conf file to duplicate the funcationality I had. Trouble is, printing from winNT/2K clients doesn't work. Printing from win9x machines still does. I've been

Re: [Samba] Wow im dumb

2003-01-07 Thread Jay Ts
tufkal wrote: I think the reason im getting problems is the PC that is running SAMBA is also my firewall, and it blocks pretty much all requests, even from internal addresses. What port(s) do I need to open? 137 (used by nmbd for NetBIOS name service) 138 (used for network browsing) 139

Re: [Samba] user names containing @

2003-01-07 Thread Andrew Bartlett
On Wed, 2003-01-08 at 00:08, Roman Manz wrote: Hi, we are running Samba 2.2.2 on Solaris8; one client (MS 2000) is not able to map a drive: The tcpdump shows the correct user name user@dom. smbd -d 3 shows user_dom and thus the authentication on the PDC fails. Does anybody know why Samba

[Samba] Re: Wow im dumb

2003-01-07 Thread Jim
Samba uses 137, 138 and 139 according to the docs however you may also want 445 which is M$'s AD. Stephen Kuhn wrote: On Wed, 2003-01-08 at 14:07, tufkal wrote: I think the reason im getting problems is the PC that is running SAMBA is also my firewall, and it blocks pretty much all requests,

[Samba] Re: Sigh....ok once more with feeling

2003-01-07 Thread Jim
Report: I have it and I'm not having any trouble with shorewall so long as I open 137-139 and 445. But I concur, shorewall is a pain regardless. It would be far better if they just made the UI a table of ethernet interfaces along the top with a list of the most common ports used on a linux

Re: fixing redundant network opens on Linux file creation

2003-01-07 Thread Jan Hudec
On Mon, Jan 06, 2003 at 07:18:30PM -0300, Marcos Dione wrote: On Mon, Jan 06, 2003 at 11:25:32AM -0600, Steven French wrote: The creat() system call results (for the Linux kernel) in calls to create (via vfs_create) then later a call to open (via dentry_open) both of which eventually end up

permission upgrade during O_TRUNC

2003-01-07 Thread steve
Hey there, I posted a quick fix for a problem I found with all samba's up to 2.2.7a on the general samba list, which describes the following problem: In Windows, if you create a file with NORMAL attributes and ALWAYS_CREATE, close the file and then re-create it with, say, HIDDEN and

Re: Samba 2.2.7a and LDAP Rebind for Slave enviroment ...

2003-01-07 Thread C.Lee Taylor
Standard Samba 2.2.7 does not rebind to do updates. This is a problem when using LDAP and a replicated directory. I did try this on the normal mail-list, but got no responce so I hoped to try here. I found http://www.unav.es/cti/ldap-smb/ldap-smb-2_2-howto.html, which has a patch to

Re: Prevent winbind idmap corruption

2003-01-07 Thread Michael Steffens
Andrew Bartlett wrote: This looks like a good idea - getting this stuff right does matter... Even more since this db is very hard to recover with Samba onboard facilities... I don't like the use of uid_t for gid_t, on the assumption that they must be the same... I know it will never happen,

Re: [Lustre-devel] Re: fixing redundant network opens on Linux file creation

2003-01-07 Thread Mike Shaver
On Jan 06, Bryan Henderson wrote: That's really orthogonal to this discussion. If you want to conserve the number of VFS operation routines, you can have a single routine with parameters for a dozen different operations whether it is lookup-with-intent or lookup-and-do. Pretty much the only

Update on Samba fcntl problem with Solaris?

2003-01-07 Thread Haley, Kevin (K.A.)
Hello, I've read the discussion in the list archives regarding the Solaris fnctl problem which appears to be related to the lingering problem our site is having since recent migration to 2.2.6 for our print server (Solaris 8, smbd processes hanging around with high CPU utilization and truss'ed

inconsistent properties (Samba 3.0-HEAD)

2003-01-07 Thread Ronan Waide
Hi, under current CVS samba I've set up a BDC to test some migration stuff. If I look at it in Network Neighbourhood and view its properties, it's listed as Windows NT 4.9 Primary. If, however, I look at it in Server Manager, it's listed as Windows NT 4.9 Backup (which is what I'd expect, since

Re: [Lustre-devel] Re: fixing redundant network opens on Linux file creation

2003-01-07 Thread Andreas Dilger
On Jan 07, 2003 09:28 -0800, Bryan Henderson wrote: JFS, VxFS and NetApp seem to use intent logging to mean something similar (I will be doing this next, rather than I might be doing this next, but maybe not). Maybe I misunderstand the intent log, though, and the time at which it gets

Re: Update on Samba fcntl problem with Solaris?

2003-01-07 Thread jra
On Tue, Jan 07, 2003 at 12:00:15PM -0500, Haley, Kevin (K.A.) wrote: Hello, I've read the discussion in the list archives regarding the Solaris fnctl problem which appears to be related to the lingering problem our site is having since recent migration to 2.2.6 for our print server

Re: Update on Samba fcntl problem with Solaris?

2003-01-07 Thread Volker Lendecke
On Tue, Jan 07, 2003 at 07:48:30PM +, [EMAIL PROTECTED] wrote: Is this bug being entirely handled by Sun? Or will there be a samba update as part of the pending fix? It's a Solaris kernel bug so a Samba update isn't needed. For which the working patch is currently in testing-mode.

Re: permission upgrade during O_TRUNC

2003-01-07 Thread jra
On Tue, Jan 07, 2003 at 10:53:41AM +0100, [EMAIL PROTECTED] wrote: Hey there, I posted a quick fix for a problem I found with all samba's up to 2.2.7a on the general samba list, which describes the following problem: In Windows, if you create a file with NORMAL attributes and ALWAYS_CREATE,

Re: Kix Scripting KX RPC Service

2003-01-07 Thread Mike Brady
I use http://www.kixtart.org/ in login scripts for NT4 Workstations against Samba servers to do what I think you are talking about. Kixtart does work on Win95 some maybe this is what you want. Note that you will need SAMBA 3 for the group stuff to do anything meaningful. On Tue, 07 Jan 2003

Re: Kix Scripting KX RPC Service

2003-01-07 Thread Tim Potter
On Tue, Jan 07, 2003 at 02:42:39PM +0930, Barry Robinson wrote: Not sure if this is the right mailing list to direct this to, but just wondering if anyone would know of any functionality in using the KXRPC service through Samba? Basically you have to install the KXRPC service on a Windows

Re: permission upgrade during O_TRUNC

2003-01-07 Thread Andrew Bartlett
On Wed, 2003-01-08 at 13:10, [EMAIL PROTECTED] wrote: On Tue, Jan 07, 2003 at 10:53:41AM +0100, [EMAIL PROTECTED] wrote: Hey there, I posted a quick fix for a problem I found with all samba's up to 2.2.7a on the general samba list, which describes the following problem: In Windows, if

CVS update: samba/source/utils

2003-01-07 Thread vlendec
Date: Tue Jan 7 10:38:33 2003 Author: vlendec Update of /data/cvs/samba/source/utils In directory dp.samba.org:/tmp/cvs-serv16631 Modified Files: pdbedit.c Log Message: Create a machine account correctly if the unix account exists. With this, my test for W2kSP3 join after pdbedit

CVS update: samba/source/utils

2003-01-07 Thread vlendec
Date: Tue Jan 7 10:39:23 2003 Author: vlendec Update of /data/cvs/samba/source/utils In directory dp.samba.org:/tmp/cvs-serv17407 Modified Files: Tag: SAMBA_3_0 pdbedit.c Log Message: Merge from HEAD. Volker Revisions: pdbedit.c 1.39.2.10 = 1.39.2.11

CVS update: samba/source/include

2003-01-07 Thread herb
Date: Tue Jan 7 16:23:22 2003 Author: herb Update of /data/cvs/samba/source/include In directory dp.samba.org:/tmp/cvs-serv843/include Modified Files: Tag: SAMBA_2_2 proto.h Log Message: rerun make proto to fix build on IRIX Revisions: proto.h 1.900.2.407 =

CVS update: samba/source/script

2003-01-07 Thread herb
Date: Tue Jan 7 17:33:30 2003 Author: herb Update of /data/cvs/samba/source/script In directory dp.samba.org:/tmp/cvs-serv9135/script Modified Files: genstruct.pl Log Message: add and escape before $( in regex string so it is not interpreted as the perl variable for real gid of this

CVS update: samba/source/nsswitch

2003-01-07 Thread herb
Date: Tue Jan 7 17:43:37 2003 Author: herb Update of /data/cvs/samba/source/nsswitch In directory dp.samba.org:/tmp/cvs-serv10539/nsswitch Modified Files: wbinfo.c Log Message: cannot make assignments to const values. Revisions: wbinfo.c1.56 = 1.57

Re: CVS update: samba/source/utils

2003-01-07 Thread Richard Sharpe
On Tue, 7 Jan 2003 [EMAIL PROTECTED] wrote: Date: Tue Jan 7 17:55:14 2003 Author: herb Update of /data/cvs/samba/source/utils In directory dp.samba.org:/tmp/cvs-serv11140/utils Modified Files: editreg.c Log Message: this makes it compile, but I'm not sure if it is

CVS update: samba/source/utils

2003-01-07 Thread vlendec
Date: Tue Jan 7 20:54:31 2003 Author: vlendec Update of /data/cvs/samba/source/utils In directory dp.samba.org:/tmp/cvs-serv32042 Modified Files: pdbedit.c Log Message: Fix memory leak. Thanks, Herb! Volker Revisions: pdbedit.c 1.67 = 1.68

CVS update: samba/source/smbd

2003-01-07 Thread tpot
Date: Wed Jan 8 00:35:37 2003 Author: tpot Update of /data/cvs/samba/source/smbd In directory dp.samba.org:/tmp/cvs-serv19006 Modified Files: Tag: APPLIANCE_HEAD password.c Log Message: Remove unused and uninitialised variable from domain_client_validate_direct() function. No

CVS update: samba/source/passdb

2003-01-07 Thread jra
Date: Wed Jan 8 02:09:14 2003 Author: jra Update of /data/cvs/samba/source/passdb In directory dp.samba.org:/tmp/cvs-serv25451/passdb Modified Files: pdb_get_set.c Log Message: Fix open problem with changing attributes on an existing file - based on work by [EMAIL PROTECTED].

CVS update: samba/source/smbd

2003-01-07 Thread jra
Date: Wed Jan 8 02:09:14 2003 Author: jra Update of /data/cvs/samba/source/smbd In directory dp.samba.org:/tmp/cvs-serv25451/smbd Modified Files: open.c Log Message: Fix open problem with changing attributes on an existing file - based on work by [EMAIL PROTECTED]. Jeremy.

CVS update: samba/source/passdb

2003-01-07 Thread jra
Date: Wed Jan 8 02:09:18 2003 Author: jra Update of /data/cvs/samba/source/passdb In directory dp.samba.org:/tmp/cvs-serv25379/passdb Modified Files: Tag: SAMBA_3_0 pdb_get_set.c Log Message: Fix open problem with changing attributes on an existing file - based on work by

CVS update: samba/source/smbd

2003-01-07 Thread jra
Date: Wed Jan 8 02:09:18 2003 Author: jra Update of /data/cvs/samba/source/smbd In directory dp.samba.org:/tmp/cvs-serv25379/smbd Modified Files: Tag: SAMBA_3_0 open.c Log Message: Fix open problem with changing attributes on an existing file - based on work by [EMAIL

CVS update: samba/source/nsswitch

2003-01-07 Thread herb
Date: Wed Jan 8 02:18:49 2003 Author: herb Update of /data/cvs/samba/source/nsswitch In directory dp.samba.org:/tmp/cvs-serv27566 Modified Files: Tag: SAMBA_3_0 wbinfo.c Log Message: cannot assign to const Revisions: wbinfo.c1.38.2.9 = 1.38.2.10

CVS update: samba/source/lib

2003-01-07 Thread tpot
Date: Wed Jan 8 04:14:12 2003 Author: tpot Update of /data/cvs/samba/source/lib In directory dp.samba.org:/tmp/cvs-serv4349 Modified Files: signal.c Log Message: Removed pointless null statement in signal handler. Revisions: signal.c1.8 = 1.9

Re: CVS update: samba/source/smbd

2003-01-07 Thread Andrew Bartlett
On Wed, 2003-01-08 at 09:00, [EMAIL PROTECTED] wrote: On Mon, Jan 06, 2003 at 09:35:35AM +0100, Volker Lendecke wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Modified Files: Tag: SAMBA_3_0 close.c dir.c open.c Log Message: Fix problem with hide unreadable.

Re: CVS update: samba/source/smbd

2003-01-07 Thread jra
On Wed, Jan 08, 2003 at 05:08:34PM +1100, Andrew Bartlett wrote: So what happens with kernel oplocks here? Won't they trigger? Nope. It's a read of metadata, not an open. And if we are going to do the open anyway, why don't we just use the result of that - why do we need to check the ACL?

Re: CVS update: samba/source/smbd

2003-01-07 Thread jra
On Wed, Jan 08, 2003 at 05:32:13PM +1100, Andrew Bartlett wrote: Did you test that? The build farm is segfaulting, becouse it looks like that last free() killed the return value... Ah - got it. Jeremy.

CVS update: samba/source/smbd

2003-01-07 Thread jra
Date: Wed Jan 8 07:02:21 2003 Author: jra Update of /data/cvs/samba/source/smbd In directory dp.samba.org:/tmp/cvs-serv18833/smbd Modified Files: Tag: SAMBA_3_0 chgpasswd.c Log Message: Fix erroneous free of SAM_ACCOUNT (make clearer when allocated memory is being returned).

CVS update: samba/source/smbd

2003-01-07 Thread jra
Date: Wed Jan 8 07:08:51 2003 Author: jra Update of /data/cvs/samba/source/smbd In directory dp.samba.org:/tmp/cvs-serv19474/smbd Modified Files: Tag: SAMBA_2_2 chgpasswd.c lanman.c Log Message: Fix double free of SAM_ACCOUNT - make it clear when malloced memory is being