Re: [Samba] SAMBA3 + LDAP = PDC = ROUND 3!

2005-03-21 Thread Mandar Kulkarni/PUN/IN/STTL
hi,

I think you will have to create computer account in ldap using 
smbldap-useradd.pl -w option before joining the system to domain. 
As far as i know, Samba does not allow to create the computer account on 
the fly, i.e. when your joining the system to domain.

If you have any idea about this then do let me know.

Thanks  Regards,
Mandar Kulkarni
Systems Administrator
Softcell Technologies Ltd.



[EMAIL PROTECTED] [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
21/03/2005 08:44 PM

To
Bruno Guerreiro [EMAIL PROTECTED]
cc
samba@lists.samba.org
Subject
Re: [Samba] SAMBA3 + LDAP  = PDC = ROUND 3!






Thanks ...

Done,
Now When my windows XP try to join the domain, Accès refusé (Access Deny)
So my log :
 /var/lob/samba/log.poil-barebone
[2005/03/21 16:05:40, 2] lib/smbldap.c:smbldap_open_connection(692)
  smbldap_open_connection: connection opened
[2005/03/21 16:05:40, 2] passdb/pdb_ldap.c:init_sam_from_ldap(518)
  init_sam_from_ldap: Entry found for user: Administrator
[2005/03/21 16:05:40, 2] passdb/pdb_ldap.c:init_group_from_ldap(2057)
  init_group_from_ldap: Entry found for group: 512
[2005/03/21 16:05:40, 2] auth/auth.c:check_ntlm_password(305)
  check_ntlm_password:  authentication for user [Administrator] - 
[Administrator] - [Administrator] succeeded
[2005/03/21 16:05:40, 2] 
rpc_server/srv_samr_nt.c:_samr_lookup_domain(2482)
  Returning domain sid for domain ARZUR-NT - 
S-1-5-21-1874299889-3982645529-2160850509
[2005/03/21 16:05:40, 2] 
rpc_server/srv_samr_nt.c:access_check_samr_object(93)
  _samr_open_domain: ACCESS DENIED  (requested: 0x0211)
[2005/03/21 16:05:40, 2] 
rpc_server/srv_samr_nt.c:_samr_lookup_domain(2482)
  Returning domain sid for domain ARZUR-NT - 
S-1-5-21-1874299889-3982645529-2160850509
[2005/03/21 16:05:40, 2] 
rpc_server/srv_samr_nt.c:access_check_samr_function(115)
  _samr_create_user: ACCESS DENIED (granted: 0x0201;  required: 
0x0010)
[2005/03/21 16:05:41, 2] smbd/server.c:exit_server(575)
  Closing connections


Any Idea?

Hi,
Just my 2 cents.
You're mapping administrator to root in your smbusers file.
Try commenting the root = Administrator adminline.

Best regards,
Bruno Guerreiro

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: segunda-feira, 21 de Março de 2005 14:56
To: samba@lists.samba.org
Subject: [Samba] SAMBA3 + LDAP = PDC = ROUND 3!


Okay, I've upgrade samba, now I use samba3.schema who is with my suse 9.2
So I delete all in /var/lib/ldap and in /var/lib/samba
Redo smb-populate blablabla (from the howto 
http://samba.idealx.org/smbldap-howto.en.html)

So now when i would like to join my Samba domain :

[2005/03/21 15:45:51, 2] auth/auth.c:check_ntlm_password(312)
  check_ntlm_password:  Authentication for user [Administrator] - 
[root] FAILED with error NT_STATUS_NO_SUCH_USER

When I SSH my box with login Administrator, it's okay! (no bash 
/sbin/nologin)

I go to cry !


getent passwd :
mastok:/etc/samba # getent passwd
root:x:0:0:root:/root:/bin/bash
...
Administrator:x:998:512:Netbios Domain 
Administrator:/home/data1/samba/Administrator:/sbin/nologin
nobody:x:999:514:nobody:/dev/null:/sbin/nologin

vi /etc/samba/smbusers :
root = administrator




 


-- 
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] Error:The semaphore timeout period has expired

2005-02-09 Thread Mandar Kulkarni/PUN/IN/STTL
hi,
I hv recently installed and configured samba-3.0.10-1 with Ldap and smb
tools.
Everything looks good, i mean Samba, LDAP and smbldaptools everything.

But now when i am trying to access the shares as well as trying to join w2k
prof desktop to the domain its giving the error The semaphore timeout
period has expired

Can any one let me know what could be the problem?

Thanks  Regards
Mandar Kulkarni

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


[Samba] RPM Build error for Samba-3.0.10-1.src.rpm

2005-02-07 Thread Mandar Kulkarni/PUN/IN/STTL
Hi,

I am trying to install samba 3 on RH Enterprise Linux AS with LDAP and
SMBLDapTools. I hv downloaded the Samba-3.0.10-1.src.rpm from Samba site.
I want my samba to support ACLs, Profiles, LDAPSAM etc. To make it work i
edited the SPECS file and added the following entries

   - - with-acl-support
   - - with-profile
   - - disable-static
   - - with-msdfs
   - -with-ldapsam

After adding the above entries i tried to build the new rpm. While doing so
got the following error

Config,status:Creating include /config.h
+ - - with-acl-support  - - with-profile  - - disable-static  - -
with-msdfs  - -with-ldapsam ' '
/var/tmp/rpm-tmp.40956:line 69:  - - with-acl-support : command not found

error: Bad exit status from /var/tmp/rpm-tmp.40956

Can any one tell me where i am going wrong??

Thanks  Regards
Mandar Kulkarni

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


Re: [Samba] RPM Build error for Samba-3.0.10-1.src.rpm

2005-02-07 Thread Mandar Kulkarni/PUN/IN/STTL

The exact line is similar to following

--with-acl-support \

Thanks  Regards
Mandar Kulkarni


   
 Arno Seidel   
 [EMAIL PROTECTED] 
 agTo 
 Sent by:  
 samba-bounces+mku  cc 
 lkarni=softcell.c samba@lists.samba.org   
 [EMAIL PROTECTED] Subject 
 org   Re: [Samba] RPM Build error for 
   Samba-3.0.10-1.src.rpm  
   
 07/02/2005 06:04  
 PM
   
   
   




Hi,


how is the exact line from your spec-file?

is it like in your mail with the spaces??

or ist it like that:
--with-acl-support

if there are the spaces between - - then is there the error
Mandar Kulkarni/PUN/IN/STTL schrieb:

Hi,

I am trying to install samba 3 on RH Enterprise Linux AS with LDAP and
SMBLDapTools. I hv downloaded the Samba-3.0.10-1.src.rpm from Samba site.
I want my samba to support ACLs, Profiles, LDAPSAM etc. To make it work i
edited the SPECS file and added the following entries

   - - with-acl-support
   - - with-profile
   - - disable-static
   - - with-msdfs
   - -with-ldapsam

After adding the above entries i tried to build the new rpm. While doing
so
got the following error

Config,status:Creating include /config.h
+ - - with-acl-support  - - with-profile  - - disable-static  - -
with-msdfs  - -with-ldapsam ' '
/var/tmp/rpm-tmp.40956:line 69:  - - with-acl-support : command not found

error: Bad exit status from /var/tmp/rpm-tmp.40956

Can any one tell me where i am going wrong??

Thanks  Regards
Mandar Kulkarni




--
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] _HOMEPREFIX_/* does not exist

2005-01-25 Thread Mandar Kulkarni/PUN/IN/STTL
Hi,

I am configuring samba 3 + ldap + smbldap tools on Red Hat 8 box.
So far everything is working fine i.e i can add users , computers to domain
and users can login to domain as well.

Following are the log messages

1 '_HOMEPREFIX_/username' does not exist or is not a directory when
connecting
2 precess_request_pdu:failed to do schannel processing

I think the problem is with mkntpwd, as when i compiled the smbldap_conf.pm
i forgot to # mark the above entry.

Pls help to recover from this.

Thanks  Regards
Mandar Kulkarni

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


[Samba] Samba 3 on RedHat Linux 9?

2005-01-04 Thread Mandar Kulkarni/PUN/IN/STTL




Hi,

After going through the available documentation, i hv decided to install
Samba 3 on RH Linux 9 with LDap
Just wanted to check whether any one has done the same before and how
stable it is?

Thanks  Regards
Mandar Kulkarni

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


[Samba] New to Samba world

2005-01-03 Thread Mandar Kulkarni/PUN/IN/STTL




Hi Team,

I am new to Samba.
As company has decided to install Linux based file and print server, we are
planning to use Samba and LDAP

But prior to proceed further, I wanted to know how samba works, what all
things needs to be considered at the time of installation.

So can any one let me know the same?

Thanks  Regards
Mandar Kulkarni

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