Re: [Samba] samba 4 questions

2010-09-16 Thread Daniel Müller
Hi,
Im in a project with this issues.
Look at my thread: 
HOWTO samba4 centos5.5 named dnsupdate drbd simple failover

In my company I have running a samba3 pdc bdc. In my case a real failover
with tis construction didn' t work really.
Everytime a had a amount of 40% of the clients could not logon anymore after
the pdc failed.

Because of this I tested samba4 and it fulfilled everyting to 99%.

Good Luck
Daniel


---
EDV Daniel Müller

Leitung EDV
Tropenklinik Paul-Lechler-Krankenhaus
Paul-Lechler-Str. 24
72076 Tübingen

Tel.: 07071/206-463, Fax: 07071/206-499
eMail: muel...@tropenklinik.de
Internet: www.tropenklinik.de
---
-Ursprüngliche Nachricht-
Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im
Auftrag von AJ Hettema
Gesendet: Donnerstag, 16. September 2010 16:28
An: samba@lists.samba.org
Betreff: [Samba] samba 4 questions

hi All,

first of all, please keep up the good work. I use samba for at least 10
years now, and it never let me down. And the samba 4 release would even be
better then ever (tried the alpha's already in test labs with multiple AD
controllers, very impressive).

But, now I am facing some difficulties. I need to migrate a small firm (40
users or something, will increase to 50 in 2 years or so) to a newer
infrastructure and they use samba just for file sharing for the moment
(version 3). It's rock solid stable with up times of 200 days or so. For the
moment they lack any user authentication platform, they just have local
users with some scripts on there machines and based on some configuration
files on a read only samba share they get access to specific shares or not.

I would like to migrate them to a twin server setup for dns, dhcp and samba.
WIthin dhcp and dns I can get primary/secondary configurations pretty easy,
and with the DFS stuff in samba3 I can have a very acceptable solution  for
failover as well (with the help of some regedits and scripts to clean up the
cache and configure some client parameters). If the primary server fails,
just logout and log on again and the shares will be accessed on the
secondary server with a small timeout. The data will be replicated to this
second server with a max interval of an hour, which is enough. Ok so far the
general idea.

They don't have something like AD for the moment and implementing MS AD
would mean additional costs (hardware and license costs) and administrative
overhead. So I want to know if it would be possible to use Samba 4 alpha 12
for this purpose? I don't need the full set of features, only the below
ones:

- a single domain consisting of 2 samba servers acting as Domain Controllers
(with replication of course)
- users and groups within this domain, nothing spectacular, just a group per
share and some application groups
- DFS functionality as in samba 3
- file serving (incl. roaming profiles)

I don't need intermixed domains with MS AD servers, only winxp clients will
talk to these servers.
I don't need the printing stuff, because that's quiet easy to handle with
some scripts (based on groups of course).
I don't need the group policy stuff very much as well (I do use it however),
because basically that's just registry settings which are configured and I
can do that scripted as well.
I can handle the dhcp/dns/ddns stuff via their respective configurations,
and all the machine's will have fixed ip-addresses in the dhcp server
anyway. There is just a small dhcp-range for incidental usage.

Now, the question is, can I use samba 4 alpha12 or later for the above
mentioned requirements? I don't mind compiling and rebuilding in case of
newer versions and I am comfortable with some bugs (for instance, everything
needs to be lowercase, passwords aren't changeable by users, or something
like that). I even don't mind to reboot once every week or month or so (have
to do maintenance anyway). So basically, is the code for these features
stable enough or not?

Or is it possible to use groups in Samba 3 and have some central user
authentication as with Samba 4 would be the case? (then I will upgrade to
Samba 4 when it is released of course)

kind regards and thanks in advance

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

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


Re: [Samba] Machine account reject - additional troubleshooting

2010-09-16 Thread Martin Hochreiter




Hi Miguel,



Thanks for the reply.  I tried these changing these two settings and it
has not made a difference for us.
One interesting observation I have made is that the logs are only being
flooded from a portion of our Windows 7 machines.  This has me really
puzzled -- I have built them all following the same steps and using the
same software.  Go figure.
-Bryan


Hi Brian, Hi Miguel!

Yes, the changes don't work for me either - I opened a bug
at bugzilla.samba.org, maybe the developer could tell more about that.
@Brian - you are right, not all of the windows7 machines show that behaviour.
And I am not sure if that problem is only samba-ldap related (I saw a few
statements that samba-tdbsam does not show that problem)

