[Samba] Shutdown a Client

2003-12-31 Thread Fabricio Adorno
Hi, all

I have a samba-3.0.1 running as pdc for a domain. I need to shutdown/restart any windows client that I have in this domain.I have tried the command net rpc shutdown -f machine.name, but it haven't worked. Is it possible to do what I want? How?

Thanks in advance.

Fabrício Adorno



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


Re: [Samba] Win98 User List Problem

2003-12-10 Thread Fabricio Adorno


Jeremy Allison wrote:

On Tue, Dec 09, 2003 at 01:51:42PM -0200, Fabricio Adorno wrote:
 

Jeremy Allison wrote:

   

On Mon, Dec 08, 2003 at 04:10:50PM -0200, Fabricio Adorno wrote:

 

Hi all,

I'm trying to list users using user level share in windows 98, but I 
always get the folowing message:

[2003/12/08 13:46:51, 1] smbd/ipc.c:api_fd_reply(284)
api_fd_reply: INVALID PIPE HANDLE: 0
[2003/12/08 13:46:51, 2] 
rpc_server/srv_samr_nt.c:_samr_lookup_domain(2540)
Returning domain sid for domain XX-> 
S-1-5-21-1305940498-1192644665-829235722
[2003/12/08 13:46:52, 1] smbd/ipc.c:api_fd_reply(284)
api_fd_reply: INVALID PIPE HANDLE: 0
[2003/12/08 13:46:52, 1] smbd/ipc.c:api_fd_reply(284)
api_fd_reply: INVALID PIPE HANDLE: 0

I have looked for an answer in samba-ntdom archives, but I couldn't find 
it.
What's the problem?

I'm using samba-3.0.0.
 

   

It's an erroneous error message. There were 2 bugs w.r.t. this problem,
I think both are fixed for Samba 3.0.1. Please try the latest release
candidate, this should fix the bug.
 

I've just tested samba-3.0.1rc1, and it didn't work.
   

More details - including a debug level 10 log please.

Jeremy.

 

I'm sorry, it works for samba-3.0.1-rc1. It was my fault. I forgot to 
restart windows after change t he server.

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


Re: [Samba] Win98 User List Problem

2003-12-09 Thread Fabricio Adorno


Jeremy Allison wrote:

On Mon, Dec 08, 2003 at 04:10:50PM -0200, Fabricio Adorno wrote:
 

Hi all,

I'm trying to list users using user level share in windows 98, but I 
always get the folowing message:

[2003/12/08 13:46:51, 1] smbd/ipc.c:api_fd_reply(284)
 api_fd_reply: INVALID PIPE HANDLE: 0
[2003/12/08 13:46:51, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2540)
 Returning domain sid for domain XX-> 
S-1-5-21-1305940498-1192644665-829235722
[2003/12/08 13:46:52, 1] smbd/ipc.c:api_fd_reply(284)
 api_fd_reply: INVALID PIPE HANDLE: 0
[2003/12/08 13:46:52, 1] smbd/ipc.c:api_fd_reply(284)
 api_fd_reply: INVALID PIPE HANDLE: 0

I have looked for an answer in samba-ntdom archives, but I couldn't find it.
What's the problem?
I'm using samba-3.0.0.
   

It's an erroneous error message. There were 2 bugs w.r.t. this problem,
I think both are fixed for Samba 3.0.1. Please try the latest release
candidate, this should fix the bug.
I've just tested samba-3.0.1rc1, and it didn't work.

Thanks,

	Jeremy.

 

--
Atenciosamente,
Fabrício de Paula Adorno
Divisão de Redes - NUPRO
Universidade Federal de Uberlândia (UFU)
+34 3239-4303
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Win98 User List Problem

2003-12-08 Thread Fabricio Adorno
Hi all,

I'm trying to list users using user level share in windows 98, but I 
always get the folowing message:

[2003/12/08 13:46:51, 1] smbd/ipc.c:api_fd_reply(284)
 api_fd_reply: INVALID PIPE HANDLE: 0
[2003/12/08 13:46:51, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2540)
 Returning domain sid for domain XX-> 
S-1-5-21-1305940498-1192644665-829235722
[2003/12/08 13:46:52, 1] smbd/ipc.c:api_fd_reply(284)
 api_fd_reply: INVALID PIPE HANDLE: 0
[2003/12/08 13:46:52, 1] smbd/ipc.c:api_fd_reply(284)
 api_fd_reply: INVALID PIPE HANDLE: 0

I have looked for an answer in samba-ntdom archives, but I couldn't find it.
What's the problem?
I'm using samba-3.0.0.

--
Fabrício Adorno


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


[Samba] Local Profile

2003-11-03 Thread Fabricio Adorno
Hi all,

