RE: [Samba] Move Samba to another server

2005-08-23 Thread Kit Gerrits

Thanks for the reply!

Great, so I can just copy the Data...

Can you tell me how uer mapping is done?
Does it map by username or by userID? (planning on some restructuring).

Thnx,

Kit

-Oorspronkelijk bericht-
Van: Andrew Bartlett [mailto:[EMAIL PROTECTED] 
Verzonden: zondag 21 augustus 2005 23:37
Aan: Kit Gerrits
CC: samba@lists.samba.org
Onderwerp: Re: [Samba] Move Samba to another server

On Thu, 2005-08-18 at 22:15 +0200, Kit Gerrits wrote:
 Hello all,
 
 I am intending to install a new server and migrate all my data to it 
 (the server was severely underpowered and the O/S needed to be upgraded
anyway).
 
 Now, I need to move the user database and Samba Server.
 
 I can easily move the data and (kinda) re-create the users, but I 
 don't know what data needs to be migrated to the new server?
 It would be nice to migrate things like Profiles, et al.
 Would it be better to create a new domain or should I build the new 
 server next to the old one.

The best option is to copy the whole lot - every Samba TDB (but particularly
secrets.tdb, passdb.tdb), every user directory, as well as the system user
database (if using /etc/passwd, just the non-system entries).

If you are a DC, then it should just 'drop in', once you get the users back
in place.

Andrew Bartlett

-- 
Andrew Bartletthttp://samba.org/~abartlet/
Samba Developer, SuSE Labs, Novell Inc.http://suse.de
Authentication Developer, Samba Team   http://samba.org
Student Network Administrator, Hawker College  http://hawkerc.net

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


RE: [Samba] Move Samba to another server

2005-08-23 Thread Kit Gerrits

At the moment, I am using simple passwd for local users, but I intend to set
up LDAP on the 'new server'.

However, due to the number of users (10), it might be simpler to re-create
the entire organisation from the ground up.

With a single auth system, it might be easier to manage samba, pop3-ssl
(different server), pop3 (another server) and other services.


-Oorspronkelijk bericht-
Van: Andrew Bartlett [mailto:[EMAIL PROTECTED] 
Verzonden: dinsdag 23 augustus 2005 12:35
Aan: Kit Gerrits
CC: 'Kit Gerrits'; samba@lists.samba.org
Onderwerp: RE: [Samba] Move Samba to another server

On Tue, 2005-08-23 at 12:16 +0200, Kit Gerrits wrote:
 Thanks for the reply!
 
 Great, so I can just copy the Data...
 
 Can you tell me how uer mapping is done?
 Does it map by username or by userID? (planning on some restructuring).

You should really try and keep the same usernames and userids.  It is
possible to change UIDs, and provided you used ldap or tdbsam (I think, but
I've never done it there) you can have arbitrary rids.  Keeping this
constant is the way to ask for less trouble...

Andrew Bartlett

-- 
Andrew Bartletthttp://samba.org/~abartlet/
Samba Developer, SuSE Labs, Novell Inc.http://suse.de
Authentication Developer, Samba Team   http://samba.org
Student Network Administrator, Hawker College  http://hawkerc.net

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


[Samba] Move Samba to another server

2005-08-18 Thread Kit Gerrits

Hello all,

I am intending to install a new server and migrate all my data to it (the
server was severely underpowered and the O/S needed to be upgraded anyway).

Now, I need to move the user database and Samba Server.

I can easily move the data and (kinda) re-create the users, but I don't know
what data needs to be migrated to the new server?
It would be nice to migrate things like Profiles, et al.
Would it be better to create a new domain or should I build the new server
next to the old one.


Any thoughts would be appreciated.

Kit

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


[Samba] Samba PDC not adding machines

2004-12-08 Thread Kit Gerrits
samba-3.0.7-1.3E.1
Last time I checked (about 2 weeks ago), I could log machines onto the 
domain using the automated join in 2000 (and smbpasswd -a)

Now, when I try to make a machine join the domain, Windows will show 
success, but I can't log in with a domain account!

On adding the machine, I get:
Dec  8 10:40:31 RedHat01 smbd[16299]: [2004/12/08 10:40:31, 0] 
rpc_server/srv_samr.c:api_samr_set_userinfo(786)
Dec  8 10:40:31 RedHat01 smbd[16299]:   api_samr_set_userinfo: Unable to 
unmarshall SAMR_Q_SET_USERINFO.

On logging in I get:
Dec  8 11:04:26 RedHat01 smbd[21553]: [2004/12/08 11:04:26, 0] 
rpc_server/srv_netlog_nt.c:get_md4pw(244)
Dec  8 11:04:26 RedHat01 smbd[21553]:   get_md4pw: Workstation 
WS-07-2K$: no account in domain


I have tried disabling secure encryption in Policy Settings, but that 
didn't help (The error in the log goes away, but I still can't log in).

I have also tried manually removign and re-adding the machine, to no avail.

Any ideas?
My smb.conf:
# Global parameters
[global]
   workgroup = AA-AUDIT-IT
   server string = Server
   password server = None
   log file = /var/log/samba/%m.log
   max log size = 50
   log level = 0
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   add user script = /usr/sbin/useradd -d /dev/null -g samba -s 
/bin/bash -M %u
   add machine script = /usr/sbin/adduser -n -g workstations -c 
Machine -d /dev/null -s /bin/false %u
   logon script = logon.bat
   logon path = \\%L\Profiles\%U
   logon drive = I:
   domain logons = Yes
   os level = 65
   preferred master = Yes
   local master = Yes
   domain master = Yes
   dns proxy = Yes
   wins support = Yes
   guest ok = No
   create mask= 0777
   force directory mode = 0777
   force create mode = 0777
   printer admin = @administrators

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


RE: [Samba] Make Samba 3.0.4 PDC server as Windows update server

2004-07-26 Thread Kit Gerrits
Just one little trick that might provide a piece of the puzzle:
There is a Windows tool, called hfnetchk (should be in the resource kit),
that checks the system for installed patches.

NoteMS03-030819696
Warning MS04-011835732
PATCH NOT FOUND   MS99-99   99

Note means that there is new information on the patch
Warning (usually) means that the patch has been re-released
You can guess what PATCH NOT FOUND means...
After the message comes the patch number and the associated MS Q-number

Filtering can be done with the NT command find (replacement for grep)

Ex:
@echo off
echo running update check...
hfnetchk.exe  exchange.log
type exchange.log | find Patch NOT Found note.log
for /F tokens=3 delims= %a in (note.log) DO @echo %a
/Ex

An administrator would have to keep all patches in a repository.
Patches can then be downloaded by either MS patchnumber or Q_number



-Oorspronkelijk bericht-
Van: cep welly [mailto:[EMAIL PROTECTED] 
Verzonden: zaterdag 17 juli 2004 3:05
Aan: Samba
Onderwerp: Re: [Samba] Make Samba 3.0.4 PDC server as Windows update server

rruegner wrote:

 Hi ,
 you can make any win2k, winxp prof workstation make a
 sus server , you only have to fix a few parameters ( lines )in the 
 downloaded
 sus package vom ms ( the line which check the install to the version
 of windows cause normaly you can only install it on server versions )
 Then you install iis ( ms-webserver ) from your win cd (included on 
 win2k, winxp),
 install the modified package , setup the sus server ( language, 
 download rotation time ) download your updates , aprove them.
 Make a ntconfig.pol in your netlogon at smb pdc, and
 configure daily internal check to the ip of the sus server.
 You can also outroll a tool forcesus.exe and start it
 with psexec on every domain computer to force the sus update anytime.
 The only problem is the win sus station has to be up the whole time. (

 or at last the update time )

That' might be a problem. Is windows designed to be up for a long time (

without reboot or blue screen ? --- ;-) )

 A duron/celeron 800 or so with 128MB  Ram will do the job nicly.
 There are a few other possiblities ( some with linux via wget and so 
 on  ), but this is i found the best way.
 YOu will found all information about that at
 http://www.susserver.com/ in the forums.

Thanks for your valuable information. I haven't got enough time to 
google for additional info, but I think
deploying susserver behind proxy firewall won't be a problem ( isn't it 
??? )
Cheers all ...

 It is no hard job to do and works 100 %
 Regards Robert

 cep welly schrieb:

 hi, guys... I'm a noobie around here and first come first ask