regards
Martin





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


Re: [Samba] question about CIFS client glitches

2010-09-16 Thread starlight
At 08:44 PM 9/16/2010 -0400, Jeff Layton wrote:
>RHEL6 is fairly current with mainline code (at least as of this past
>spring or so). If it works OK on Fedora, it should be OK in RHEL6.

Super.   I'll try loading up the 6 beta in a VM and check it out.

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


Re: [Samba] question about CIFS client glitches

2010-09-16 Thread Jeff Layton
On Thu, 16 Sep 2010 20:00:14 -0400
starli...@binnacle.cx wrote:

> At 05:50 PM 9/16/2010 -0500, Steve French wrote:
> >On Thu, Sep 16, 2010 at 4:39 PM,   wrote:
> >> Trying out a CIFS mount of a W2K8 x64 file system from CentOS
> >> 5.5 and running into problems, and trying to figure out how to
> >> proceed.
> ...
> >
> >This is quite old kernel, but perhaps it was updated to include more
> >recent fixes - can you view the version information on the file, ie
> >the cifs.ko module (you can do this by running modinfo on 
> >cifs.ko)
> >
> 
> Thank you for the follow-up.  Per my last message this was my 
> being a clueless in regards to the lack of hard/soft link 
> support in the old version.  'modinfo' pegs it as 1.60RH.
> 
> Hopefully RHEL6 will include CIFS file links as it might work 
> better to compile on Linux from a Windows share rather than 
> vice-versa.  'makedepend' runs painfully slow from Windows over
> a Samba share unless IPoIB is used for transport.
> 
> Perhaps I'll try it under Fedora, though in general I find 
> wrestling with the constant change of the moving-target distro 
> too much.
> 
> It is quite encouraging to see CIFS work in general.  Last time 
> I tried three or four years ago the system crashed shortly after 
> issuing the mount command.
> 

RHEL6 is fairly current with mainline code (at least as of this past
spring or so). If it works OK on Fedora, it should be OK in RHEL6.

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


Re: [Samba] question about CIFS client glitches

2010-09-16 Thread starlight
At 05:50 PM 9/16/2010 -0500, Steve French wrote:
>On Thu, Sep 16, 2010 at 4:39 PM,   wrote:
>> Trying out a CIFS mount of a W2K8 x64 file system from CentOS
>> 5.5 and running into problems, and trying to figure out how to
>> proceed.
...
>
>This is quite old kernel, but perhaps it was updated to include more
>recent fixes - can you view the version information on the file, ie
>the cifs.ko module (you can do this by running modinfo on 
>cifs.ko)
>

Thank you for the follow-up.  Per my last message this was my 
being a clueless in regards to the lack of hard/soft link 
support in the old version.  'modinfo' pegs it as 1.60RH.

Hopefully RHEL6 will include CIFS file links as it might work 
better to compile on Linux from a Windows share rather than 
vice-versa.  'makedepend' runs painfully slow from Windows over
a Samba share unless IPoIB is used for transport.

Perhaps I'll try it under Fedora, though in general I find 
wrestling with the constant change of the moving-target distro 
too much.

It is quite encouraging to see CIFS work in general.  Last time 
I tried three or four years ago the system crashed shortly after 
issuing the mount command.

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


[Samba] Samba 4 moved mount.cifs and umount.cifs to /usr/local/bin/?

2010-09-16 Thread Nico Kadel-Garcia
I'm trying to work from the Samba 4 source and SRPM's to build a nice
clean Samba package for work, to test some of its features. Overall,
I'm happy with what I see, but the new "autogen.sh" seems to construct
its "source4/configure" script from these "build" tools, and they
entirely ignore the concept of "sbindir" in installing the mount.cifs
and umount.cifs utilitis: those wind up in "bindir", not "sbindir".

Was that change deliberate? If not, it's going to mess with RHEL and
similar operating systems where those system utilities are not
normally accessible to users, and are normally summoned from the
"mount" command with the "mount -t cifs" option. It's especially going
to break autofs.

Any observations or suggestions on how best to address that? I can
move them to the "sbindir" as a post-install process, but that's
begging for confusion.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] question about CIFS client glitches

2010-09-16 Thread Jeff Layton
On Thu, 16 Sep 2010 18:49:49 -0400
starli...@binnacle.cx wrote:

> At 05:39 PM 9/16/2010 -0400, starli...@binnacle.cx wrote:
> >Trying out a CIFS mount of a W2K8 x64 file system from CentOS 
> >5.5 and running into problems, and trying to figure out how to 
> >proceed.
> 
> Oops.  I see the problem is that CIFS, at least in the older 
> stable versions, does not support hard links.  The extracted 
> archives have a few of these and so the resulting tree is not a 
> synchronized copy of the original.
> 
> Oh well, so much for that.
> 

Ok, good to know. There were patches that went to mainline to make CIFS
support server inode numbers correctly, which is sort of a requirement
for proper hardlink support. Those were really too invasive for a minor
RHEL release however.

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


Re: [Samba] question about CIFS client glitches

2010-09-16 Thread starlight
At 05:39 PM 9/16/2010 -0400, starli...@binnacle.cx wrote:
>Trying out a CIFS mount of a W2K8 x64 file system from CentOS 
>5.5 and running into problems, and trying to figure out how to 
>proceed.

Oops.  I see the problem is that CIFS, at least in the older 
stable versions, does not support hard links.  The extracted 
archives have a few of these and so the resulting tree is not a 
synchronized copy of the original.

Oh well, so much for that.

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


Re: [Samba] file names convert

2010-09-16 Thread Björn Jacke
On 2010-09-16 at 13:38 +0200 Michael Wood sent off:
> Hi
> 
> On 16 September 2010 09:02, Alessio Tomelleri - ARPAV Dipartimento di
> Belluno  wrote:
> >  ..maybe could be useful this command ?!  get a closer look   "man tr"
> >
> > tr [:upper:] [:lower:] < myfile
> 
> He wants to change the filename, not the contents :)

convmv --lower -r /bla/

if you also have non-ASCII characters, you may also specify the charset so that
it lowercases those characters correctly.

Björn
-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-37-0, fax: +49-551-37-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] question about CIFS client glitches

2010-09-16 Thread starlight
Hello,

Trying out a CIFS mount of a W2K8 x64 file system from CentOS 
5.5 and running into problems, and trying to figure out how to 
proceed.

I mount up the Windows share, then run a script that expands 
about ten TAR format archives containing a couple of hundred 
files with the 'pax' utility.  Then it removes about two dozen 
files.  The script is a primitive source-code version extractor.

Unfortunately the resulting tree is quite incorrect.  Some of the 
files that should be deleted by the 'rm' commands are not, and 
some of the files that should be there from the expansion are 
missing.  The script works fine with EXT2/3/4 and NFSv3 mounts.

So it seems to me CIFS mounts are not ready for use in 
production or development.

Before I give up, is there anything obvious that I'm missing?
I searched for relevant bugs in Red Hat, Samba and Kernel.org 
bugzillas and didn't find anything that seems to match.

The version mix in use is a little odd.  The kernel and 
'cifs.ko' modules are pure RHEL/CentOS version 2.6.18-194.11.3.el5,
but instead of using the distro version of Samba the
system is running vanilla Samba 3.5.2.

If anyone has any ideas or suggestions, please let me know.

Thanks

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


Re: [Samba] Machine account reject - additional troubleshooting

2010-09-16 Thread Bryan K. Walton
On Sun, 2010-09-12 at 20:11 +0100, Miguel Medalha wrote:
> 
> > (My last suspision is, that win7 is doing the machine authentication
> > in a different [encryption)] way as the XP machine are doing 
> > that as XP machines do not have that problem) 

> 
> On each Windows 7 computer, we had to change two settings in "Local
> Security Policy -> Local Policies -> Security Options". Those settings
> were:
> 
> "Network Security: Do not store LAN Manager hash value on next
> password" change from "Enabled" to "Disabled"
> "Network Security: LAN Manager authentication level" change from "Not
> Defined" to "Send LM & NTLM responses"

Hi Miguel,

Thanks for the reply.  I tried these changing these two settings and it
has not made a difference for us.

One interesting observation I have made is that the logs are only being
flooded from a portion of our Windows 7 machines.  This has me really
puzzled -- I have built them all following the same steps and using the
same software.  Go figure.

-Bryan


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


Re: [Samba] Samba/Cups print server filename

2010-09-16 Thread Mark Adams
Is it possible to stop the smbprn.000X going to the front of the spool
file?

On Wed, Sep 15, 2010 at 02:16:10PM +0100, Mark Adams wrote:
> Hi All,
> 
> I have working setup of samba passing through printers to cups. When the
> filename goes through, it has "smbprn.01" appended to the start of
> the document name. Is it possible to remove this?
> 
> Regards,
> Mark
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba

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


Re: [Samba] file names convert

2010-09-16 Thread Lennart Sorensen
On Thu, Sep 16, 2010 at 01:38:05PM +0200, Michael Wood wrote:
> On 16 September 2010 09:02, Alessio Tomelleri - ARPAV Dipartimento di
> Belluno  wrote:
> >  ..maybe could be useful this command ?!  get a closer look   "man tr"
> >
> > tr [:upper:] [:lower:] < myfile
> 
> He wants to change the filename, not the contents :)
> 
> > maybe, inserting it in a script as well...
> 
> Try something like:
> 
> for f in *; do

Breaks on filenames with spaces.

> lower="`echo $f | tr [:upper:] [:lower:]`"
> if [ "$f" != "$lower" ]; then
> mv -i "$f" "$lower"
> fi
> done
> 
> The "mv -i" is in case you have a file called "README.txt" and another
> one called "Readme.txt" in the same directory.
> 
> Please try it out on some test files before running it in production.

How about "rename 's/(.*)/\L$1\E/' filenames" ?

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

[Samba] samba 4 questions

2010-09-16 Thread AJ Hettema
hi All,

first of all, please keep up the good work. I use samba for at least 10
years now, and it never let me down. And the samba 4 release would even be
better then ever (tried the alpha's already in test labs with multiple AD
controllers, very impressive).

But, now I am facing some difficulties. I need to migrate a small firm (40
users or something, will increase to 50 in 2 years or so) to a newer
infrastructure and they use samba just for file sharing for the moment
(version 3). It's rock solid stable with up times of 200 days or so. For the
moment they lack any user authentication platform, they just have local
users with some scripts on there machines and based on some configuration
files on a read only samba share they get access to specific shares or not.

I would like to migrate them to a twin server setup for dns, dhcp and samba.
WIthin dhcp and dns I can get primary/secondary configurations pretty easy,
and with the DFS stuff in samba3 I can have a very acceptable solution  for
failover as well (with the help of some regedits and scripts to clean up the
cache and configure some client parameters). If the primary server fails,
just logout and log on again and the shares will be accessed on the
secondary server with a small timeout. The data will be replicated to this
second server with a max interval of an hour, which is enough. Ok so far the
general idea.

They don't have something like AD for the moment and implementing MS AD
would mean additional costs (hardware and license costs) and administrative
overhead. So I want to know if it would be possible to use Samba 4 alpha 12
for this purpose? I don't need the full set of features, only the below
ones:

- a single domain consisting of 2 samba servers acting as Domain Controllers
(with replication of course)
- users and groups within this domain, nothing spectacular, just a group per
share and some application groups
- DFS functionality as in samba 3
- file serving (incl. roaming profiles)

I don't need intermixed domains with MS AD servers, only winxp clients will
talk to these servers.
I don't need the printing stuff, because that's quiet easy to handle with
some scripts (based on groups of course).
I don't need the group policy stuff very much as well (I do use it however),
because basically that's just registry settings which are configured and I
can do that scripted as well.
I can handle the dhcp/dns/ddns stuff via their respective configurations,
and all the machine's will have fixed ip-addresses in the dhcp server
anyway. There is just a small dhcp-range for incidental usage.

Now, the question is, can I use samba 4 alpha12 or later for the above
mentioned requirements? I don't mind compiling and rebuilding in case of
newer versions and I am comfortable with some bugs (for instance, everything
needs to be lowercase, passwords aren't changeable by users, or something
like that). I even don't mind to reboot once every week or month or so (have
to do maintenance anyway). So basically, is the code for these features
stable enough or not?

Or is it possible to use groups in Samba 3 and have some central user
authentication as with Samba 4 would be the case? (then I will upgrade to
Samba 4 when it is released of course)

kind regards and thanks in advance

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


[Samba] VFS : Replacing file during open()

2010-09-16 Thread Hachi

hello,

i have samba 3.5.4 on a debian  (testing)
i wrote a vfs-module, which (during the open()) moves a file on another 
disc in my server and places a symbolic link instead