I'm trying to set up local profile in my smb.conf. I've set "local path = 
\\%m\%SystemRoot%\Documents and Settings\%u.%D", but it haven't worked. Is it 
correct? What do I have to do to get this feature working fine?

Thanks in advance,


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


Re: Réf. : [Samba] LDAP + NET PROBLEM

2003-10-28 Thread Fabricio Adorno
I know, but I said that I'm trying to use "net group add".

On Tuesday 28 October 2003 13:58, you wrote:
> net group map must be used for group mapping, no for add group.
> example :  net group map unixgroup=root ntgroup="Domain Admins"
>
> ---
> Stéphane PURNELLE [EMAIL PROTECTED]
> Service Informatique   Corman S.A.   Tel : 00 32 087/342467
>
>
>
> Fabricio Adorno <[EMAIL PROTECTED]>
> Envoyé par :  
> Pour :  [EMAIL PROTECTED]
> [EMAIL PROTECTED]cc : .samba.org 
>Objet :  [Samba] LDAP + NET
> PROBLEM
>
>
> 28/10/2003 14:19
>
>
>
>
>
>
> Hi, all
>
> I've configured a samba server with smbpasswd backend that worked fine.
> I've
> used "net group add"  command and it works too. So, I've changed my backend
>
> to ldapsam, modifying the following lines in my smb.conf:
>
> changed this:
> passdb backend = smbpasswd, guest
>
> to this:
> passdb backend = ldapsam:ldap://localhost, guest
>
> And I've added the lines:
>
> ldap admin dn = cn=master,dc=xxx,dc=yyy
> ldap delete dn = no
> ldap suffix = dc=xxx,dc=yyy
> ldap user suffix = dc=zzz
> ldap machine suffix = dc=machine,dc=zzz
> ldap group suffix = dc=groups,dc=zzz
>
>
> PS.: My ldap server has been configured correctly
>
> When I type the command "net groupmap list" I can't see any group (of
> course,
> because I haven't added). But when I type "net group add SomeGroup -U
> root",
> password is prompted, but I can type any password I want, that samba
> doesn't
> give any kind of message (success or error), and the group has not been
> added!
>
> Is command net fully implemented with ldap backend?
>
>
> Thanks, in advance!
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

-- 
Atenciosamente,

Fabrício de Paula Adorno
Divisão de Redes - NUPRO
Universidade Federal de Uberlândia (UFU)
+34 3239-4303

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


[Samba] LDAP + NET PROBLEM

2003-10-28 Thread Fabricio Adorno
Hi, all

I've configured a samba server with smbpasswd backend that worked fine. I've 
used "net group add"  command and it works too. So, I've changed my backend 
to ldapsam, modifying the following lines in my smb.conf:

changed this:
passdb backend = smbpasswd, guest

to this:
passdb backend = ldapsam:ldap://localhost, guest

And I've added the lines:

ldap admin dn = cn=master,dc=xxx,dc=yyy
ldap delete dn = no
ldap suffix = dc=xxx,dc=yyy
ldap user suffix = dc=zzz
ldap machine suffix = dc=machine,dc=zzz
ldap group suffix = dc=groups,dc=zzz


PS.: My ldap server has been configured correctly

When I type the command "net groupmap list" I can't see any group (of course, 
because I haven't added). But when I type "net group add SomeGroup -U root", 
password is prompted, but I can type any password I want, that samba doesn't 
give any kind of message (success or error), and the group has not been 
added!

Is command net fully implemented with ldap backend?


Thanks, in advance!


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


Re: [Samba] IDMAP usage

2003-06-26 Thread Fabricio Adorno
Hi Bartlett,


I'm using ldap for Samba accounts and the schemas from examples/LDAP too. I 
have already configured my idmap backend as you can se below. My ldap server 
is working fine for users authentication. When I use "smbpasswd -a someuser" 
it also works fine against ldap. But when I try to do "net group add 
Administrators -U someUserInLDAP" and supply the password, I get the exit 
error code -1. Here you are what I have gotten with debug level = 2

--
fabricio:/usr/local/samba # bin/net group add Administradores -U administrador
[2003/06/26 08:01:29, 2] lib/interface.c:add_interface(79)
  added interface ip=192.168.1.1 bcast=192.168.1.255 nmask=255.255.255.0
[2003/06/26 08:01:29, 2] lib/interface.c:add_interface(79)
  added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
Password:
[2003/06/26 08:01:31, 1] libsmb/cliconnect.c:cli_full_connection(1262)
  failed negprot
[2003/06/26 08:01:31, 1] utils/net.c:connect_to_ipc(148)
  Cannot connect to server.  Error was NT_STATUS_UNSUCCESSFUL
