[Samba] What circumstances migth favour frequently locked files

2004-03-14 Thread Vladuta Cristian
 

Gentlemen, I am running a RH9 - Samba PDC ( 3.0.1pre3) in a mixed
W9X/XP/NT production environment and encountered a problem related to
locked files. By tracing down the event I suspect it might have happened
when a certain user tried to copy a large number of files from an NT
server on to the Samba server.  The process resulted in a list of locked
files that remained there until a smb restart. Below is my event log
related to that. 

However I discovered other files staying locked as well , not in
relation with big transfers . 

 

Can you please tell me what circumstances might favour such unwanted
locking situations? And what are the odds for file corruption in such
cases? 

 

And final question:  What is the safest upgrade method from a
preliminary version - rpm package - ( 3.0.1pre3, my case) to the latest
stable one?  Simply removing the rpms and installing the new ones by
preserving the conf and smbpasswd file?

 

Thank you,

 

Cristian

 

 

 

 

 

2004/03/11 17:05:50, 0] lib/fault.c:fault_report(36)

  ===

[2004/03/11 17:05:50, 0] lib/fault.c:fault_report(37)

  INTERNAL ERROR: Signal 11 in pid 4046 (3.0.1pre3)

  Please read the appendix Bugs of the Samba HOWTO collection

[2004/03/11 17:05:50, 0] lib/fault.c:fault_report(39)

  ===

[2004/03/11 17:05:50, 0] lib/util.c:smb_panic(1400)

  PANIC: internal error

[2004/03/11 17:05:50, 0] lib/util.c:smb_panic(1408)

  BACKTRACE: 14 stack frames:

   #0 smbd(smb_panic+0x11c) [0x81bc81c]

   #1 smbd [0x81ab1f2]

   #2 /lib/tls/libc.so.6 [0x420275c8]

   #3 smbd(alloc_sub_basic+0x22) [0x81c2cb2]

   #4 smbd(strftime+0x19a1) [0x80776ed]

   #5 smbd(make_connection+0x4ca) [0x80cb4aa]

   #6 smbd(reply_tcon_and_X+0x1af) [0x809bd8f]

   #7 smbd [0x80c7c56]

   #8 smbd [0x80c7e29]

   #9 smbd(process_smb+0x8f) [0x80c803f]

   #10 smbd(smbd_process+0x167) [0x80c8c77]

   #11 smbd(main+0x4bf) [0x8227c0f]

   #12 /lib/tls/libc.so.6(__libc_start_main+0xe4) [0x42015574]

   #13 smbd(chroot+0x35) [0x8076b91]

 

 

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


[Samba] Samba 2 - Samba 3 : Group mapping only partially working

2004-03-14 Thread Mark Hannon
Hi,

I have just upgraded from samba 2.2.8 to samba 3.0.2.  In my old 2.2.8
pdc configuration
I used a domain admin group clause to map some users to administrators.
When I would
login with this user all would be well.  Printing out the user details
from a Win2K
client would show:

c:\ net user mark /domain

The request will be processed at a domain controller for domain
HOME.LAN.
snip
Local Group Memberships  *BUILTIN\Users*Users
Global Group memberships *Domain Users *Domain Admins

However, post upgrade the same command now shows:

Local Group Memberships  *adm
Global Group memberships *Domain Admins*Users

There are a few curious things here (a) Local group membership is set to
adm!!
(The mark uid includes membership of the linux group adm).  (b) The old
Users local memberships do not exist.

My samba group mapping is like this:

System Operators (S-1-5-32-549) - -1
Domain Users (S-1-5-21-3891909844-1233218766-3156376020-513) -
smbusers
Replicators (S-1-5-32-552) - -1
Guests (S-1-5-32-546) - smbguest
Power Users (S-1-5-32-547) - -1
Domain Admins (S-1-5-21-3891909844-1233218766-3156376020-512) -
smbadmin
Print Operators (S-1-5-32-550) - -1
Administrators (S-1-5-32-544) - smbadmin
Domain Guests (S-1-5-21-3891909844-1233218766-3156376020-514) -
smbguest
Account Operators (S-1-5-32-548) - -1
Backup Operators (S-1-5-32-551) - -1
Users (S-1-5-32-545) - smbusers

Can anyone give me some clues to restore the old local group
memberships?

Regards/Mark


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


[Samba] Roaming profiles on a small network

2004-03-14 Thread Matt Janes
Hi list,

I intend to run an old pentium 133 as a linux-based fileserver on my home
network (I have to use windows for my main machine and laptop!)  Im having
great diffiuculty synching the data, email, etc on my laptop and desktop, so
I thought I might configure samba to act as a DC and use roaming profiles to
make sure that my data is always synched.  My question is this: is it worth
the effort?  Do you have any experience of doing so?  Im not talking about a
huge network here, literally just 2 machines.  Obviously I couldnt log onto
both machines at once, and Id have to be sure to log on and off with the
laptop after a trip away from base so as to upload all relevant data to the
server before logging onto to the desktop.

Im not asking for actual technical help (im a linux/samba newbie, just in
case that wasnt obvious ;-) ), but more your thoughts on whether this would
be feasible/suitable

TIA

Matt



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


[Samba] Slowly groupmembership

2004-03-14 Thread Matthias Spork
Hello,

when i add a user to a group, the user will not see his new groupdirectorys.
After rcsmb restart it goes, I've waiting up to 5 minutes before
restarting Samba. groups user_name works fine.

This is my smb.conf for the relatet share:

[data]
comment = Data
path = /samba/daten
read only = No
inherit permissions = Yes
hide unreadable = Yes
veto files = /.*/
vfs objects = recycle
recycle:keeptree = True
recycle:versions = True
recycle:repository = .recycle/%U

How long does samba wait, to get the updated groups for a user from ldap?

matze

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


Re: [Samba] Roaming profiles on a small network

2004-03-14 Thread Peter Ulrich Kruppa
On Sun, 14 Mar 2004, Matt Janes wrote:

 Hi list,

 I intend to run an old pentium 133 as a linux-based fileserver on my home
 network (I have to use windows for my main machine and laptop!)  Im having
 great diffiuculty synching the data, email, etc on my laptop and desktop, so
 I thought I might configure samba to act as a DC and use roaming profiles to
 make sure that my data is always synched.
Last summer I did a setup like this for learning purposes on a
P75 with 16MB RAM and it worked (not really fast of course, but
it was ok.).
It even worked with more then two machines and users.

 My question is this: is it worth
 the effort?
Yes, if you want to learn something about Linux and networking,
but this will need some time and a lot of trial and error.

The simplier way would be to use a webmail account and to save
your files on a USB stick, which can be plugged in and out
everywhere.


Regards,

Uli.


+-+
|   Peter Ulrich Kruppa   |
|  - Wuppertal -  |
| Germany |
+-+
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] citrix stores addition information into SAM on pdc

2004-03-14 Thread roland
FYI
(see below)

maybe this is of interest for people planning to use samba in a WTS/Citrix environment.

it`s about the question, that samba couldn`t store terminal-server-specific user 
settings (e.g. shadowing on/off) in its SAM (tdbsam
or ldapsam).

first tests show, that it seems to work with the latest CVS.
i`m using tdbsam as the passdb backend.

perhaps you wts/citrix/samba admin out there also want to test  share your experience.

regards
roland

ps:
ntsec is just a commanline replacement for that click-click-M$-GUI-stuff ;)



 we had a short conversation regarding wts/citrix params on irc some days ago.

 i`d like to report, that my first tests look promising.
 i`m testing @home - no citrix around here, but ntsec commandline tools (btw: good 
 product! eval. copy available!) let me
manipulate
 some wts/citrix appropriate params, and they seem to be stored right (see below)

 fine ! :)



 C:\Programme\Pedestal Software\NTSECntuser -wts -s smb3server change root 
 -wts_home_dir_drive c:

 C:\Programme\Pedestal Software\NTSECntuser -wts -s smb3server change root 
 -wts_shadowing_settings 1

 C:\Programme\Pedestal Software\NTSECntuser -wts -s smb3server change root 
 -wts_home_dir \\test1\test

 C:\Programme\Pedestal Software\NTSECntuser -wts -s smb3server change root 
 -wts_timeout_idle 123

 C:\Programme\Pedestal Software\NTSECntuser -wts -s smb3server show root
 SERVER   \\smb3server
 NAME root
 FULL_NAMEroot
 COMMENT
 USR_COMMENT
 COUNTRY_CODE 0
 COUNTRY_PAGE 0
 PRIV Guest
 HOME_DIR_DRIVE
 HOME_DIR c:\temp
 SCRIPT_PATH
 PROFILE  \\smb3server\root\profile
 WORKSTATIONS
 NUM_LOGONS   0
 LOGON_SERVER \\*
 LOGONNot defined
 LOGOFF   Not defined
 LOGON_HOURS  None allowed
 PASSWORD *
 PASSWORD_AGE 7202 sec
 PASSWORD_EXPIRED False
 BAD_PW_COUNT 0
 ACCT_EXPIRES Never
 MAX_STORAGE  Unlimited
 USER_ID  1000
 PRIMARY_GROUP_ID 1001
 WTS Initial Program
 WTS Working Directory
 WTS Inherit Initial Program True
 WTS Allow Logon True
 WTS Timeout Connections 0
 WTS Timeout Disconnections  0
 WTS Timeout Idle123
 WTS Client Drives   True
 WTS Client Printers True
 WTS Client Default Printer  True
 WTS Broken Timeout  0
 WTS Reconnect Settings  0
 WTS Modem Callback Settings 0
 WTS Modem Callback Phone
 WTS Shadowing Settings  1   
 WTS Profile Path
 WTS Home Dir\\test1\test
 WTS Home Dir Drive  c:´ 
 WTS Remote Home Dir True
 FLAGS AND POLICIES: (513)
 UF_SCRIPT : The logon script executed. This value must be set for LAN Manager 2.0 or 
 Windows NT.
 UF_NORMAL_ACCOUNT : This is a default account type that represents a typical user.




 | is that mentioned patch (or whatever - see below) already available for the 
 public for testing?
 | i assume the wts enhancement could probably add support for citrix, too. 
 (because citrix probably stores
 | informations in the same way as wts does) because we have citrix and i like 
 supporting open-source,
 | i would like to offer being an early adopter and perhaps could help with testing 
 in a citrix environment
 | or supplying probably valuable information/bugreports. is there need for that?

 Jim McDonough has been working on that and would probably appreciate some extra 
 testing.  The quickest way is
 to grab the latest SAMBA_3_0 cvs code and give it a spin. The work is not quite 
 finished currently IIRC.
 You could check with Jim for the latest status. You can find jim (jmcd) on the 
 #samba-technical IRC channel
 (irc.freenode.net) or on the samba-technical ml.

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


Re: [Samba] What circumstances migth favour frequently locked files

2004-03-14 Thread John H Terpstra
On Sun, 14 Mar 2004, Vladuta Cristian wrote:



 Gentlemen, I am running a RH9 - Samba PDC ( 3.0.1pre3) in a mixed
 W9X/XP/NT production environment and encountered a problem related to
 locked files. By tracing down the event I suspect it might have happened
 when a certain user tried to copy a large number of files from an NT
 server on to the Samba server.  The process resulted in a list of locked
 files that remained there until a smb restart. Below is my event log
 related to that.

 However I discovered other files staying locked as well , not in
 relation with big transfers .

 Can you please tell me what circumstances might favour such unwanted
 locking situations? And what are the odds for file corruption in such
 cases?

The log below shows the smbd has segfaulted (or crashed). That is
particularly bad as it will leave entries in the lock tables and of course
may have corrupted files that were being written to at the time of the
crash.

Segfaults can be caused by two factors:
1. Hardware problems
2. An executing application attempts an out-of-bounds operation

By far the most common cause of segfaults is hardware related. Typical
causes are:
a. Bad memory
b. Power instability
c. Component overheating
d. Defective components like network cards

Since Samba-3 was released we have fixed at approx. 6 coding errors that
could result in segfaults. Most were triggered by unusual  conditions and
are unlikely to affect code that drives main-stream operations.


 And final question:  What is the safest upgrade method from a
 preliminary version - rpm package - ( 3.0.1pre3, my case) to the latest
 stable one?  Simply removing the rpms and installing the new ones by
 preserving the conf and smbpasswd file?

Download the Samba-3 RPMS from the Samba-Team FTP sites and run:
rpm -Fvh *rpm

This will preserve your configuration settings and will update all
packages that are installed.

- John T.



 2004/03/11 17:05:50, 0] lib/fault.c:fault_report(36)

   ===

 [2004/03/11 17:05:50, 0] lib/fault.c:fault_report(37)

   INTERNAL ERROR: Signal 11 in pid 4046 (3.0.1pre3)

   Please read the appendix Bugs of the Samba HOWTO collection

 [2004/03/11 17:05:50, 0] lib/fault.c:fault_report(39)

   ===

 [2004/03/11 17:05:50, 0] lib/util.c:smb_panic(1400)

   PANIC: internal error

 [2004/03/11 17:05:50, 0] lib/util.c:smb_panic(1408)

   BACKTRACE: 14 stack frames:

#0 smbd(smb_panic+0x11c) [0x81bc81c]

#1 smbd [0x81ab1f2]

#2 /lib/tls/libc.so.6 [0x420275c8]

#3 smbd(alloc_sub_basic+0x22) [0x81c2cb2]

#4 smbd(strftime+0x19a1) [0x80776ed]

#5 smbd(make_connection+0x4ca) [0x80cb4aa]

#6 smbd(reply_tcon_and_X+0x1af) [0x809bd8f]

#7 smbd [0x80c7c56]

#8 smbd [0x80c7e29]

#9 smbd(process_smb+0x8f) [0x80c803f]

#10 smbd(smbd_process+0x167) [0x80c8c77]

#11 smbd(main+0x4bf) [0x8227c0f]

#12 /lib/tls/libc.so.6(__libc_start_main+0xe4) [0x42015574]

#13 smbd(chroot+0x35) [0x8076b91]





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


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


[Samba] Samba 2.2.7a and SunOS 5.8

2004-03-14 Thread Cloutier,Joe

I have 2 Sun servers. One is running Samba 2.0.7 and I have no problems
with response time or performance. The other server is running Samba
2.2.7a and on this server there are performance issues, slowness and
long response times with long latencies over 400 msec. 

Both Sun server's are running SunOS 5.8.

Is Samba 2.2.7a supported on this Unix box or is for a Linux server?
Should I be experiencing any problems with this release.

Thanks in advance for your support.

Joe

CONFIDENTIALITY NOTICE

This message and any included attachments
are from Cerner Corporation and are intended
only for the addressee. The information
contained in this message is confidential and
may constitute inside or non-public information
under international, federal, or state
securities laws. Unauthorized forwarding,
printing, copying, distribution, or use of such
information is strictly prohibited and may be
unlawful. If you are not the addressee, please
promptly delete this message and notify the
sender of the delivery error by e-mail or you
may call Cerner's corporate offices in Kansas
City, Missouri, U.S.A at (+1) (816)221-1024.
 --
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] WINBIND setup ?

2004-03-14 Thread tshilson





It confused me, too.  There is a Samba command net.  You should use that
instead of Smbpasswd command.

   _/)  Tom Shilson
~GEDW  VM System Services
Aloha   Tel:  651-733-7591   tshilson at mmm dot com
   Fax:  651-736-7689


   
  
  Talwar, Puneet (NIH/NIAID) 
  
  [EMAIL PROTECTED]   To:   '[EMAIL 
PROTECTED]' [EMAIL PROTECTED]  
  Sent by:  cc:
  
  [EMAIL PROTECTED]   Subject:  [Samba] WINBIND setup ?

  s.samba.org  
  
   
  
   
  
  03/11/2004 03:19 PM  
  
   
  
   
  




HI,

I am trying to setup WINBIND on my Red Hat Linux AS box and I have
completed
most of the steps but I am encountering come problem when I am joining the
samba server to the PDC domain.  Below is the syntax I am using:

#Smbpasswd -j DOMAIN -r PDC -U Administrator
See 'net join' for this functionality

Thanks,

--
Puneet Talwar
Unix Administrator

--
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] Alias for shares

2004-03-14 Thread Andrew Bartlett
On Sat, Mar 13, 2004 at 07:42:19AM +0100,  Stefan Günther  wrote:
 Hi, 
  
 Matthias Spork [EMAIL PROTECTED] schrieb am 12.03.04 21:36:49: 
   
  Hello list, 
   
  can i configure an alias-name for a share? 
   
 volume= 
  
 might be the parameter you are looking for. It's not really an alias, but perhaps it 
 helps. 

Better still is 'copy ='.  This makes an exact copy of a share
defintion.  You could certainly call it an alias ;-)

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


[Samba] I've fallen and I can't... re-join?

2004-03-14 Thread Ken D'Ambrosio
Hi, all.  I've got a few PCs that, for various reasons, fell out as
members of my domain.  The problem here is that they didn't know it, and,
using cached information, have been chugging along fine for their end
users.  This means that their locally cached profiles are w-a-y out of
synch with the stuff on the server.

So, my question: is there any way to re-add the PC to the domain w/o
having the locally cached stuff get thrown out with the bath water?

Thanks!

Ken D'Ambrosio
Sr. SysAdmin,
Xanoptix, Inc.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] smb bdc ldap strict read only ?

2004-03-14 Thread Andrew Bartlett
On Sat, Mar 13, 2004 at 03:33:27PM +0100, RRuegner wrote:
 Hi Sambatistas,
 if have setup a ldap pdc which works realy nice.
 Connected over vpn i wanna setup a bdc with an ldap slave as recommended 
 in the docs.
 My question is should this ldap slave strict read only ?.
 I thought about passwords , as i enabled the ldap password sync.
 If the con is interrupted and there is only the slave what happens if a 
 user wants to change his password?
 Should i strictly forbid such actions to the slave from the bdc, so that 
 it is read only

The slave will indeicate to Samba that Samba needs to talk to the
master.  If Samba cannot correctly talk to the master, the operation
will fail.

 or is ther a way to configure ldap slave in setup
 to synchronize the written changes to his master after the connect to 
 the master is up again.

This is called 'multimaster replication'.  Samba is not currently
compatible with this, as it makes assumptions about a single
consistant data store.

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


Re: [Samba] samba 2.2.3a / openLDAP connection problem

2004-03-14 Thread Diego Julian Remolina
If you have openldap compiled with tcp wrappers you should also have the
appropriate entries in the file:
/etc/hosts.allow

Try to run a simple ldapsearch from the samba machine just to make sure
you get some results:

ldapsearch -x '(cn=Manager)'

HTH,

Diego

On Sat, 13 Mar 2004, Markus Amersdorfer wrote:

 On Fri, 12 Mar 2004 14:27:48 +
 Martin Wood [EMAIL PROTECTED] wrote:

  i've created a normal account for the user, but when i get to do :
 
  # smbpasswd -D10 -a marvsmb
 
  i get :
 
  ldap_open_connection: connection opened
  ldap_connect_system: Binding to ldap server as
  cn=manager,dc=ideaworks3d,dc=com
  Bind failed: Can't contact LDAP server
  ldap_open_connection: connection opened
  ldap_connect_system: Binding to ldap server as
  cn=manager,dc=ideaworks3d,dc=com
  Bind failed: Can't contact LDAP server
  Failed to add entry for user marvsmb.
  Failed to modify password entry for user marvsmb

 It seems your Samba-process can not (or is not allowed to -- what does
 slapd-output say?) connect to the slapd-server properly.
 Did you run smbpasswd -w $LDAP_BINDPW?

 Cheers,
 Max

 --
 The first time any man's freedom is trodden on, we're all damaged.
Cpt. Picard, The Drumhead, StarTrek TNG

 http://homex.subnet.at/~max/
 --
 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] Regestrierung

2004-03-14 Thread Regestrierung
Herzlichen Glückwunsch !

Ihre Regestrierung auf www.ianta-ki.de war erfolgreich .

Benützername = Sabine
Passwort = 28142678

Sie können sich ab sofort mit den daten unter www.ianta-ki.de einlggen !

Ihr [EMAIL PROTECTED]

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


Re: [Samba] smb bdc ldap strict read only ?

2004-03-14 Thread RRuegner
Andrew Bartlett schrieb:
On Sat, Mar 13, 2004 at 03:33:27PM +0100, RRuegner wrote:

Hi Sambatistas,
if have setup a ldap pdc which works realy nice.
Connected over vpn i wanna setup a bdc with an ldap slave as recommended 
in the docs.
My question is should this ldap slave strict read only ?.
I thought about passwords , as i enabled the ldap password sync.
If the con is interrupted and there is only the slave what happens if a 
user wants to change his password?
Should i strictly forbid such actions to the slave from the bdc, so that 
it is read only


The slave will indeicate to Samba that Samba needs to talk to the
master.  If Samba cannot correctly talk to the master, the operation
will fail.

or is ther a way to configure ldap slave in setup
to synchronize the written changes to his master after the connect to 
the master is up again.


This is called 'multimaster replication'.  Samba is not currently
compatible with this, as it makes assumptions about a single
consistant data store.
Andrew Bartlett

Hi Andrew , thx for your answer
so funktion for bdc will be only read only for the ldap slave (fallback) 
and no changing to ldap entries could be made
until the ldap master is back online again.
am i right ?
Regards
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] trust secret location in WinXP

2004-03-14 Thread Andrew Bartlett
On Sat, Mar 13, 2004 at 12:17:01AM +0100, Csillag Tamas wrote:
 Hi,
 
 At our campus we have ~40 machines. If a new program is needed we
 install it on a single machine and replicate this one to the others.
 
 The whole process is automated:
 (Wake-On-LAN) (with pxe) booting a kernel via grub.
 booting a minimal ram based linux and doing: netcat server port  /dev/hda
 If we send a WOL packet the restore process starts.
 
 The problem is that we have to rejoin each machine after.
 
 So my question is: where WinXP stores this information?
 Now I know the way howto mount NTFS RW (with captive:
 http://www.jankratochvil.net/project/captive/ )
 And howto manipulate the registry:
 http://home.eunet.no/~pnordahl/ntpasswd/bootdisk.html
 
 The only question: where windows stores this information?
 In the registry or in a file?
 I want to backup that information at the start of the backup and write
 back after the restore completes.
 
 Any help would be appreciated.

If you are ghosting your machines like that, you have bigger problems.
Like what each machines' name is, what it's sid is and the like.
however, if it is a Samba DC, you can just restore the 'old' password
to the DC at the same time.

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


[Samba] (no subject)

2004-03-14 Thread Ong . external
 Hi there, 
I need some help on samba where I can copy files from
windows and drop in the share directory of unix, but I can't copy the
unix share folders content out to windows



Best Regards, 
Janson Luke Ong Wai Kit 
Infineon Technologies 
IFMY IT IFR SYS - Middleware 
*Disclaimer*
This e-mail and any attachments are confidential and may contain trade
secrets or privileged or undisclosed information. They may also be
subject to copyright protection. Please do not copy, distribute or
forward this email to anyone unless authorised. If you are not a named
addressee, you must not use, disclose, retain or reproduce all or any
part of the information contained in this e-mail or any attachments. If
you have received this email by mistake please notify the sender
immediately by return email and destroy/delete all copies of the email.


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


[Samba] Newbie question: Windows - Delayed write failed

2004-03-14 Thread Tom King
I ran into this problem all of a sudden out of nowhere..I boted several times and 
it appeared to fix itself...windows XPbut it did notso I again hit the F8 when 
rebootingand instead of trying to boot into the safe mode I rebooted into the 
DEBUGGING MODEI don't know what happened.but I did not loose any data and 
it booted up as if nothing happenedI then went to system restore under system 
tools and restored to the day earlier...just in case something happened today to my 
machine to make it do this.hope this helps.
tk
[EMAIL PROTECTED]
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Newbie question: Windows - Delayed write failed

2004-03-14 Thread mwestern
My goodness.   I'll just say what everyone else is thinking...  What on
earth are you on about?   

You've told us absoultely nothing about:

A) your network setup (assuming you are actually posting about samba)
B) clear points about what was working and is now not.

Delayed write failed means that it couldn't write to a drive, and I'm fairly
sure that writing to network drives from XP doesn't use delayed write,
that's only on hard drives etc

sigh  system restore to try to fix a connection to samba?  Now I've heard
it all.  



-Original Message-
From: Tom King [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 15, 2004 12:45 PM
To: [EMAIL PROTECTED]
Subject: [Samba] Newbie question: Windows - Delayed write failed

I ran into this problem all of a sudden out of nowhere..I boted several
times and it appeared to fix itself...windows XPbut it did notso I
again hit the F8 when rebootingand instead of trying to boot into the
safe mode I rebooted into the DEBUGGING MODEI don't know what
happened.but I did not loose any data and it booted up as if nothing
happenedI then went to system restore under system tools and restored to
the day earlier...just in case something happened today to my machine to
make it do this.hope this helps.
tk
[EMAIL PROTECTED]
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] kerberos ticket expired

2004-03-14 Thread steven.TSE
Hi list,

I have tried kinit -r 7d -l 7d admin to keep the ticket last longer, but it
ignored my flags and use default 1 day ticket life time.  It is true that it
shouldn't related to samba but kerberos, but can anyone simple tell me does
the ticket is required after added net ads join into win2000 domain?
thanks for the kindly help.  

steven

-Original Message-
From: steven.TSE 
Sent: Friday, March 12, 2004 6:27 PM
To: [EMAIL PROTECTED]
Subject: [Samba] kerberos ticket expired


Hi,

Does the kerberos ticket useful after added the computer account into
win2000 domain?  Since I find that even the kerberos ticket expired, Samba
still work.  Does that mean I can simple destroy the ticket right after
Samba init?  

Samba3.0.2a on Redhat8.0

Thankyou.

Best Rgds.,
Steven
-- 
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] kerberos ticket expired

2004-03-14 Thread Andrew Bartlett
On Mon, Mar 15, 2004 at 11:55:36AM +0800, steven.TSE wrote:
 Hi list,
 
 I have tried kinit -r 7d -l 7d admin to keep the ticket last longer, but it
 ignored my flags and use default 1 day ticket life time.  It is true that it
 shouldn't related to samba but kerberos, but can anyone simple tell me does
 the ticket is required after added net ads join into win2000 domain?
 thanks for the kindly help.  

The ticket can be ignored after the join.

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


[Samba] user can't shut down windows clients?

2004-03-14 Thread ksc133
dear sir,

i have create a few users of the nobody group on my samba server.
in my samba config, i listed root account as the domain admin group.
when i logon to samba server, my root account can shutdown my windows 
client, can disconnect to domain ect etc...
but when i logon as a user of the nobody group. i can't shutdown the 
windows client! the shutdown fucntion is not there anymore!
i don't want to list restricted my users as domain admin group.
is there any way to get around is problem?
thank Q!

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


AW: [Samba] Alias for shares

2004-03-14 Thread Matthias Spork
Hello Andrew,

  Matthias Spork [EMAIL PROTECTED] schrieb am 12.03.04 21:36:49:
  
   Hello list,
  
   can i configure an alias-name for a share?
  
  volume=
 
  might be the parameter you are looking for. It's not really an
 alias, but perhaps it helps.

 Better still is 'copy ='.  This makes an exact copy of a share
 defintion.  You could certainly call it an alias ;-)

It still works:

[data]
comment = Data
path = /bla/foo
writeable = yes

[data_alias]
copy = daten

matze

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


[Samba] slow icon apperance in samba

2004-03-14 Thread Ertan Kucukoglu
Hello,

I have some XP systems (all proffessional version with all updates 
applied) using samba 2.2.8. Previously I asked for the directory 
listing. Now, I have faster directory listing this is for sure, but I 
have delays in displaying the icons of the files. It is slow.

I do not have this slow icon displaying issue at all computers here. I 
could not seem to be able to find the solution. Maybe it is XP...

Anyone has same/similiar issue? Any ideas about the problem?

Regards,

--
Ertan Kkolu
[EMAIL PROTECTED]
Ozler Plastik San. ve Tic. A.S.
Tel: +90.212.676.6767
Fax: +90.212.676.8012
--
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/groupdb

2004-03-14 Thread vlendec

Date:   Sun Mar 14 10:24:18 2004
Author: vlendec

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

Modified Files:
mapping.c 
Log Message:
Add and delete aliases via srv_samr_nt. For that I added a RID allocation call
to winbindd. idmap_allocate_rid wants information about whether this will be a
user or a group, I did not export this to the winbind interface.

The reason for idmap to get that info is to keep consistent with the
algorithmic convention to alloc only even rids for users and odd rids for
groups. I'm not fully convinced that this really gains us anything. Any real
good arguments?

Volker



Revisions:
mapping.c   1.65 = 1.66

http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.65r2=1.66


CVS update: samba/source/nsswitch

2004-03-14 Thread vlendec

Date:   Sun Mar 14 10:24:19 2004
Author: vlendec

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

Modified Files:
wb_client.c wbinfo.c winbindd.c winbindd_nss.h winbindd_sid.c 
Log Message:
Add and delete aliases via srv_samr_nt. For that I added a RID allocation call
to winbindd. idmap_allocate_rid wants information about whether this will be a
user or a group, I did not export this to the winbind interface.

The reason for idmap to get that info is to keep consistent with the
algorithmic convention to alloc only even rids for users and odd rids for
groups. I'm not fully convinced that this really gains us anything. Any real
good arguments?

Volker



Revisions:
wb_client.c 1.45 = 1.46

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/wb_client.c.diff?r1=1.45r2=1.46
wbinfo.c1.73 = 1.74

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/wbinfo.c.diff?r1=1.73r2=1.74
winbindd.c  1.113 = 1.114

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd.c.diff?r1=1.113r2=1.114
winbindd_nss.h  1.35 = 1.36

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_nss.h.diff?r1=1.35r2=1.36
winbindd_sid.c  1.25 = 1.26

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_sid.c.diff?r1=1.25r2=1.26


CVS update: samba/source/rpc_server

2004-03-14 Thread vlendec

Date:   Sun Mar 14 10:24:19 2004
Author: vlendec

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

Modified Files:
srv_samr_nt.c 
Log Message:
Add and delete aliases via srv_samr_nt. For that I added a RID allocation call
to winbindd. idmap_allocate_rid wants information about whether this will be a
user or a group, I did not export this to the winbind interface.

The reason for idmap to get that info is to keep consistent with the
algorithmic convention to alloc only even rids for users and odd rids for
groups. I'm not fully convinced that this really gains us anything. Any real
good arguments?

Volker



Revisions:
srv_samr_nt.c   1.181 = 1.182

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_server/srv_samr_nt.c.diff?r1=1.181r2=1.182


CVS update: samba/source/nsswitch

2004-03-14 Thread vlendec

Date:   Sun Mar 14 10:28:21 2004
Author: vlendec

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

Modified Files:
winbindd_group.c 
Log Message:
Fix 'getent group aliasname', this did not look in pdb.


Revisions:
winbindd_group.c1.76 = 1.77

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_group.c.diff?r1=1.76r2=1.77


CVS update: samba/source/groupdb

2004-03-14 Thread vlendec

Date:   Sun Mar 14 10:36:07 2004
Author: vlendec

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

Modified Files:
mapping.c 
Log Message:
Clean up a bit :-)

Volker


Revisions:
mapping.c   1.66 = 1.67

http://www.samba.org/cgi-bin/cvsweb/samba/source/groupdb/mapping.c.diff?r1=1.66r2=1.67


CVS update: samba/source/passdb

2004-03-14 Thread vlendec

Date:   Sun Mar 14 10:36:07 2004
Author: vlendec

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

Modified Files:
util_sam_sid.c 
Log Message:
Clean up a bit :-)

Volker


Revisions:
util_sam_sid.c  1.12 = 1.13

http://www.samba.org/cgi-bin/cvsweb/samba/source/passdb/util_sam_sid.c.diff?r1=1.12r2=1.13


CVS update: samba/source/nsswitch

2004-03-14 Thread vlendec

Date:   Sun Mar 14 11:15:38 2004
Author: vlendec

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

Modified Files:
winbindd_group.c 
Log Message:
Ok, one of the latest cleanups did too much... :-)

Re-add adding the local aliases to winbindd_getgroups.

Volker



Revisions:
winbindd_group.c1.77 = 1.78

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_group.c.diff?r1=1.77r2=1.78


Using the '.' in names.

2004-03-14 Thread Christopher R. Hertel
[EMAIL PROTECTED] wrote:
 
 Date:   Fri Mar 12 21:35:15 2004
 Author: herb
 
 Update of /data/cvs/samba/source/libsmb
 In directory dp.samba.org:/tmp/cvs-serv24318/libsmb
 
 Modified Files:
   Tag: SAMBA_3_0
 nmblib.c
 Log Message:
 if we are truncating to the . we need to start at the beginning in case
 there are multiple .'s in the name.
 
 This code is protected with an #ifdef TRUNCATE_NETBIOS_NAME and this
 is #define'd to 1 directly above. Should we also get rid of the #ifdef?
 
 Revisions:
 nmblib.c1.68.2.12 = 1.68.2.13


Sure is an interesting bit of code and commentary.

The way the code reads, it truncates at the 'last' dot, not the first.
That may be the correct way to handle the problem.  As always, I think
you'ld need to see what Windows does.  Urg.

What's worse is that it may require seeing what happens with several flavors
of Windows.

Chris -)-

-- 
Implementing CIFS - the Common Internet FileSystem ISBN: 013047116X
Samba Team -- http://www.samba.org/ -)-   Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/   -)-   ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/ -)-   [EMAIL PROTECTED]
OnLineBook -- http://ubiqx.org/cifs/-)-   [EMAIL PROTECTED]