example:
/samba/foo.bar
becomes
/samba/foo.bar -> /other/disc/foo.bar

compiling and using from a pc through samba is no problem, except for 
editing a file, that was just created and not closed yet


i guess, the file-descriptor defined in the files_struct is illegal 
after replacing the original file (as the inode changed)
so can i open the moved file and exchange the file-descriptor, or do you 
have other ideas to solve this?


TIA

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


[Samba] VFS objects and mount_smbfs on Mac?

2010-09-16 Thread Dirk Langner
Hi all, 

Is that intended to work? I have a Mac client connected to a Samba share 
on a linux server (samba 3.2.0). For debugging purposes I've set up a VFS 
object on my share, which shall trace the actions on the filesystem. 

guest ok = yes
vfs object = full_audit
full_audit:success = all
full_audit:failure = all
full_audit:facility = LOCAL7
full_audit:priority = ALERT

and adjusted the log parameters to 

log level = 0 vfs:10

and got the output suddenly according to the syslog in to the file 
localmessages. 

Now I've mounted this share to a Mac (10.6.?) using this command as user
mount_smbfs //user:p...@server/share /Users/Shared/share

When entering this directory I don't get any entries into the log file 
(localmessages), which shall trace the activities. Finder doesn't work 
either. But when accessing the share using smbclient, I get every action 
traced. But entering the _mounted_ (smbfs) directory, the full_audit trace 
does not produce any output. 

Are the VFS objects not working on _mounted_ directories or am I missing 
something?

Thanks for help, 
Dirk

P.S.: I can't access the systems right now, so I can't provide more 
detailed infos about software releases at the moment etc.

Dirk Langner
Phone: +49 89 - 94 00 9-345
Tata Consultancy Services Deutschland GmbH
Ph: +49 89 - 94 00 9-345
Cell: +49 - 173 - 6780 652
Mailto: dirk.lang...@tcs.com
Website: http://www.tcs.com

Experience certainty.   IT Services
Business Solutions
Outsourcing


---
Directors:  Mr. S.Mahalingam, Mr. N.Chandrasekaran, Mr. Pauroos Karkaria, 
Mr. Per Bragée
Register No.: Frankfurt HRB 34240, Düsseldorf HRB 34240, Hamburg HRB 
34240, München HRB 34240, Walldorf HRB 34240
---
=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


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


Re: [Samba] file names convert

2010-09-16 Thread John Drescher
> Thanks, for your help.
> How can I rename old files on linux server with one command?
> I would like to get every files and directory names are lowercase.
>

I have a script to do this

http://github.com/drescherjm/jmdgentoooverlay/raw/master/Other/shell-scripts/mvcase.sh
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] file names convert

2010-09-16 Thread Michael Wood
Hi

On 16 September 2010 09:02, Alessio Tomelleri - ARPAV Dipartimento di
Belluno  wrote:
>  ..maybe could be useful this command ?!  get a closer look   "man tr"
>
> tr [:upper:] [:lower:] < myfile

He wants to change the filename, not the contents :)

> maybe, inserting it in a script as well...

Try something like:

for f in *; do
lower="`echo $f | tr [:upper:] [:lower:]`"
if [ "$f" != "$lower" ]; then
mv -i "$f" "$lower"
fi
done

The "mv -i" is in case you have a file called "README.txt" and another
one called "Readme.txt" in the same directory.

Please try it out on some test files before running it in production.

> Il 16/09/2010 08:19, Engi Zoltán ha scritto:
>>  On 2010.09.15. 16:32, Volker Lendecke wrote:
>>> On Wed, Sep 15, 2010 at 08:39:17AM +0200, Engi Zoltán wrote:
 I have Samba network with debian linux lenny server and 3 windows
 clients.
 Some of users save the files with uppercase, for example "Xlsx". How
 can J have Samba to do convert files names into lowercase.
 I am beginner in Samba.
>>> Try
>>>
>>> case sensitive = no
>>> short preserve case = no
>>> preserve case = no
>>> default case = lower
>>>
>>> Volker
>> Thanks, for your help.
>> How can I rename old files on linux server with one command?
>> I would like to get every files and directory names are lowercase.

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


[Samba] WG: Running 2 SAMBA4 DC Replication WERR_BADFILE error

