Re: [Samba] any plans on getting psexec / cmdat equivalent to Samba?

2006-05-28 Thread Henrik Zagerholm
The idea is to be able to execute commands on a win box with the  
standard ADMIN$ IPC$ shares available.


SSH is not an option here unfortunately.

I know that the samba team had plans on releasing something like this  
last winter but I guess other parts of the project took longer time  
than expected.


Hopefully something will be available soon as it would be a very very  
helpful tool in bridging between linux servers and Win clients.


Cheers,
Henrik

28 maj 2006 kl. 17:34 skrev David Shapiro:


How about ssh?

ssh host ls

David Shapiro
Distributed Systems
Unix Team Lead
office: 919-765-2011
cellphone: 730-0538


"roland" <[EMAIL PROTECTED]> 5/26/2006 6:39:45 PM >>>


Hello !

If anybody want`s to implement the psexec unix port or samba
equivalent,
maybe taking a look at xCmd from Zoltan Csizmadia at

http://www.codeguru.com/Cpp/I-N/network/remoteinvocation/ 
article.php/c5433/


may help a LOT and is a very good example. (This one seems to work
similar
like psexec - but it is available with sourcecode!)

I don`t know if the author is still reachable via this mail adress or
if
there is any chance to get some help with "creating the xCMD/psexec
equivalent for linux", but I CC'ed him with this mail to say "thank  
you

for
making it and for providing the source".

regards
roland k.
systems engineer



List:   samba
Subject:[Samba] any plans on getting psexec / cmdat equivalent to
Samba?
From:   Tomasz Chmielewski 
Date:   2006-03-22 11:00:23
Message-ID: 44212E47.4040300 () wpkg ! org
[Download message RAW]

Windows admins can make their work easier with a tool like psexec.

It allows to execute commands remotely, without the need to install
anything on the target machine. All that is needed is
username/password
of course.

Unfortunately, psexec command only runs on Windows.

The usage is as follows (we start notepad interactively with -i to
show
that something happens):

psexec \\192.168.1.2 -i -u username -p password notepad

It waits for the command to complete, and returns its exit code, so
can
be used within scripts.


A similar tool we can use with Samba is cmdat, which comes together
with
   samba-tng (one just needs to compile samba-tng, and then can use
the
tool with a "regular" Samba).

To start a command on a remote system, we can use (we start notepad
interactively with /interactive to show that something happens):

cmdat -I 192.168.1.2 -U 'username%password' -c 'at now /interactive
notepdad'

Unfortunately, it uses at to start commands (1 minute from the current
time when we use "now"), so we know nothing about the status of the
running command, nor get any exit code. In other words, it's close to
impossible to use it in scripts to do anything useful (other than
starting single commands).


Is any work done in Samba to get a tool similar to psexec?


--
Tomasz Chmielewski
http://wpkg.org

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

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


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


[Samba] Samba PDC and windows XP client

2006-05-28 Thread Marco Azimonti
Hello,
I am running a samba PDC controller on debian testing.
I can use it effectively from both Windows / Linux.
There is only one annoying point.
When I browse the network from windows XP (Sp2), I see, in "My
netwkork Places / Entire Network / Microsoft Windows Network" two
networks.
One is the one I am expecting (with the Xp client and the server
inside), the other network  (which  I cannot browse), has the name of
my samba server.
When I lauch the NT user manager console, at first Windows try to
connect to this domain (which indeed does not exist) and says "could
not find DC for this domain".
I have to manually input the correct name to see my domain users/groups.
Honestly I cannot understand from where XP is taking this domain name.
On linux, if I type
"net rap domain"
I got back one entry, the one I am expecting.

Thank you in advance and best regards,
Marco



-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.7.3/350 - Release Date: 5/28/2006

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


Re: RE [Samba] Failover LDAP?

2006-05-28 Thread Andrew Bartlett
On Sun, 2006-05-28 at 19:05 +1000, adrian sender wrote:
> Samba 3 By Example Chapter 6.
> 
> Figure 6.3. Samba Configuration to Use a Dual (Fail-over) LDAP Server
> 
> passdb backend = ldapsam:ldap://master.abmas.biz \
>  ldapsam:ldap://slave.abmas.biz

This is the incorrect way to handle this problem.  The correct syntax is
given as an example in the smb.conf manpage:

  passdb backend = ldapsam:"ldap://ldap-1.example.com \
  ldap://ldap-2.example.com";

Andrew Bartlett