[2003/06/26 08:01:31, 2] utils/net.c:main(685)
  return code = -1


And something strange. I have gotten this from smbd log:

[2003/06/26 08:01:31, 2] passdb/pdb_ldap.c:pdb_init_ldapsam(3391)
  Enabling non-unix account ranges
[2003/06/26 08:01:31, 0] lib/fault.c:fault_report(36)
  ===
[2003/06/26 08:01:31, 0] lib/fault.c:fault_report(37)
  INTERNAL ERROR: Signal 11 in pid 7305 (3.0.0beta1)
  Please read the appendix Bugs of the Samba HOWTO collection
[2003/06/26 08:01:31, 0] lib/fault.c:fault_report(39)
  ===
[2003/06/26 08:01:31, 0] lib/util.c:smb_panic(1462)
  PANIC: internal error
[2003/06/26 08:01:31, 0] lib/util.c:smb_panic(1469)
  BACKTRACE: 8 stack frames:
   #0 /usr/local/samba/sbin/smbd(smb_panic+0x5d) [0x81955ad]
   #1 /usr/local/samba/sbin/smbd [0x818500f]
   #2 /lib/libc.so.6 [0x400e73a8]
   #3 /usr/local/samba/sbin/smbd(safe_strcpy_fn+0x44) [0x818db94]
   #4 /usr/local/samba/sbin/smbd(idmap_init+0x13e) [0x81e329e]
   #5 /usr/local/samba/sbin/smbd(main+0x339) [0x81ebd09]
   #6 /lib/libc.so.6(__libc_start_main+0xc7) [0x400d3857]
   #7 /usr/local/samba/sbin/smbd(ldap_msgfree+0x89) [0x8072381]



Here my smb.conf file.
[global]
...

# User and Machine Backends
passdb backend = ldapsam:ldap://127.0.0.1, guest

# LDAP Options
ldap suffix = dc=ufu,dc=br
ldap machine suffix = dc=dr,ou=computadores
ldap user suffix = ou=usuarios
ldap group suffix = dc=dr,ou=grupos
ldap idmap suffix = dc=dr,ou=idMapping
ldap admin dn = cn=manager,dc=ufu,dc=br
ldap ssl = no
ldap port = 389
ldap passwd sync = yes

# User and Group Mapping
idmap backend = ldap:ldap://127.0.0.1
idmap only = yes
idmap uid = 1000-1500
idmap gid = 1000-1500

...

I hope you can help me and these informations can help you fix any problem (if 
it exists).
Thanks.

-- 
Fabrício de Paula Adorno
Divisão de Redes - NUPRO
Universidade Federal de Uberlândia (UFU)


On Wednesday 25 June 2003 21:32, you wrote:
> On Wed, 2003-06-25 at 21:28, Fabricio Adorno wrote:
> > Hi, all
> >
> >
> > I have a ldap server where I have defined all of my linux users and
> > groups. I'd like to store the SID<->(UID,GID) mapping there too using
> > idmap, but I don't know how to configure a directory entry to handle
> > idmap storage. I couldn't find how to do it in Samba-Howto-Collection
> > (6th June 2003) and the man pages seems to be incomplete. If someone have
> > done it, I'll be glad to have some help.
>
> Samba 3.0 is designed to do this quite nicely - the schema file is in
> examples/LDAP/samba.schema.
>
> You configure it by saying:
>
> idmap backend = ldap:ldap://my.ldap.server
>
> Are you using ldap for Samba accounts too, or just for IDMAP?
>
> If you are using it for IDMAP/unix only, then things are not as
> 'pleasant' as they should be in how it's stored - it's on my todo list
> to fix.
>
> Andrew Bartlett
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] IDMAP usage

2003-06-25 Thread Fabricio Adorno
Hi, all


I have a ldap server where I have defined all of my linux users and groups. 
I'd like to store the SID<->(UID,GID) mapping there too using idmap, but I 
don't know how to configure a directory entry to handle idmap storage. I 
couldn't find how to do it in Samba-Howto-Collection (6th June 2003) and the 
man pages seems to be incomplete. If someone have done it, I'll be glad to 
have some help.

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


[Samba] RE: LDAP Problem

2003-06-13 Thread Fabricio Adorno
Hi Bartkowski,

Thanks very much, that solved the problem.





Hi Fabricio,
check first if you have installed the LDAP headers and libraries
(openldap2-devel). Look also in the source/config.log if ldap is used.

Hubertus