2010-09-16 Thread Daniel Müller
Can Somebody have a look !?
Or an Idea. How bind can resolve the second cname ._mscds.
I can take every other cname for my second samba4 but the: 
a441f8f9-629d-43c4-bce6-a5dfba1e4ad9._msdcs


NODE1 is: 02284f45-de16-4125-a795-3b614f540ef7
NODE2 is: a441f8f9-629d-43c4-bce6-a5dfba1e4ad9

So Replication from NODE2 to NODE1 works fine:
UpdateRefs OK for a441f8f9-629d-43c4-bce6-a5dfba1e4ad9._msdcs.tuebingen.tst.loc 
DC=tuebingen,DC=tst,DC=loc
dreplsrv_op_pull_source(WERR_OK)  ← No replication error all is ok 


Replication the other way There is an error:
dns child failed to find name 
'a441f8f9-629d-43c4-bce6-a5dfba1e4ad9._msdcs.tuebingen.tst.loc' of type A
dreplsrv_notify: Failed to send DsReplicaSync to 
a441f8f9-629d-43c4-bce6-a5dfba1e4ad9._msdcs.tuebingen.tst.loc for 
DC=tuebingen,DC=tst,DC=loc - NT_STATUS_OBJECT_NAME_NOT_FOUND : WERR_BADFILE ← 
Error!!??
started DsReplicaSync for CN=Schema,CN=Configuration,DC=tuebingen,DC=tst,DC=loc 
to a441f8f9-629d-43c4-bce6-a5dfba1e4ad9._msdcs.tuebingen.tst.loc

Asking my bind on NODE1:
 [r...@node1 etc]# host -t A 
02284f45-de16-4125-a795-3b614f540ef7._msdcs.tuebingen.tst.loc
02284f45-de16-4125-a795-3b614f540ef7._msdcs.tuebingen.tst.loc is an alias for 
node1.tuebingen.tst.loc.
node1.tuebingen.tst.loc has address 192.168.134.27
And  for a441f8f9-629d-43c4-bce6-a5dfba1e4ad9._msdcs.tuebingen.tst.loc:
host -t A a441f8f9-629d-43c4-bce6-a5dfba1e4ad9._msdcs.tuebingen.tst.loc
Host a441f8f9-629d-43c4-bce6-a5dfba1e4ad9._msdcs.tuebingen.tst.loc not found: 
3(NXDOMAIN)

No alias record is shown for a441f8f9-629d-43c4-bce6-a5dfba1e4ad9 and node2!?

But in my zone-file:

IN NS   node1
IN NS   node2
IN A192.168.134.27
IN A192.168.134.28
node1IN A192.168.134.27
node2IN A192.168.134.28

gc._msdcs   IN A192.168.134.27

02284f45-de16-4125-a795-3b614f540ef7._msdcs IN CNAMEnode1
a441f8f9-629d-43c4-bce6-a5dfba1e4ad9._mscds IN CNAMEnode2

What about this???
Any answers out there ???


ON NODE1:The master Samba ADS-Server

queued DsReplicaSync for DC=tuebingen,DC=tst,DC=loc to 
a441f8f9-629d-43c4-bce6-a5dfba1e4ad9._msdcs.tuebingen.tst.loc (urgent=true) 
uSN=0:1196872
queued DsReplicaSync for CN=Schema,CN=Configuration,DC=tuebingen,DC=tst,DC=loc 
to a441f8f9-629d-43c4-bce6-a5dfba1e4ad9._msdcs.tuebingen.tst.loc (urgent=true) 
uSN=0:3388
queued DsReplicaSync for CN=Configuration,DC=tuebingen,DC=tst,DC=loc to 
a441f8f9-629d-43c4-bce6-a5dfba1e4ad9._msdcs.tuebingen.tst.loc (urgent=true) 
uSN=0:3571
started DsReplicaSync for DC=tuebingen,DC=tst,DC=loc to 
a441f8f9-629d-43c4-bce6-a5dfba1e4ad9._msdcs.tuebingen.tst.loc
dreplsrv_notify_schedule(5) scheduled for: Wed Sep 15 09:38:11 2010 CEST
Mapped to DCERPC endpoint 135
added interface ip=192.168.134.27 nmask=255.255.255.0
added interface ip=192.168.134.27 nmask=255.255.255.0
dns child failed to find name 
'a441f8f9-629d-43c4-bce6-a5dfba1e4ad9._msdcs.tuebingen.tst.loc' of type A
dreplsrv_notify: Failed to send DsReplicaSync to 
a441f8f9-629d-43c4-bce6-a5dfba1e4ad9._msdcs.tuebingen.tst.loc for 
DC=tuebingen,DC=tst,DC=loc - NT_STATUS_OBJECT_NAME_NOT_FOUND : WERR_BADFILE
started DsReplicaSync for CN=Schema,CN=Configuration,DC=tuebingen,DC=tst,DC=loc 
to a441f8f9-629d-43c4-bce6-a5dfba1e4ad9._msdcs.tuebingen.tst.loc