-- 
Andrew Bartletthttp://samba.org/~abartlet/
Authentication Developer, Samba Team   http://samba.org
Student Network Administrator, Hawker College  http://hawkerc.net


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Re: [Samba] 3.0.23rc1 - Failed to setup RT_SIGNAL_NOTIFY handler

2006-05-28 Thread Jeremy Allison
On Mon, May 29, 2006 at 11:54:43AM +1000, James Peach wrote:
> > Unfortunately, I think that this means that we need a new configure
> > macro to test whether linking with librt implicitly links libpthread. If
> > it does, we can disable clock_gettime without disabling
> > --with-profiling-data.
> 
> This was way more horrible than I expected, but the attached patch
> implements the checks I describe above.

Wow - that *is* ugly :-). But it does what we need
(which is to make sure we don't link with pthreads).

If you're happy with it commit it and we'll monitor
the build farm to see what breaks.

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


Re: [Samba] 3.0.23rc1 - Failed to setup RT_SIGNAL_NOTIFY handler

2006-05-28 Thread James Peach

On 5/29/06, Volker Lendecke <[EMAIL PROTECTED]> wrote:

On Sun, May 28, 2006 at 08:34:57PM +0200, Thomas Bork wrote:
> Please accept this patch for configure.in, removing the function
> introduced in 15508 (Use clock_gettime for profiling timestamps if it is
> available. Use the fastest clock available on uniprocessors.):

Hmmm. Fully removing it might not be really the right thing.
It might however be good to only link in -lrt (and thus the
depending pthreads) if --with-profiling-data=yes.

James, what do you think?


Yeh, that seems like the right thing to do.

--
James Peach | [EMAIL PROTECTED]
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Windows clients cannot print in color

2006-05-28 Thread Necos Secon
Hmmm... Be careful with the 1.2 series of CUPS. I've noticed problems with 
color printer ppds in this version. I've been using 1.1.23 with 
foomatic/postscript drivers (downloaded from linuxprinting.org) with no real 
problems. What kind of color laser printers do you have? At my job, we use 
HP 4550Ns. Also, make sure you're using the CUPS windows driver with your 
Windows clients. That may help a bit.


Theodore Charles III
Network Administrator
Los Angeles Senior High



From: Dale Schroeder <[EMAIL PROTECTED]>
To: samba@lists.samba.org
Subject: [Samba] Windows clients cannot print in color
Date: Fri, 26 May 2006 13:59:05 -0500

I have a Samba 3.0.22 server running as "security = ADS" on a Debian Sarge 
3.1 system and operating as expected.  I recently added print server 
functions via CUPS 1.2.1.  The drivers appear to install properly on the 
clients.  Test pages print flawlessly from the CUPS server, but will only 
print grayscale from the Windows 2000/XP clients.  It is a universal 
phenomenon, applying to all 3 color laser printers.  PDF's are also a 
problem - either mangled or nothing at all.


Three days on Google hasn't been able to help me, maybe one of you can.
Thanks,
--
Dale Schroeder

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



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


Re: [Samba] 3.0.23rc1 - Failed to setup RT_SIGNAL_NOTIFY handler

2006-05-28 Thread Jeremy Allison
On Sun, May 28, 2006 at 09:38:27PM +0200, Volker Lendecke wrote:
> On Sun, May 28, 2006 at 08:34:57PM +0200, Thomas Bork wrote:
> > Please accept this patch for configure.in, removing the function 
> > introduced in 15508 (Use clock_gettime for profiling timestamps if it is 
> > available. Use the fastest clock available on uniprocessors.):
> 
> Hmmm. Fully removing it might not be really the right thing.
> It might however be good to only link in -lrt (and thus the
> depending pthreads) if --with-profiling-data=yes.

Hmmm. Yes, although it's definately a bug in the underlying
system that linking with pthreads does this.

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


Re: [Samba] 3.0.23rc1 - Failed to setup RT_SIGNAL_NOTIFY handler

2006-05-28 Thread Volker Lendecke
On Sun, May 28, 2006 at 08:34:57PM +0200, Thomas Bork wrote:
> Please accept this patch for configure.in, removing the function 
> introduced in 15508 (Use clock_gettime for profiling timestamps if it is 
> available. Use the fastest clock available on uniprocessors.):

Hmmm. Fully removing it might not be really the right thing.
It might however be good to only link in -lrt (and thus the
depending pthreads) if --with-profiling-data=yes.

James, what do you think?

Volker


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

Re: [Samba] 3.0.23rc1 - Failed to setup RT_SIGNAL_NOTIFY handler

2006-05-28 Thread Thomas Bork

Volker Lendecke wrote:


[2006/05/25 15:25:42, 0] smbd/oplock_linux.c:linux_init_kernel_oplocks(247)
  Failed to setup RT_SIGNAL_LEASE handler
[2006/05/25 15:25:42, 0] smbd/notify_kernel.c:kernel_notify_init(224)
  Failed to setup RT_SIGNAL_NOTIFY handler

Is this a change from pre1? I'm not aware of any changes.
Can we get a debug level 10 log and an strace of such a
message?


Volker debugged this on my machine with following results (hope I 
understand it correct):


3.0.23rc1 uses 'AC_LIBTESTFUNC(rt, clock_gettime)' in configure.in, 
which leads to an smbd linked against pthreads which leads to an 
confused smbd which cannot SIGRTMIN.


Without this function smbd isn't linked to pthreads anymore and linux 
oplocks are available with glibc 2.2.5 and kernel 2.4.26-1.


Please accept this patch for configure.in, removing the function 
introduced in 15508 (Use clock_gettime for profiling timestamps if it is 
available. Use the fastest clock available on uniprocessors.):


--- configure.in.orgSun May 28 19:22:51 2006
+++ configure.inSun May 28 19:22:57 2006
@@ -2024,8 +2024,6 @@
 AC_DEFINE(HAVE_GETTIMEOFDAY_TZ,1,[Whether gettimeofday() is 
available])

 fi

-AC_LIBTESTFUNC(rt, clock_gettime)
-
 AC_CACHE_CHECK([for va_copy],samba_cv_HAVE_VA_COPY,[
 AC_TRY_LINK([#include 
 va_list ap1,ap2;], [va_copy(ap1,ap2);],


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


Re: [Samba] any plans on getting psexec / cmdat equivalent to Samba?

2006-05-28 Thread David Shapiro
How about ssh?
 
ssh host ls
 
David Shapiro
Distributed Systems
Unix Team Lead
office: 919-765-2011
cellphone: 730-0538

>>> "roland" <[EMAIL PROTECTED]> 5/26/2006 6:39:45 PM >>>

Hello !

If anybody want`s to implement the psexec unix port or samba
equivalent, 
maybe taking a look at xCmd from Zoltan Csizmadia at

http://www.codeguru.com/Cpp/I-N/network/remoteinvocation/article.php/c5433/

may help a LOT and is a very good example. (This one seems to work
similar 
like psexec - but it is available with sourcecode!)

I don`t know if the author is still reachable via this mail adress or
if 
there is any chance to get some help with "creating the xCMD/psexec 
equivalent for linux", but I CC'ed him with this mail to say "thank you
for 
making it and for providing the source".

regards
roland k.
systems engineer



List:   samba
Subject:[Samba] any plans on getting psexec / cmdat equivalent to
Samba?
From:   Tomasz Chmielewski 
Date:   2006-03-22 11:00:23
Message-ID: 44212E47.4040300 () wpkg ! org
[Download message RAW]

Windows admins can make their work easier with a tool like psexec.

It allows to execute commands remotely, without the need to install
anything on the target machine. All that is needed is
username/password
of course.

Unfortunately, psexec command only runs on Windows.

The usage is as follows (we start notepad interactively with -i to
show
that something happens):

psexec \\192.168.1.2 -i -u username -p password notepad

It waits for the command to complete, and returns its exit code, so
can
be used within scripts.


A similar tool we can use with Samba is cmdat, which comes together
with
   samba-tng (one just needs to compile samba-tng, and then can use
the
tool with a "regular" Samba).

To start a command on a remote system, we can use (we start notepad
interactively with /interactive to show that something happens):

cmdat -I 192.168.1.2 -U 'username%password' -c 'at now /interactive
notepdad'

Unfortunately, it uses at to start commands (1 minute from the current
time when we use "now"), so we know nothing about the status of the
running command, nor get any exit code. In other words, it's close to
impossible to use it in scripts to do anything useful (other than
starting single commands).


Is any work done in Samba to get a tool similar to psexec?


-- 
Tomasz Chmielewski
http://wpkg.org 

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

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


Re: [Samba] RE: Samba 3.0.20, pam_winbind broken?

2006-05-28 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:

> However, you seem to imply that this is a known 
> bug, with no workaround other than a (potential)
> backport of code from 3.0.23rc1?

A backport would be really intrusive.  It's a fair amount
of code.  Simo's right though.  I'm pretty sure this
is fixed in 3.0.23rc1.  If you could at least test 3.0.23rc1
and make sure it meets your needs it would be appreciated.




cheers, jerry
=
Samba--- http://www.samba.org
Centeris ---  http://www.centeris.com
"What man is a man who does not make the world better?"  --Balian
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFEeZY4IR7qMdg1EfYRAqPrAJ4nShK1hVlk1uG5CXoKIFxLWjUwlQCgj5EU
R6mZhaB4cUQZxWeMwUSKXOI=
=4e3H
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] User Manager

2006-05-28 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Volker Lendecke wrote:
> On Fri, May 26, 2006 at 11:44:12AM -0400, Mark Johnson wrote:
>> I've used User Manager with no issues from the prereleases of 3.0 
>> through 3.0.6.  I have a need to upgrade samba so I installed 3.0.22.  
>> Now, User Manager complains that the "stub received bad data".  Not much 
>> in the logs indicate an issue.
>>
>> Any ideas as to what's wrong or how to debug it? I use LDAP as the backend.
> 
> Please open a bug report at https://bugzilla.samba.org and
> upload debug level 10 smbd logs and a network trace of
> usrmgr.exe operation up to the failure.

But please retest against 3.0.23rc1 first.





cheers, jerry
=
Samba--- http://www.samba.org
Centeris ---  http://www.centeris.com
"What man is a man who does not make the world better?"  --Balian
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFEeZVwIR7qMdg1EfYRAsKGAJ9KSEaQyCa9lufZYqVcl8p/oeD8hwCgzxSO
71Evz3ZF7nH/Z01QMs04fkE=
=eU8j
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] sigbus fault ?

2006-05-28 Thread Edward Irvine at home

Hi Folks,

I'm trying to run samba on Solaris 9. It works OK when I don't compile in 
kerberos and ldap, but when with those two compiled in, smbd seems to freeze 
(nmbd and winbindd are OK). After a bit of investigation I notice something 
strange in truss:


...

/[EMAIL PROTECTED]: -> libldap-2.3:ldap_free_urldesc(0x30dfe8, 
0x32e048, 0x32dfb8, 0x3
/[EMAIL PROTECTED]:   -> liblber-2.3:ber_memfree_x(0x32dfd7, 0x0, 0x0, 
0x0)
/[EMAIL PROTECTED]:   -> libc:free(0x32dfd7, 0x0, 0x0, 0x0)
/[EMAIL PROTECTED]: -> libc:_free_unlocked(0x32dfd7, 0x0, 0x0, 
0xfee3c000)
/1: Incurred fault #5, FLTACCESS  %pc = 0xFEDC7D80
/1:   siginfo: SIGBUS BUS_ADRALN addr=0x0032DFCF
 ^^^   
/1: Received signal #10, SIGBUS [caught]

/1:   siginfo: SIGBUS BUS_ADRALN addr=0x0032DFCF
/[EMAIL PROTECTED]:   -> libc:sigaddset(0xffbfd594, 0xa, 0x0, 0x0)
/[EMAIL PROTECTED]: -> libc:sigvalid(0xa, 0x0, 0x0, 0x0)
/[EMAIL PROTECTED]: <- libc:sigvalid() = 1
/[EMAIL PROTECTED]:   <- libc:sigaddset() = 0
/1: sigprocmask(SIG_SETMASK, 0xFFBFD594, 0x) = 0
/[EMAIL PROTECTED]:   -> libc:___errno(0x0, 0x0, 0x0, 0x0)
/[EMAIL PROTECTED]:   <- libc:___errno() = 0xfee43664
/[EMAIL PROTECTED]:   -> libc:time(0x0, 0x0, 0x0, 0x0)


...


And the same sort of thing in gdb:

(gdb) run
Starting program: /opt/Samba/samba-3.0.22-with-ADS/sbin/smbd

Program received signal SIGSEGV, Segmentation fault.
0xfedc7d80 in _free_unlocked () from /usr/lib/libc.so.1
(gdb) bt
#0  0xfedc7d80 in _free_unlocked () from /usr/lib/libc.so.1
#1  0xfedc7d38 in free () from /usr/lib/libc.so.1
#2  0xff32d848 in ldap_free_urldesc (ludp=0x30dfc0) at url.c:1481
#3  0xfebe6ed0 in __s_api_addRefInfo () from /usr/lib/libsldap.so.1
#4  0xfebea200 in proc_search_references () from /usr/lib/libsldap.so.1
#5  0xfebeac94 in search_state_machine () from /usr/lib/libsldap.so.1
#6  0xfebeb4bc in __ns_ldap_list () from /usr/lib/libsldap.so.1
#7  0xfec2ad10 in _nss_ldap_nocb_lookup () from /usr/lib/nss_ldap.so.1
#8  0xfec24868 in getbymember () from /usr/lib/nss_ldap.so.1
#9  0xfedce8f0 in nss_search () from /usr/lib/libc.so.1
#10 0xfee18d30 in _getgroupsbymember () from /usr/lib/libc.so.1
#11 0xfedc3264 in initgroups () from /usr/lib/libc.so.1
#12 0x001ab280 in getgrouplist_internals ()
#13 0x001ab528 in sys_getgrouplist ()
#14 0x001ab580 in getgroups_user ()
#15 0x001ab6cc in pdb_default_enum_group_memberships ()
#16 0x0018f22c in context_enum_group_memberships ()
#17 0x0019136c in pdb_enum_group_memberships ()
#18 0x00202d90 in get_user_groups ()
#19 0x0020317c in add_user_groups ()
#20 0x002034b8 in make_server_info_sam ()
#21 0x0020387c in make_new_server_info_guest ()
#22 0x00203a30 in init_guest_info ()
#23 0x0024e0b0 in main ()


Here is my smb.conf:

[global]
  server string = IT151978  Solaris
  guest account = eirvine
  log level = 3
  preferred master = No
  local master = No
  domain master = No

[homes]
  comment = Home Directories
  valid users = %S
  read only = No
  browseable = No

Here is what smbd is linked against:

ldd sbin/smbd
  libthread.so.1 =>/usr/lib/libthread.so.1
  libldap-2.3.so.0 =>  /opt/OpenLDAP/openldap/lib/libldap-2.3.so.0
  liblber-2.3.so.0 =>  /opt/OpenLDAP/openldap/lib/liblber-2.3.so.0
  libgssapi_krb5.so.2 =>   /opt/Kerberos/krb5-1.4.3/lib/libgssapi_krb5.so.  
2
  libkrb5.so.3 =>  /opt/Kerberos/krb5-1.4.3/lib/libkrb5.so.3
  libk5crypto.so.3 =>  /opt/Kerberos/krb5-1.4.3/lib/libk5crypto.so.3
  libkrb5support.so.0 =>   /opt/Kerberos/krb5-1.4.3/lib/libkrb5support.so.  
0
  libcom_err.so.3 =>   /opt/Kerberos/krb5-1.4.3/lib/libcom_err.so.3
  libresolv.so.2 =>/usr/lib/libresolv.so.2
  libsocket.so.1 =>/usr/lib/libsocket.so.1
  libnsl.so.1 =>   /usr/lib/libnsl.so.1
  libpam.so.1 =>   /usr/lib/libpam.so.1
  libsendfile.so.1 =>  /usr/lib/libsendfile.so.1
  libdl.so.1 =>/usr/lib/libdl.so.1
  libiconv.so.2 => /usr/local/lib/libiconv.so.2
   libc.so.1 => /usr/lib/libc.so.1
  libgen.so.1 =>   /usr/lib/libgen.so.1
  libgcc_s.so.1 => /opt/sfw/gcc-3/lib/libgcc_s.so.1
  libmp.so.2 =>/usr/lib/libmp.so.2
  libcmd.so.1 =>   /usr/lib/libcmd.so.1
  /usr/platform/SUNW,Sun-Blade-100/lib/libc_psr.so.1

Any ideas of what to do next would be very much appreciated! Thanks

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

Re: [Samba] any plans on getting psexec / cmdat equivalent to Samba?

2006-05-28 Thread roland

Hello !

If anybody want`s to implement the psexec unix port or samba equivalent, 
maybe taking a look at xCmd from Zoltan Csizmadia at


http://www.codeguru.com/Cpp/I-N/network/remoteinvocation/article.php/c5433/

may help a LOT and is a very good example. (This one seems to work similar 
like psexec - but it is available with sourcecode!)


I don`t know if the author is still reachable via this mail adress or if 
there is any chance to get some help with "creating the xCMD/psexec 
equivalent for linux", but I CC'ed him with this mail to say "thank you for 
making it and for providing the source".


regards
roland k.
systems engineer



List:   samba
Subject:[Samba] any plans on getting psexec / cmdat equivalent to Samba?
From:   Tomasz Chmielewski 
Date:   2006-03-22 11:00:23
Message-ID: 44212E47.4040300 () wpkg ! org
[Download message RAW]

Windows admins can make their work easier with a tool like psexec.

It allows to execute commands remotely, without the need to install
anything on the target machine. All that is needed is username/password
of course.

Unfortunately, psexec command only runs on Windows.

The usage is as follows (we start notepad interactively with -i to show
that something happens):

psexec \\192.168.1.2 -i -u username -p password notepad

It waits for the command to complete, and returns its exit code, so can
be used within scripts.


A similar tool we can use with Samba is cmdat, which comes together with
  samba-tng (one just needs to compile samba-tng, and then can use the
tool with a "regular" Samba).

To start a command on a remote system, we can use (we start notepad
interactively with /interactive to show that something happens):

cmdat -I 192.168.1.2 -U 'username%password' -c 'at now /interactive
notepdad'

Unfortunately, it uses at to start commands (1 minute from the current
time when we use "now"), so we know nothing about the status of the
running command, nor get any exit code. In other words, it's close to
impossible to use it in scripts to do anything useful (other than
starting single commands).


Is any work done in Samba to get a tool similar to psexec?


--
Tomasz Chmielewski
http://wpkg.org 


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


[Samba] Integrating W2k3 Terminal Services w/Samba

2006-05-28 Thread Collins, Kevin
I've got a Samba (3.0.14a) controlled domain that contains 1 Windows
2003 Server as a member server.  I've been thinking about using Terminal
Services from that machine to allow roaming users (ie, those outside of
the office) to connect to our network and get work done.

My only concern at this point how to deal with the lack of an Active
Directory and still allow Terminal Services to function.  I've done some
searching and even ran across a post that said at least one person had
it working.  I'm not concerned about roaming profiles, I just want the
connectivity.

No, I haven't tried to make any og this happen, I'm just asking if
someone out there already has it working.  And if so, how much of a
headache it was to get working.

Thanks in advance.

--
Kevin L. Collins, MCSE
Systems Manager
Nesbitt Engineering, Inc.

Please note my new email address: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] RE: Re: Excel file

2006-05-28 Thread Customer Support at www.fogdog.com
Dear Valued Customer,

Thank you for contacting Customer Support at www.fogdog.com.

Your questions and concerns are important to us and we are dedicated to 
assisting you in anyway possible. In order to assist you in the most 
efficient and timely manner, all email correspondence must be submitted 
through our online email form. To locate our online email form, we ask 
that you visit our Help Desk at Customer Support at 
www.fogdog.com/helpdesk  and choose FAQ/Contact Us under Online Store 
Information. Then, choose the subject that will address your question 
and send us an email through our online email form.  

We apologize for any inconvenience this may cause you.  

Sincerely,

Customer Support at www.fogdog.com





Original Message Follows:


Please read the attached file.


[ Attachment 1.2Type: application/octet-stream]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] usrmgr.exe "group name could not be found" error

2006-05-28 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Tom wrote:

> It seems the 3.0.23rc1 version has fixed this issue 
> on my PDC.

Excellent!  Thanks for the testing and feedback.





cheers, jerry
=
Samba--- http://www.samba.org
Centeris ---  http://www.centeris.com
"What man is a man who does not make the world better?"  --Balian
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFEeYqoIR7qMdg1EfYRApgrAJ9njKJtowjoLFLPUdDtP6unmxLuLgCg1xsf
w2cwd9BNha84cAXIWjzm4MI=
=Azhe
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE [Samba] Failover LDAP?

2006-05-28 Thread adrian sender

Samba 3 By Example Chapter 6.

Figure 6.3. Samba Configuration to Use a Dual (Fail-over) LDAP Server

passdb backend = ldapsam:ldap://master.abmas.biz \
ldapsam:ldap://slave.abmas.biz

Cheers,
Adrian Sender.


From: Golden Butler <[EMAIL PROTECTED]> To: Samba Mailing List 
 Subject: [Samba] Failover LDAP? Sent: Friday, 26 
May 2006 1:41:19 PM Okay, I've searched around on this, but can't find any 
examples or docs.  Is
there a way to specify a second ldap server in the smb.conf, in case the 
primary

ldap server fails or become unreachable?



- Delamatrix



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