;-)
 well, I have successfully made my linux box ( debian sid kernel 2.426

 ) as a PDC
 ( I can connect my winxp box to this pdc -- that's what i mean 
 success )
 I'm using Samba 3.0.4. I wonder if I can make my pdc to be a windows 
 update server.
 As we know, updating windows always goes through the internet, which 
 in my
 consideration is not good internet bandwidth management ( assume if 
 there's
 a hundred or even thousand windows clients in a network ... )
 So, if one machine can provide that need, it would be a great 
 improvement.
 I've heard about SUS which can provide this, but since it need a 
 windows server
 I guess I should ignore that ( I'd experienced a bad time when one of

 our server
 being compromised several months ago --- that's why I turn to Linux 
 platform )
 Maybe providing a script to execute the update files is not enough, 
 since users
 have to involved to the installation, answering some questions, etc 
 which
 might be boring them ( in case there'll not just only one update ). 
 And there will
 be a chance where users will give a wrong answer.
 Updating windows without asking anything, after user log in just : go

 copying files,
 changin' registry, etc ( restart after the whole process defenetely 
 can't be avoided,
 isn't it ?  :D )
 Or I just to much to hope .

 cheers,

 --me--




-- 
-BEGIN PGP PUBLIC KEY BLOCK-
Version: GnuPG v1.2.4 (GNU/Linux)

mQGiBEDato0RBADHD8bKvVCTORppg/pot1Zuyx4Joz/IC34aZlLkG7/JNEVemqiB
jSVgnwxa9UNs9Chz9CT6vqzw1pgPXDAb1rD91kbupatgaFUlNEwAW/v2eH8LQEYz
3NicbaysYeeJLBOYlwtmbZWrV8KKoSNrHWxZRjfl4a7TGggllou6+sAQTwCg/2Q2
lLLdPjuaXGiRHqpHFuFWVT8D/Rfzi89GrGWwharBmqNlq3WNJJSK4NdZUy6yFrfY
mqaytOBUq6wWoM9OdvAciS4R1qVK2GItV2xIX9N47zeEXspsANF3PyH6PSdXBYfO
CDL6jdkL1JS/E+QQcOsqbwkJOa3IpSuJPuE0IuYj9G2pEUNFR9/QiNVq2ysqUK8I
V/8VBACmL758SPyrMSwA2sPGiRbSndr0Bc6XW/YPwvJNQsU+zzX+qtAP4K3oEX7R
z1OD6LfkJAvrCLswNJbyIlrsFSo/NxlsqnWgKU4K4qsntvMA2UiyAUCOONCn+7Uo
V8UVK/3ZKRAlnTM6YdxEWe1c09pP3k4kxGdii5E3cJu6a1a4jbYxZGViaWFu
IChKVVNUIFNJR05BVFVSRSkgPGRlYl9taWxpc3RAeWFob28uY29tLnNnPohbBBMR
AgAbBQJA2raNBgsJCAcDAgMVAgMDFgIBAh4BAheAAAoJEP6KKTciHvMpKQgAoLl1
8lYWPDqcTtRwNyPBA5UhlbHIAKDAjaZYyTgyYU2xtacqPDqsMzf/N4hJBBMRAgAJ

RE: [Samba] Does Admin Users = accept groups?

2004-07-21 Thread Kit Gerrits
As I recall, there are 2 things to bear in mind:

1/
Samba 3.0 has dropped the admin users= setting. There is only one true
domain administrator: root.

2/
Also, Samba now uses NT Groups the way it is supposed to, with SID and all.
More info can be found by looking up the 'net groupmap' command.

If you map the default NT group Domain Administrators, you can do admin
users the official way.
Also, you'll notice that the number of errors about groups in the samba log
falls considerably ;-)


Good luck!

Kit

-Oorspronkelijk bericht-
Van: Michael Lueck [mailto:[EMAIL PROTECTED]
Verzonden: donderdag 15 juli 2004 18:20
Aan: [EMAIL PROTECTED]
Onderwerp: [Samba] Does Admin Users = accept groups?

man smb.conf does not specifically say admin users supports @groupname
syntax. Google turns up lots of examples of it being used, but everyone
hanging their smb.conf's up to air does not mean they are 100% accurate
either.

Here, Samba 3.0.4 in PDC mode, I can not get it to accept the name of a
group in /etc/group, user ID's only.

--
Michael Lueck
Lueck Data Systems

Remove the upper case letters NOSPAM to contact me directly.



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


[Samba] Failed to decode PDU?

2004-07-15 Thread Kit Gerrits
Eversince the last RPM, my Samba is producing a few errors:

 

rpc_server/srv_pipe.c:api_pipe_netsec_process(1371)  failed to decode PDU :
21 Time(s)

rpc_server/srv_pipe_hnd.c:process_request_pdu(605)  process_request_pdu:
failed to do schannel processing. : 21 Time(s)

 

 

Can anyone tell me what these mean?

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


RE: Re[4]: [Samba] a better smbstatus for monitoring samba ?

2004-06-30 Thread Kit Gerrits
There is a 'short description' on the Novell monitor at:
http://www.novell.com/documentation/lg/nw6p/utlrfenu/data/h74jxvbx.html

and:
http://www.eits.uga.edu/lans/novell/nw5admn/day1.html (and day2, day3)


The simplest 'quick fix':
Build a list of users currently logged on
Make a menu based on this userlist
'grep' the list from smbstatus with the selected username.
...and refresh (ad nauseum)

This can be done with a 'simple' 2-pane window (it was simple back in the
old Pascal days, don't ask me how to do it now...).

Perhaps switch to file-list with [enter] and revert to user list on [escape]



Good luck!

-Oorspronkelijk bericht-
Van: Collen Blijenberg MLHJ [mailto:[EMAIL PROTECTED] 
Verzonden: dinsdag 29 juni 2004 15:31
Aan: Becskei Robert
CC: samba mailing list
Onderwerp: Re[4]: [Samba] a better smbstatus for monitoring samba ?

does someone have some screen dumps or more tech info
on the Novel file server tools, where he's talking about..

l8r
-
Collen Blijenberg   (Montessori Lyceum Herman Jordan)

Wednesday, June 16, 2004, 3:02:13 PM, you wrote:

BR Hi,

BR  well I think it should be able to run in a console, just like
Midnight
BR Commander (so it's also usefull without X),
BR it should have a menu for info about the system, like cpu
BR usage, network card usage,memory, how many users are currently
attached to
BR the system, up time.
BR A menu from which you can see that what user is attached to what
share, and
BR if you press enter on the user name you can see what files are
currently in
BR use.
BR It's almost like smbstatus, only that it's a bit more organized, and
is
BR easier to view what is happening on the system in case someone
causes
BR trouble it is easier to find what user had that file open. Also it
would be
BR nice if in this same menu besides the username and what share that
user is
BR using there would be information about user logon time.

BR  Sincerely
BR  Robert B
BR - Original Message - 
BR From: Collen Blijenberg MLHJ [EMAIL PROTECTED]
BR To: Jeremy Allison [EMAIL PROTECTED]
BR Cc: samba mailing list [EMAIL PROTECTED]
BR Sent: Wednesday, June 16, 2004 08:50
BR Subject: Re[2]: [Samba] a better smbstatus for monitoring samba ?


 depends on it...
 what needs to be in the tool ???
 what options, and all...

 (got a big holyday comming up, so got some time to crack!)

 l8r
 -
 Collen Blijenberg   (Montessori Lyceum Herman Jordan)

 Wednesday, June 16, 2004, 3:26:43 AM, you wrote:

 JA On Tue, Jun 15, 2004 at 09:56:04PM +0200, Becskei Robert wrote:
  Hello,
 
   does anyone know if there is a tool in existence that can
  monitor samba shares like smbstatus
  but is much more advanced (and runs in console) , I mean a tool
that
BR has menues, some search
  options, and things sorted out nice. A Samba realtime monitor
  would be the best thing with lots
  of details and lots of options.
 
 
   I tried Swat, but that aint really a solution to watch who is
  connected to where, neither is smbstatus
  since when to many people are connected you can't see in
  realtime who is using what. And that I think
  is one major problem.
 
   I would like to have such a tool because I'm throwing the
  Novell File Server out and using a Whitebox 3.0EL
  instead. I wonder,...is there such a tool like Novell Monitor
  ... for linux ? I mean if there aint one for samba
  maybe another tool that is more advanced would be able to view
  who is connected to what ? what is their IP
  adress, what time did they logged on, what is the current system
BR status, etc...

 JA No tool I know of currently. If anyone wants to write one (maybe
a gui
BR tool
 JA written in python ?) I'd be happy to integrate it into the source
BR code.

 JA There are lots of admin options that could be added to Samba via
TDB
BR messaging
 JA to perform admin operations - we just need programmer enthusiasm
to
BR write such
 JA a tool. Anyone game ?

 JA Jeremy.

 -- 
 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] Can anyone tell me what this means?

2004-06-21 Thread Kit Gerrits
 

 

Jun 21 08:48:55 RedHat01 smbd[8226]: [2004/06/21 08:48:55, 0]
lib/fault.c:fault_report(36)

Jun 21 08:48:55 RedHat01 smbd[8226]:
===

Jun 21 08:48:55 RedHat01 smbd[8226]: [2004/06/21 08:48:55, 0]
lib/fault.c:fault_report(37)

Jun 21 08:48:55 RedHat01 smbd[8226]:   INTERNAL ERROR: Signal 11 in pid 8226
(3.0.2-6.3E)

Jun 21 08:48:55 RedHat01 smbd[8226]:   Please read the appendix Bugs of the
Samba HOWTO collection

Jun 21 08:48:55 RedHat01 smbd[8226]: [2004/06/21 08:48:55, 0]
lib/fault.c:fault_report(39)

Jun 21 08:48:55 RedHat01 smbd[8226]:
===

Jun 21 08:48:55 RedHat01 smbd[8226]: [2004/06/21 08:48:55, 0]
lib/util.c:smb_panic(1422)

Jun 21 08:48:55 RedHat01 smbd[8226]:   PANIC: internal error

Jun 21 08:48:55 RedHat01 smbd[8226]: [2004/06/21 08:48:55, 0]
lib/util.c:smb_panic(1430)

Jun 21 08:48:55 RedHat01 smbd[8226]:   BACKTRACE: 22 stack frames:

Jun 21 08:48:55 RedHat01 smbd[8226]:#0 smbd(smb_panic+0x13f)
[0x801a608f]

Jun 21 08:48:55 RedHat01 smbd[8226]:#1 smbd [0x80191b48]

Jun 21 08:48:55 RedHat01 smbd[8226]:#2 /lib/tls/libc.so.6 [0xb7264de8]

Jun 21 08:48:55 RedHat01 smbd[8226]:#3 smbd(print_queue_status+0x186)
[0x801c7246]

Jun 21 08:48:56 RedHat01 smbd[8226]:#4 smbd(_spoolss_enumjobs+0x119)
[0x800f9439]

Jun 21 08:48:56 RedHat01 smbd[8226]:#5 smbd [0x800e7164]

Jun 21 08:48:56 RedHat01 smbd[8226]:#6 smbd(api_rpcTNP+0x189)
[0x8011ea09]

Jun 21 08:48:56 RedHat01 smbd[8226]:#7 smbd(api_pipe_request+0xc8)
[0x8011e788]

Jun 21 08:48:56 RedHat01 smbd[8226]:#8 smbd [0x80117456]

Jun 21 08:48:56 RedHat01 smbd[8226]:#9 smbd [0x801177e9]

Jun 21 08:48:56 RedHat01 smbd[8226]:#10 smbd [0x80117a69]

Jun 21 08:48:56 RedHat01 smbd[8226]:#11 smbd [0x80117ca8]

Jun 21 08:48:56 RedHat01 smbd[8226]:#12 smbd(write_to_pipe+0x115)
[0x80117be5]

Jun 21 08:48:56 RedHat01 smbd[8226]:#13 smbd [0x8004bb01]

Jun 21 08:48:56 RedHat01 smbd[8226]:#14 smbd(reply_trans+0x5ab)
[0x8004c53b]

Jun 21 08:48:56 RedHat01 smbd[8226]:#15 smbd [0x800901f0]

Jun 21 08:48:56 RedHat01 smbd[8226]:#16 smbd [0x80090403]

Jun 21 08:48:56 RedHat01 smbd[8226]:#17 smbd(process_smb+0xa6)
[0x80090656]

Jun 21 08:48:56 RedHat01 smbd[8226]:#18 smbd(smbd_process+0x192)
[0x800913d2]

Jun 21 08:48:56 RedHat01 smbd[8226]:#19 smbd(main+0x505) [0x8021d345]

Jun 21 08:48:56 RedHat01 smbd[8226]:#20
/lib/tls/libc.so.6(__libc_start_main+0xf8) [0xb7252768]

Jun 21 08:48:56 RedHat01 smbd[8226]:#21 smbd [0x80035a32]

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


RE: Re[4]: [Samba] a better smbstatus for monitoring samba ?

2004-06-17 Thread Kit Gerrits
Just a thought, but have you looked into the [net] functions lately
You might be able to get some useful information with commands like 
net rpc file //open files
net rap file //different command, same purpose
net rap session //open sessions, does not seem to exist in rpc

just my 2c

-Oorspronkelijk bericht-
Van: Collen Blijenberg MLHJ [mailto:[EMAIL PROTECTED] 
Verzonden: donderdag 17 juni 2004 8:50
Aan: Becskei Robert
CC: samba mailing list
Onderwerp: Re[4]: [Samba] a better smbstatus for monitoring samba ?

isn't there a smbstatus -u=username, to show activities
from 1 user ??
dunno, guess the -u is a way to sort out what a user is up to!

i'll try to lookin to the rest..
l8r
-
Collen Blijenberg   (Montessori Lyceum Herman Jordan)

Wednesday, June 16, 2004, 3:02:13 PM, you wrote:

BR Hi,

BR  well I think it should be able to run in a console, just like Midnight
BR Commander (so it's also usefull without X),
BR it should have a menu for info about the system, like cpu
BR usage, network card usage,memory, how many users are currently attached
to
BR the system, up time.
BR A menu from which you can see that what user is attached to what share,
and
BR if you press enter on the user name you can see what files are currently
in
BR use.
BR It's almost like smbstatus, only that it's a bit more organized, and is
BR easier to view what is happening on the system in case someone causes
BR trouble it is easier to find what user had that file open. Also it would
be
BR nice if in this same menu besides the username and what share that user
is
BR using there would be information about user logon time.

BR  Sincerely
BR  Robert B
BR - Original Message - 
BR From: Collen Blijenberg MLHJ [EMAIL PROTECTED]
BR To: Jeremy Allison [EMAIL PROTECTED]
BR Cc: samba mailing list [EMAIL PROTECTED]
BR Sent: Wednesday, June 16, 2004 08:50
BR Subject: Re[2]: [Samba] a better smbstatus for monitoring samba ?


 depends on it...
 what needs to be in the tool ???
 what options, and all...

 (got a big holyday comming up, so got some time to crack!)

 l8r
 -
 Collen Blijenberg   (Montessori Lyceum Herman Jordan)

 Wednesday, June 16, 2004, 3:26:43 AM, you wrote:

 JA On Tue, Jun 15, 2004 at 09:56:04PM +0200, Becskei Robert wrote:
  Hello,
 
   does anyone know if there is a tool in existence that can
  monitor samba shares like smbstatus
  but is much more advanced (and runs in console) , I mean a tool that
BR has menues, some search
  options, and things sorted out nice. A Samba realtime monitor
  would be the best thing with lots
  of details and lots of options.
 
 
   I tried Swat, but that aint really a solution to watch who is
  connected to where, neither is smbstatus
  since when to many people are connected you can't see in
  realtime who is using what. And that I think
  is one major problem.
 
   I would like to have such a tool because I'm throwing the
  Novell File Server out and using a Whitebox 3.0EL
  instead. I wonder,...is there such a tool like Novell Monitor
  ... for linux ? I mean if there aint one for samba
  maybe another tool that is more advanced would be able to view
  who is connected to what ? what is their IP
  adress, what time did they logged on, what is the current system
BR status, etc...

 JA No tool I know of currently. If anyone wants to write one (maybe a
gui
BR tool
 JA written in python ?) I'd be happy to integrate it into the source
BR code.

 JA There are lots of admin options that could be added to Samba via TDB
BR messaging
 JA to perform admin operations - we just need programmer enthusiasm to
BR write such
 JA a tool. Anyone game ?

 JA Jeremy.

 -- 
 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] Problem with symlinks

2004-06-17 Thread Kit Gerrits
This is because of the behavious of certain Office Applications (excel is
especially guilty)

It will notice that fact that another user owns the file.
To rectify this, it will delete the file and re-write it.

Because, in this case, you are using a symlink, you are deleting the symlink
(the original file stays where it is) and saving the _new file_ the same
place you had the symlink.

Unfortunately, the only solution  can think of is making a symlink to the
directory the file is in, so the file itself can me _replaced_

If you use group shares, you will also notice, that windows grants only 700
rights (full user, but no group or world rights). This can be rectified in
the smb.conf with the force create mask and force group mask settings.

Also, keep in mind, that the DOS Hidden, system and read-only attributes are
stored as unix _executable_ fags in the files. If you don't include these
flags in your file mask, they will be stripped off.

Good luck!

-Oorspronkelijk bericht-
Van: minnoce [mailto:[EMAIL PROTECTED] 
Verzonden: woensdag 16 juni 2004 17:55
Aan: [EMAIL PROTECTED]
Onderwerp: [Samba] Problem with symlinks

I'm using samba 3.0.4 compiled from sources on a linux box (RH 7.3).

My smb.conf contains in a share section the setting:
follow symlinks = yes

In that share I created a symlink to a local file.

When I open the symlink from Windows box (the symlink appear as a 
regular file) I access correctly the target file, but when I editsave 
the file, sometime the symlink is deleted and a regular file with same 
name is created in place (as a duplicate of the target file).
The behaviour seem's to be Windows specific editor's dependent:
using UltraEdit all work fine, using other editors (e.g.: HTMLKit) the 
duplicated file is created...

Why?

Thanks in advance...

Minnoce


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


RE: [Samba] Modify but not create permissions

2004-06-17 Thread Kit Gerrits
I'm not sure if someone answered this already, but NFS incorporates _no
security_ whatsoever, so any file you open on the remote server is opened
with _root_ permissions, if I recall correctly.

That means that, is you require no special authentication on Samba-level,
there is no protection at file-level, either.

Perhaps you should look into the
Valid users
Statement

Good luck!

-Oorspronkelijk bericht-
Van: Bill Chmura [mailto:[EMAIL PROTECTED] 
Verzonden: woensdag 16 juni 2004 9:34
Aan: [EMAIL PROTECTED]
Onderwerp: Re: [Samba] Modify but not create permissions


So I figured out what the problem was...  the local machine did not have my 
user with the same UID as the server...  This is strange for a few
reasons...

In my fstab file I had always specified the UID and GID to connect as...  
Which had always worked.

Now if it was an outright wrong thing, why did it let me create and stuff in

the top of the share...  but not in subdirectories.

Is this a bug?

I installed NFS earlier tonight to share between linux boxes.  I still need 
samba for a few windows boxes so I have that working anyway.

Well, I'm glad its working


On Tuesday 15 June 2004 06:25 pm, Bill Chmura wrote:
 I am still trying to figure out why samba wont let me create in
 subdirectories

 I've tripple checked everything and a few things leapt out at me.

 *) I can modify a file inside a directory that I cannot create a file in. 
 I did not know it was possible under linux to do that.

 *) If I set all perms on 777 I can create.  But neither 775 or 755 will
 allow it.

 *) When I go into a mount through a terminal, and I do an ls -l I get raw
 UID numbers back instead of actual owners.  Is this normal?  I could not
 remember.

 The logs show me being accepted as UID 500 which is what the files and
 directories are owned by

 I am still baffled by the being able to modify, but not delete or
create...

 Any help would be greatly appreciated at this point!



 --

 Bill Chmura

 w. http://www.fistfullofcode.com
 w. http://www.explosivo.com

 --
 Without good motivation, science and technology, instead of helping, bring
 more fear and threaten global destruction. Compassionate thought is very
 important for humankind.
 -His Holiness the Dalai Lama

 Wisdom does not mean knowledge but experiential understanding. Wisdom
helps
 you to change radically your habits and perceptions, as you discover the
 constantly changing, interconnected nature of the whole of existence.
 -Martine Batchelor, Meditation For Life
 ---

-- 

Bill Chmura
Director of Internet Technology
Explosivo ITG
Wolcott, CT

p: 888.560.YWEB (9932)
e: [EMAIL PROTECTED]
w. http://www.explosivo.com


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


RE: [Samba] Re: films on Desktops and roaming profiles

2004-05-31 Thread Kit Gerrits
http://www.microsoft.com/technet/prodtechnol/winntas/maintain/featusability/
prof_pol.mspx

and 
http://www.winnetmag.com/Article/ArticleID/14888/14888.html

Everything you EVER wanted to know, and oodles more.

More info on policy templates:
http://www.microsoft.com/office/ork/xp/appndx/appa18.htm


-Oorspronkelijk bericht-
Van: Keppler [mailto:[EMAIL PROTECTED] 
Verzonden: zaterdag 29 mei 2004 20:07
Aan: [EMAIL PROTECTED]
Onderwerp: [Samba] Re: films on Desktops and roaming profiles

... or it knows some site that teaches as if it makes?

Adam Tauno Williams [EMAIL PROTECTED] escreveu na mensagem
news:[EMAIL PROTECTED]
  I'd like to ask you what do you limit Desktops syncing in case users
  put large files on them, e.g. films.
 
  Downloading / uploading such large files can generate lots of
  unnecessary traffic. Is there any kind of filtering possible ?
  Other solutions ?

 Via policies, just like with a Windows DC.

 --
 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] File already in use?

2004-05-29 Thread Kit Gerrits
Do you, by chance run a virus scanner and  Win2000 or WinXP?

 

Windows 2000 and XP have a tendency to examine files in a directory when you
open an Explorer window.

 

This triggers the virus scanner, which, in turn, opens the file and keeps it
locked until it has finished scanning the file.

 

I have no experience with Linux virus scanners (I still scan on user-side
only), but the same problem could apply on the Linux side.

 

I hope this helps.

 

Greetz,

 

kit

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