ON NODE2= The second  Samba ADS-Server

Child /usr/local/samba/sbin/samba_spnupdate exited with status 0 - Success
Completed SPN update check OK
/usr/local/samba/sbin/samba_dnsupdate: response to GSS-TSIG query was 
unsuccessful
/usr/local/samba/sbin/samba_dnsupdate: response to GSS-TSIG query was 
unsuccessful
/usr/local/samba/sbin/samba_dnsupdate: response to GSS-TSIG query was 
unsuccessful
/usr/local/samba/sbin/samba_dnsupdate: response to GSS-TSIG query was 
unsuccessful
/usr/local/samba/sbin/samba_dnsupdate: response to GSS-TSIG query was 
unsuccessful
Child /usr/local/samba/sbin/samba_dnsupdate exited with status 0 - Success
Completed DNS update check OK
Registered NODE2<00> with 192.168.134.28 on interface 192.168.134.255
Registered NODE2<03> with 192.168.134.28 on interface 192.168.134.255
Registered NODE2<20> with 192.168.134.28 on interface 192.168.134.255
Registered TUEBINGEN<1c> with 192.168.134.28 on interface 192.168.134.255
Registered TUEBINGEN<00> with 192.168.134.28 on interface 192.168.134.255
dreplsrv_periodic_run(): schedule pull replication
dreplsrv_periodic_run(): run pending_ops memory=94
dreplsrv_refresh_partition(DC=tuebingen,DC=tst,DC=loc)
dreplsrv_out_connection_attach(02284f45-de16-4125-a795-3b614f540ef7._msdcs.tuebingen.tst.loc):
 attach
dreplsrv_refresh_partition(CN=Configuration,DC=tuebingen,DC=tst,DC=loc)
dreplsrv_out_connection_attach(02284f45-de16-4125-a795-3b614f540ef7._msdcs.tuebingen.tst.loc):
 attach
dreplsrv_refresh_partition(CN=Schema,CN=Configuration,DC=tuebingen,DC=tst,DC=loc)
dreplsrv_out_connection_attach(02284f45-de16-4125-a795-3b614

Re: [Samba] file names convert

2010-09-16 Thread Alessio Tomelleri - ARPAV Dipartimento di Belluno
 ..maybe could be useful this command ?!  get a closer look   "man tr"

tr [:upper:] [:lower:] < myfile


maybe, inserting it in a script as well...



Il 16/09/2010 08:19, Engi Zoltán ha scritto:
>  On 2010.09.15. 16:32, Volker Lendecke wrote:
>> On Wed, Sep 15, 2010 at 08:39:17AM +0200, Engi Zoltán wrote:
>>> I have Samba network with debian linux lenny server and 3 windows
>>> clients.
>>> Some of users save the files with uppercase, for example "Xlsx". How
>>> can J have Samba to do convert files names into lowercase.
>>> I am beginner in Samba.
>> Try
>>
>> case sensitive = no
>> short preserve case = no
>> preserve case = no
>> default case = lower
>>
>> Volker
> Thanks, for your help.
> How can I rename old files on linux server with one command?
> I would like to get every files and directory names are lowercase.
>
> Zoli
>
>

-- 
Alessio Tomelleri

Ufficio Tecnico
ARPAV - Dipartimento Provinciale di Belluno
v. Tomea, 5 - Belluno (BL), 32100
tel. +39437935516
fax. +39043730340
email: atomell...@arpa.veneto.it
web :  http://www.arpa.veneto.it

Registered Linux user: nr.496721

In risposta alla domanda: "Qual'è il gioco più grande, gli scacchi o la dama 
?", in tutta franchezza devo privilegiare gli scacchi (W. Banks, Campione del 
mondo di dama alla cieca).

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