-Ursprüngliche Nachricht-
Von: Fabricio Adorno [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 12. Juni 2003 20:30
An: [EMAIL PROTECTED]
Betreff: [Samba] LDAP problem


Hi all,

I have compiled samba3.0.0beta1 with the options:

./configure --enable-static=yes --with-smbmount  --with-ldapsam

I'm using "passdb backend = ldapsam:ldap://localhost"; and when I try to add
a 
user using smbpasswd I got the message:

Error loading module '/usr/local/samba/lib/pdb/ldapsam.so': 
/usr/local/samba/lib/pdb/ldapsam.so: cannot open shared object file: No such

file or directory
No builtin nor plugin backend for ldapsam found
Loading ldapsam:ldap://localhost failed



What else do I have to do?


Please, sombebody help me.

Thanks

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


[Samba] LDAP problem

2003-06-12 Thread Fabricio Adorno
Hi all,

I have compiled samba3.0.0beta1 with the options:

./configure --enable-static=yes --with-smbmount  --with-ldapsam

I'm using "passdb backend = ldapsam:ldap://localhost"; and when I try to add a 
user using smbpasswd I got the message:

Error loading module '/usr/local/samba/lib/pdb/ldapsam.so': 
/usr/local/samba/lib/pdb/ldapsam.so: cannot open shared object file: No such 
file or directory
No builtin nor plugin backend for ldapsam found
Loading ldapsam:ldap://localhost failed



What else do I have to do?


Please, sombebody help me.

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


[Samba] Reverse Name Resolution

2003-06-11 Thread Fabricio Adorno
Hi,


How can I do reverse name resolution with samba about NetBIOS machine's name?


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


[Samba] NMBD option bug

2003-06-10 Thread Fabricio Adorno
Hi samba team,


Please check if there is a problem with the option -l ([-l ]) 
on nmbd daemon (I have script that worked fine with samba 2.2.7a and with 
samba 3.0.0beta1 it doesn't log in the directory I've especified).

Thanks.





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


[Samba] Final stable version

2003-06-10 Thread Fabricio Adorno
Hi all.

I would like to know if someone (maybe from samba team) can tell me when a 
final stable version of samba 3 is going to be released (within a month, two, 
three . . .). 

Thanks.


-- 
Fabrício de Paula Adorno
Divisão de Redes - NUPRO
Universidade Federal de Uberlândia (UFU)
+34 3239-4320

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


[Samba] Multiply Domains with Samba

2003-06-06 Thread Fabricio Adorno
Thanks for the hints.

I've just implemented the second way you've mentioned. It work's (not as I 
wanted), but I think there's a small problem. When you use "bind interfaces 
only = yes" you have to set up what interfaces you would like to bind. So, 
you must set loopback interface in interfaces settings (like interfaces = 
ethx lo) to permit smbpasswd to connect to the server using its default mode 
in order to change a password. But, using several samba configuration files, 
you have to set loopback interfaces in each of them, but the adress cannot be 
the same (like lo:1 or 127.0.0.2). I thought about set up virtual loopbacks 
interfaces, but I'm not sure if it works. What have you done about it?

Sincerely yours


On Friday 06 June 2003 11:52, you wrote:
> Yes,
>
> You can either use the include directive to include a configuration file
> on the fly, based on the server name the client connects to.
>
> e.g.  include = %L.conf
>
> Better yet, and what works for me currently (not just theory) is to
> runmultiple  smbd / nmbd processes on the same machine, a smbd and nmbd
> parent process for each interface, whether real or aliased.
>
> You do this by specifying different configuration files in the startup
> script.
>
> You configuration files will also need to specify different directories
> for lock files. As far as the interfaces make sure you use the following
> directives in each config file.
>
> bind interfaces only = yes
> interfaces = ethx
> socket address = IP address of ethx
>
> If you want to use the same password file, just point to the same one in
> both configuration files. Backup your password files first...as always
> ;)
>
> Cheers
>
> On Thu, 2003-06-05 at 17:07, Fabricio Adorno wrote:
> > I'd like to know if it's possible to have multiply domains in a single
> > machine running samba. Wich version is it available?
> >
> > Thanks for any suggestions.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Multiply Domains with Samba

2003-06-06 Thread Fabricio Adorno
I'd like to know if it's possible to have multiply domains in a single machine 
running samba. Wich version is it available?

Thanks for any suggestions.

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


[Samba] About samba 3

2003-06-03 Thread Fabricio Adorno
Hi,

I work at a university as network administrator. I have to migrate my wins 
from a windows machine to a linux one using samba. I'd like to use the new 
samba's features, but I wouldn't like to use an unstable version in such a 
big network as I have.  So, how long will it take samba team to release a 
stable version?


Sincerely yours


-- 
Fabrício de Paula Adorno
Divisão de Redes - NUPRO
Universidade Federal de Uberlândia (UFU)
+34 3239-4320
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba